Corrected path to installed libmvec_nonshared.a
[glibc.git] / ChangeLog
blob7654fa422e018b0c8bef6551766128a4cce53d54
1 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
3         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
4         installed libmvec_nonshared.a.
6 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
9         (sysdep_routines): Likewise.
10         (sysdep-rtld-routines): Likewise.
11         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
12         [$(subdir) = nptl](tests-static): test-get_hwcap-static
13         * sysdeps/powerpc/Versions: Added new
14         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
15         * sysdeps/powerpc/hwcapinfo.c: New file.
16         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
17         and parse hwcap, hwcap2 and platform number information.
18         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
19         to store HWCAP+HWCAP2 and platform number.
20         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
21         for HWCAP+HWCAP2 and platform number in the TCB.
22         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
23         the HWCAP, HWCAP2 and platform number in the TCB.
24         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
25         (TLS_INIT_TP): Included calls to add the hwcap and
26         at_platform values in the TCB in TP initialization.
27         (TLS_DEFINE_INIT_TP): Likewise.
28         (THREAD_GET_HWCAP): New macro.
29         (THREAD_SET_HWCAP): Likewise.
30         (THREAD_GET_AT_PLATFORM): Likewise.
31         (THREAD_SET_AT_PLATFORM): Likewise.
32         * sysdeps/powerpc/powerpc32/dl-machine.h:
33         (dl_platform_init): New function that calls
34         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
35         powerpc32.
36         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
37         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
38         this functionality, static linking case.
39         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
40         linking case.
41         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
42         __parse_hwcap_and_convert_at_platform for the static linking case.
43         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
44         Included the new __parse_hwcap_and_convert_at_platform symbol in the
45         ABI list for GLIBC 2.23.
46         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
47         Likewise.
48         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
49         Likewise.
51 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
53         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
54         * configure: Regenerate.
55         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
56         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
58 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
60         * iconvdata/ibm930.c: Add comment explaining encoding uses.
61         * iconvdata/ibm933.c: Likewise.
62         * iconvdata/ibm935.c: Likewise.
63         * iconvdata/ibm937.c: Likewise.
64         * iconvdata/ibm939.c: Likewise.
66 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
68         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
69         pthread_join.
70         * nptl/tst-cancel21.c (tf): Likewise.
72 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
74         [BZ #19313]
75         * bits/typesizes.h (__CPU_MASK_TYPE): New.
76         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
77         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
78         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
79         Likewise.
80         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
81         Likewise.
82         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
83         Likewise.
84         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
85         Likewise.
86         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
87         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
88         unsigned long int with __CPU_MASK_TYPE.
90 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
92         * sysdeps/aarch64/libm-test-ulps: Regenerated.
94 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
96         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
97         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
98         t512.x.
99         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
101 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
103         [BZ #19214]
104         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
105         argument to return extended model.  Update family and model
106         with extended family and model when family == 0x0f.
107         (init_cpu_features): Updated.
109 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
111         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
112         signed off_t, so 32bit bigger than 2GiB values are fine actually.
114         * sysdeps/mach/hurd/mmap64.c: New file.
116 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
118         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
119         rights for its main user thread in NEWTASK.
121 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
123         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
124         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
126 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
128         [BZ #14259]
129         * Makeconfig: Rename localedir to complocaledir.
130         Rename inst_localedir to inst_complocaledir.
131         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
132         * config.make.in: Use complocaledir and libc_cv_complocaledir.
133         * configure.ac: Use libc_cv_complocaledir.
134         * configure: Regenerate.
135         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
136         -DCOMPLOCALEDIR.
137         * locale/findlocale.c: Use COMPLOCALEDIR.
138         * locale/loadarchive.c: Likewise.
139         * locale/programs/locale.c: Likewise.
140         * locale/programs/localedef.c: Likewise.
141         * locale/programs/locarchive.c: Likewise.
142         * localedata/Makefile: Use inst_complocaledir.
143         * sysdeps/gnu/configure: Regenerate.
144         * sysdeps/hppa/configure: Regenerate.
145         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
146         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
148         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
149         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
150         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
151         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
153 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
155         [BZ #19058]
156         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
157         AS_NEEDED.
158         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
159         workaround.
160         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
161         libmvec-static-only-routines): Added new file.
162         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
164 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
166         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
167         of interrupted RPC instead of restoring it.
169         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
170         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
171         libc_hidden_def.
172         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
173         into initialized data instead of common. Define rtld_hidden_data_def.
174         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
175         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
176         libc_hidden_def.
177         (if_freenameindex): Add libc_hidden_weak.
178         (if_nameindex): Add libc_hidden_weak.
179         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
180         __open64.
181         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
182         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
183         * sysdeps/mach/nanosleep.c: Include <time.h>
184         (__nanosleep): Rename to __libc_nanosleep.
185         (__nanosleep): Add weak_alias.
186         (nanosleep): Update alias.
188 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
190         * stdlib/strtod_nan.c: New file.
191         * stdlib/strtod_nan_double.h: Likewise.
192         * stdlib/strtod_nan_float.h: Likewise.
193         * stdlib/strtod_nan_main.c: Likewise.
194         * stdlib/strtod_nan_narrow.h: Likewise.
195         * stdlib/strtod_nan_wide.h: Likewise.
196         * stdlib/strtof_nan.c: Likewise.
197         * stdlib/strtold_nan.c: Likewise.
198         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
199         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
200         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
201         * wcsmbs/wcstod_nan.c: Likewise.
202         * wcsmbs/wcstof_nan.c: Likewise.
203         * wcsmbs/wcstold_nan.c: Likewise.
204         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
205         strtold_nan.
206         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
207         wcstof_nan.
208         * include/stdlib.h (__strtof_nan): Declare and use
209         libc_hidden_proto.
210         (__strtod_nan): Likewise.
211         (__strtold_nan): Likewise.
212         (__wcstof_nan): Likewise.
213         (__wcstod_nan): Likewise.
214         (__wcstold_nan): Likewise.
215         * include/wchar.h (____wcstoull_l_internal): Declare.
216         * stdlib/strtod_l.c: Do not include <ieee754.h>.
217         (____strtoull_l_internal): Remove declaration.
218         (STRTOF_NAN): Define macro.
219         (SET_MANTISSA): Remove macro.
220         (STRTOULL): Likewise.
221         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
222         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
223         (STRTOF_NAN): Define macro.
224         (SET_MANTISSA): Remove macro.
225         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
226         (SET_MANTISSA): Remove macro.
227         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
228         macro.
229         (SET_MANTISSA): Remove macro.
230         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
231         macro.
232         (SET_MANTISSA): Remove macro.
233         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
234         (SET_MANTISSA): Remove macro.
235         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
236         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
237         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
239         [BZ #19266]
240         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
241         upper case and lower case letters inside NAN(), not using TOLOWER.
242         * stdlib/tst-strtod-nan-locale-main.c: New file.
243         * stdlib/tst-strtod-nan-locale.c: Likewise.
244         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
245         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
246         Depend on $(gen-locales).
247         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
248         * wcsmbs/tst-wcstod-nan-locale.c: New file.
249         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
250         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
251         Depend on $(gen-locales).
252         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
254 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
256         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
258         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
260         __finitel, __isinfl, and __isnanl.
261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
262         Likewise.
263         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
265         __finitel.
266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
267         Likewise.
268         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
270 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
272         * malloc/memusage.c (me): Remove redundant getenv call.
274 2015-10-24  Florian Weimer  <fweimer@redhat.com>
276         [BZ #19143]
277         [BZ #19164]
278         * nptl/check-cpuset.h: Remove.
279         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
280         Remove CPU set size check.
281         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
282         Likewise.
283         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
284         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
285         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
286         (__pthread_setaffinity_new): Remove CPU set size check.
287         * sysdeps/unix/sysv/linux/sched_setaffinity.c
288         (__kernel_cpumask_size): Remove.
289         (__sched_setaffinity_new): Remove CPU set size check.
290         * manual/threads.texi (Default Thread Attributes): Remove stale
291         reference to check_cpuset_attr, determine_cpumask_size in comment.
292         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
293         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
294         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
295         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
296         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
297         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
298         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
299         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
300         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
301         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
302         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
303         skeleton test file.
304         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
305         tst-affinity-pid.
307 2015-11-24  Florian Weimer  <fweimer@redhat.com>
309         * scripts/update-abilist.sh: New file.
310         * Makefile (+subdir_targets): Add subdir_update-all-abi.
311         * Makerules (update-all-abi-%, update-all-abi)
312         (subdir_update-all-abi): New targets.
313         * elf/Makefile (update-all-abi): New target.
315 2015-11-24  Florian Weimer  <fweimer@redhat.com>
317         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
318         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
319         (__libc_lock_define_initialized): Use it.
320         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
321         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
322         * malloc/malloc.c (main_arena): Likewise.
323         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
324         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
326 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
328         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
329         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
330         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
331         (PTRACE_O_MASK): Update value.
332         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
333         New value in enum __ptrace_setoptions.
334         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
335         (PTRACE_O_MASK): Update value.
336         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
337         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
338         (PTRACE_O_MASK): Update value.
339         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
340         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
341         (PTRACE_O_MASK): Update value.
342         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
343         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
344         (PTRACE_O_MASK): Update value.
345         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
346         New value in enum __ptrace_setoptions.
347         (PTRACE_O_MASK): Update value.
348         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
349         New value in enum __ptrace_setoptions.
350         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
351         (PTRACE_O_MASK): Update value.
353         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
354         New macro.
355         (PACKET_AUXDATA): Likewise.
356         (PACKET_ORIGDEV): Likewise.
357         (PACKET_VERSION): Likewise.
358         (PACKET_HDRLEN): Likewise.
359         (PACKET_RESERVE): Likewise.
360         (PACKET_TX_RING): Likewise.
361         (PACKET_LOSS): Likewise.
362         (PACKET_VNET_HDR): Likewise.
363         (PACKET_TX_TIMESTAMP): Likewise.
364         (PACKET_TIMESTAMP): Likewise.
365         (PACKET_FANOUT): Likewise.
366         (PACKET_TX_HAS_OFF): Likewise.
367         (PACKET_QDISC_BYPASS): Likewise.
368         (PACKET_ROLLOVER_STATS): Likewise.
369         (PACKET_FANOUT_DATA): Likewise.
370         (PACKET_MR_UNICAST): Likewise.
372         [BZ #19242]
373         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
374         (TOUPPER): Likewise.
375         * stdlib/tst-strtol-locale-main.c: New file.
376         * stdlib/tst-strtol-locale.c: Likewise.
377         * stdlib/Makefile (tests): Add tst-strtol-locale.
378         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
379         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
380         Depend on $(gen-locales).
381         * wcsmbs/tst-wcstol-locale.c: New file.
382         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
383         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
384         tr_TR.ISO-8859-9.
385         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
386         Depend on $(gen-locales).
388 2015-11-20  Roland McGrath  <roland@hack.frob.com>
390         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
391         __glibc_likely instead of __builtin_expect.  After falling back to
392         dyncode_create in a non-ET_DYN case, use the allocate_code_data
393         system interface to register the code pages as occupied.
395 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
397         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
398         [!ARM_MATH_PRIVATE_H].
399         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
400         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
401         [!HPPA_MATH_PRIVATE_H].
402         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
403         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
404         to [!I386_MATH_PRIVATE_H].
405         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
406         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
407         Change guard to [!M68K_MATH_PRIVATE_H].
408         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
409         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
410         guard to [!MICROBLAZE_MATH_PRIVATE_H].
411         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
412         macro.
413         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
414         [!MIPS_MATH_PRIVATE_H].
415         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
416         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
417         [!NIO2_MATH_PRIVATE_H].
418         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
419         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
420         [!TILE_MATH_PRIVATE_H].
421         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
423         [BZ #15421]
424         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
425         initialize with 0 and define as weak alias of __signgam.
426         * include/math.h [!_ISOMAC] (__signgam): Declare.
427         * math/Makefile (libm-calls): Add w_lgamma_compat.
428         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
429         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
430         test-signgam-ullong-init.
431         (tests-static): Add test-signgam-uchar-static,
432         test-signgam-uchar-init-static, test-signgam-uint-static,
433         test-signgam-uint-init-static, test-signgam-ullong-static and
434         test-signgam-ullong-init-static.
435         (CFLAGS-test-signgam-uchar.c): New variable.
436         (CFLAGS-test-signgam-uchar-init.c): Likewise.
437         (CFLAGS-test-signgam-uchar-static.c): Likewise.
438         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
439         (CFLAGS-test-signgam-uint.c): Likewise.
440         (CFLAGS-test-signgam-uint-init.c): Likewise.
441         (CFLAGS-test-signgam-uint-static.c): Likewise.
442         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
443         (CFLAGS-test-signgam-ullong.c): Likewise.
444         (CFLAGS-test-signgam-ullong-init.c): Likewise.
445         (CFLAGS-test-signgam-ullong-static.c): Likewise.
446         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
447         * math/Versions (libm): Add GLIBC_2.23.
448         * math/lgamma-compat.h: New file.
449         * math/test-signgam-main.c: Likewise.
450         * math/test-signgam-uchar-init-static.c: Likewise.
451         * math/test-signgam-uchar-init.c: Likewise.
452         * math/test-signgam-uchar-static.c: Likewise.
453         * math/test-signgam-uchar.c: Likewise.
454         * math/test-signgam-uint-init-static.c: Likewise.
455         * math/test-signgam-uint-init.c: Likewise.
456         * math/test-signgam-uint-static.c: Likewise.
457         * math/test-signgam-uint.c: Likewise.
458         * math/test-signgam-ullong-init-static.c: Likewise.
459         * math/test-signgam-ullong-init.c: Likewise.
460         * math/test-signgam-ullong-static.c: Likewise.
461         * math/test-signgam-ullong.c: Likewise.
462         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
463         wrapper of w_lgamma_main.c.
464         * math/w_lgamma_compat.c: New file.
465         * math/w_lgamma_compatf.c: Likewise.
466         * math/w_lgamma_compatl.c: Likewise.
467         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
468         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
469         defining compatibility symbols.
470         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
471         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
472         wrapper of w_lgammaf_main.c.
473         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
474         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
475         defining compatibility symbols.
476         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
477         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
478         wrapper of w_lgammal_main.c.
479         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
480         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
481         defining compatibility symbols.
482         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
483         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
484         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
485         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
486         <lgamma-compat.h>.
487         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
488         (__ieee754_gamma): Define as alias.
489         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
490         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
491         <lgamma-compat.h>.
492         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
493         (__ieee754_gammaf): Define as alias.
494         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
495         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
496         <lgamma-compat.h>.
497         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
498         (__ieee754_gammal): Define as alias.
499         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
500         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
501         <math/w_lgamma_compat.c>.
502         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
503         Define as alias of __lgamma_compat and use in defining lgammal.
504         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
505         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
506         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
507         (USE_AS_COMPAT): New macro.
508         (LGAMMA_OLD_VER): Undefine and redefine.
509         (lgammal): Do not define here.
510         (gammal): Only define here if [GAMMA_ALIAS].
511         * conform/linknamespace.pl (@whitelist): Remove signgam.
512         * sysdeps/nacl/libm.abilist: Update.
513         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
514         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
515         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
516         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
517         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
518         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
519         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
520         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
521         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
522         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
523         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
524         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
526         Likewise.
527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
528         Likewise.
529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
530         Likewise.
531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
532         Likewise.
533         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
534         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
535         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
536         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
537         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
539         Likewise.
540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
541         Likewise.
542         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
543         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
544         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
546 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
548         [BZ #16364]
549         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
550         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
552 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
554         * sysdeps/s390/fpu/bits/mathinline.h:
555         Use __asm__ [__volatile__] instead of asm [volatile].
556         * sysdeps/s390/abort-instr.h: Likewise.
557         * sysdeps/s390/atomic-machine.h: Likewise.
558         * sysdeps/s390/bits/string.h: Likewise.
559         * sysdeps/s390/dl-tls.h: Likewise.
560         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
561         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
562         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
563         * sysdeps/s390/fpu/fesetround.c: Likewise.
564         * sysdeps/s390/fpu/fpu_control.h: Likewise.
565         * sysdeps/s390/fpu/s_fma.c: Likewise.
566         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
567         * sysdeps/s390/memusage.h: Likewise.
568         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
569         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
570         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
571         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
572         * sysdeps/s390/nptl/tls.h: Likewise.
573         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
574         * sysdeps/s390/s390-32/backtrace.c: Likewise.
575         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
576         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
577         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
578         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
579         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
580         * sysdeps/s390/s390-64/backtrace.c: Likewise.
581         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
582         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
583         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
584         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
585         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
586         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
587         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
588         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
589         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
590         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
591         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
592         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
593         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
594         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
595         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
597 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
598             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
600         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
601         Add lwarx hint, and use macro for acquire instruction.
602         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
603         Likewise.
604         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
605         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
606         update to use new atomic macros.
608 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
610         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
611         (__lll_trylock_elision): Fix setting of adapt_count.
612         * sysdeps/unix/sysv/linux/powerpc/htm.h
613         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
614         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
615         (_ABORT_SYSCALL): Renumber, and clarify definition.
616         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
618 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
620         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
621         after system headers to prevent MIN/MAX redefinition.  Define
622         HAVE_ALLOCA to preserve builtin alloca usage.
624 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
626         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
627         static and don't set or restore rounding.
628         (__cos)[IN_SINCOS]: Likewise.
629         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
630         (__sincos): Set and restore rounding mode.  Remove check for infinite
631         or NaN input.
633         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
635         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
636         as used.
638 2015-11-16  Florian Weimer  <fweimer@redhat.com>
640         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
642 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
644         * config.make.in (have-glob-dat-reloc): New.
645         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
646         target supports GLOB_DAT relocaton. AC_SUBST.
647         * configure: Regenerated.
648         * elf/Makefile (tests): Add tst-prelink.
649         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
650         (tst-prelink-ENV): New.
651         ($(objpfx)tst-prelink-conflict.out): Likewise.
652         ($(objpfx)tst-prelink-cmp.out): Likewise.
653         * sysdeps/x86/tst-prelink.c: Moved to ...
654         * elf/tst-prelink.c: Here.
655         * sysdeps/x86/tst-prelink.exp: Moved to ...
656         * elf/tst-prelink.exp: Here.
657         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
658         (tst-prelink-ENV): Removed.
659         ($(objpfx)tst-prelink-conflict.out): Likewise.
660         ($(objpfx)tst-prelink-cmp.out): Likewise.
661         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
663 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
665         [BZ #14551]
666         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
667         (__mpn_construct_long_double): If high part overflows to infinity,
668         set errno and recompute overflowed result of the correct sign.
669         * sysdeps/ieee754/ldbl-128ibm/Makefile
670         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
671         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
672         $(libm).
673         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
675 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
677         [BZ #15479]
678         [BZ #19238]
679         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
680         floating-point state after first operation on input.  Restore full
681         state rather than just rounding mode.
682         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
683         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
684         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
686         [BZ #19235]
687         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
688         add 0.5 to integer arguments.
689         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
690         Likewise.
691         (.LC2): New object.
693 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
695         * scripts/pylintrc (reports): Set to no.
697 2015-11-10  Roland McGrath  <roland@hack.frob.com>
699         * elf/dl-load.c (open_verify): Take new argument FD.
700         Skip __open call if passed FD is not -1.
701         (_dl_map_object, open_path): Update callers.
702         * elf/dl-sysdep-open.h: New file.
703         * elf/dl-load.c: Include it.
704         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
705         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
706         * sysdeps/nacl/dl-sysdep-open.h: New file.
707         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
708         from libc to rtld.
710 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
712         [BZ #19228]
713         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
714         and restore full floating-point state.
715         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
716         Likewise.
717         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
718         Likewise.
719         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
720         Likewise.
721         * math/test-nearbyint-except-2.c: New file.
722         * math/Makefile (tests): Add test-nearbyint-except-2.
724 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
726         [BZ #19178]
727         * sysdeps/x86/Makefile (tests): Add tst-prelink.
728         (tst-prelink-ENV): New.
729         ($(objpfx)tst-prelink-conflict.out): Likewise.
730         ($(objpfx)tst-prelink-cmp.out): Likewise.
731         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
732         * sysdeps/x86/tst-prelink.c: New file.
733         * sysdeps/x86/tst-prelink.exp: Likewise.
735 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
737         * math/auto-libm-test-in: Add another test of pow.
738         * math/auto-libm-test-out: Regenerated.
739         * math/libm-test.inc (pow_test_data): Add another test.
741 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
743         [BZ #19219]
744         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
745         weak_alias to nearbyintl.
747 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
749         * sysdeps/aarch64/bits/string.h: New file.
750         (_STRING_ARCH_unaligned): Define.
752 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
754         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
755         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
756         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
757         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
760 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
762         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
763         for original name of the DSO.  Add it to the name list of the DSO
764         if it is actually given.
765         (_dl_map_object): Keep track of whether an audit module rewrote
766         the file name.  If yes, pass the original name to
767         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
768         debugging is enabled, log the change of the file name.
769         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
770         _dl_map_object_from_fd.
771         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
772         * elf/tst-audit11.c: New file
773         * elf/tst-auditmod11.c: New file.
774         * elf/tst-audit11mod1.c: New file.
775         * elf/tst-audit11mod2.c: New file.
776         * elf/tst-audit11mod2.map: New file.
777         * elf/tst-audit12.c: New file
778         * elf/tst-auditmod12.c: New file.
779         * elf/tst-audit12mod1.c: New file.
780         * elf/tst-audit12mod2.c: New file.
781         * elf/tst-audit12mod2.map: New file.
782         * elf/tst-audit12mod3.c: New file.
784 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
786         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
787         Don't create weak aliases,
788         because versioned symbols are created later.
789         * sysdeps/s390/s390-32/setjmp.S
790         (setjmp, _setjmp): Remove weak and rename to an unique name
791         in SHARED case due to existing versioned symbols.
792         * sysdeps/s390/s390-64/setjmp.S: Likewise.
793         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
794         (getcontext): Create weak alias only in non SHARED case.
795         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
797 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
799         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
800         (__ASSUME_*_SYSCALL) Define new macros.
801         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
802         Remove socketcall syscalls.
803         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
804         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
805         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
806         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
807         * sysdeps/unix/sysv/linux/send.c (__libc_send):
808         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
810 2015-11-09  Florian Weimer  <fweimer@redhat.com>
812         [BZ #12926]
813         Terminate process on invalid netlink response.
814         * sysdeps/unix/sysv/linux/netlinkaccess.h
815         (__netlink_assert_response): Declare.
816         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
817         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
818         (sysdep_routines): Add netlink_assert_response.
819         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
820         __netlink_assert_response.
821         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
822         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
823         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
824         __netlink_assert_response.
826 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
828         [BZ #19178]
829         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
830         (RTYPE_CLASS_PLT): Likewise.
831         (RTYPE_CLASS_COPY): Likewise.
832         (RTYPE_CLASS_TLS): Likewise.
833         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
834         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
835         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
836         DL_DEBUG_PRELINK.
838 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
840         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
841         calls with argument -0.5.
842         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
844         * configure.ac (libc_cv_z_nodelete): Remove configure test.
845         (libc_cv_z_nodlopen): Likewise.
846         (libc_cv_z_initfirst): Likewise.
847         * configure: Regenerated.
849 2015-11-06  Florian Weimer  <fweimer@redhat.com>
851         Simplify abilist format to be line-based.
852         * scripts/abilist.awk: Collect descriptors in the descs variable.
853         (emit): Write descs variable and sort it
854         externally, with sort.
855         * sysdeps/**/*.abilist: Convert to new format.
857 2015-11-06  Mark Wielaard  <mjw@redhat.com>
859         [BZ #11460]
860         * io/Makefile (routines): Add fts64.
861         (tests): Add tst-fts and tst-fts-lfs.
862         (CFLAGS-fts64.c): New.
863         * io/Versions (GLIBC_2.23): New.
864         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
865         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
866         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
867         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
868         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
869         (FTSENT64): Likewise.
870         (fts64_children): Likewise.
871         (fts64_close): Likewise.
872         (fts64_open): Likewise.
873         (fts64_read): Likewise.
874         (fts64_set): Likewise.
875         * io/fts64.c: New file.
876         * io/tst-fts.c: New test.
877         * io/tst-fts-lfs.c: Likewise.
878         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
879         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
880         fts64_set.
881         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
882         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
883         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
884         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
885         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
886         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
887         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
888         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
889         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
890         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
891         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
892         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
893         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
895         Likewise.
896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
897         Likewise.
898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
900         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
901         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
902         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
903         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
904         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
907         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
908         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
909         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
910         * sysdeps/wordsize-64/fts.c: New file.
911         * sysdeps/wordsize-64/fts64.c: Likewise.
912         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
913         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
914         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
915         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
917 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
919         * math/libm-test.inc (NON_FINITE): New macro.
920         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
921         * math/gen-libm-test.pl (show_exceptions): Add argument
922         $non_finite.
923         (parse_args): Update call to show_exceptions.
924         * math/test-math-finite.h: New file.
925         * math/test-math-no-finite.h: Likewise.
926         * math/test-double-finite.c: Likewise.
927         * math/test-float-finite.c: Likewise.
928         * math/test-ldouble-finite.c: Likewise.
929         * math/test-double.c: Include "test-math-no-finite.h".
930         * math/test-float.c: Include "test-math-no-finite.h".
931         * math/test-ldouble.c: Include "test-math-no-finite.h".
932         * math/test-math-inline.h (TEST_FINITE): New macro.
933         * math/test-math-vector.h (TEST_FINITE): Likewise.
934         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
935         (libm-tests): Add test-float-finite and test-double-finite.
936         ($(objpfx)test-float-finite.o): New dependency on
937         $(objpfx)libm-test.stmp.
938         ($(objpfx)test-double-finite.o): Likewise.
939         ($(objpfx)test-ldouble-finite.o): Likewise.
940         (libm-test-no-inline-cflags): New variable.
941         (libm-test-finite-cflags): Likewise.
942         (CFLAGS-test-float-finite.c): Likewise.
943         (CFLAGS-test-double-finite.c): Likewise.
944         (CFLAGS-test-ldouble-finite.c): Likewise.
945         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
946         (CFLAGS-test-double.c): Likewise.
947         (CFLAGS-test-ldouble.c): Likewise.
949 2015-11-05  Roland McGrath  <roland@hack.frob.com>
951         * io/fcntl.c (__fcntl): Add ... to prototype.
952         * misc/ioctl.c (__ioctl): Likewise.
953         * misc/syscall.c (syscall): Likewise.
955 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
957         * scripts/list-fixed-bugs.py: New file.
959         [BZ #19213]
960         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
961         returned for argument 1.
962         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
963         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
964         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
965         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
966         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
967         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
969         [BZ #19211]
970         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
971         __USE_XOPEN], not if [!__USE_ISOC99].
972         (lgammaf): Likewise.
973         (lgammal): Likewise.
974         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
975         (gammaf): Likewise.
976         (gammal): Likewise.
977         * math/test-signgam-finite-c11.c: New file.
978         * math/test-signgam-finite-c99.c: Likewise.
979         * math/test-signgam-finite.c: Likewise.
980         * math/Makefile (tests): Add test-signgam-finite,
981         test-signgam-finite-c99 and test-signgam-finite-c11.
982         (CFLAGS-test-signgam-finite.c): New variable.
983         (CFLAGS-test-signgam-finite-c99.c): Likewise.
984         (CFLAGS-test-signgam-finite-c11.c): Likewise.
986         [BZ #19212]
987         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
988         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
989         500].
990         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
991         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
992         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
993         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
994         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
995         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
996         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
997         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
998         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
999         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
1001         [BZ #19209]
1002         * math/bits/math-finite.h (ldexp): Remove declaration.
1003         (ldexpf): Likewise.
1004         (ldexpl): Likewise.
1006         [BZ #19205]
1007         * math/bits/math-finite.h (acosf): Condition declaration on
1008         [__USE_ISOC99].
1009         (acosl): Likewise.
1010         (acoshf): Likewise.
1011         (acoshl): Likewise.
1012         (asinf): Likewise.
1013         (asinl): Likewise.
1014         (atan2f): Likewise.
1015         (atan2l): Likewise.
1016         (atanhf): Likewise.
1017         (atanhl): Likewise.
1018         (coshf): Likewise.
1019         (coshl): Likewise.
1020         (expf): Likewise.
1021         (expl): Likewise.
1022         (fmodf): Likewise.
1023         (fmodl): Likewise.
1024         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
1025         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
1026         (j0l): Likewise.
1027         (y0f): Likewise.
1028         (y0l): Likewise.
1029         (j1f): Likewise.
1030         (j1l): Likewise.
1031         (y1f): Likewise.
1032         (y1l): Likewise.
1033         (jnf): Likewise.
1034         (jnl): Likewise.
1035         (ynf): Likewise.
1036         (ynl): Likewise.
1037         (lgammaf_r): Condition declaration on [__USE_ISOC99].
1038         (lgammal_r): Likewise.
1039         (__lgamma_r_finite): New declaration.
1040         (__lgammaf_r_finite): Likewise.
1041         (__lgammal_r_finite): Likewise.
1042         (lgamma): Use __lgamma_r_finite.
1043         (lgammaf): Condition definition on [__USE_ISOC99].  Use
1044         __lgammaf_r_finite.
1045         (lgammal): Condition definition on [__USE_ISOC99].  Use
1046         __lgammal_r_finite.
1047         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
1048         __lgamma_r_finite.
1049         (gammaf): Condition definition on [__USE_ISOC99].  Use
1050         __lgammaf_r_finite.
1051         (gammal): Condition definition on [__USE_ISOC99].  Use
1052         __lgammal_r_finite.
1053         (logf): Condition declaration on [__USE_ISOC99].
1054         (logl): Likewise.
1055         (log10f): Likewise.
1056         (log10l): Likewise.
1057         (ldexpf): Likewise.
1058         (ldexpl): Likewise.
1059         (powf): Likewise.
1060         (powl): Likewise.
1061         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
1062         __USE_ISOC99].
1063         (remainderf): Condition declaration on [__USE_ISOC99].
1064         (remainderl): Likewise.
1065         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
1066         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
1067         (scalbl): Likewise.
1068         (sinhf): Condition declaration on [__USE_ISOC99].
1069         (sinhl): Likewise.
1070         (sqrtf): Likewise.
1071         (sqrtl): Likewise.
1073 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
1075         * sysdeps/arm/atomic-machine.h
1076         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
1077         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
1078         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
1079         Remove conditional code.
1080         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
1081         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
1082         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
1083         Change conditional to [__ASSEMBLER__].
1084         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
1085         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
1086         [!__ASSEMBLER__].
1087         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
1088         code.
1089         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
1090         conditional macro definitions.
1091         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
1092         (__arch_compare_and_exchange_val_16_acq): Likewise.
1093         (__arch_compare_and_exchange_val_32_acq): Likewise.
1094         (atomic_exchange_and_add): Likewise.
1095         (atomic_add): Likewise.
1096         (atomic_add_negative): Likewise.
1097         (atomic_add_zero): Likewise.
1098         (atomic_bit_set): Likewise.
1099         (atomic_bit_test_set): Likewise.
1100         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
1101         code unconditional.
1102         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1104         * math/test-math-errno.h: New file.
1105         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
1106         empty.
1107         (TEST_ERRNO): New macro.
1108         (TEST_EXCEPTIONS): Likewise.
1109         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
1110         (TEST_EXCEPTIONS): Likewise.
1111         * math/test-math-vector.h (TEST_ERRNO): Likewise.
1112         * math/test-double.c: Include "test-math-errno.h".
1113         * math/test-float.c: Likewise.
1114         * math/test-ldouble.c: Likewise.
1115         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
1116         code unconditional.
1117         (test_exceptions): Only run code if TEST_EXCEPTIONS.
1118         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
1119         unconditional.
1120         (test_errno): Only run code if TEST_ERRNO.
1121         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
1123 2015-11-04  Florian Weimer  <fweimer@redhat.com>
1125         * nptl/tst-once5.cc: Remove attribution.
1127 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
1129         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
1130         sqrt, tan, tanh, y0, y1 and yn.
1131         * math/auto-libm-test-out: Regenerated.
1132         * math/libm-test.inc (scalb_test_data): Add more tests.
1133         (scalbn_test_data): Likewise.
1134         (scalbln_test_data): Likewise.
1135         (signbit_test_data): Likewise.
1136         (sin_test_data): Likewise.
1137         (sincos_test_data): Likewise.
1138         (sinh_test_data): Likewise.
1139         (sqrt_test_data): Likewise.
1140         (tan_test_data): Likewise.
1141         (tanh_test_data): Likewise.
1142         (tgamma_test_data): Likewise.
1143         (y0_test_data): Likewise.
1144         (y1_test_data): Likewise.
1145         (yn_test_data): Likewise.
1146         (significand_test_data): Likewise.
1147         * sysdeps/i386/fpu/libm-test-ulps: Update.
1149 2015-11-03  David Kastrup  <dak@gnu.org>
1151         [BZ #18604]
1152         * assert/assert.h (assert): Don't macro-expand failed assertion
1153         expression in error message.
1154         * malloc/malloc.c (assert): Likewise.
1156 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
1158         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
1159         test.
1160         * configure: Regenerated.
1162 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
1164         * math/libm-test.inc (modf_test_data): Add more tests.
1165         (nearbyint_test_data): Likewise.
1166         (nextafter_test_data): Likewise.
1167         (nexttoward_test_data): Likewise.
1168         (pow_test_data): Likewise.
1169         (remainder_test_data): Likewise.
1170         (remquo_test_data): Likewise.
1171         (rint_test_data): Likewise.
1173         [BZ #19201]
1174         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1175         Check for zero remainder in case of large exponents and ensure
1176         correct sign of result in that case.
1177         * math/libm-test.inc (remainder_test_data): Add more tests.
1179         [BZ #6799]
1180         * math/s_nextafter.c: Include <errno.h>.
1181         (__nextafter): Set errno on overflow and underflow.
1182         * math/s_nexttowardf.c: Include <errno.h>.
1183         (__nexttowardf): Set errno on overflow and underflow.
1184         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
1185         (__nextafterl): Set errno on overflow and underflow.
1186         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
1187         (__nexttoward): Set errno on overflow and underflow.
1188         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
1189         (__nexttowardf): Set errno on overflow and underflow.
1190         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
1191         (__nextafterf): Set errno on overflow and underflow.
1192         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
1193         (__nextafterl): Set errno on overflow and underflow.
1194         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
1195         (__nexttoward): Set errno on overflow and underflow.
1196         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
1197         (__nexttowardf): Set errno on overflow and underflow.
1198         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
1199         (__nextafterl): Set errno on overflow and underflow.
1200         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
1201         (__nexttoward): Set errno on overflow and underflow.
1202         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
1203         (__nexttowardf): Set errno on overflow and underflow.
1204         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
1205         (__nexttoward): Set errno on overflow and underflow.
1206         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
1207         (__nexttowardf): Set errno on overflow and underflow.
1208         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
1209         (__nldbl_nexttowardf): Set errno on overflow and underflow.
1210         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
1211         (__nextafterl): Set errno on overflow and underflow.
1212         * math/libm-test.inc (nextafter_test_data): Do not allow errno
1213         setting to be missing on overflow.  Add more tests.
1214         (nexttoward_test_data): Likewise.
1216         * configure.ac (libc_cv_initfini_array): Remove configure test.
1217         * configure: Regenerated.
1219 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
1221         [BZ #19189]
1222         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
1223         non-finite argument handle arguments with negative sign.
1225         * math/libm-test.inc (j0_test_data): Do not test sign of zero
1226         result from infinite argument.
1227         (j1_test_data): Likewise.
1228         (jn_test_data): Likewise.
1229         (y0_test_data): Likewise.
1230         (y1_test_data): Likewise.
1231         (yn_test_data): Likewise.
1233         [BZ #16171]
1234         * math/w_remainder.c (drem): Define as weak alias of __remainder.
1235         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
1236         * math/w_remainderf.c (dremf): Define as weak alias of
1237         __remainderf.
1238         * math/w_remainderl.c (dreml): Define as weak alias of
1239         __remainderl.
1240         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
1241         __remainder.
1242         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
1243         __remainderf.
1244         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
1245         __remainderl.
1246         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
1247         weak alias of remainderl.
1248         * sysdeps/ieee754/ldbl-opt/w_remainder.c
1249         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
1250         alias of __remainder.
1251         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
1252         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
1253         strong alias of __remainderl.
1254         (dreml): Use long_double_symbol.
1255         * math/Makefile (libm-calls): Remove w_drem.
1256         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
1257         (CFLAGS-nldbl-drem.c): Remove variable.
1258         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
1259         * math/w_drem.c: Remove file.
1260         * math/w_dremf.c: Likewise.
1261         * math/w_dreml.c: Likewise.
1262         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
1263         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
1264         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
1266         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
1267         * sysdeps/i386/configure: Regenerated.
1268         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
1269         * sysdeps/x86_64/configure: Regenerated.
1271         * configure.ac (libc_cv_asm_protected_directive): Remove configure
1272         test.
1273         (libc_cv_visibility_attribute): Likewise.
1274         (libc_cv_protected_data): Test unconditionally.
1275         (libc_cv_broken_visibility_attribute): Remove configure test.
1276         (libc_cv_have_sdata_section): Test unconditionally.
1277         * configure: Regenerated.
1279         * include/libc-internal.h (libc_max_align_t): Remove typedef.
1280         * include/scratch_buffer.h: Include <stddef.h> instead of
1281         <libc-internal.h>.
1282         (struct scratch_buffer): Use max_align_t instead of
1283         libc_max_align_t.
1285 2015-10-29  Florian Weimer  <fweimer@redhat.com>
1287         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
1288         instead of extend_alloca.  Change control flow to avoid a goto.
1289         Remove assert which is trivially always true.
1291 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1293         [BZ #16068]
1294         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
1295         (FE_ALL_EXCEPT_X86): New macro.
1296         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1297         FE_ALL_EXCEPT.  Ensure precision control is included in
1298         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1299         handle "denormal operand exception" and clear FZ and DAZ bits.
1300         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
1301         (FE_ALL_EXCEPT_X86): New macro.
1302         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1303         FE_ALL_EXCEPT.  Ensure precision control is included in
1304         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1305         handle "denormal operand exception" and clear FZ and DAZ bits.
1306         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
1307         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
1308         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1309         test-fenv-x87 and test-fenv-sse-2.
1310         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
1312         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
1313         * math/test-double.h (BUILD_COMPLEX): New macro.
1314         * math/test-float.h (BUILD_COMPLEX): Likewise.
1315         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
1317         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
1318         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
1319         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
1320         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
1321         instead of DBL_DENORM_MIN in comment.
1322         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
1323         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1324         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
1325         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
1326         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
1327         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1329 2015-10-28  Florian Weimer  <fweimer@redhat.com>
1331         [BZ# 19048]
1332         * malloc/malloc.c (struct malloc_state): Update comment.  Add
1333         attached_threads member.
1334         (main_arena): Initialize attached_threads.
1335         * malloc/arena.c (list_lock): Update comment.
1336         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
1337         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
1338         (deattach_arena): New function.
1339         (_int_new_arena): Initialize arena reference count and deattach
1340         replaced arena.
1341         (get_free_list, reused_arena): Update reference count and deattach
1342         replaced arena.
1343         (arena_thread_freeres): Update arena reference count and only put
1344         unreferenced arenas on the free list.
1346 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1348         [BZ #19181]
1349         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
1350         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
1351         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
1352         * math/test-fenv-clear-main.c: New file.
1353         * math/test-fenv-clear.c: Likewise.
1354         * math/Makefile (tests): Add test-fenv-clear.
1355         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
1356         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1357         test-fenv-clear-sse.
1358         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
1360         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
1361         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
1362         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
1364 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1366         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
1367         static libc.
1369 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1371         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
1372         test.
1373         * sysdeps/i386/configure: Regenerated.
1374         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
1375         test.
1376         * sysdeps/x86_64/configure: Regenerated.
1377         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
1378         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1379         memset-avx2 unconditionally instead of conditionally on
1380         [$(config-cflags-avx2) = yes].
1381         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1382         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
1383         unconditional.
1384         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
1385         * sysdeps/x86_64/multiarch/memset_chk.S
1386         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
1387         to [IS_IN (libc) && SHARED].
1389 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1391         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
1392         configure test.
1393         * sysdeps/arm/configure: Regenerated.
1394         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
1395         Define variable if not already defined.
1397         [BZ #17404]
1398         * sysdeps/mips/atomic-machine.h
1399         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
1400         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
1401         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
1403         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
1404         unconditional.
1405         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
1406         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1407         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
1408         unconditional.
1409         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1410         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
1411         unconditional.
1412         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1413         * stdlib/setenv.c
1414         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
1415         code unconditional.
1416         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
1417         Remove conditional code.
1418         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1419         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
1420         unconditional.
1421         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1422         code.
1423         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1424         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
1425         unconditional.
1426         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1427         code.
1428         * sysdeps/ieee754/ldbl-128/k_tanl.c
1429         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1430         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1431         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1432         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1433         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1434         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1435         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
1436         unconditional.
1437         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1438         code.
1439         * sysdeps/ieee754/ldbl-96/k_tanl.c
1440         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1441         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1443         * nptl/tst-initializers1-c11.c: New file.
1444         * nptl/tst-initializers1-gnu11.c: Likewise.
1445         * nptl/Makefile (tests): Add these new tests.
1446         (CFLAGS-tst-initializers1-c11.c): New variable.
1447         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
1449         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
1450         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
1451         instead of -std=gnu99.
1452         * configure.ac (systemtap): Test with -std=gnu11 instead of
1453         -std=gnu99.
1454         * configure: Regenerated.
1455         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
1456         in compilation command in comment.
1458         * sysdeps/nptl/configure.ac: Remove file.
1459         * sysdeps/nptl/configure: Remove generated file.
1460         * configure.ac (libc_cv_forced_unwind): Do not substitute.
1461         * configure: Regenerated.
1462         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
1463         * config.make.in (have-forced-unwind): Remove variable.
1464         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
1465         unconditional.
1466         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
1467         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
1468         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
1469         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
1470         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
1471         unconditional.
1473 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1475         [BZ #19174]
1476         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
1477         .skip_lock_out_of_tbegin_retries.
1478         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1479         (__lll_lock_elision): Likewise, and respect a value of
1480         try_tbegin <= 0.
1482 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1484         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
1485         statement.
1487 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1489         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
1490         variable.
1491         (test-xfail-ISO11/stdalign.h/conform): Likewise.
1492         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1494         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
1495         of -std=c1x -D_ISOC11_SOURCE.
1497         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
1498         * configure: Regenerated.
1499         * manual/install.texi (Tools for Compilation): Document
1500         requirement for GCC 4.7 or later.
1501         * INSTALL: Regenerated.
1503 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
1505         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
1506         on CNT to a conditional jump to 'puntdata'.
1508 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1510         * configure.ac (libc_cv_gcc___thread): Remove configure test.
1511         (libc_cv_gcc_tls_model_attr): Likewise.
1512         * configure: Regenerated.
1514         * configure.ac (libc_cv_need_minus_P): Remove configure test.
1515         * configure: Regenerated.
1516         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
1518 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
1520         * configure.ac (old_glibc_headers): Remove configure test.
1521         * configure: Regenerated.
1522         * config.make.in (old-glibc-headers): Remove variable.
1523         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
1524         (install): Remove dependency on remove-old-headers.
1525         (headers2_0): Remove variable.
1526         (remove-old-headers): Remove rule.
1528         * configure.ac (libc_cv_dot_text): Remove configure test.
1529         (libc_cv_asm_set_directive): Use .text instead of
1530         ${libc_cv_dot_text} in configure test.
1531         * configure: Regenerated.
1533 2015-10-26  Florian Weimer  <fweimer@redhat.com>
1535         [BZ #19168]
1536         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1538 2015-10-26  Florian Weimer  <fweimer@redhat.com>
1540         * configure.ac (CXX): Clear the variable if the C++ toolchain does
1541         not support static linking.
1542         * configure: Regenerate.
1544 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
1546         * math/libm-test.inc (check_float_internal): Do not special-case
1547         errors up to 0.5 ulp.
1549         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1550         log2.
1551         * math/auto-libm-test-out: Regenerated.
1552         * math/libm-test.inc (MAX_EXP): New macro.
1553         (ilogb_test_data): Add more tests.
1554         (isfinite_test_data): Likewise.
1555         (isgreater_test_data): Likewise.
1556         (isgreaterequal_test_data): Likewise.
1557         (isinf_test_data): Likewise.
1558         (isless_test_data): Likewise.
1559         (islessequal_test_data): Likewise.
1560         (islessgreater_test_data): Likewise.
1561         (isnan_test_data): Likewise.
1562         (isnormal_test_data): Likewise.
1563         (issignaling_test_data): Likewise.
1564         (isunordered_test_data): Likewise.
1565         (j0_test_data): Likewise.
1566         (j1_test_data): Likewise.
1567         (jn_test_data): Likewise.
1568         (lgamma_test_data): Likewise.
1569         (log_test_data): Likewise.
1570         (log10_test_data): Likewise.
1571         (log1p_test_data): Likewise.
1572         (log2_test_data): Likewise.
1573         (logb_test_data): Likewise.
1574         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1576         [BZ #18611]
1577         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
1578         avoid excess range and precision on underflow.
1579         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1580         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
1581         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1582         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
1583         underflow.
1584         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1585         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1586         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
1587         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1588         * math/auto-libm-test-in: Do not allow missing errno setting for
1589         tests of j1 and jn.
1590         * math/auto-libm-test-out: Regenerated.
1592 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
1594         [BZ #15491]
1595         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
1596         floating-point environment instead of clearing all exceptions.
1597         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1598         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
1599         merging in "invalid" exceptions from frndint.
1600         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1601         * math/test-nearbyint-except.c: New file.
1602         * math/Makefile (tests): Add test-nearbyint-except.
1604 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
1606         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
1608         * sysdeps/tile/libm-test-ulps: Regenerated.
1610 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
1613         (__NR_sync_file_range2): Assume it is always defined.
1614         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1615         (__NR_sync_file_range): Assume it is always defined.
1617 2015-10-22  Andreas Schwab  <schwab@suse.de>
1619         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
1620         INTERNAL_SYSCALL_ERRNO.
1621         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1622         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
1623         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1624         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
1625         Likewise.
1626         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1628 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1630         * io/tst-fcntl.c (fd): New static variable.
1631         (do_prepare): Open temporary file here....
1632         (do_test): ...not here.
1634         * io/ftwtest-sh: Also trap on exit to remove temporary files.
1636 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
1638         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
1639         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
1640         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1641         Moved before "#ifdef __ASSEMBLER__".
1643 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1645         [BZ #19156]
1646         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
1647         arguments very close to 0.
1649 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
1651         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
1652         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
1654 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
1656         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1657         New.  Defined for GCC 5 and above when not compiling for
1658         profiling.
1659         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
1661         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
1662         Renamed to ...
1663         (CFLAGS-epoll_pwait.o): This.
1664         (CFLAGS-mmap.c): Renamed to ...
1665         (CFLAGS-mmap.o): This.
1666         (CFLAGS-mmap64.c): Renamed to ...
1667         (CFLAGS-mmap64.o): This.
1668         (CFLAGS-epoll_pwait.os): New.
1669         (CFLAGS-mmap.os): Likewise.
1670         (CFLAGS-mmap64.os): Likewise.
1671         (CFLAGS-semtimedop.os): Likewise.
1672         (CFLAGS-semtimedop.c): Renamed to ...
1673         (CFLAGS-semtimedop.o): This.
1675 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1677         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
1678         warning message.
1680 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1682         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
1683         * Makefile ($(objpfx)c++-types-check.out): Filter out
1684         $(+gccwarn-c) instead of -Wstrict-prototypes.
1686         * io/fts.c (fts_open): Convert to prototype-style function
1687         definition.
1688         * malloc/mcheck.c (mcheck): Likewise.
1689         (mcheck_pedantic): Likewise.
1690         * posix/regexec.c (re_search_2_stub): Likewise.  Use
1691         internal_function.
1692         (re_search_internal): Likewise.
1693         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
1694         prototype-style function definition.
1695         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1696         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1697         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
1698         (xdr_utmpptr): Likewise.
1699         (xdr_utmparr): Likewise.
1700         (xdr_utmpidle): Likewise.
1701         (xdr_utmpidleptr): Likewise.
1702         (xdr_utmpidlearr): Likewise.
1704         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
1705         log, log10 and log2.
1706         * math/auto-libm-test-out: Regenerated.
1707         * math/libm-test.inc (fmod_test_data): Add more tests.
1708         (fpclassify_test_data): Likewise.
1709         (frexp_test_data): Likewise.
1710         (hypot_test_data): Likewise.
1711         (ilogb_test_data): Likewise.
1713 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
1715         * debug/fortify_fail.c (__fortify_fail): Convert to
1716         prototype-style function definition.  Use internal_function.
1717         * libio/genops.c (save_for_backup): Convert to prototype-style
1718         function definition.
1719         * libio/wgenops.c (save_for_wbackup): Likewise.
1720         * login/grantpt.c (grantpt): Likewise.
1721         * login/ptsname.c (ptsname): Likewise.
1722         (__ptsname_r): Likewise.
1723         * login/unlockpt.c (unlockpt): Likewise.
1724         * mach/msgserver.c (__mach_msg_server): Likewise.
1725         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
1726         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
1727         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
1728         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
1729         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
1730         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
1731         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
1732         Likewise.
1733         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
1734         internal_function.
1735         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
1736         prototype-style function definition.
1737         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
1738         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
1739         (__pthread_create_2_0): Likewise.
1740         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1741         * nptl/register-atfork.c (__register_atfork): Likewise.
1742         * posix/glob.c (glob): Likewise.
1743         * posix/regcomp.c (re_comp): Likewise.
1744         * posix/regexec.c (re_exec): Likewise.
1745         * stdlib/add_n.c [__STDC__]: Make code unconditional.
1746         [!__STDC__]: Remove conditional code.
1747         * stdlib/cmp.c [__STDC__]: Make code unconditional.
1748         [!__STDC__]: Remove conditional code.
1749         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
1750         [!__STDC__]: Remove conditional code.
1751         * stdlib/divrem.c [__STDC__]: Make code unconditional.
1752         [!__STDC__]: Remove conditional code.
1753         * stdlib/lshift.c [__STDC__]: Make code unconditional.
1754         [!__STDC__]: Remove conditional code.
1755         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
1756         [!__STDC__]: Remove conditional code.
1757         * stdlib/mul.c [__STDC__]: Make code unconditional.
1758         [!__STDC__]: Remove conditional code.
1759         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
1760         [!__STDC__]: Remove conditional code.
1761         * stdlib/rshift.c [__STDC__]: Make code unconditional.
1762         [!__STDC__]: Remove conditional code.
1763         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
1764         function definition.
1765         (STRTOF): Likewise.
1766         * stdlib/strtod_l.c (__STRTOF): Likewise.
1767         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
1768         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
1769         (__strtol_l): Likewise.
1770         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
1771         [!__STDC__]: Remove conditional code.
1772         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
1773         definition.
1774         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
1775         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1776         type.
1777         (__strcasecmp): Convert to prototype-style function definition.
1778         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
1779         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1780         type.
1781         (__strncasecmp): Convert to prototype-style function definition.
1782         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
1783         * sunrpc/xdr.c (xdr_union): Likewise.
1784         * sunrpc/xdr_array.c (xdr_array): Likewise.
1785         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
1786         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
1787         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
1788         Likewise.
1789         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
1790         Likewise.
1791         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
1792         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
1793         Likewise.
1794         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
1795         (LOCALE_PARAM_PROTO): Likewise.
1796         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
1797         argument type.
1798         (ut_argument_spec): Remove macro.
1799         (ut_argument_spec_iso): Rename to ut_argument_spec.
1800         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
1801         prototype-style function definition.
1802         (memcpy_uppcase): Likewise.
1803         (__strftime_internal): Likewise.
1804         (my_strftime): Likewise.
1805         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
1806         (LOCALE_PARAM_DECL): Likewise.
1807         [_LIBC] (LOCALE_PARAM): Include argument type.
1808         (__strptime_internal): Convert to prototype-style function
1809         definition.
1810         (strptime): Likewise.
1811         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
1812         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1813         type.
1814         (__wcscasecmp): Convert to prototype-style function definition.
1815         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
1816         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1817         type.
1818         (__wcsncasecmp): Convert to prototype-style function definition.
1820         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
1821         function definition.
1822         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1823         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1824         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
1825         * elf/dl-minimal.c (_itoa): Likewise.
1826         * hurd/hurdmalloc.c (malloc): Likewise.
1827         (free): Likewise.
1828         (realloc): Likewise.
1829         * inet/inet6_option.c (inet6_option_space): Likewise.
1830         (inet6_option_init): Likewise.
1831         (inet6_option_append): Likewise.
1832         (inet6_option_alloc): Likewise.
1833         (inet6_option_next): Likewise.
1834         (inet6_option_find): Likewise.
1835         * io/ftw.c (FTW_NAME): Likewise.
1836         (NFTW_NAME): Likewise.
1837         (NFTW_NEW_NAME): Likewise.
1838         (NFTW_OLD_NAME): Likewise.
1839         * libio/iofwide.c (_IO_fwide): Likewise.
1840         * libio/strops.c (_IO_str_init_static_internal): Likewise.
1841         (_IO_str_init_static): Likewise.
1842         (_IO_str_init_readonly): Likewise.
1843         (_IO_str_overflow): Likewise.
1844         (_IO_str_underflow): Likewise.
1845         (_IO_str_count): Likewise.
1846         (_IO_str_seekoff): Likewise.
1847         (_IO_str_pbackfail): Likewise.
1848         (_IO_str_finish): Likewise.
1849         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
1850         (_IO_wstr_overflow): Likewise.
1851         (_IO_wstr_underflow): Likewise.
1852         (_IO_wstr_count): Likewise.
1853         (_IO_wstr_seekoff): Likewise.
1854         (_IO_wstr_pbackfail): Likewise.
1855         (_IO_wstr_finish): Likewise.
1856         * locale/programs/localedef.c (normalize_codeset): Likewise.
1857         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
1858         (add_locales_to_archive): Likewise.
1859         (delete_locales_from_archive): Likewise.
1860         * malloc/malloc.c (__libc_mallinfo): Likewise.
1861         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
1862         * misc/tsearch.c (__tfind): Likewise.
1863         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
1864         * nptl/pthread_attr_getdetachstate.c
1865         (__pthread_attr_getdetachstate): Likewise.
1866         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
1867         Likewise.
1868         * nptl/pthread_attr_getinheritsched.c
1869         (__pthread_attr_getinheritsched): Likewise.
1870         * nptl/pthread_attr_getschedparam.c
1871         (__pthread_attr_getschedparam): Likewise.
1872         * nptl/pthread_attr_getschedpolicy.c
1873         (__pthread_attr_getschedpolicy): Likewise.
1874         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
1875         Likewise.
1876         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
1877         Likewise.
1878         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
1879         Likewise.
1880         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
1881         Likewise.
1882         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
1883         (__pthread_attr_init_2_0): Likewise.
1884         * nptl/pthread_attr_setdetachstate.c
1885         (__pthread_attr_setdetachstate): Likewise.
1886         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
1887         Likewise.
1888         * nptl/pthread_attr_setinheritsched.c
1889         (__pthread_attr_setinheritsched): Likewise.
1890         * nptl/pthread_attr_setschedparam.c
1891         (__pthread_attr_setschedparam): Likewise.
1892         * nptl/pthread_attr_setschedpolicy.c
1893         (__pthread_attr_setschedpolicy): Likewise.
1894         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
1895         Likewise.
1896         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
1897         Likewise.
1898         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
1899         Likewise.
1900         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
1901         Likewise.
1902         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
1903         Likewise.
1904         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
1905         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
1906         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
1907         use internal_function.
1908         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
1909         prototype-style function definition.
1910         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1911         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
1912         internal_function.
1913         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
1914         Convert to prototype-style function definition.
1915         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1916         Likewise.
1917         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1918         Likewise.
1919         (__pthread_mutex_unlock): Likewise.
1920         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
1921         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
1922         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
1923         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
1924         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
1925         * nss/makedb.c (process_input): Likewise.
1926         * posix/fnmatch.c (__strchrnul): Likewise.
1927         (__wcschrnul): Likewise.
1928         (fnmatch): Likewise.
1929         * posix/fnmatch_loop.c (FCT): Likewise.
1930         * posix/glob.c (globfree): Likewise.
1931         (__glob_pattern_type): Likewise.
1932         (__glob_pattern_p): Likewise.
1933         * posix/regcomp.c (re_compile_pattern): Likewise.
1934         (re_set_syntax): Likewise.
1935         (re_compile_fastmap): Likewise.
1936         (regcomp): Likewise.
1937         (regerror): Likewise.
1938         (regfree): Likewise.
1939         * posix/regexec.c (regexec): Likewise.
1940         (re_match): Likewise.
1941         (re_search): Likewise.
1942         (re_match_2): Likewise.
1943         (re_search_2): Likewise.
1944         (re_search_stub): Likewise.  Use internal_function
1945         (re_copy_regs): Likewise.
1946         (re_set_registers): Convert to prototype-style function
1947         definition.
1948         (prune_impossible_nodes): Likewise.  Use internal_function.
1949         * resolv/inet_net_pton.c (inet_net_pton): Convert to
1950         prototype-style function definition.
1951         (inet_net_pton_ipv4): Likewise.
1952         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1953         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
1954         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
1955         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
1956         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1957         Make variadic.
1958         * time/strptime_l.c (localtime_r): Convert to prototype-style
1959         function definition.
1960         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1961         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1962         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1963         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1965         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
1966         definition.
1967         (_ufc_doit_r): Likewise.
1968         * crypt/crypt_util.c (_ufc_copymem): Likewise.
1969         (_ufc_output_conversion_r): Likewise.
1970         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
1971         * inet/rcmd.c (rcmd_af): Likewise.
1972         (rcmd): Likewise.
1973         (ruserok_af): Likewise.
1974         (ruserok): Likewise.
1975         (ruserok2_sa): Likewise.
1976         (ruserok_sa): Likewise.
1977         (iruserok_af): Likewise.
1978         (iruserok): Likewise.
1979         (__ivaliduser): Likewise.
1980         (__validuser2_sa): Likewise.
1981         * inet/rexec.c (rexec_af): Likewise.
1982         (rexec): Likewise.
1983         * inet/ruserpass.c (ruserpass): Likewise.
1984         * locale/programs/xmalloc.c (xcalloc): Likewise.
1985         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
1986         * math/w_drem.c (__drem): Likewise.
1987         * math/w_dremf.c (__dremf): Likewise.
1988         * math/w_dreml.c (__dreml): Likewise.
1989         * misc/daemon.c (daemon): Likewise.
1990         * resolv/res_debug.c (p_fqnname): Likewise.
1991         * stdlib/div.c (div): Likewise.
1992         * string/memcmp.c (memcmp_bytes): Likewise.
1993         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
1994         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1996         * crypt/cert.c (main): Convert to prototype-style function
1997         definition.
1998         * io/pipe.c (__pipe): Likewise.
1999         * io/pipe2.c (__pipe2): Likewise.
2000         * misc/futimesat.c (futimesat): Likewise.
2001         * misc/utimes.c (__utimes): Likewise.
2002         * posix/execve.c (__execve): Likewise.
2003         * posix/execvp.c (execvp): Likewise.
2004         * posix/execvpe.c (__execvpe): Likewise.
2005         * posix/fexecve.c (fexecve): Likewise.
2006         * socket/socketpair.c (socketpair): Likewise.
2007         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2008         * stdlib/erand48.c (erand48): Likewise.
2009         * stdlib/erand48_r.c (__erand48_r): Likewise.
2010         * stdlib/jrand48.c (jrand48): Likewise.
2011         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
2012         * stdlib/lcong48.c (lcong48): Likewise.
2013         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
2014         * stdlib/nrand48.c (nrand48): Likewise.
2015         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
2016         * stdlib/seed48.c (seed48): Likewise.
2017         * stdlib/seed48_r.c (__seed48_r): Likewise.
2018         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
2019         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
2020         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
2022 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
2024         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
2025         * configure: Regenerated.
2026         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
2027         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
2028         unconditional.
2029         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2030         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2031         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2032         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
2033         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
2034         unconditional.
2035         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2037         * posix/Makefile (CFLAGS-regex.c): Remove variable.
2038         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
2040         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
2041         function definition.
2042         * crypt/crypt_util.c (__encrypt_r): Likewise.
2043         * libio/genops.c (_IO_no_init): Likewise.
2044         * libio/iofopncook.c (_IO_fopencookie): Likewise.
2045         (_IO_old_fopencookie): Likewise.
2046         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2047         * libio/iogetline.c (_IO_getline): Likewise.
2048         (_IO_getline_info): Likewise.
2049         * libio/iogetwline.c (_IO_getwline): Likewise.
2050         (_IO_getwline_info): Likewise.
2051         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2052         * libio/vswprintf.c (_IO_vswprintf): Likewise.
2053         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
2054         (find_entry): Likewise.
2055         (iterate_table): Likewise.
2056         (lookup): Likewise.
2057         * login/forkpty.c (forkpty): Likewise.
2058         * misc/hsearch_r.c (__hsearch_r): Likewise.
2059         * misc/select.c (__select): Likewise.
2060         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
2061         Likewise.
2062         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
2063         Likewise.
2064         * nptl/old_pthread_cond_timedwait.c
2065         (__pthread_cond_timedwait_2_0): Likewise.
2066         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
2067         * nptl/pthread_barrierattr_getpshared.c
2068         (pthread_barrierattr_getpshared): Likewise.
2069         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
2070         Likewise.
2071         * nptl/pthread_mutex_setprioceiling.c
2072         (pthread_mutex_setprioceiling): Likewise.
2073         * nptl/pthread_mutexattr_getprioceiling.c
2074         (pthread_mutexattr_getprioceiling): Likewise.
2075         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
2076         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2077         Likewise.
2078         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2079         Likewise.
2080         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
2081         Likewise.
2082         * socket/recvfrom.c (__recvfrom): Likewise.
2083         * socket/sendto.c (__sendto): Likewise.
2084         * socket/setsockopt.c (__setsockopt): Likewise.
2085         * stdio-common/_itoa.c (_itoa): Likewise.
2086         * stdio-common/_itowa.c (_itowa): Likewise.
2087         * stdio-common/reg-printf.c (__register_printf_specifier):
2088         Likewise.
2089         (__register_printf_function): Likewise.
2090         * stdio-common/tempname.c (__path_search): Likewise.
2091         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
2092         * stdlib/mul_1.c (mpn_mul_1): Likewise.
2093         * stdlib/random_r.c (__initstate_r): Likewise.
2094         * stdlib/setenv.c (__add_to_environ): Likewise.
2095         * stdlib/submul_1.c (mpn_submul_1): Likewise.
2096         * streams/getpmsg.c (getpmsg): Likewise.
2097         * streams/putmsg.c (putmsg): Likewise.
2098         * streams/putpmsg.c (putpmsg): Likewise.
2099         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
2100         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
2101         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
2102         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
2103         * sunrpc/pm_getport.c (pmap_getport): Likewise.
2104         * sunrpc/svc_udp.c (cache_get): Likewise.
2105         * sunrpc/xdr_array.c (xdr_vector): Likewise.
2106         * sysdeps/mach/hurd/getcwd.c
2107         (__canonicalize_directory_name_internal): Likewise.
2108         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
2109         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
2110         * sysdeps/mach/hurd/select.c (__select): Likewise.
2111         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
2112         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
2113         * sysdeps/sparc/nptl/pthread_barrier_init.c
2114         (__pthread_barrier_init): Likewise.
2115         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
2116         (__pthread_cond_timedwait): Likewise.
2117         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
2118         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
2119         Likewise.
2120         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
2121         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
2122         Likewise.
2123         * sysvipc/semtimedop.c (semtimedop): Likewise.
2124         * time/setitimer.c (__setitimer): Likewise.
2125         * time/strftime_l.c (emacs_strftime): Likewise.
2127 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
2129         * config.make.in (have-ssp): Delete.
2130         (stack-protector): New variable.
2131         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
2132         cache test for -fstack-protector-strong.  Export stack_protector to
2133         the best ssp flag.
2134         * configure: Regenerated.
2135         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
2136         * nscd/Makefile (CFLAGS-nscd): Likewise.
2137         * resolv/Makefile (CFLAGS-libresolv): Likewise.
2139 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
2141         [BZ #19122]
2142         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
2143         attribute_hidden.
2145 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2147         [BZ #18743]
2148         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
2149         code to...
2150         (ELIDE_LOCK): ...here.
2151         (__get_new_count): New function with part of the code from
2152         __elide_lock that updates the value of adapt_count after a
2153         transaction abort.
2154         (__elided_trylock): Moved this code to...
2155         (ELIDE_TRYLOCK): ...here.
2157 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
2159         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
2160         * configure: Regenerate.
2161         * INSTALL: Regenerate.
2162         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
2163         and tweak grammar.
2165 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
2167         * login/programs/pt_chown.c: Include signal.h
2168         (main): Clear any signal mask from the parent process.
2170 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
2172         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
2173         * configure: Regenerated.
2174         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
2175         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
2176         $(gnu89-inline-CFLAGS).
2178         * configure.ac (libc_cv_asm_weak_directive): Remove configure
2179         test.
2180         (libc_cv_asm_weakext_directive): Likewise.
2181         * configure: Regenerated.
2182         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
2183         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
2184         * include/libc-symbols.h
2185         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
2186         #error.
2187         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
2188         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
2190         * sysdeps/arm/backtrace.c (__backtrace): Convert to
2191         prototype-style function definition.
2192         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2193         * sysdeps/i386/ffs.c (__ffs): Likewise.
2194         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2195         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
2196         Likewise.
2197         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2198         Likewise.
2199         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2200         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2201         Likewise.
2202         * sysdeps/m68k/ffs.c (__ffs): Likewise.
2203         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
2204         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
2205         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
2206         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
2207         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
2208         * sysdeps/mach/hurd/access.c (__access): Likewise.
2209         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2210         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
2211         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
2212         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
2213         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
2214         (cthread_getspecific): Likewise.
2215         (cthread_setspecific): Likewise.
2216         (__libc_getspecific): Likewise.
2217         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
2218         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
2219         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
2220         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
2221         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
2222         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
2223         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
2224         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
2225         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
2226         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
2227         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
2228         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
2229         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
2230         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
2231         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
2232         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
2233         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
2234         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
2235         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
2236         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
2237         * sysdeps/mach/hurd/link.c (__link): Likewise.
2238         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
2239         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
2240         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
2241         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
2242         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2243         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
2244         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
2245         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
2246         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2247         * sysdeps/mach/hurd/rename.c (rename): Likewise.
2248         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
2249         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
2250         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
2251         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
2252         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
2253         * sysdeps/mach/hurd/send.c (__send): Likewise.
2254         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
2255         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
2256         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
2257         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
2258         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
2259         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
2260         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
2261         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
2262         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
2263         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
2264         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
2265         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2266         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
2267         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
2268         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2269         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2270         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
2271         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
2272         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
2273         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2274         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
2275         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
2276         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
2277         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
2278         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
2279         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
2280         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
2281         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2282         * sysdeps/posix/alarm.c (alarm): Likewise.
2283         * sysdeps/posix/cuserid.c (cuserid): Likewise.
2284         * sysdeps/posix/dirfd.c (dirfd): Likewise.
2285         * sysdeps/posix/dup.c (__dup): Likewise.
2286         * sysdeps/posix/dup2.c (__dup2): Likewise.
2287         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
2288         (main): Likewise.
2289         * sysdeps/posix/flock.c (__flock): Likewise.
2290         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2291         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2292         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
2293         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
2294         * sysdeps/posix/isatty.c (__isatty): Likewise.
2295         * sysdeps/posix/killpg.c (killpg): Likewise.
2296         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2297         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
2298         * sysdeps/posix/raise.c (raise): Likewise.
2299         * sysdeps/posix/remove.c (remove): Likewise.
2300         * sysdeps/posix/rename.c (rename): Likewise.
2301         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
2302         * sysdeps/posix/seekdir.c (seekdir): Likewise.
2303         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
2304         * sysdeps/posix/sigignore.c (sigignore): Likewise.
2305         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
2306         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
2307         * sysdeps/posix/sigset.c (sigset): Likewise.
2308         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
2309         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2310         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
2311         * sysdeps/posix/time.c (time): Likewise.
2312         * sysdeps/posix/ttyname.c (getttyname): Likewise.
2313         (ttyname): Likewise.
2314         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
2315         * sysdeps/posix/utime.c (utime): Likewise.
2316         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
2317         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2318         Likewise.
2319         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
2320         (pthread_spin_trylock): Likewise.
2321         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
2322         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
2323         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
2324         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
2325         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
2326         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
2327         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
2328         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
2329         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
2330         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
2331         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
2332         * sysdeps/s390/ffs.c (__ffs): Likewise.
2333         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
2334         Likewise.
2335         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2336         Likewise.
2337         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
2338         Likewise.
2339         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
2340         (pthread_barrier_destroy): Likewise.
2341         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2342         (__pthread_barrier_wait): Likewise.
2343         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
2344         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2345         (__pthread_barrier_wait): Likewise.
2346         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
2347         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
2348         (memcmp_not_common_alignment): Likewise.
2349         (MEMCMP): Likewise.
2350         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
2351         (_wordcopy_fwd_dest_aligned): Likewise.
2352         (_wordcopy_bwd_aligned): Likewise.
2353         (_wordcopy_bwd_dest_aligned): Likewise.
2354         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
2355         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
2356         * sysdeps/unix/bsd/stty.c (stty): Likewise.
2357         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
2358         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
2359         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
2360         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
2361         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
2362         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
2363         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
2364         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
2365         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2366         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
2367         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
2368         * sysdeps/unix/stime.c (stime): Likewise.
2369         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
2370         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
2371         Likewise.  Use internal_function.
2372         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
2373         Convert to prototype-style function definition.
2374         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2375         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2376         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
2377         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2378         Likewise.  Use internal_function.
2379         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
2380         prototype-style function definition
2381         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2382         Likewise.
2383         (__getlogin_r): Likewise.
2384         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
2385         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
2386         (__pthread_cond_broadcast): Likewise.
2387         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
2388         (__pthread_cond_destroy): Likewise.
2389         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
2390         (__pthread_cond_init): Likewise.
2391         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
2392         (__pthread_cond_signal): Likewise.
2393         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
2394         (__pthread_cond_wait): Likewise.
2395         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
2396         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
2397         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
2398         Likewise.
2399         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
2400         Likewise.
2401         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
2402         Likewise.
2403         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
2404         Likewise.
2405         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
2406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
2407         (__ftruncate64): Likewise.
2408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
2409         (truncate64): Likewise.
2410         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
2411         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
2412         (pthread_getcpuclockid): Likewise.
2413         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2414         Likewise.
2415         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2416         Likewise.
2417         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
2418         Likewise.
2419         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2420         Likewise.
2421         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
2422         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
2423         (__libc_sigaction): Likewise.
2424         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
2425         Likewise.
2426         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
2427         (__sigprocmask): Likewise.
2428         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
2429         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
2430         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
2431         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2432         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2433         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
2434         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2435         Likewise.
2436         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
2437         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
2438         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2439         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
2440         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
2441         Likewise.
2442         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
2443         (__sigprocmask): Likewise.
2444         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
2445         (cfgetispeed): Likewise.
2446         (cfsetospeed): Likewise.
2447         (cfsetispeed): Likewise.
2448         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
2449         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
2450         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2451         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
2452         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
2453         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
2454         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
2455         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
2456         Likewise.
2457         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
2458         Likewise.
2459         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
2460         Likewise.
2461         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
2462         Likewise.
2463         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2465 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2467         sunrpc: Rewrite with explicit TLS access using __thread.
2468         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
2469         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
2470         directly.
2471         (__rpc_thread_variables): Access thread_rpc_vars directly.
2472         Eliminate redundant assignment of the tvp variable.
2474 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2476         malloc: Rewrite with explicit TLS access using __thread.
2477         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
2478         (tsd_setspecific, tsd_getspecific): Remove.
2479         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
2480         (tsd_setspecific, tsd_getspecific): Likewise.
2481         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
2482         (tsd_setspecific, tsd_getspecific): Likewise.
2483         * malloc/arena.c (thread_arena): New TLS variable.
2484         (arena_key): Remove variable.
2485         (arena_get): Use thread_arena.
2486         (arena_lookup): Remove macro.
2487         (malloc_atfork, free_atfork, ptmalloc_lock_all)
2488         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
2489         (_int_new_arena, get_free_list, reused_arena)
2490         (arena_thread_freeres): Use thread_arena.
2491         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
2492         tsd_getspecific, tsd_setspecific from safety annotations.
2493         (Allocating Cleared Space): Remove arena_lookup from safety
2494         annotations.
2496 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2498         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
2499         struct scratch_buffer instead of extend_alloca.
2501 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2503         * sysdeps/unix/sysv/linux/kernel-features.h
2504         (__ASSUME_SOCK_CLOEXEC): Remove.
2505         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
2506         (__have_paccept): Remove unused macro.
2507         * include/unistd.h (__have_sock_cloexec): Remove declaration.
2508         * misc/syslog.c (openlog_internal): Remove fallback code for
2509         !__ASSUME_SOCK_CLOEXEC.
2510         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
2511         missing SOCK_CLOEXEC.
2512         * nscd/connections.c (have_sock_cloexec): Remove definition.
2513         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
2514         * nscd/nscd_helper.c (open_socket): Remove fallback code for
2515         !__ASSUME_SOCK_CLOEXEC.
2516         * resolv/res_send.c (__have_o_nonblock): Remove definition.
2517         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
2518         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
2519         definition.
2520         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
2521         code for !__ASSUME_SOCK_CLOEXEC.
2523 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2525         [BZ #18982]
2526         * manual/stdio.texi (Variable Arguments Output): Add portability
2527         note, explaining that vfprintf clobbers the va_list pointer.
2529 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
2531         * math/libm-test.inc (fabs_test_data): Add more tests.
2532         (fdim_test_data): Likewise.
2533         (fma_test_data): Likewise.
2534         (fmax_test_data): Likewise.
2535         (fmin_test_data): Likewise.
2536         (fmod_test_data): Likewise.
2538 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
2540         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
2541         data.
2543 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
2545         * math/libm-test.inc (ceil_test_data): Add more tests and more
2546         expectations for "inexact".
2547         (floor_test_data): Add more tests.
2548         (round_test_data): Likewise.
2549         (trunc_test_data): Likewise.
2551         * crypt/cert.c (good_bye): Convert to prototype-style function
2552         definition.
2553         (get8): Likewise.
2554         (put8): Likewise.
2555         * crypt/crypt-entry.c (crypt): Likewise.
2556         (__fcrypt): Likewise.
2557         * crypt/crypt_util.c (_ufc_prbits): Likewise.
2558         (_ufc_set_bits): Likewise.
2559         (_ufc_clearmem): Likewise.
2560         (__init_des_r): Likewise.
2561         (shuffle_sb): Likewise.
2562         (shuffle_sb): Likewise.
2563         (_ufc_setup_salt_r): Likewise.
2564         (_ufc_mk_keytab_r): Likewise.
2565         (_ufc_dofinalperm_r): Likewise.
2566         (encrypt): Likewise.
2567         (__setkey_r): Likewise.
2568         (setkey): Likewise.
2569         * crypt/md5.c (md5_init_ctx): Likewise.
2570         (md5_read_ctx): Likewise.
2571         (md5_finish_ctx): Likewise.
2572         (md5_stream): Likewise.
2573         (md5_buffer): Likewise.
2574         (md5_process_bytes): Likewise.
2575         * crypt/sha256.c (__sha256_init_ctx): Likewise.
2576         (__sha256_finish_ctx): Likewise.
2577         (__sha256_process_bytes): Likewise.
2578         * crypt/sha512.c (__sha512_init_ctx): Likewise.
2579         (__sha512_finish_ctx): Likewise.
2580         (__sha512_process_bytes): Likewise.
2581         * ctype/isctype.c (__isctype): Likewise.
2582         * debug/backtrace.c (__backtrace): Likewise.
2583         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
2584         * debug/fgets_chk.c (__fgets_chk): Likewise.
2585         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
2586         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
2587         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2588         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2589         * debug/memset_chk.c (__memset_chk): Likewise.
2590         * debug/strcat_chk.c (__strcat_chk): Likewise.
2591         * debug/strncat_chk.c (__strncat_chk): Likewise.
2592         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
2593         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
2594         * dirent/dirfd.c (dirfd): Likewise.
2595         * dirent/getdents.c (__getdirentries): Likewise.
2596         * dirent/getdents64.c (getdirentries64): Likewise.
2597         * dirent/rewinddir.c (__rewinddir): Likewise.
2598         * dirent/seekdir.c (seekdir): Likewise.
2599         * dirent/telldir.c (telldir): Likewise.
2600         * elf/sln.c (makesymlinks): Likewise.
2601         (makesymlink): Likewise.
2602         * gmon/gmon.c (__moncontrol): Likewise.
2603         (__monstartup): Likewise.
2604         (write_hist): Likewise.
2605         (write_call_graph): Likewise.
2606         (write_bb_counts): Likewise.
2607         * grp/setgroups.c (setgroups): Likewise.
2608         * inet/inet_lnaof.c (inet_lnaof): Likewise.
2609         * inet/inet_net.c (inet_network): Likewise.
2610         * inet/inet_netof.c (inet_netof): Likewise.
2611         * inet/rcmd.c (rresvport_af): Likewise.
2612         (rresvport): Likewise.
2613         * io/access.c (__access): Likewise.
2614         * io/chdir.c (__chdir): Likewise.
2615         * io/chmod.c (__chmod): Likewise.
2616         * io/chown.c (__chown): Likewise.
2617         * io/close.c (__close): Likewise.
2618         * io/creat.c (creat): Likewise.
2619         * io/creat64.c (creat64): Likewise.
2620         * io/dup.c (__dup): Likewise.
2621         * io/dup2.c (__dup2): Likewise.
2622         * io/dup3.c (__dup3): Likewise.
2623         * io/euidaccess.c (__euidaccess): Likewise.
2624         * io/faccessat.c (faccessat): Likewise.
2625         * io/fchmod.c (__fchmod): Likewise.
2626         * io/fchmodat.c (fchmodat): Likewise.
2627         * io/fchown.c (__fchown): Likewise.
2628         * io/fchownat.c (fchownat): Likewise.
2629         * io/fcntl.c (__fcntl): Likewise.
2630         * io/flock.c (__flock): Likewise.
2631         * io/fts.c (fts_load): Likewise.
2632         (fts_close): Likewise.
2633         (fts_read): Likewise.
2634         (fts_set): Likewise.
2635         (fts_children): Likewise.
2636         (fts_build): Likewise.
2637         (fts_stat): Likewise.
2638         (fts_sort): Likewise.
2639         (fts_alloc): Likewise.
2640         (fts_lfree): Likewise.
2641         (fts_palloc): Likewise.
2642         (fts_padjust): Likewise.
2643         (fts_maxarglen): Likewise.
2644         (fts_safe_changedir): Likewise.
2645         * io/getwd.c (getwd): Likewise.
2646         * io/isatty.c (__isatty): Likewise.
2647         * io/lchown.c (__lchown): Likewise.
2648         * io/link.c (__link): Likewise.
2649         * io/linkat.c (linkat): Likewise.
2650         * io/lseek.c (__libc_lseek): Likewise.
2651         * io/mkdir.c (__mkdir): Likewise.
2652         * io/mkdirat.c (mkdirat): Likewise.
2653         * io/mkfifo.c (mkfifo): Likewise.
2654         * io/mkfifoat.c (mkfifoat): Likewise.
2655         * io/open.c (__libc_open): Likewise.
2656         * io/open64.c (__libc_open64): Likewise.
2657         * io/readlink.c (__readlink): Likewise.
2658         * io/readlinkat.c (readlinkat): Likewise.
2659         * io/rmdir.c (__rmdir): Likewise.
2660         * io/symlink.c (__symlink): Likewise.
2661         * io/symlinkat.c (symlinkat): Likewise.
2662         * io/ttyname.c (ttyname): Likewise.
2663         * io/ttyname_r.c (__ttyname_r): Likewise.
2664         * io/umask.c (__umask): Likewise.
2665         * io/unlink.c (__unlink): Likewise.
2666         * io/unlinkat.c (unlinkat): Likewise.
2667         * io/utime.c (utime): Likewise.
2668         * libio/clearerr.c (clearerr): Likewise.
2669         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
2670         * libio/feof.c (_IO_feof): Likewise.
2671         * libio/feof_u.c (feof_unlocked): Likewise.
2672         * libio/ferror.c (_IO_ferror): Likewise.
2673         * libio/ferror_u.c (ferror_unlocked): Likewise.
2674         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2675         * libio/fileno.c (__fileno): Likewise.
2676         * libio/fputc.c (fputc): Likewise.
2677         * libio/fputc_u.c (fputc_unlocked): Likewise.
2678         * libio/fputwc.c (fputwc): Likewise.
2679         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
2680         * libio/freopen.c (freopen): Likewise.
2681         * libio/freopen64.c (freopen64): Likewise.
2682         * libio/fseek.c (fseek): Likewise.
2683         * libio/fseeko.c (fseeko): Likewise.
2684         * libio/fseeko64.c (fseeko64): Likewise.
2685         * libio/ftello.c (__ftello): Likewise.
2686         * libio/ftello64.c (ftello64): Likewise.
2687         * libio/fwide.c (fwide): Likewise.
2688         * libio/genops.c (_IO_un_link): Likewise.
2689         (_IO_link_in): Likewise.
2690         (_IO_least_marker): Likewise.
2691         (_IO_switch_to_main_get_area): Likewise.
2692         (_IO_switch_to_backup_area): Likewise.
2693         (_IO_switch_to_get_mode): Likewise.
2694         (_IO_free_backup_area): Likewise.
2695         (_IO_switch_to_put_mode): Likewise.
2696         (__overflow): Likewise.
2697         (__underflow): Likewise.
2698         (__uflow): Likewise.
2699         (_IO_setb): Likewise.
2700         (_IO_doallocbuf): Likewise.
2701         (_IO_default_underflow): Likewise.
2702         (_IO_default_uflow): Likewise.
2703         (_IO_default_xsputn): Likewise.
2704         (_IO_sgetn): Likewise.
2705         (_IO_default_xsgetn): Likewise.
2706         (_IO_sync): Likewise.
2707         (_IO_default_setbuf): Likewise.
2708         (_IO_default_seekpos): Likewise.
2709         (_IO_default_doallocate): Likewise.
2710         (_IO_init): Likewise.
2711         (_IO_old_init): Likewise.
2712         (_IO_default_sync): Likewise.
2713         (_IO_default_finish): Likewise.
2714         (_IO_default_seekoff): Likewise.
2715         (_IO_sputbackc): Likewise.
2716         (_IO_sungetc): Likewise.
2717         (_IO_set_column): Likewise.
2718         (_IO_set_column): Likewise.
2719         (_IO_adjust_column): Likewise.
2720         (_IO_get_column): Likewise.
2721         (_IO_init_marker): Likewise.
2722         (_IO_remove_marker): Likewise.
2723         (_IO_marker_difference): Likewise.
2724         (_IO_marker_delta): Likewise.
2725         (_IO_seekmark): Likewise.
2726         (_IO_unsave_markers): Likewise.
2727         (_IO_nobackup_pbackfail): Likewise.
2728         (_IO_default_pbackfail): Likewise.
2729         (_IO_default_seek): Likewise.
2730         (_IO_default_stat): Likewise.
2731         (_IO_default_read): Likewise.
2732         (_IO_default_write): Likewise.
2733         (_IO_default_showmanyc): Likewise.
2734         (_IO_default_imbue): Likewise.
2735         (_IO_iter_next): Likewise.
2736         (_IO_iter_file): Likewise.
2737         * libio/getc.c (_IO_getc): Likewise.
2738         * libio/getwc.c (_IO_getwc): Likewise.
2739         * libio/iofclose.c (_IO_new_fclose): Likewise.
2740         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
2741         * libio/iofflush.c (_IO_fflush): Likewise.
2742         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
2743         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
2744         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
2745         * libio/iofgets.c (_IO_fgets): Likewise.
2746         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
2747         * libio/iofgetws.c (fgetws): Likewise.
2748         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2749         * libio/iofopen64.c (_IO_fopen64): Likewise.
2750         * libio/iofopncook.c (_IO_cookie_read): Likewise.
2751         (_IO_cookie_write): Likewise.
2752         (_IO_cookie_seek): Likewise.
2753         (_IO_cookie_close): Likewise.
2754         (_IO_cookie_seekoff): Likewise.
2755         (_IO_old_cookie_seek): Likewise.
2756         * libio/iofputs.c (_IO_fputs): Likewise.
2757         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
2758         * libio/iofputws.c (fputws): Likewise.
2759         * libio/iofputws_u.c (fputws_unlocked): Likewise.
2760         * libio/iofread.c (_IO_fread): Likewise.
2761         * libio/iofread_u.c (__fread_unlocked): Likewise.
2762         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
2763         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
2764         * libio/ioftell.c (_IO_ftell): Likewise.
2765         * libio/iofwrite.c (_IO_fwrite): Likewise.
2766         * libio/iogetdelim.c (_IO_getdelim): Likewise.
2767         * libio/iogets.c (_IO_gets): Likewise.
2768         * libio/iopadn.c (_IO_padn): Likewise.
2769         * libio/iopopen.c (_IO_new_proc_open): Likewise.
2770         (_IO_new_popen): Likewise.
2771         (_IO_new_proc_close): Likewise.
2772         * libio/ioputs.c (_IO_puts): Likewise.
2773         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
2774         (_IO_seekoff): Likewise.
2775         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
2776         (_IO_seekpos): Likewise.
2777         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
2778         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
2779         * libio/ioungetc.c (_IO_ungetc): Likewise.
2780         * libio/ioungetwc.c (ungetwc): Likewise.
2781         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2782         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
2783         * libio/iowpadn.c (_IO_wpadn): Likewise.
2784         * libio/libc_fatal.c (__libc_fatal): Likewise.
2785         * libio/memstream.c (__open_memstream): Likewise.
2786         (_IO_mem_sync): Likewise.
2787         (_IO_mem_finish): Likewise.
2788         * libio/oldfileops.c (_IO_old_file_init): Likewise.
2789         (_IO_old_file_close_it): Likewise.
2790         (_IO_old_file_finish): Likewise.
2791         (_IO_old_file_fopen): Likewise.
2792         (_IO_old_file_attach): Likewise.
2793         (_IO_old_file_setbuf): Likewise.
2794         (_IO_old_do_write): Likewise.
2795         (old_do_write): Likewise.
2796         (_IO_old_file_underflow): Likewise.
2797         (_IO_old_file_overflow): Likewise.
2798         (_IO_old_file_sync): Likewise.
2799         (_IO_old_file_seekoff): Likewise.
2800         (_IO_old_file_write): Likewise.
2801         (_IO_old_file_xsputn): Likewise.
2802         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2803         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2804         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
2805         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
2806         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2807         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
2808         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
2809         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
2810         (_IO_old_popen): Likewise.
2811         (_IO_old_proc_close): Likewise.
2812         * libio/oldpclose.c (__old_pclose): Likewise.
2813         * libio/pclose.c (__new_pclose): Likewise.
2814         * libio/peekc.c (_IO_peekc_locked): Likewise.
2815         * libio/putc.c (_IO_putc): Likewise.
2816         * libio/putc_u.c (putc_unlocked): Likewise.
2817         * libio/putchar.c (putchar): Likewise.
2818         * libio/putchar_u.c (putchar_unlocked): Likewise.
2819         * libio/putwc.c (putwc): Likewise.
2820         * libio/putwc_u.c (putwc_unlocked): Likewise.
2821         * libio/putwchar.c (putwchar): Likewise.
2822         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2823         * libio/rewind.c (rewind): Likewise.
2824         * libio/setbuf.c (setbuf): Likewise.
2825         * libio/setlinebuf.c (setlinebuf): Likewise.
2826         * libio/vasprintf.c (_IO_vasprintf): Likewise.
2827         * libio/vscanf.c (_IO_vscanf): Likewise.
2828         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
2829         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
2830         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2831         * libio/wgenops.c (_IO_least_wmarker): Likewise.
2832         (_IO_switch_to_main_wget_area): Likewise.
2833         (_IO_switch_to_wbackup_area): Likewise.
2834         (_IO_wsetb): Likewise.
2835         (_IO_wdefault_pbackfail): Likewise.
2836         (_IO_wdefault_finish): Likewise.
2837         (_IO_wdefault_uflow): Likewise.
2838         (__woverflow): Likewise.
2839         (__wuflow): Likewise.
2840         (__wunderflow): Likewise.
2841         (_IO_wdefault_xsputn): Likewise.
2842         (_IO_wdefault_xsgetn): Likewise.
2843         (_IO_wdoallocbuf): Likewise.
2844         (_IO_wdefault_doallocate): Likewise.
2845         (_IO_switch_to_wget_mode): Likewise.
2846         (_IO_free_wbackup_area): Likewise.
2847         (_IO_switch_to_wput_mode): Likewise.
2848         (_IO_sputbackwc): Likewise.
2849         (_IO_sungetwc): Likewise.
2850         (_IO_adjust_wcolumn): Likewise.
2851         (_IO_init_wmarker): Likewise.
2852         (_IO_wmarker_delta): Likewise.
2853         (_IO_seekwmark): Likewise.
2854         (_IO_unsave_wmarkers): Likewise.
2855         * libio/wmemstream.c (open_wmemstream): Likewise.
2856         (_IO_wmem_sync): Likewise.
2857         (_IO_wmem_finish): Likewise.
2858         * locale/nl_langinfo.c (nl_langinfo): Likewise.
2859         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
2860         * locale/programs/simple-hash.c (init_hash): Likewise.
2861         (delete_hash): Likewise.
2862         (insert_entry): Likewise.
2863         (set_entry): Likewise.
2864         (next_prime): Likewise.
2865         (is_prime): Likewise.
2866         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
2867         (xmalloc): Likewise.
2868         (xrealloc): Likewise.
2869         * locale/programs/xstrdup.c (xstrdup): Likewise.
2870         * localedata/collate-test.c (xstrcoll): Likewise.
2871         * localedata/xfrm-test.c (xstrcmp): Likewise.
2872         * login/getlogin_r.c (__getlogin_r): Likewise.
2873         * login/getpt.c (__posix_openpt): Likewise.
2874         * login/login_tty.c (login_tty): Likewise.
2875         * login/setlogin.c (setlogin): Likewise.
2876         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
2877         (mach_msg_destroy_port): Likewise.
2878         (mach_msg_destroy_memory): Likewise.
2879         * malloc/mcheck.c (flood): Likewise.
2880         * misc/acct.c (acct): Likewise.
2881         * misc/brk.c (__brk): Likewise.
2882         * misc/chflags.c (chflags): Likewise.
2883         * misc/chroot.c (chroot): Likewise.
2884         * misc/fchflags.c (fchflags): Likewise.
2885         * misc/fstab.c (getfsspec): Likewise.
2886         (getfsfile): Likewise.
2887         * misc/fsync.c (fsync): Likewise.
2888         * misc/ftruncate.c (__ftruncate): Likewise.
2889         * misc/ftruncate64.c (__ftruncate64): Likewise.
2890         * misc/getdomain.c (getdomainname): Likewise.
2891         (getdomainname): Likewise.
2892         * misc/gethostname.c (__gethostname): Likewise.
2893         * misc/getpass.c (getpass): Likewise.
2894         * misc/getttyent.c (skip): Likewise.
2895         (value): Likewise.
2896         * misc/gtty.c (gtty): Likewise.
2897         * misc/hsearch.c (hsearch): Likewise.
2898         (hcreate): Likewise.
2899         * misc/hsearch_r.c (__hcreate_r): Likewise.
2900         (__hdestroy_r): Likewise.
2901         * misc/ioctl.c (__ioctl): Likewise.
2902         * misc/mkdtemp.c (mkdtemp): Likewise.
2903         * misc/mkostemp.c (mkostemp): Likewise.
2904         * misc/mkostemp64.c (mkostemp64): Likewise.
2905         * misc/mkostemps.c (mkostemps): Likewise.
2906         * misc/mkostemps64.c (mkostemps64): Likewise.
2907         * misc/mkstemp.c (mkstemp): Likewise.
2908         * misc/mkstemp64.c (mkstemp64): Likewise.
2909         * misc/mkstemps.c (mkstemps): Likewise.
2910         * misc/mkstemps64.c (mkstemps64): Likewise.
2911         * misc/mktemp.c (__mktemp): Likewise.
2912         * misc/preadv.c (preadv): Likewise.
2913         * misc/preadv64.c (preadv64): Likewise.
2914         * misc/pwritev.c (pwritev): Likewise.
2915         * misc/pwritev64.c (pwritev64): Likewise.
2916         * misc/readv.c (__readv): Likewise.
2917         * misc/revoke.c (revoke): Likewise.
2918         * misc/setdomain.c (setdomainname): Likewise.
2919         * misc/setegid.c (setegid): Likewise.
2920         * misc/seteuid.c (seteuid): Likewise.
2921         * misc/sethostid.c (sethostid): Likewise.
2922         * misc/sethostname.c (sethostname): Likewise.
2923         * misc/setregid.c (__setregid): Likewise.
2924         * misc/setreuid.c (__setreuid): Likewise.
2925         * misc/sstk.c (sstk): Likewise.
2926         * misc/stty.c (stty): Likewise.
2927         * misc/syscall.c (syscall): Likewise.
2928         * misc/syslog.c (setlogmask): Likewise.
2929         * misc/truncate.c (__truncate): Likewise.
2930         * misc/truncate64.c (truncate64): Likewise.
2931         * misc/ualarm.c (ualarm): Likewise.
2932         * misc/usleep.c (usleep): Likewise.
2933         * misc/ustat.c (ustat): Likewise.
2934         * misc/writev.c (__writev): Likewise.
2935         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
2936         * nptl/old_pthread_cond_broadcast.c
2937         (__pthread_cond_broadcast_2_0): Likewise.
2938         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
2939         Likewise.
2940         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
2941         Likewise.
2942         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
2943         Likewise.
2944         * nptl/pt-raise.c (raise): Likewise.
2945         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
2946         Likewise.
2947         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
2948         * nptl/pthread_barrierattr_destroy.c
2949         (pthread_barrierattr_destroy): Likewise.
2950         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
2951         Likewise.
2952         * nptl/pthread_barrierattr_setpshared.c
2953         (pthread_barrierattr_setpshared): Likewise.
2954         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2955         Likewise.
2956         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
2957         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
2958         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
2959         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
2960         Likewise.
2961         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
2962         Likewise.
2963         * nptl/pthread_condattr_getpshared.c
2964         (pthread_condattr_getpshared): Likewise.
2965         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
2966         Likewise.
2967         * nptl/pthread_condattr_setpshared.c
2968         (pthread_condattr_setpshared): Likewise.
2969         * nptl/pthread_detach.c (pthread_detach): Likewise.
2970         * nptl/pthread_equal.c (__pthread_equal): Likewise.
2971         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
2972         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
2973         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
2974         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
2975         Likewise.
2976         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
2977         Likewise.
2978         * nptl/pthread_mutex_getprioceiling.c
2979         (pthread_mutex_getprioceiling): Likewise.
2980         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
2981         Likewise.
2982         * nptl/pthread_mutexattr_getprotocol.c
2983         (pthread_mutexattr_getprotocol): Likewise.
2984         * nptl/pthread_mutexattr_getpshared.c
2985         (pthread_mutexattr_getpshared): Likewise.
2986         * nptl/pthread_mutexattr_getrobust.c
2987         (pthread_mutexattr_getrobust): Likewise.
2988         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2989         Likewise.
2990         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
2991         Likewise.
2992         * nptl/pthread_mutexattr_setprioceiling.c
2993         (pthread_mutexattr_setprioceiling): Likewise.
2994         * nptl/pthread_mutexattr_setprotocol.c
2995         (pthread_mutexattr_setprotocol): Likewise.
2996         * nptl/pthread_mutexattr_setpshared.c
2997         (pthread_mutexattr_setpshared): Likewise.
2998         * nptl/pthread_mutexattr_setrobust.c
2999         (pthread_mutexattr_setrobust): Likewise.
3000         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
3001         Likewise.
3002         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
3003         Likewise.
3004         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
3005         Likewise.
3006         * nptl/pthread_rwlockattr_getkind_np.c
3007         (pthread_rwlockattr_getkind_np): Likewise.
3008         * nptl/pthread_rwlockattr_getpshared.c
3009         (pthread_rwlockattr_getpshared): Likewise.
3010         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
3011         Likewise.
3012         * nptl/pthread_rwlockattr_setkind_np.c
3013         (pthread_rwlockattr_setkind_np): Likewise.
3014         * nptl/pthread_rwlockattr_setpshared.c
3015         (pthread_rwlockattr_setpshared): Likewise.
3016         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
3017         Likewise.
3018         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
3019         Likewise.
3020         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
3021         Likewise.
3022         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
3023         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
3024         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
3025         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
3026         * nptl/sem_close.c (sem_close): Likewise.
3027         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
3028         * nptl/sem_init.c (__old_sem_init): Likewise.
3029         * nptl/sigaction.c (__sigaction): Likewise.
3030         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3031         * posix/_exit.c (_exit): Likewise.
3032         * posix/alarm.c (alarm): Likewise.
3033         * posix/confstr.c (confstr): Likewise.
3034         * posix/fpathconf.c (__fpathconf): Likewise.
3035         * posix/getgroups.c (__getgroups): Likewise.
3036         * posix/getpgid.c (__getpgid): Likewise.
3037         * posix/group_member.c (__group_member): Likewise.
3038         * posix/pathconf.c (__pathconf): Likewise.
3039         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
3040         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
3041         * posix/setgid.c (__setgid): Likewise.
3042         * posix/setpgid.c (__setpgid): Likewise.
3043         * posix/setuid.c (__setuid): Likewise.
3044         * posix/sleep.c (__sleep): Likewise.
3045         * posix/sysconf.c (__sysconf): Likewise.
3046         * posix/times.c (__times): Likewise.
3047         * posix/uname.c (__uname): Likewise.
3048         * posix/waitid.c (__waitid): Likewise.
3049         * pwd/getpw.c (__getpw): Likewise.
3050         * resolv/base64.c (b64_pton): Likewise.
3051         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
3052         * resolv/gethnamaddr.c (Dprintf): Likewise.
3053         (gethostbyname): Likewise.
3054         (gethostbyname2): Likewise.
3055         (gethostbyaddr): Likewise.
3056         (_sethtent): Likewise.
3057         (_gethtbyname): Likewise.
3058         (_gethtbyname2): Likewise.
3059         (_gethtbyaddr): Likewise.
3060         (map_v4v6_address): Likewise.
3061         (map_v4v6_hostent): Likewise.
3062         (addrsort): Likewise.
3063         (ht_sethostent): Likewise.
3064         (ht_gethostbyname): Likewise.
3065         (ht_gethostbyaddr): Likewise.
3066         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
3067         (inet_net_ntop_ipv4): Likewise.
3068         * resolv/inet_neta.c (inet_neta): Likewise.
3069         * resolv/inet_ntop.c (inet_ntop): Likewise.
3070         (inet_ntop4): Likewise.
3071         (inet_ntop6): Likewise.
3072         * resolv/inet_pton.c (__inet_pton): Likewise.
3073         (inet_pton4): Likewise.
3074         (inet_pton6): Likewise.
3075         * resolv/res_debug.c (loc_aton): Likewise.
3076         (loc_ntoa): Likewise.
3077         * resource/getpriority.c (__getpriority): Likewise.
3078         * resource/getrusage.c (__getrusage): Likewise.
3079         * resource/nice.c (nice): Likewise.
3080         * resource/setpriority.c (__setpriority): Likewise.
3081         * resource/setrlimit64.c (setrlimit64): Likewise.
3082         * resource/vlimit.c (vlimit): Likewise.
3083         * resource/vtimes.c (vtimes): Likewise.
3084         * rt/aio_error.c (aio_error): Likewise.
3085         * rt/aio_return.c (aio_return): Likewise.
3086         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
3087         * signal/kill.c (__kill): Likewise.
3088         * signal/killpg.c (killpg): Likewise.
3089         * signal/raise.c (raise): Likewise.
3090         * signal/sigaction.c (__sigaction): Likewise.
3091         * signal/sigaddset.c (sigaddset): Likewise.
3092         * signal/sigaltstack.c (sigaltstack): Likewise.
3093         * signal/sigandset.c (sigandset): Likewise.
3094         * signal/sigblock.c (__sigblock): Likewise.
3095         * signal/sigdelset.c (sigdelset): Likewise.
3096         * signal/sigempty.c (sigemptyset): Likewise.
3097         * signal/sigfillset.c (sigfillset): Likewise.
3098         * signal/sighold.c (sighold): Likewise.
3099         * signal/sigignore.c (sigignore): Likewise.
3100         * signal/sigintr.c (siginterrupt): Likewise.
3101         * signal/sigisempty.c (sigisemptyset): Likewise.
3102         * signal/sigismem.c (sigismember): Likewise.
3103         * signal/signal.c (signal): Likewise.
3104         * signal/sigorset.c (sigorset): Likewise.
3105         * signal/sigpause.c (__sigpause): Likewise.
3106         * signal/sigpending.c (sigpending): Likewise.
3107         * signal/sigprocmask.c (__sigprocmask): Likewise.
3108         * signal/sigrelse.c (sigrelse): Likewise.
3109         * signal/sigreturn.c (__sigreturn): Likewise.
3110         * signal/sigset.c (sigset): Likewise.
3111         * signal/sigsetmask.c (__sigsetmask): Likewise.
3112         * signal/sigstack.c (sigstack): Likewise.
3113         * signal/sigsuspend.c (__sigsuspend): Likewise.
3114         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
3115         * signal/sysv_signal.c (__sysv_signal): Likewise.
3116         * socket/accept.c (accept): Likewise.
3117         * socket/accept4.c (__libc_accept4): Likewise.
3118         * socket/bind.c (__bind): Likewise.
3119         * socket/connect.c (__connect): Likewise.
3120         * socket/getpeername.c (getpeername): Likewise.
3121         * socket/getsockname.c (__getsockname): Likewise.
3122         * socket/getsockopt.c (getsockopt): Likewise.
3123         * socket/listen.c (__listen): Likewise.
3124         * socket/recv.c (__recv): Likewise.
3125         * socket/recvmsg.c (__recvmsg): Likewise.
3126         * socket/send.c (__send): Likewise.
3127         * socket/sendmsg.c (__sendmsg): Likewise.
3128         * socket/shutdown.c (shutdown): Likewise.
3129         * socket/sockatmark.c (sockatmark): Likewise.
3130         * socket/socket.c (__socket): Likewise.
3131         * stdio-common/ctermid.c (ctermid): Likewise.
3132         * stdio-common/cuserid.c (cuserid): Likewise.
3133         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
3134         * stdio-common/remove.c (remove): Likewise.
3135         * stdio-common/rename.c (rename): Likewise.
3136         * stdio-common/renameat.c (renameat): Likewise.
3137         * stdio-common/tempname.c (__gen_tempname): Likewise.
3138         * stdio-common/xbug.c (InitBuffer): Likewise.
3139         (AppendToBuffer): Likewise.
3140         (ReadFile): Likewise.
3141         * stdlib/a64l.c (a64l): Likewise.
3142         * stdlib/drand48_r.c (drand48_r): Likewise.
3143         * stdlib/getcontext.c (getcontext): Likewise.
3144         * stdlib/getenv.c (getenv): Likewise.
3145         * stdlib/l64a.c (l64a): Likewise.
3146         * stdlib/llabs.c (llabs): Likewise.
3147         * stdlib/lldiv.c (lldiv): Likewise.
3148         * stdlib/lrand48_r.c (lrand48_r): Likewise.
3149         * stdlib/mrand48_r.c (mrand48_r): Likewise.
3150         * stdlib/putenv.c (putenv): Likewise.
3151         * stdlib/random.c (__srandom): Likewise.
3152         (__initstate): Likewise.
3153         (__setstate): Likewise.
3154         * stdlib/random_r.c (__srandom_r): Likewise.
3155         (__setstate_r): Likewise.
3156         (__random_r): Likewise.
3157         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
3158         * stdlib/setcontext.c (setcontext): Likewise.
3159         * stdlib/setenv.c (setenv): Likewise.
3160         (unsetenv): Likewise.
3161         * stdlib/srand48.c (srand48): Likewise.
3162         * stdlib/srand48_r.c (__srand48_r): Likewise.
3163         * stdlib/swapcontext.c (swapcontext): Likewise.
3164         * stdlib/system.c (__libc_system): Likewise.
3165         * stdlib/tst-strtod.c (expand): Likewise.
3166         * stdlib/tst-strtol.c (expand): Likewise.
3167         * stdlib/tst-strtoll.c (expand): Likewise.
3168         * streams/fattach.c (fattach): Likewise.
3169         * streams/fdetach.c (fdetach): Likewise.
3170         * streams/getmsg.c (getmsg): Likewise.
3171         * streams/isastream.c (isastream): Likewise.
3172         * string/ffs.c (__ffs): Likewise.
3173         * string/ffsll.c (ffsll): Likewise.
3174         * string/memcmp.c (memcmp_common_alignment): Likewise.
3175         (memcmp_not_common_alignment): Likewise.
3176         (MEMCMP): Likewise.
3177         * string/memcpy.c (memcpy): Likewise.
3178         * string/memmove.c (MEMMOVE): Likewise.
3179         * string/memset.c (memset): Likewise.
3180         * string/rawmemchr.c (RAWMEMCHR): Likewise.
3181         * string/strchrnul.c (STRCHRNUL): Likewise.
3182         * string/strerror.c (strerror): Likewise.
3183         * string/strndup.c (__strndup): Likewise.
3184         * string/strverscmp.c (__strverscmp): Likewise.
3185         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
3186         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
3187         (clnttcp_freeres): Likewise.
3188         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
3189         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
3190         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
3191         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
3192         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
3193         (xdr_callhdr): Likewise.
3194         * sunrpc/rpcinfo.c (udpping): Likewise.
3195         (tcpping): Likewise.
3196         (pstatus): Likewise.
3197         (pmapdump): Likewise.
3198         (brdcst): Likewise.
3199         (deletereg): Likewise.
3200         (getprognum): Likewise.
3201         (getvers): Likewise.
3202         (get_inet_address): Likewise.
3203         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
3204         * sunrpc/svc_udp.c (svcudp_create): Likewise.
3205         (svcudp_stat): Likewise.
3206         (svcudp_recv): Likewise.
3207         (svcudp_reply): Likewise.
3208         (svcudp_getargs): Likewise.
3209         (svcudp_freeargs): Likewise.
3210         (svcudp_destroy): Likewise.
3211         * sunrpc/xdr.c (xdr_bytes): Likewise.
3212         (xdr_netobj): Likewise.
3213         (xdr_string): Likewise.
3214         (xdr_wrapstring): Likewise.
3215         * sunrpc/xdr_float.c (xdr_float): Likewise.
3216         (xdr_double): Likewise.
3217         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
3218         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
3219         * sysvipc/ftok.c (ftok): Likewise.
3220         * sysvipc/msgctl.c (msgctl): Likewise.
3221         * sysvipc/msgget.c (msgget): Likewise.
3222         * sysvipc/msgrcv.c (msgrcv): Likewise.
3223         * sysvipc/msgsnd.c (msgsnd): Likewise.
3224         * sysvipc/semget.c (semget): Likewise.
3225         * sysvipc/semop.c (semop): Likewise.
3226         * sysvipc/shmat.c (shmat): Likewise.
3227         * sysvipc/shmctl.c (shmctl): Likewise.
3228         * sysvipc/shmdt.c (shmdt): Likewise.
3229         * sysvipc/shmget.c (shmget): Likewise.
3230         * termios/cfmakeraw.c (cfmakeraw): Likewise.
3231         * termios/speed.c (cfgetospeed): Likewise.
3232         (cfgetispeed): Likewise.
3233         (cfsetospeed): Likewise.
3234         (cfsetispeed): Likewise.
3235         * termios/tcflow.c (tcflow): Likewise.
3236         * termios/tcflush.c (tcflush): Likewise.
3237         * termios/tcgetattr.c (__tcgetattr): Likewise.
3238         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
3239         * termios/tcgetsid.c (tcgetsid): Likewise.
3240         * termios/tcsendbrk.c (tcsendbreak): Likewise.
3241         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
3242         * time/adjtime.c (__adjtime): Likewise.
3243         * time/dysize.c (dysize): Likewise.
3244         * time/ftime.c (ftime): Likewise.
3245         * time/getitimer.c (__getitimer): Likewise.
3246         * time/gettimeofday.c (__gettimeofday): Likewise.
3247         * time/gmtime.c (__gmtime_r): Likewise.
3248         (gmtime): Likewise.
3249         * time/localtime.c (__localtime_r): Likewise.
3250         (localtime): Likewise.
3251         * time/offtime.c (__offtime): Likewise.
3252         * time/settimeofday.c (__settimeofday): Likewise.
3253         * time/stime.c (stime): Likewise.
3254         * time/strftime_l.c (tm_diff): Likewise.
3255         (iso_week_days): Likewise.
3256         * time/strptime.c (strptime): Likewise.
3257         * time/time.c (time): Likewise.
3258         * time/timespec_get.c (timespec_get): Likewise.
3259         * time/tzset.c (tzset_internal): Likewise.
3260         (compute_change): Likewise.
3261         (__tz_compute): Likewise.
3262         * wcsmbs/btowc.c (__btowc): Likewise.
3263         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
3264         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
3265         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
3266         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
3267         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
3268         * wcsmbs/wcscat.c (__wcscat): Likewise.
3269         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3270         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
3271         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
3272         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3273         * wcsmbs/wcsdup.c (wcsdup): Likewise.
3274         * wcsmbs/wcslen.c (__wcslen): Likewise.
3275         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
3276         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
3277         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
3278         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
3279         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3280         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
3281         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3282         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3283         * wcsmbs/wcstok.c (wcstok): Likewise.
3284         * wcsmbs/wctob.c (wctob): Likewise.
3285         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
3286         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3287         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
3288         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
3289         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
3290         * wcsmbs/wmemset.c (__wmemset): Likewise.
3291         * wctype/wcfuncs.c (__towlower): Likewise.
3292         (__towupper): Likewise.
3294         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
3295         (lll_unlock_elision): Add adapt_count parameter.
3297 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3299         * sysdeps/nptl/configure.ac: Do not give errors based on the
3300         results of top-level configure tests.
3301         * sysdeps/nptl/configure: Regenerated.
3303         * configure.ac (libc_cv_Bgroup): Remove configure test.
3304         * configure: Regenerated.
3305         * config.make.in (have-Bgroup): Remove variable.
3307         * configure.ac (sizeof_long_double): Remove configure test.
3308         * configure: Regenerated.
3309         * config.make.in (sizeof-long-double): Remove variable.
3311         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
3312         * configure: Regenerated.
3313         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
3314         variable.
3315         (exceptions): Likewise.
3316         * sysdeps/arm/configure: Regenerated.
3317         * config.make.in (exceptions): Remove variable.
3318         * Makeconfig (uses-callbacks): Use -fexceptions instead of
3319         $(exceptions).
3320         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
3321         (CFLAGS-vdprintf_chk.c): Likewise.
3322         (CFLAGS-printf_chk.c): Likewise.
3323         (CFLAGS-fprintf_chk.c): Likewise.
3324         (CFLAGS-vprintf_chk.c): Likewise.
3325         (CFLAGS-vfprintf_chk.c): Likewise.
3326         (CFLAGS-gets_chk.c): Likewise.
3327         (CFLAGS-fgets_chk.c): Likewise.
3328         (CFLAGS-fgets_u_chk.c): Likewise.
3329         (CFLAGS-fread_chk.c): Likewise.
3330         (CFLAGS-fread_u_chk.c): Likewise.
3331         (CFLAGS-wprintf_chk.c): Likewise.
3332         (CFLAGS-fwprintf_chk.c): Likewise.
3333         (CFLAGS-vwprintf_chk.c): Likewise.
3334         (CFLAGS-vfwprintf_chk.c): Likewise.
3335         (CFLAGS-fgetws_chk.c): Likewise.
3336         (CFLAGS-fgetws_u_chk.c): Likewise.
3337         * libio/Makefile (CFLAGS-fileops.c): Likewise.
3338         (CFLAGS-fputc.c): Likewise.
3339         (CFLAGS-fputwc.c): Likewise.
3340         (CFLAGS-freopen64.c): Likewise.
3341         (CFLAGS-freopen.c): Likewise.
3342         (CFLAGS-fseek.c): Likewise.
3343         (CFLAGS-fseeko64.c): Likewise.
3344         (CFLAGS-fseeko.c): Likewise.
3345         (CFLAGS-ftello64.c): Likewise.
3346         (CFLAGS-ftello.c): Likewise.
3347         (CFLAGS-fwide.c): Likewise.
3348         (CFLAGS-genops.c): Likewise.
3349         (CFLAGS-getc.c): Likewise.
3350         (CFLAGS-getchar.c): Likewise.
3351         (CFLAGS-getwc.c): Likewise.
3352         (CFLAGS-getwchar.c): Likewise.
3353         (CFLAGS-iofclose.c): Likewise.
3354         (CFLAGS-iofflush.c): Likewise.
3355         (CFLAGS-iofgetpos64.c): Likewise.
3356         (CFLAGS-iofgetpos.c): Likewise.
3357         (CFLAGS-iofgets.c): Likewise.
3358         (CFLAGS-iofgetws.c): Likewise.
3359         (CFLAGS-iofputs.c): Likewise.
3360         (CFLAGS-iofputws.c): Likewise.
3361         (CFLAGS-iofread.c): Likewise.
3362         (CFLAGS-iofsetpos64.c): Likewise.
3363         (CFLAGS-iofsetpos.c): Likewise.
3364         (CFLAGS-ioftell.c): Likewise.
3365         (CFLAGS-iofwrite.c): Likewise.
3366         (CFLAGS-iogetdelim.c): Likewise.
3367         (CFLAGS-iogetline.c): Likewise.
3368         (CFLAGS-iogets.c): Likewise.
3369         (CFLAGS-iogetwline.c): Likewise.
3370         (CFLAGS-ioputs.c): Likewise.
3371         (CFLAGS-ioseekoff.c): Likewise.
3372         (CFLAGS-ioseekpos.c): Likewise.
3373         (CFLAGS-iosetbuffer.c): Likewise.
3374         (CFLAGS-iosetvbuf.c): Likewise.
3375         (CFLAGS-ioungetc.c): Likewise.
3376         (CFLAGS-ioungetwc.c): Likewise.
3377         (CFLAGS-oldfileops.c): Likewise.
3378         (CFLAGS-oldiofclose.c): Likewise.
3379         (CFLAGS-oldiofgetpos64.c): Likewise.
3380         (CFLAGS-oldiofgetpos.c): Likewise.
3381         (CFLAGS-oldiofsetpos64.c): Likewise.
3382         (CFLAGS-oldiofsetpos.c): Likewise.
3383         (CFLAGS-peekc.c): Likewise.
3384         (CFLAGS-putc.c): Likewise.
3385         (CFLAGS-putchar.c): Likewise.
3386         (CFLAGS-putwc.c): Likewise.
3387         (CFLAGS-putwchar.c): Likewise.
3388         (CFLAGS-rewind.c): Likewise.
3389         (CFLAGS-wfileops.c): Likewise.
3390         (CFLAGS-wgenops.c): Likewise.
3391         (CFLAGS-oldiofopen.c): Likewise.
3392         (CFLAGS-iofopen.c): Likewise.
3393         (CFLAGS-iofopen64.c): Likewise.
3394         (CFLAGS-oldtmpfile.c): Likewise.
3395         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
3396         (CFLAGS-fprintf.c): Likewise.
3397         (CFLAGS-printf.c): Likewise.
3398         (CFLAGS-vfwprintf.c): Likewise.
3399         (CFLAGS-vfscanf.c): Likewise.
3400         (CFLAGS-vfwscanf.c): Likewise.
3401         (CFLAGS-fscanf.c): Likewise.
3402         (CFLAGS-scanf.c): Likewise.
3403         (CFLAGS-isoc99_vfscanf.c): Likewise.
3404         (CFLAGS-isoc99_vscanf.c): Likewise.
3405         (CFLAGS-isoc99_fscanf.c): Likewise.
3406         (CFLAGS-isoc99_scanf.c): Likewise.
3407         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
3408         (CFLAGS-isoc99_fwscanf.c): Likewise.
3409         (CFLAGS-isoc99_vwscanf.c): Likewise.
3410         (CFLAGS-isoc99_vfwscanf.c): Likewise.
3412         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
3413         after mkstemp64.
3414         * login/tst-utmp.c (do_prepare): Likewise.
3415         * rt/tst-aio.c (do_prepare): Likewise.
3416         * rt/tst-aio64.c (do_prepare): Likewise.
3418 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3420         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3421         (__lll_lock_elision): Remove adapt_count decrement...
3422         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3423         (__lll_trylock_elision): Likewise.
3424         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3425         (__lll_unlock_elision): ... to here. And utilize
3426         new adapt_count parameter.
3427         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3428         (__lll_unlock_elision): Update to include adapt_count
3429         parameter.
3430         (lll_unlock_elision): Pass pointer to adapt_count
3431         variable.
3433 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3435         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
3436         Add elision adapt_count parameter to list of arguments.
3437         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3438         (lll_unlock_elision): Update with new parameter list
3439         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
3440         (lll_unlock_elision): Likewise
3441         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
3442         (lll_unlock_elision): Likewise
3444 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3446         [BZ #19122]
3447         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
3448         attribute_hidden.
3450         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
3451         attribute_hidden.
3452         [IS_IN (rtld)] (__strdup): Likewise.
3453         [IS_IN (rtld)] (__strerror_r): Likewise.
3454         [IS_IN (rtld)] (__strsep_g): Likewise.
3455         [IS_IN (rtld)] (memchr): Likewise.
3456         [IS_IN (rtld)] (memcmp): Likewise.
3457         [IS_IN (rtld)] (memcpy): Likewise.
3458         [IS_IN (rtld)] (memmove): Likewise.
3459         [IS_IN (rtld)] (memset): Likewise.
3460         [IS_IN (rtld)] (rawmemchr): Likewise.
3461         [IS_IN (rtld)] (stpcpy): Likewise.
3462         [IS_IN (rtld)] (strchr): Likewise.
3463         [IS_IN (rtld)] (strcmp): Likewise.
3464         [IS_IN (rtld)] (strlen): Likewise.
3465         [IS_IN (rtld)] (strnlen): Likewise.
3466         [IS_IN (rtld)] (strsep): Likewise.
3468         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
3469         attribute_hidden.
3470         [IS_IN (rtld)] (__strtoul_internal): Likewise.
3472         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
3473         attribute_hidden.
3474         [IS_IN (rtld)] (__libc_sigaction): Likewise.
3476         * include/setjmp.h (__longjmp): Add attribute_hidden.
3477         [IS_IN (rtld)] (__sigsetjmp): Likewise.
3479         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
3480         Add attribute_hidden.
3482         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
3483         [IS_IN (rtld)] (__open): Likewise.
3484         [IS_IN (rtld)] (__fcntl): Likewise.
3486         * include/dirent.h (__opendirat): Add attribute_hidden.
3487         (__getdents): Likewise.
3488         (__getdents64): Likewise.
3489         (__alloc_dir): Likewise.
3490         [IS_IN (rtld)] (__closedir): Likewise.
3491         [IS_IN (rtld)] (__fdopendir): Likewise.
3492         [IS_IN (rtld)] (__readdir): Likewise.
3493         [IS_IN (rtld)] (__readdir64): Likewise.
3494         [IS_IN (rtld)] (__rewinddir): Likewise.
3496         * include/dlfcn.h (_dl_catch_error): Moved to ...
3497         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
3498         attribute_hidden.
3500         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
3501         (_itoa_word): Likewise.
3503         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
3504         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
3505         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
3506         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
3507         (_dl_higher_prime_number): Likewise.
3508         (_dl_debug_printf_c): Likewise.
3509         (_dl_signal_cerror): Likewise.
3510         (_dl_receive_error): Likewise.
3511         (_dl_reloc_bad_type): Likewise.
3512         (_dl_resolve_conflicts): Likewise.
3513         (_dl_check_all_versions): Likewise.
3514         (_dl_check_map_versions): Likewise.
3515         (_dl_sort_fini): Likewise.
3516         (_dl_debug_initialize): Likewise.
3517         (_dl_init_paths): Likewise.
3518         (_dl_show_auxv): Likewise.
3519         (_dl_next_ld_env_entry): Likewise.
3520         (_dl_important_hwcaps): Likewise.
3521         (_dl_load_cache_lookup): Likewise.
3522         (_dl_update_slotinfo): Likewise.
3523         (_dl_show_scope): Likewise.
3525         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
3526         attribute_hidden.
3527         (_wordcopy_fwd_dest_aligned): Likewise.
3528         (_wordcopy_bwd_aligned): Likewise.
3529         (_wordcopy_bwd_dest_aligned): Likewise.
3531         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3532         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
3533         Likewise.
3534         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
3535         Likewise.
3536         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
3538 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3540         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
3541         GCC 5 requirement.
3543 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3545         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
3546         test.
3547         * sysdeps/i386/configure: Regenerated.
3548         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
3549         code unconditional.
3551         * configure.ac (libc_cv_asm_previous_directive): Remove configure
3552         test.
3553         (libc_cv_asm_popsection_directive): Likewise.
3554         * configure: Regenerated.
3555         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
3556         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
3557         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
3558         (__make_section_unallocated): Make definition unconditional.
3559         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
3560         Remove conditional definition.
3561         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
3562         (__make_section_unallocated): Likewise.
3564         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
3565         * configure: Regenerated.
3566         * config.make.in (static-libgcc): Remove variable.
3567         * Makerules (build-shlib-helper): Use -static-libgcc instead of
3568         $(static-libgcc).
3569         (build-module-helper): Likewise.
3571         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
3572         * configure: Regenerated.
3574 2015-10-15  Florian Weimer  <fweimer@redhat.com>
3576         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
3577         (struct char_buffer): New type.
3578         (char_buffer_start, char_buffer_size, char_buffer_error)
3579         (char_buffer_rewind, char_buffer_add): New functions.
3580         (ADDW): Remove macro, replaced by the char_buffer_add function.
3581         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
3582         of extend_alloca.  Make control flow more explicit.
3584 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3586         [BZ #19137]
3587         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3588         Add -fomit-frame-pointer.
3589         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
3591 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3593         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
3594         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
3595         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
3596         only if !__GNUC_PREREQ (5,0).
3597         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
3598         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
3599         (INTERNAL_SYSCALL_NCS): Likewise.
3600         (LOADREGS_0): New macro for GCC 5.
3601         (ASMARGS_0): Likewise.
3602         (LOADREGS_1): Likewise.
3603         (ASMARGS_1): Likewise.
3604         (LOADREGS_2): Likewise.
3605         (ASMARGS_2): Likewise.
3606         (LOADREGS_3): Likewise.
3607         (ASMARGS_3): Likewise.
3608         (LOADREGS_4): Likewise.
3609         (ASMARGS_4): Likewise.
3610         (LOADREGS_5): Likewise.
3611         (ASMARGS_5): Likewise.
3612         (LOADREGS_6): Likewise.
3613         (ASMARGS_6): Likewise.
3615 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3617         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
3618         -fomit-frame-pointer.
3619         (CFLAGS-mmap64.c): Likewise.
3620         (CFLAGS-semtimedop.c): Likewise.
3621         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
3622         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
3623         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3624         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3626 2015-10-15  Florian Weimer  <fweimer@redhat.com>
3628         [BZ #18928]
3629         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
3630         _dl_pointer_guard member.
3631         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
3632         initializer.
3633         (security_init): Always set up pointer guard.
3634         (process_envvars): Do not process LD_POINTER_GUARD.
3636 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
3638         [BZ #19134]
3639         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
3640         (.LC2): Likewise.
3641         (.LC3): Likewise.
3642         (__lround): Do not add 0.5 to integer or out-of-range arguments.
3644 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3646         [BZ #19129]
3647         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
3648         r0 and r1.
3650 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
3652         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
3654 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
3656         * include/stap-probe.h: Fix macro definition formatting.
3658 2015-10-14  Florian Weimer  <fweimer@redhat.com>
3660         [BZ #19074]
3661         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
3662         load and store num_ifs.
3664 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3666         [BZ #18822]
3667         * sysdeps/unix/sysv/linux/sched_getaffinity.c
3668         (__sched_getaffinity_new): Add libc_hidden_proto and
3669         libc_hidden_def.
3671 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3673         [BZ #19007]
3674         * scripts/localplt.awk: Also allow GOT references.
3675         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
3676         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
3677         with "+ REL R_386_GLOB_DAT".
3678         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
3679         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
3681 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3683         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
3684         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3685         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
3686         Likewise.
3687         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3688         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
3689         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3690         INTERNAL_SYSCALLINTERNAL_SYSCALL and
3691         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3692         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3693         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3694         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3695         Likewise.
3696         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3698 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
3700         [BZ #19125]
3701         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
3702         <math_private.h> and <stdint.h>.
3703         (__llround): Avoid conversions to and from long long int, and
3704         subtractions, where those might raise spurious exceptions.
3705         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
3706         <math_private.h> and <stdint.h>.
3707         (__llroundf): Avoid conversions to and from long long int, and
3708         subtractions, where those might raise spurious exceptions.
3710 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3712         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
3713         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3714         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3715         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
3716         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3717         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3718         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
3719         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
3720         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
3721         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3722         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3723         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3724         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
3725         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3726         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3727         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
3728         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
3729         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3730         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
3731         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
3732         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3733         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
3734         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
3735         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3736         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
3737         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3738         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
3739         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3740         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3741         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
3742         (__xstat64_conv): Likewise.
3743         (__xstat32_conv): Likewise.
3745 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3747         * sysdeps/unix/sysv/linux/sysdep.h: New file.
3748         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
3749         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
3750         <sysdeps/unix/sysv/linux/sysdep.h>.
3751         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3752         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
3753         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
3754         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3755         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3756         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
3757         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
3758         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3759         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3762         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3763         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3764         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3765         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3766         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3767         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
3768         (sysdep-dl-routines): Add sysdep.
3769         [$(subdir) == nptl] (libpthread-routines): Likewise.
3770         [$(subdir) == rt] (librt-routines): Likewise.
3771         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
3772         PIC when branching to SYSCALL_ERROR_LABEL.
3773         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
3774         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
3775         <sysdeps/unix/sysv/linux/sysdep.h>.
3776         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
3777         (SYSCALL_ERROR_ERRNO): Removed.
3778         (SYSCALL_ERROR_HANDLER): Changed to empty.
3779         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
3780         (__syscall_error): New prototype.
3781         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
3782         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
3784 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3786         [BZ #19124]
3787         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
3788         (_dl_runtime_resolve_avx512): Make it a hidden alias of
3789         _dl_runtime_resolve_avx.
3790         (_dl_runtime_profile_avx512): Make it a hidden alias of
3791         _dl_runtime_profile_avx.
3793 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
3795         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
3796         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
3797         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
3798         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
3800         [BZ #16422]
3801         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
3802         New configure test.
3803         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
3804         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
3805         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
3806         <math_private.h> and <stdint.h>.
3807         (__llrint): Avoid conversions to long long int where those might
3808         raise spurious exceptions.
3809         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
3810         <math_private.h> and <stdint.h>.
3811         (__llrintf): Avoid conversions to long long int where those might
3812         raise spurious exceptions.
3814 2015-10-12  Andreas Schwab  <schwab@suse.de>
3816         [BZ #18969]
3817         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
3818         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
3819         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
3820         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
3821         $(gen-locales).
3822         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
3823         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
3824         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
3825         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
3826         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
3827         $(gen-locales).
3828         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
3829         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
3830         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
3831         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
3832         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
3833         ($(objpfx)tst-ftell-active-handler.out)
3834         ($(objpfx)tst-ftell-append.out)
3835         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
3836         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
3837         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
3838         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
3839         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
3840         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
3841         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
3842         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
3843         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
3844         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
3845         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
3846         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
3847         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
3848         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
3849         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
3850         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
3851         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
3852         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
3853         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
3854         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
3855         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
3856         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
3857         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
3858         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
3859         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
3860         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
3861         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
3862         $(gen-locales).
3863         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
3864         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
3865         $(gen-locales).
3866         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
3867         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
3868         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
3869         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
3870         $(gen-locales).
3871         * libio/tst_wprintf2.c (main): Use explicit locale.
3872         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
3874 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3876         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
3877         __msg_sig_post.
3878         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
3880 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3882         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3883         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3885         * sysdeps/arm/libm-test-ulps: Regenerated.
3887         [BZ #15470]
3888         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
3890         [BZ #16399]
3891         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
3892         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
3893         and <fix-fp-int-convert-overflow.h>.
3894         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3895         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3896         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
3897         and <fix-fp-int-convert-overflow.h>.
3898         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
3899         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3900         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
3901         <fix-fp-int-convert-overflow.h>.
3902         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3903         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3904         * sysdeps/ieee754/dbl-64/s_lround.c: Include
3905         <fix-fp-int-convert-overflow.h>.
3906         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
3907         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3908         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
3909         and <fix-fp-int-convert-overflow.h>.
3910         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3911         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3912         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
3913         <limits.h> and <fix-fp-int-convert-overflow.h>.
3914         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3915         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3916         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
3917         and <fix-fp-int-convert-overflow.h>.
3918         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3919         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3920         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
3921         and <fix-fp-int-convert-overflow.h>.
3922         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3923         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3924         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
3926 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
3928         [BZ #18589]
3929         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
3930         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
3931         $(gen-locales).
3933 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3934             Phil Blundell <pb@pbcl.net>
3936         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
3937         * nptl/tst-cancel26.c: New file.
3938         * nptl/tst-cancel27.c: Likewise.
3940 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
3942         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
3943         __ILP32__ isn't defined.
3944         (lrint): Likewise.
3945         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
3946         (lrintf): Likewise.
3947         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
3948         (lrintl): Likewise.
3949         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
3950         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
3951         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
3953 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3955         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3956         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3958         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
3959         file.
3960         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
3961         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
3963 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3965         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
3966         configure test.
3967         * sysdeps/i386/configure: Regenerated.
3968         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
3969         configure test.
3970         * sysdeps/x86_64/configure: Regenerated.
3971         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
3972         Make code unconditional.
3974         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
3975         test.
3976         * sysdeps/i386/configure: Regenerated.
3977         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
3978         test.
3979         * sysdeps/x86_64/configure: Regenerated.
3980         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
3981         Make code unconditional.
3982         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3983         Likewise.
3984         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
3985         Likewise.
3986         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3987         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
3988         code unconditional.
3989         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3990         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
3991         code unconditional.
3992         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3993         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
3994         code unconditional.
3995         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
3996         code unconditional.
3997         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3998         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
3999         code unconditional.
4000         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4001         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
4002         code unconditional.
4003         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4004         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
4005         code unconditional.
4006         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4007         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
4008         code unconditional.
4009         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4010         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
4012         [BZ #19095]
4013         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
4014         mantissa to long int before shifting left.
4016 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
4018         [BZ #19094]
4019         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
4020         <limits.h>.
4021         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4022         when result overflows but exception would not result from cast.
4023         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
4024         <limits.h>.
4025         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4026         when result overflows but exception would not result from cast.
4027         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
4028         <limits.h>.
4029         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4030         when result overflows but exception would not result from cast.
4031         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
4032         <limits.h>.
4033         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4034         when result overflows but exception would not result from cast.
4035         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
4036         <limits.h>.
4037         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4038         when result overflows but exception would not result from cast.
4039         * math/libm-test.inc (lrint_test_data): Add more tests.
4040         (llrint_test_data): Likewise.
4042 2015-10-08  Roland McGrath  <roland@hack.frob.com>
4044         [BZ #18872]
4045         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
4046         Move out from under [$(run-built-tests) = yes] conditional.
4047         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
4048         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
4050 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
4052         [BZ #18589]
4053         * string/Makefile (tests): Add bug-strcoll2.
4054         (LOCALES): Add cs_CZ.UTF-8.
4055         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
4057         [BZ #18589]
4058         * string/bug-strcoll2.c: New file.
4059         * locale/categories.def: Revert commit
4060         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
4061         * locale/langinfo.h: Likewise.
4062         * locale/localeinfo.h: Likewise.
4063         * locale/C-collate.c: Likewise.
4064         * locale/programs/ld-collate.c (collate_output): Likewise.
4065         * string/strcoll_l.c (STRDIFF): Likewise.
4066         (STRCOLL): Likewise.
4067         * wcsmbs/wcscoll_l.c: Likewise.
4069 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
4071         * math/libm-test.inc (lround_test_data): Do not expect the absence
4072         of "inexact" for some tests with non-integer arguments.
4073         (llround_test_data): Likewise.
4075         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
4076         test.
4077         (libc_cv_cc_sse2avx): Likewise.
4078         * sysdeps/i386/configure: Regenerated.
4079         * sysdeps/i386/i686/multiarch/Makefile
4080         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
4081         [$(subdir) = math].
4082         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
4083         code unconditional.
4084         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
4085         Likewise.
4086         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
4087         Likewise.
4088         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
4089         Likewise.
4090         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
4091         test.
4092         (libc_cv_cc_sse2avx): Likewise.
4093         * sysdeps/x86_64/configure: Regenerated.
4094         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
4095         unconditional.
4096         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
4097         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
4098         unconditional.
4099         (_dl_runtime_profile)
4100         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
4101         conditional code.
4102         * sysdeps/x86_64/fpu/multiarch/Makefile
4103         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
4104         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4105         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4106         * sysdeps/x86_64/fpu/multiarch/e_exp.c
4107         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4108         * sysdeps/x86_64/fpu/multiarch/e_log.c
4109         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4110         * sysdeps/x86_64/fpu/multiarch/s_atan.c
4111         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4112         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
4113         Likewise.
4114         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
4115         Likewise.
4116         * sysdeps/x86_64/fpu/multiarch/s_sin.c
4117         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4118         * sysdeps/x86_64/fpu/multiarch/s_tan.c
4119         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4120         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
4121         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
4122         (HAVE_SSE2AVX_SUPPORT): Likewise.
4124 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
4126         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
4127         instead of #pragma optimize.
4129 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
4131         [BZ #17195]
4132         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
4133         as is similarly done in systrim and _int_free already.
4135 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4137         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
4139 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4141         [BZ #19088]
4142         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
4143         <limits.h>.
4144         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
4145         overflows but exception would not result from cast.
4146         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
4147         and <limits.h>.
4148         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
4149         overflows but exception would not result from cast.
4150         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
4151         <limits.h>.
4152         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
4153         overflows but exception would not result from cast.
4154         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
4155         <limits.h>.
4156         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
4157         overflows but exception would not result from cast.
4158         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
4159         <limits.h>.
4160         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
4161         overflows but exception would not result from cast.
4162         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
4163         <limits.h>.
4164         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
4165         overflows but exception would not result from cast.
4166         * math/libm-test.inc (lround_test_data): Add more tests.
4167         (llround_test_data): Likewise.
4169 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
4171         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
4172         (CFLAGS-ialloc.c): Ditto.
4173         (CFLAGS-scheck.c): Ditto.
4175 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
4177         [BZ #19086]
4178         * manual/filesys.texi (Storage Allocation): Fix argument order for
4179         posix_fallocate64.
4181 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4183         [BZ #19085]
4184         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
4185         exponent below 48 inside case for non-overflowing exponent.
4186         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
4188 2015-10-07  Florian Weimer  <fweimer@redhat.com>
4190         * iconvdata/cp737.h (from_idx): Add const.
4191         * iconvdata/cp775.h (from_idx): Likewise.
4193 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4195         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
4196         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
4197         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
4199         [BZ #19079]
4200         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
4201         file, conditioned on [!_LP64].
4202         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
4203         [!_LP64] (__lround): Do not define as function or alias.
4204         [!_LP64] (lround): Likewise.
4205         [!_LP64] (__lroundl): Likewise.
4206         [!_LP64] (lroundl): Likewise.
4207         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
4208         macro.
4209         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4210         Likewise.
4212 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4214         * math/libm-test.inc (lrint_test_data): Add more tests.
4215         (llrint_test_data): Likewise.
4216         (lround_test_data): Likewise.
4217         (llround_test_data): Likewise.
4219         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
4220         (llrint_test_data): Add tests used for lrint.
4222         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
4223         test.
4224         * sysdeps/i386/configure: Regenerated.
4225         * sysdeps/i386/i686/multiarch/Makefile
4226         [$(config-cflags-sse4) = yes]: Make code unconditional.
4227         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4228         Likewise.
4229         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
4230         Likewise.
4231         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
4232         test.
4233         * sysdeps/x86_64/configure: Regenerated.
4234         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
4235         Make code unconditional.
4236         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4237         Likewise.
4238         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
4239         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
4241         * scripts/rpm2dynsym.sh: Remove file.
4243 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4245         * configure.ac (libc_cv_cxx_thread_local): Define.
4246         * configure: Regenerate.
4247         * config.make.in (have-cxx-thread_local): Define.
4248         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
4249         (LDLIBS-tst-thread_local1): Define.
4250         (tests): Add tst-thread_local1.
4251         [have-cxx-thread_local != yes] (tests-unsupported): Add
4252         tst-thread_local1.
4253         * nptl/tst-thread_local1.cc: New file.
4255 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4257         [BZ #19078]
4258         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
4259         (u_thres): Likewise.
4260         (__expl): Determine whether to call __kernel_standard_l based on
4261         value of result, not argument.
4263         * math/libm-test.inc (scalb_test_data): Add more expectations for
4264         the "inexact" exception.
4266         [BZ #19077]
4267         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
4268         0.0L for argument 1.0L.
4270         [BZ #19076]
4271         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
4272         constant 0.0L when computing infinite result.
4274 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4276         [BZ #10432]
4277         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
4278         malloc_usable_size.
4280 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4282         [BZ #19018]
4283         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4284         Mangle function pointer before storing it.
4285         (__call_tls_dtors): Demangle function pointer before calling it.
4287 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4289         [BZ #19012]
4290         * iconv/gconv_db.c (gen_steps): Check for additional errors.
4291         Clean up on failure.
4293 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
4295         [BZ #19071]
4296         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
4297         long int variable to store possibly incremented high part of
4298         mantissa.
4299         * math/libm-test.inc (lround_test_data): Add tests used for
4300         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
4301         for tests requiring 64-bit long.  Do not condition tests on
4302         [TEST_FLOAT] unnecessarily.
4303         (llround_test_data): Add tests used for lround.  Add another
4304         expectation for the "inexact" exception.  Do not condition tests
4305         on [TEST_FLOAT] unnecessarily.
4307         [BZ #887]
4308         [BZ #19049]
4309         [BZ #19050]
4310         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
4311         * sysdeps/ieee754/dbl-64/e_log10.c: Include
4312         <fix-int-fp-convert-zero.h>.
4313         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4314         * sysdeps/ieee754/dbl-64/e_log2.c: Include
4315         <fix-int-fp-convert-zero.h>.
4316         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4317         * sysdeps/ieee754/dbl-64/s_erf.c: Include
4318         <fix-int-fp-convert-zero.h>.
4319         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4320         * sysdeps/ieee754/dbl-64/s_logb.c: Include
4321         <fix-int-fp-convert-zero.h>.
4322         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4323         * sysdeps/ieee754/flt-32/e_log10f.c: Include
4324         <fix-int-fp-convert-zero.h>.
4325         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4326         * sysdeps/ieee754/flt-32/e_log2f.c: Include
4327         <fix-int-fp-convert-zero.h>.
4328         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4329         * sysdeps/ieee754/flt-32/s_erff.c: Include
4330         <fix-int-fp-convert-zero.h>.
4331         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4332         * sysdeps/ieee754/flt-32/s_logbf.c: Include
4333         <fix-int-fp-convert-zero.h>.
4334         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4335         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
4336         <fix-int-fp-convert-zero.h>.
4337         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4338         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
4339         <fix-int-fp-convert-zero.h>.
4340         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4341         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
4342         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
4343         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
4344         file.
4345         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
4347 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4349         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4351 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
4353         [BZ #19059]
4354         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
4355         overflowing computation.
4356         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4357         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4358         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4359         Likewise.
4360         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4361         Likewise.
4362         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4363         Likewise.
4364         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4365         Likewise.
4366         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4367         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4368         Likewise.
4369         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4370         Likewise.
4371         * math/libm-test.inc (nexttoward_test_data): Add more tests.
4373         * nss/rewrite_field.c (__nss_rewrite_field): Use
4374         internal_function.
4375         * nss/valid_field.c (__nss_valid_field): Likewise.
4376         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
4378 2015-10-02  Florian Weimer  <fweimer@redhat.com>
4380         [BZ #18724]
4381         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
4382         (__nss_invalid_field_characters, __nss_valid_field)
4383         (__nss_valid_list_field, __nss_rewrite_field): Declare.
4384         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
4385         tst-field.c: New file.
4386         * nss/Makefile (routines): Add valid_field, rewrite_field.
4387         (tests-static): Define unconditionally.
4388         (tests): Include tests-static.
4389         [build-static-nss] (tests-static): Use append.
4390         [build-static-nss] (tests): Remove modification.
4391         * nss/getent.c (print_group): Call putgrent.  Report error.
4392         (print_gshadow): Call putsgent.  Report error.
4393         (print_passwd): Call putpwent.  Report error.
4394         (print_shadow): Call putspent.  Report error.
4395         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
4396         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
4397         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
4398         name, password, directory, shell fields for valid syntax.  Rewrite
4399         GECOS field to match syntax.
4400         * pwd/Makefile (tests): Add tst-putpwent.
4401         * pwd/tst-putpwent.c: New file.
4402         * grp/putgrent.c (putgrent): Convert to ISO function definition.
4403         Check grName, grpasswd, gr_mem fields for valid syntax.
4404         Change loop variable i to size_t.
4405         * grp/Makefile (tests): Add tst-putgrent.
4406         * grp/tst-putgrent.c: New file.
4407         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
4408         valid syntax.
4409         * shadow/Makefile (tests): Add tst-putspent.
4410         * shadow/tst-putspent.c: New file.
4411         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
4412         sg_mem fields for valid syntax.
4413         * gshadow/Makefile (tests): Add tst-putsgent.
4414         * gshadow/tst-putsgent.c: New file.
4416 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4418         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
4419         assembly instructions.
4421 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4423         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
4424         prefix from operands.
4426 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
4428         [BZ #16347]
4429         [BZ #19046]
4430         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
4431         <libc-internal.h>.
4432         (MAXLGM): Do not use diagnostic control macros.
4433         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
4434         threshold for ldbl-128ibm.
4435         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
4436         instead of multiplying by log then subtracting.
4437         * math/auto-libm-test-in: Add more tests of lgamma.
4438         * math/auto-libm-test-out: Regenerated.
4440         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
4441         (TYPE_HEX_DIG): Likewise.
4442         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
4443         precisions when printing floating-point numbers.
4444         (check_float_internal): Likewise.
4446 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
4448         [BZ #16620]
4449         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
4450         of log (10) rounded downward to 48 bits.
4451         (log10_low): Use corresponding low part of log (10).
4453         [BZ #19032]
4454         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
4455         compute result as (x - x) / (x - x) not as 0 / 0.
4456         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4457         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
4459         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4460         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
4461         and expm1.
4462         * math/auto-libm-test-out: Regenerated.
4463         * math/libm-test.inc (acos_test_data): Add more tests.
4464         (asin_test_data): Likewise.
4465         (asinh_test_data): Likewise.
4466         (atan_test_data): Likewise.
4467         (atanh_test_data): Likewise.
4468         (atan2_test_data): Likewise.
4469         (cbrt_test_data): Likewise.
4470         (ceil_test_data): Likewise.
4471         (copysign_test_data): Likewise.
4472         (cos_test_data): Likewise.
4473         (cosh_test_data): Likewise.
4474         (erf_test_data): Likewise.
4475         (erfc_test_data): Likewise.
4476         (exp_test_data): Likewise.
4477         (exp10_test_data): Likewise.
4478         (exp2_test_data): Likewise.
4479         (expm1_test_data): Likewise.
4480         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4482 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
4484         [BZ #19006]
4485         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
4486         to ...
4487         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
4488         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
4489         to ...
4490         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
4491         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
4492         to ...
4493         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
4494         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
4495         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
4496         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
4497         to ...
4498         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
4499         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4500         Moved to ...
4501         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
4502         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4503         Moved to ...
4504         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
4505         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
4506         to ...
4507         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
4508         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4509         Moved to ...
4510         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
4511         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
4512         to ...
4513         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
4514         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
4515         Removed.
4516         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
4517         Likewise.
4518         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
4519         Likewise.
4520         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
4521         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
4522         Likewise.
4523         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4524         Likewise.
4525         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4526         Likewise.
4527         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4528         Likewise.
4529         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4530         Likewise.
4531         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
4532         Likewise.
4533         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
4534         Likewise.
4535         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
4536         Likewise.
4537         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
4538         Likewise.
4539         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
4540         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
4541         Likewise.
4542         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4543         Likewise.
4544         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4545         Likewise.
4546         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4547         Likewise.
4548         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
4549         Likewise.
4550         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4551         Replace ../i486/pthread_cond_timedwait.S with
4552         ../pthread_cond_timedwait.S.
4554 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
4556         * math/libm-test.inc (acos_test_data): Refine expectations for
4557         errno and "inexact" exceptions.
4558         (acosh_test_data): Likewise.
4559         (asin_test_data): Likewise.
4560         (asinh_test_data): Likewise.
4561         (atan_test_data): Likewise.
4562         (atanh_test_data): Likewise.
4563         (atan2_test_data): Likewise.
4564         (cbrt_test_data): Likewise.
4565         (ceil_test_data): Likewise.
4566         (copysign_test_data): Likewise.
4567         (cosh_test_data): Likewise.
4568         (erf_test_data): Likewise.
4569         (erfc_test_data): Likewise.
4570         (exp_test_data): Likewise.
4571         (exp10_test_data): Likewise.
4572         (exp2_test_data): Likewise.
4573         (expm1_test_data): Likewise.
4574         (fabs_test_data): Likewise.
4575         (floor_test_data): Likewise.
4576         (fma_test_data): Likewise.
4577         (fmax_test_data): Likewise.
4578         (fmin_test_data): Likewise.
4579         (fmod_test_data): Likewise.
4580         (fpclassify_test_data): Likewise.
4581         (frexp_test_data): Likewise.
4582         (hypot_test_data): Likewise.
4583         (ilogb_test_data): Likewise.
4584         (isgreater_test_data): Likewise.
4585         (isgreaterequal_test_data): Likewise.
4586         (isinf_test_data): Likewise.
4587         (isless_test_data): Likewise.
4588         (islessequal_test_data): Likewise.
4589         (islessgreater_test_data): Likewise.
4590         (isnan_test_data): Likewise.
4591         (isnormal_test_data): Likewise.
4592         (issignaling_test_data): Likewise.
4593         (isunordered_test_data): Likewise.
4594         (j0_test_data): Likewise.
4595         (j1_test_data): Likewise.
4596         (jn_test_data): Likewise.
4597         (lgamma_test_data): Likewise.
4598         (lrint_test_data): Likewise.
4599         (llrint_test_data): Likewise.
4600         (log_test_data): Likewise.
4601         (log10_test_data): Likewise.
4602         (log1p_test_data): Likewise.
4603         (log2_test_data): Likewise.
4604         (logb_test_data): Likewise.
4605         (lround_test_data): Likewise.
4606         (llround_test_data): Likewise.
4607         (modf_test_data): Likewise.
4608         (nearbyint_test_data): Likewise.
4609         (nextafter_test_data): Likewise.
4610         (nexttoward_test_data): Likewise.
4611         (pow_test_data): Likewise.
4612         (remainder_test_data): Likewise.
4613         (remquo_test_data): Likewise.
4614         (rint_test_data): Likewise.
4615         (round_test_data): Likewise.
4616         (signbit_test_data): Likewise.
4617         (sinh_test_data): Likewise.
4618         (sqrt_test_data): Likewise.
4619         (tanh_test_data): Likewise.
4620         (tgamma_test_data): Likewise.
4621         (trunc_test_data): Likewise.
4622         (y0_test_data): Likewise.
4623         (y1_test_data): Likewise.
4624         (yn_test_data): Likewise.
4625         (significand_test_data): Likewise.
4627 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
4629         * manual/filesys.texi (Storage Allocation): Document that
4630         posix_fallocate emulation fails when fd is open with O_WRONLY.
4632 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
4634         [BZ #19016]
4635         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
4636         allow more cases with X^2 + Y^2 >= 0.5.
4637         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
4638         normal element in sum instead of special-casing based on values of
4639         arguments.
4640         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
4641         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
4642         -1 as normal element in sum instead of special-casing based on
4643         values of arguments.
4644         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
4645         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
4646         (__x2y2m1): Update comment.
4647         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
4648         as normal element in sum instead of special-casing based on values
4649         of arguments.
4650         * math/s_clog.c (__clog): Handle more cases using log1p without
4651         hypot.
4652         * math/s_clog10.c (__clog10): Likewise.
4653         * math/s_clog10f.c (__clog10f): Likewise.
4654         * math/s_clog10l.c (__clog10l): Likewise.
4655         * math/s_clogf.c (__clogf): Likewise.
4656         * math/s_clogl.c (__clogl): Likewise.
4657         * math/auto-libm-test-in: Add more tests of clog and clog10.
4658         * math/auto-libm-test-out: Regenerated.
4659         * sysdeps/i386/fpu/libm-test-ulps: Update.
4660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4662 2015-09-28  Martin Sebor  <msebor@redhat.com>
4664         [BZ #18969]
4665         * string/Makefile (LOCALES): Define.
4666         (gen-locales.mk): Include.
4667         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
4668         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
4669         * string/tst-strxfrm2.c (do_test): Print the name of the locale
4670         on setlocale failure.
4672 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
4674         [BZ #18985]
4675         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
4676         (__strftime_internal): Likewise.
4677         * time/tst-strftime.c (do_bz18985): New test.
4678         (do_test): Call it.
4680 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
4682         [BZ #18956]
4683         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
4684         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
4685         extracting high part.
4686         * math/auto-libm-test-in: Add another test of pow.
4687         * math/auto-libm-test-out: Regenerated.
4688         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4690 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
4692         [BZ #18825]
4693         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
4694         New macro.
4695         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
4696         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4697         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
4698         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
4699         DBL_NARROW_EVAL, reloading the PIC register as needed.
4700         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
4701         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
4702         FLT_NARROW_EVAL.  Use separate return path for case when first
4703         argument is NaN.
4704         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
4705         DEFINE_LDBL_MIN.
4706         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
4707         PIC register.
4708         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
4709         math_check_force_underflow_nonneg.
4710         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
4711         underflow for subnormal result.
4712         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4713         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
4714         math_check_force_underflow_nonneg.
4715         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
4716         math_check_force_underflow.
4717         * sysdeps/x86_64/fpu/x86_64-math-asm.h
4718         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
4719         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
4720         DEFINE_LDBL_MIN.
4721         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
4722         * math/auto-libm-test-in: Add more tests of pow.
4723         * math/auto-libm-test-out: Regenerated.
4725 2015-09-25  Florian Weimer  <fweimer@redhat.com>
4727         * nss/bug17079.c (init_test_items): Add diagnostic for
4728         inconsistent entries.
4729         (test_buffer_size): Skip inconsistent entries.
4731 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
4733         [BZ #13304]
4734         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
4735         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
4736         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
4738         [BZ #13304]
4739         * sysdeps/microblaze/s_fma.c: New file.
4740         * sysdeps/microblaze/s_fmaf.c: Likewise.
4741         * sysdeps/microblaze/sfp-machine.h: Likewise.
4743 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
4745         [BZ #17250]
4746         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
4747         member.
4749 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
4751         [BZ #18803]
4752         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
4753         (MO): New macro.
4754         (__ieee754_hypot) [PIC]: Load PIC register.
4755         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
4756         DBL_NARROW_EVAL.
4757         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
4758         math_check_force_underflow_nonneg in case where result might be
4759         tiny.
4760         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4761         Likewise.
4762         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4763         Likewise.
4764         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4765         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
4766         * math/auto-libm-test-in: Add more tests of hypot.
4767         * math/auto-libm-test-out: Regenerated.
4769 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
4771         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
4773 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
4775         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
4776         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
4777         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
4778         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
4779         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
4780         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
4781         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
4783         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
4784         LOAD_PIC_REG.
4786         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
4787         (FLT_CHECK_FORCE_UFLOW): Likewise.
4788         (DBL_CHECK_FORCE_UFLOW): Likewise.
4789         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
4790         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
4791         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
4792         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4793         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4794         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4795         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4796         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4797         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
4798         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4799         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
4800         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
4801         (flt_min): Replace with use of DEFINE_FLT_MIN.
4802         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
4803         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
4804         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4805         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
4806         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
4807         (flt_min): Replace with use of DEFINE_FLT_MIN.
4808         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
4809         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
4810         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4811         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
4812         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
4813         (flt_min): Replace with use of DEFINE_FLT_MIN.
4814         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
4815         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
4816         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
4817         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
4818         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
4819         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
4820         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
4821         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
4822         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4823         (__atan): Use DBL_CHECK_FORCE_UFLOW.
4824         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
4825         (flt_min): Replace with use of DEFINE_FLT_MIN.
4826         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
4827         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
4828         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4829         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
4830         main computation.
4831         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
4832         (flt_min): Replace with use of DEFINE_FLT_MIN.
4833         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
4834         main computation.
4835         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
4836         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4837         (MO): New macro.
4838         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
4839         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
4840         (flt_min): Replace with use of DEFINE_FLT_MIN.
4841         (MO): New macro.
4842         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
4843         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
4844         (__log1pl): Use MO.
4846         [BZ #19003]
4847         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
4848         $(config-cflags-nofma).
4850 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4852         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4854 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
4856         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
4857         (TWO127): Likewise.
4859         * sysdeps/generic/math_private.h (fabs_tg): New macro.
4860         (min_of_type): Likewise.
4861         (math_check_force_underflow): Likewise.
4862         (math_check_force_underflow_nonneg): Likewise.
4863         (math_check_force_underflow_complex): Likewise.
4864         * math/e_exp2l.c (__ieee754_exp2l): Use
4865         math_check_force_underflow_nonneg.
4866         * math/k_casinh.c (__kernel_casinh): Likewise.
4867         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4868         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4869         * math/s_catan.c (__catan): Use
4870         math_check_force_underflow_complex.
4871         * math/s_catanf.c (__catanf): Likewise.
4872         * math/s_catanh.c (__catanh): Likewise.
4873         * math/s_catanhf.c (__catanhf): Likewise.
4874         * math/s_catanhl.c (__catanhl): Likewise.
4875         * math/s_catanl.c (__catanl): Likewise.
4876         * math/s_ccosh.c (__ccosh): Likewise.
4877         * math/s_ccoshf.c (__ccoshf): Likewise.
4878         * math/s_ccoshl.c (__ccoshl): Likewise.
4879         * math/s_cexp.c (__cexp): Likewise.
4880         * math/s_cexpf.c (__cexpf): Likewise.
4881         * math/s_cexpl.c (__cexpl): Likewise.
4882         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
4883         * math/s_clog10.c (__clog10): Likewise.
4884         * math/s_clog10f.c (__clog10f): Likewise.
4885         * math/s_clog10l.c (__clog10l): Likewise.
4886         * math/s_clogf.c (__clogf): Likewise.
4887         * math/s_clogl.c (__clogl): Likewise.
4888         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
4889         * math/s_csinf.c (__csinf): Likewise.
4890         * math/s_csinh.c (__csinh): Likewise.
4891         * math/s_csinhf.c (__csinhf): Likewise.
4892         * math/s_csinhl.c (__csinhl): Likewise.
4893         * math/s_csinl.c (__csinl): Likewise.
4894         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
4895         * math/s_csqrtf.c (__csqrtf): Likewise.
4896         * math/s_csqrtl.c (__csqrtl): Likewise.
4897         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
4898         * math/s_ctanf.c (__ctanf): Likewise.
4899         * math/s_ctanh.c (__ctanh): Likewise.
4900         * math/s_ctanhf.c (__ctanhf): Likewise.
4901         * math/s_ctanhl.c (__ctanhl): Likewise.
4902         * math/s_ctanl.c (__ctanl): Likewise.
4903         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
4904         instead of volatile.
4905         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
4906         math_check_force_underflow.
4907         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4908         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
4909         volatile when forcing underflow.
4910         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4911         math_check_force_underflow_nonneg.
4912         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4913         Likewise.
4914         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
4915         math_check_force_underflow.
4916         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4917         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4918         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4919         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
4920         math_check_force_underflow_nonneg.
4921         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
4922         math_check_force_underflow.
4923         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
4924         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
4925         instead of volatile.
4926         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
4927         math_check_force_underflow.
4928         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4929         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4930         math_check_force_underflow_nonneg.
4931         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
4932         math_check_force_underflow.
4933         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
4934         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4935         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
4936         math_check_force_underflow_nonneg.
4937         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4938         Likewise.
4939         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
4940         math_check_force_underflow.
4941         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4942         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
4943         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
4944         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
4945         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
4946         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
4947         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
4948         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
4949         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4950         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
4951         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
4952         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
4953         Likewise.
4954         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
4955         math_check_force_underflow_nonneg.
4956         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4957         Likewise.
4958         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
4959         math_check_force_underflow.
4960         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4961         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
4962         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4963         Likewise.
4964         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
4965         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
4966         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
4967         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
4968         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
4969         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
4970         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
4971         instead of volatile.
4972         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
4973         math_check_force_underflow.
4974         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
4975         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
4976         math_check_force_underflow.
4977         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
4978         Likewise.
4979         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4980         Use math_check_force_underflow_nonneg.
4981         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
4982         math_check_force_underflow.
4983         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4984         Likewise.
4985         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4986         Likewise.
4987         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4988         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4989         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4990         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4991         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
4992         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4993         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
4994         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
4995         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
4996         math_check_force_underflow_nonneg.
4997         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
4998         math_check_force_underflow.
4999         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5000         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
5001         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
5002         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
5003         math_check_force_underflow_nonneg.
5004         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
5005         math_check_force_underflow.
5006         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
5007         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
5008         instead of volatile.
5009         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
5010         math_check_force_underflow.
5012         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
5013         * stdlib/strtod_l.c: Include <math_private.h>.
5014         (overflow_value): Use math_narrow_eval.
5015         (underflow_value): Likewise.
5016         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5017         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5018         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
5019         (__ieee754_gamma_r): Likewise.
5020         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
5021         Likewise.
5022         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5023         Likewise.
5024         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
5025         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
5026         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
5027         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
5028         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5029         (__ieee754_gammaf_r): Likewise.
5030         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5031         Likewise.
5032         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
5033         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
5034         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
5035         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
5036         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
5037         volatile.
5038         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
5039         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
5040         math_narrow_eval.
5041         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5042         Likewise.
5043         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5044         Likewise.
5045         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
5046         Likewise.
5047         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
5048         volatile.
5049         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
5050         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
5051         math_narrow_eval.
5052         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5053         Likewise.
5054         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5055         Likewise.
5057 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
5059         * nptl/Versions: Remove ignored symbols.
5061 2015-09-22  Florian Weimer  <fweimer@redhat.com>
5063         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
5064         * nss/Makefile (tests): Update.
5066 2015-09-22  Florian Weimer  <fweimer@redhat.com>
5068         * nss/bug18287.c: New file.
5069         * nss/Makefile (tests): Add bug18287.
5071 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5073         * mach/Versions (__mach_host_self_): Add symbol.
5075 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5077         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
5078         vm_page_size.
5080 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5082         Really fix sysdeps/i386/fpu/s_scalbn.S build
5084         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
5085         (libc: GLIBC_2_22): Remove unused version set.
5087 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
5089         * config.make.in (enable-timezone-tools): New variable.
5090         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
5091         (enable_timezone_tools): Export to generated files.
5092         * configure: Regenerate.
5093         * INSTALL: Regenerate.
5094         * manual/install.texi (--disable-timezone-tools): Document new flag.
5095         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
5096         ifeq ($(enable-timezone-tools),yes) check.
5098 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5100         * timezone/Makefile: Revert previous change.
5102         [BZ #18980]
5103         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
5104         (DEFINE_DBL_MIN): Likewise.
5105         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
5106         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
5107         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
5108         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
5109         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
5110         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5111         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5112         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
5113         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
5114         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5115         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5116         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
5117         (flt_min): Replace with use of DEFINE_FLT_MIN.
5118         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5119         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
5120         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5121         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5122         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
5123         (flt_min): Replace with use of DEFINE_FLT_MIN.
5124         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5125         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
5126         (flt_min): Replace with use of DEFINE_FLT_MIN.
5127         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5128         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
5129         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
5130         (__ieee754_hypot): Use DBL_NARROW_EVAL.
5131         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
5132         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
5133         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
5134         (__ieee754_pow): Use DBL_NARROW_EVAL.
5135         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
5136         (__ieee754_powf): Use FLT_NARROW_EVAL.
5137         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
5138         (__ieee754_expf_sse2): Convert double-precision result to single
5139         precision.
5140         * sysdeps/i386/fpu/libm-test-ulps: Update.
5142 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5144         * timezone/Makefile: Ignore unused variable errors due to private.h
5145         (time_t_min) and (time_t_max).
5146         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
5147         Likewise.
5149 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5151         [BZ #18981]
5152         * sysdeps/i386/fpu/i386-math-asm.h: New file.
5153         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
5154         (__ieee754_scalb): Use DBL_NARROW_EVAL.
5155         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
5156         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
5157         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
5158         (__scalbn): Use DBL_NARROW_EVAL.
5159         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
5160         (__scalbnf): Use FLT_NARROW_EVAL.
5162 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5164         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
5165         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
5166         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
5167         * stdio-common/printf_fp.c (___printf_fp):
5168         Use signbit to get the sign. Use isinf macro to allow inlining.
5169         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
5170         * stdio-common/printf_size.c (__printf_size): Likewise.
5172 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
5174         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
5176 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5178         [BZ #18980]
5179         * sysdeps/generic/math_private.h: Include <float.h>.
5180         (math_narrow_eval): New macro.
5181         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
5182         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
5183         math_narrow_eval on overflowing return value.
5184         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
5185         Likewise.
5186         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5187         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
5188         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
5189         Likewise.
5190         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
5192 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5194         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
5195         * math/Makefile: Remove isinf_ns.c.
5196         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
5197         * math/multc3.c (__multc3): Likewise.
5198         * math/s_casin.c (__casin): Likewise.
5199         * math/s_casinf.c (__casinf): Likewise.
5200         * math/s_casinl.c (__casinl): Likewise.
5201         * math/s_cproj.c (__cproj): Likewise.
5202         * math/s_cprojf.c (__cprojf): Likewise.
5203         * math/s_cprojl.c (__cprofl): Likewise.
5204         * math/s_ctan.c (__ctan): Likewise.
5205         * math/s_ctanf.c (__ctanf): Likewise.
5206         * math/s_ctanh.c (__ctanh): Likewise.
5207         * math/s_ctanhf.c (__ctanhf): Likewise.
5208         * math/s_ctanhl.c (__ctanhl): Likewise.
5209         * math/s_ctanl.c (__ctanl): Likewise.
5210         * math/w_fmod.c (__fmod): Likewise.
5211         * math/w_fmodf.c (__fmodf): Likewise.
5212         * math/w_fmodl.c (_fmodl): Likewise.
5213         * math/w_remainder.c (__remainder): Likewise.
5214         * math/w_remainderf.c (__remainderf): Likewise.
5215         * math/w_remainderl.c (__remainderl): Likewise.
5216         * math/w_scalb.c (__scalb): Likewise.
5217         * math/w_scalbf.c (__scalbf): Likewise.
5218         * math/w_scalbl.c (__scalbl): Likewise.
5219         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
5220         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
5221         with isinf.
5222         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
5223         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
5224         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
5225         __isinf_nsf with isinf.
5226         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
5227         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
5228         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
5229         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
5230         with isinf.
5231         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
5232         __isinf_nsl with isinf.
5233         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
5234         with isinf.
5235         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
5236         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
5237         __isinf_nsl with isinf.
5238         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
5239         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
5240         with isinf.
5242 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5244         * resolv/base64.c (rcsid): Remove unused static.
5245         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
5246         static.  (tqpi1): Likewise.
5247         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
5248         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
5249         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
5250         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
5251         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
5252         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
5253         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
5254         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
5255         Likewise.
5257 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
5259         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
5260         <nptl/pthreadP.h>.
5261         (_longjmp_unwind): Use __libc_ptf_call.
5262         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
5264 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
5266         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
5267         * sysdeps/arm/__longjmp.S: Likewise
5269 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5271         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
5272         Use __builtin_signbit.
5273         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
5274         Use __builtin_signbitf.
5275         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
5276         Use __builtin_signbitl.
5277         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5278         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
5280 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5282         [BZ #15367]
5283         [BZ #17441]
5285         * math/Makefile: Build test-snan.c with -fsignaling-nans.
5286         * math/math.h (fpclassify): Use __builtin_fpclassify when
5287         available.  (signbit): Use __builtin_signbit(f/l).
5288         (isfinite): Use__builtin_isfinite.  (isnormal): Use
5289         __builtin_isnormal.  (isnan): Use __builtin_isnan.
5290         (isinf): Use __builtin_isinf_sign.
5292 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5294         * benchtests/Makefile: Add bench-math-inlines, link with libm.
5295         * benchtests/bench-math-inlines.c: New benchmark.
5296         * benchtests/bench-util.h: New file.
5297         * benchtests/bench-util.c: New file.
5298         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
5300 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
5302         * elf/tst-dlmopen1.c: Define TEST_SO.
5303         (do_test): Use TEST_SO.
5305         * elf/dl-load.c: Include libc-internal.h.
5306         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
5308 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5310         [BZ #17887]
5311         * time/strptime_l.c (__strptime_internal): Make %z accept
5312         [+-]HH:MM time zones.
5314 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5316         [BZ #17886]
5317         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
5318         valid time zone.
5320 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
5322         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
5323         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
5324         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5325         (__ASSUME_FDATASYNC): Delete.
5327 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5329         * conform/linknamespace.pl: Require weak undefined symbols to be
5330         in the standard namespace.
5331         (%strong_syms): Rename to %seen_syms.
5332         (%strong_seen): Rename to %seen_where.
5334 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
5336         [BZ #18970]
5337         * misc/error.c (error): Replace pthread_setcancelstate with
5338         __pthread_setcancelstate.
5339         (error_at_line): Likewise.
5340         * posix/wordexp.c (parse_comm): Likewise.
5341         * stdlib/fmtmsg.c (fmtmsg): Likewise.
5342         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
5343         (__pthread_setcancelstate): This.
5344         (pthread_setcancelstate): Add an alias.
5345         * nptl/nptl-init.c (pthread_functions): Replace
5346         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
5347         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
5348         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
5349         hidden_proto.
5350         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
5351         it with hidden_def.
5352         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
5353         (pthread_setcancelstate): Renamed to ...
5354         (__pthread_setcancelstate): This.
5355         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
5356         __libc_ptf_call with __pthread_setcancelstate.
5358 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5359             Andreas Schwab  <schwab@suse.de>
5361         [BZ #17118]
5362         * math/s_ctan.c (__ctan): Determine sign of zero real part of
5363         result when imaginary part of argument is infinite using sine and
5364         cosine.
5365         * math/s_ctanf.c (__ctanf): Likewise.
5366         * math/s_ctanl.c (__ctanl): Likewise.
5367         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
5368         of result when real part of argument is infinite using sine and
5369         cosine.
5370         * math/s_ctanhf.c (__ctanhf): Likewise.
5371         * math/s_ctanhl.c (__ctanhl): Likewise.
5372         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
5373         (ctanh_test_data): Add more tests of ctanh.
5375 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5377         [BZ #15384]
5378         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
5379         bit-mask as in subtraction.
5380         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
5381         Likewise.
5382         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
5383         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
5384         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
5386         [BZ #18951]
5387         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
5388         underflow exception for small results.
5389         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5390         Likewise.
5391         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5392         Likewise.
5393         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5394         Likewise.
5395         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5396         Likewise.
5397         * math/auto-libm-test-in: Add more tests of tgamma.
5398         * math/auto-libm-test-out: Regenerated.
5400 2015-09-17  Andreas Schwab  <schwab@suse.de>
5402         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
5404 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
5406         [BZ #18977]
5407         * math/bits/mathcalls.h
5408         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
5409         not declare.
5410         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
5411         Likewise.
5412         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
5413         Likewise.
5414         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
5415         Likewise.
5416         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
5417         Likewise.
5418         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
5419         Likewise.
5420         * conform/data/math.h-data
5421         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
5422         function.
5423         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
5424         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
5425         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
5426         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
5427         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
5428         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
5429         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
5430         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
5431         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
5432         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
5433         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
5435         [BZ #6803]
5436         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
5437         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
5438         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
5439         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
5440         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
5441         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
5442         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
5443         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
5444         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5445         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
5446         Likewise.
5447         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5448         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
5449         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
5450         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
5451         long_double_symbol calls.
5452         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
5453         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
5454         strong alias of __ldexpl.
5455         (scalbnl): Define using long_double_symbol.
5456         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
5457         Remove alias.
5458         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
5459         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
5460         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
5461         (scalbln_test_data): Add more errno expectations.
5463 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
5465         Cache the host port like we cache the task port.  This way we do not
5466         need to call the kernel just to get the port.  Furthermore, we no
5467         longer increase the reference count on every invocation of
5468         `mach_host_self'.
5470         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
5471         Protect declarations against the macro expansion.
5472         * mach/mach_init.c (__mach_host_self_): New variable.
5473         (mach_init): Initialize `__mach_host_self_'.
5474         * mach/mach_init.h (__mach_host_self_): New declaration.
5475         (__mach_host_self, mach_host_self): New macros.
5476         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
5477         Release reference.
5479 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
5481         [BZ #4404]
5482         * po/de.po: Update from Translation Project.
5484         [BZ #16415]
5485         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
5486         (__expm1l): Remove code to handle positive infinity and overflow.
5487         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
5488         variable.
5489         (__expm1l): Remove code to handle positive infinity and overflow.
5491 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
5492             Paul Pluzhnikov  <ppluzhnikov@google.com>
5494         [BZ #18872]
5495         * stdio-common/Makefile (tst-printf-bz18872): New test.
5496         (tst-printf-bz18872-mem.out): Likewise.
5497         * stdio-common/tst-printf-bz18872.sh: Generate new test.
5498         * stdio-common/vfprintf.c: Fix memory leaks.
5500 2015-09-16  Andreas Schwab  <schwab@suse.de>
5502         [BZ #17244]
5503         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
5504         Remove extra va_start/va_end calls.
5506         [BZ #17243]
5507         * posix/execl.c (execl): Add missing va_end.
5508         * posix/execle.c (execle): Likewise.
5509         * posix/execlp.c (execlp): Likewise.
5511 2015-09-15  Roland McGrath  <roland@hack.frob.com>
5513         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
5514         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
5516 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
5518         [BZ #18967]
5519         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
5520         undefine around includes of <bits/mathcalls.h>.
5521         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
5522         not declare function.
5523         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
5524         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
5525         (scalb): Likewise.
5526         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
5527         not define macro.
5528         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
5529         variable.
5530         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5531         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5532         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5534         [BZ #18857]
5535         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
5536         return non-finite argument without doing ordered comparisons on
5537         it.
5539         [BZ #16296]
5540         * math/fenv.h (fegetround): Use __attribute_pure__.
5541         * include/fenv.h (__fegetround): Likewise.
5543         [BZ #18595]
5544         * math/s_ctan.c (__ctan): Force underflow exception for results
5545         whose real or imaginary part has small absolute value.
5546         * math/s_ctanf.c (__ctanf): Likewise.
5547         * math/s_ctanh.c (__ctanh): Likewise.
5548         * math/s_ctanhf.c (__ctanhf): Likewise.
5549         * math/s_ctanhl.c (__ctanhl): Likewise.
5550         * math/s_ctanl.c (__ctanl): Likewise.
5551         * math/auto-libm-test-in: Do not allow missing underflow for ctan
5552         and ctanh.  Add more tests of ctan and ctanh.
5554         [BZ #15918]
5555         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
5556         handling of cases where one argument is an infinity.
5558         [BZ #18875]
5559         [BZ #18966]
5560         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
5561         (MO): New macro.
5562         (__ieee754_exp10): For small results, force underflow exception
5563         and remove excess range and precision from return value.
5564         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
5565         (MO): New macro.
5566         (__ieee754_exp10f): For small results, force underflow exception
5567         and remove excess range and precision from return value.
5568         * math/auto-libm-test-in: Add more tests of exp10.
5569         * math/auto-libm-test-out: Regenerated.
5571 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
5573         [BZ #18875]
5574         [BZ #18961]
5575         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
5576         (MO): New macro.
5577         (__ieee754_exp): For small results, force underflow exception and
5578         remove excess range and precision from return value.
5579         (__exp_finite): Likewise.
5580         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
5581         (MO): New macro.
5582         (__ieee754_expf): For small results, force underflow exception and
5583         remove excess range and precision from return value.
5584         (__expf_finite): Likewise.
5585         * math/auto-libm-test-in: Add more tests of exp.
5586         * math/auto-libm-test-out: Regenerated.
5588         [BZ #16521]
5589         [BZ #18875]
5590         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
5591         small results.
5592         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
5593         (MO): New macro.
5594         (__ieee754_exp2): For small results, force underflow exception and
5595         remove excess range and precision from return value.
5596         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
5597         (MO): New macro.
5598         (__ieee754_exp2f): For small results, force underflow exception
5599         and remove excess range and precision from return value.
5600         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
5601         (MO): New macro.
5602         (__ieee754_exp2l): Force underflow exception for small results.
5603         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5604         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5605         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
5606         (MO): New macro.
5607         (__ieee754_exp2l): Force underflow exception for small results.
5608         * math/auto-libm-test-in: Add more tests or exp2.
5609         * math/auto-libm-test-out: Regenerated.
5611 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
5613         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
5615         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
5616         /dev/null.
5618 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5620         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5621         io fs process)): Drop spurious backslash.
5623 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5625         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
5626         Use sysinfo system call instead of parsing /proc/meminfo.
5627         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
5628         Likewise.
5630 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
5632         [BZ #16985]
5633         * programs/localedef.c (main): Display argv[remaining] when
5634         output_path is NULL.
5636 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
5638         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5639         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
5640         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
5641         tanh.
5642         * math/auto-libm-test-out: Regenerated.
5643         * sysdeps/i386/fpu/libm-test-ulps: Update.
5644         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5645         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5648 2015-09-11  Roland McGrath  <roland@hack.frob.com>
5650         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
5651         Use 'override' keyword to freeze the value here, preventing
5652         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
5654 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
5656         [BZ #14912]
5657         * sysdeps/aarch64/bits/atomic.h: Move to ...
5658         * sysdeps/aarch64/atomic-machine.h: ...here.
5659         (_AARCH64_BITS_ATOMIC_H): Rename macro to
5660         _AARCH64_ATOMIC_MACHINE_H.
5661         * sysdeps/alpha/bits/atomic.h: Move to ...
5662         * sysdeps/alpha/atomic-machine.h: ...here.
5663         * sysdeps/arm/bits/atomic.h: Move to ...
5664         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
5665         * bits/atomic.h: Move to ...
5666         * sysdeps/generic/atomic-machine.h: ...here.
5667         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5668         * sysdeps/i386/bits/atomic.h: Move to ...
5669         * sysdeps/i386/atomic-machine.h: ...here.
5670         * sysdeps/ia64/bits/atomic.h: Move to ...
5671         * sysdeps/ia64/atomic-machine.h: ...here.
5672         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
5673         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
5674         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5675         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
5676         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
5677         * sysdeps/microblaze/bits/atomic.h: Move to ...
5678         * sysdeps/microblaze/atomic-machine.h: ...here.
5679         * sysdeps/mips/bits/atomic.h: Move to ...
5680         * sysdeps/mips/atomic-machine.h: ...here.
5681         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
5682         * sysdeps/powerpc/bits/atomic.h: Move to ...
5683         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
5684         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
5685         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
5686         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
5687         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
5688         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
5689         <atomic-machine.h> instead of <bits/atomic.h>.
5690         * sysdeps/s390/bits/atomic.h: Move to ...
5691         * sysdeps/s390/atomic-machine.h: ...here.
5692         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
5693         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
5694         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5695         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
5696         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
5697         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
5698         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
5699         * sysdeps/tile/bits/atomic.h: Move to ...
5700         * sysdeps/tile/atomic-machine.h: ...here.
5701         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
5702         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
5703         <sysdeps/tile/atomic-machine.h> instead of
5704         <sysdeps/tile/bits/atomic.h>.
5705         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5706         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
5707         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
5708         <sysdeps/tile/atomic-machine.h> instead of
5709         <sysdeps/tile/bits/atomic.h>.
5710         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5711         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
5712         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
5713         <sysdeps/arm/atomic-machine.h> instead of
5714         <sysdeps/arm/bits/atomic.h>.
5715         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
5716         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
5717         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5718         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
5719         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
5720         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5721         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
5722         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
5723         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
5724         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
5725         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
5726         * sysdeps/x86_64/bits/atomic.h: Move to ...
5727         * sysdeps/x86_64/atomic-machine.h: ...here.
5728         * include/atomic.h: Include <atomic-machine.h> instead of
5729         <bits/atomic.h>.
5731         * sysdeps/mips/mips32/libm-test-ulps: Update.
5732         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5734         [BZ #18952]
5735         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
5736         not convert non-integer negative arguments to int to determine the
5737         value of signgam.
5738         * math/auto-libm-test-in: Add more tests of lgamma.
5739         * math/auto-libm-test-out: Regenerated.
5741         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
5742         cosh, csqrt, erfc, expm1 and lgamma.
5743         * math/auto-libm-test-out: Regenerated.
5744         * sysdeps/i386/fpu/libm-test-ulps: Update.
5745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5747 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
5749         [BZ #2542]
5750         [BZ #2543]
5751         [BZ #2558]
5752         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
5753         __lgamma_neg for arguments from -28.0 to -2.0.
5754         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
5755         __lgamma_negf for arguments from -15.0 to -2.0.
5756         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5757         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
5758         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
5759         Call __lgamma_negl for arguments from -33.0 to -2.0.
5760         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
5761         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
5762         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
5763         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
5764         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5765         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5766         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
5767         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
5768         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
5769         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
5770         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
5771         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
5772         (__lgamma_neg): Likewise.
5773         (__lgamma_negl): Likewise.
5774         (__lgamma_product): Likewise.
5775         (__lgamma_productl): Likewise.
5776         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
5777         * math/auto-libm-test-in: Add more tests of lgamma.
5778         * math/auto-libm-test-out: Regenerated.
5779         * sysdeps/i386/fpu/libm-test-ulps: Update.
5780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5782 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
5784         [BZ #18675]
5785         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
5787 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
5789         [BZ #14912]
5790         * bits/libc-lock.h: Move to ...
5791         * sysdeps/generic/libc-lock.h: ...here.
5792         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5793         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
5794         * sysdeps/mach/hurd/libc-lock.h: ...here.
5795         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5796         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
5797         * sysdeps/mach/bits/libc-lock.h: Move to ...
5798         * sysdeps/mach/libc-lock.h: ...here.
5799         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5800         * sysdeps/nptl/bits/libc-lock.h: Move to ...
5801         * sysdeps/nptl/libc-lock.h: ...here.
5802         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5803         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
5804         * sysdeps/nptl/libc-lockP.h: ...here.
5805         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
5806         * crypt/crypt_util.c: Include <libc-lock.h> instead of
5807         <bits/libc-lock.h>.
5808         * dirent/scandir-tail.c: Likewise.
5809         * dlfcn/dlerror.c: Likewise.
5810         * elf/dl-close.c: Likewise.
5811         * elf/dl-iteratephdr.c: Likewise.
5812         * elf/dl-lookup.c: Likewise.
5813         * elf/dl-open.c: Likewise.
5814         * elf/dl-support.c: Likewise.
5815         * elf/dl-writev.h: Likewise.
5816         * elf/rtld.c: Likewise.
5817         * grp/fgetgrent.c: Likewise.
5818         * gshadow/fgetsgent.c: Likewise.
5819         * gshadow/sgetsgent.c: Likewise.
5820         * iconv/gconv_conf.c: Likewise.
5821         * iconv/gconv_db.c: Likewise.
5822         * iconv/gconv_dl.c: Likewise.
5823         * iconv/gconv_int.h: Likewise.
5824         * iconv/gconv_trans.c: Likewise.
5825         * include/link.h: Likewise.
5826         * inet/getnameinfo.c: Likewise.
5827         * inet/getnetgrent.c: Likewise.
5828         * inet/getnetgrent_r.c: Likewise.
5829         * intl/bindtextdom.c: Likewise.
5830         * intl/dcigettext.c: Likewise.
5831         * intl/finddomain.c: Likewise.
5832         * intl/gettextP.h: Likewise.
5833         * intl/loadmsgcat.c: Likewise.
5834         * intl/localealias.c: Likewise.
5835         * intl/textdomain.c: Likewise.
5836         * libidn/idn-stub.c: Likewise.
5837         * libio/libioP.h: Likewise.
5838         * locale/duplocale.c: Likewise.
5839         * locale/freelocale.c: Likewise.
5840         * locale/newlocale.c: Likewise.
5841         * locale/setlocale.c: Likewise.
5842         * login/getutent_r.c: Likewise.
5843         * login/getutid_r.c: Likewise.
5844         * login/getutline_r.c: Likewise.
5845         * login/utmp-private.h: Likewise.
5846         * login/utmpname.c: Likewise.
5847         * malloc/mtrace.c: Likewise.
5848         * misc/efgcvt.c: Likewise.
5849         * misc/error.c: Likewise.
5850         * misc/fstab.c: Likewise.
5851         * misc/getpass.c: Likewise.
5852         * misc/mntent.c: Likewise.
5853         * misc/syslog.c: Likewise.
5854         * nis/nis_call.c: Likewise.
5855         * nis/nis_callback.c: Likewise.
5856         * nis/nss-default.c: Likewise.
5857         * nis/nss_compat/compat-grp.c: Likewise.
5858         * nis/nss_compat/compat-initgroups.c: Likewise.
5859         * nis/nss_compat/compat-pwd.c: Likewise.
5860         * nis/nss_compat/compat-spwd.c: Likewise.
5861         * nis/nss_nis/nis-alias.c: Likewise.
5862         * nis/nss_nis/nis-ethers.c: Likewise.
5863         * nis/nss_nis/nis-grp.c: Likewise.
5864         * nis/nss_nis/nis-hosts.c: Likewise.
5865         * nis/nss_nis/nis-network.c: Likewise.
5866         * nis/nss_nis/nis-proto.c: Likewise.
5867         * nis/nss_nis/nis-pwd.c: Likewise.
5868         * nis/nss_nis/nis-rpc.c: Likewise.
5869         * nis/nss_nis/nis-service.c: Likewise.
5870         * nis/nss_nis/nis-spwd.c: Likewise.
5871         * nis/nss_nisplus/nisplus-alias.c: Likewise.
5872         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
5873         * nis/nss_nisplus/nisplus-grp.c: Likewise.
5874         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
5875         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
5876         * nis/nss_nisplus/nisplus-network.c: Likewise.
5877         * nis/nss_nisplus/nisplus-proto.c: Likewise.
5878         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
5879         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
5880         * nis/nss_nisplus/nisplus-service.c: Likewise.
5881         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
5882         * nis/ypclnt.c: Likewise.
5883         * nptl/libc_pthread_init.c: Likewise.
5884         * nss/getXXbyYY.c: Likewise.
5885         * nss/getXXent.c: Likewise.
5886         * nss/getXXent_r.c: Likewise.
5887         * nss/nss_db/db-XXX.c: Likewise.
5888         * nss/nss_db/db-netgrp.c: Likewise.
5889         * nss/nss_db/nss_db.h: Likewise.
5890         * nss/nss_files/files-XXX.c: Likewise.
5891         * nss/nss_files/files-alias.c: Likewise.
5892         * nss/nsswitch.c: Likewise.
5893         * posix/regex_internal.h: Likewise.
5894         * posix/wordexp.c: Likewise.
5895         * pwd/fgetpwent.c: Likewise.
5896         * resolv/res_hconf.c: Likewise.
5897         * resolv/res_libc.c: Likewise.
5898         * shadow/fgetspent.c: Likewise.
5899         * shadow/lckpwdf.c: Likewise.
5900         * shadow/sgetspent.c: Likewise.
5901         * socket/opensock.c: Likewise.
5902         * stdio-common/reg-modifier.c: Likewise.
5903         * stdio-common/reg-printf.c: Likewise.
5904         * stdio-common/reg-type.c: Likewise.
5905         * stdio-common/vfprintf.c: Likewise.
5906         * stdio-common/vfscanf.c: Likewise.
5907         * stdlib/abort.c: Likewise.
5908         * stdlib/cxa_atexit.c: Likewise.
5909         * stdlib/fmtmsg.c: Likewise.
5910         * stdlib/random.c: Likewise.
5911         * stdlib/setenv.c: Likewise.
5912         * string/strsignal.c: Likewise.
5913         * sunrpc/auth_none.c: Likewise.
5914         * sunrpc/bindrsvprt.c: Likewise.
5915         * sunrpc/create_xid.c: Likewise.
5916         * sunrpc/key_call.c: Likewise.
5917         * sunrpc/rpc_thread.c: Likewise.
5918         * sysdeps/arm/backtrace.c: Likewise.
5919         * sysdeps/generic/ldsodefs.h: Likewise.
5920         * sysdeps/generic/stdio-lock.h: Likewise.
5921         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
5922         * sysdeps/i386/backtrace.c: Likewise.
5923         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5924         * sysdeps/m68k/backtrace.c: Likewise.
5925         * sysdeps/mach/hurd/cthreads.c: Likewise.
5926         * sysdeps/mach/hurd/dirstream.h: Likewise.
5927         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
5928         * sysdeps/nptl/malloc-machine.h: Likewise.
5929         * sysdeps/nptl/stdio-lock.h: Likewise.
5930         * sysdeps/posix/dirstream.h: Likewise.
5931         * sysdeps/posix/getaddrinfo.c: Likewise.
5932         * sysdeps/posix/system.c: Likewise.
5933         * sysdeps/pthread/aio_suspend.c: Likewise.
5934         * sysdeps/s390/s390-32/backtrace.c: Likewise.
5935         * sysdeps/s390/s390-64/backtrace.c: Likewise.
5936         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5937         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5938         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
5939         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
5940         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
5941         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5942         * sysdeps/unix/sysv/linux/system.c: Likewise.
5943         * sysdeps/x86_64/backtrace.c: Likewise.
5944         * time/alt_digit.c: Likewise.
5945         * time/era.c: Likewise.
5946         * time/tzset.c: Likewise.
5947         * wcsmbs/wcsmbsload.c: Likewise.
5948         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
5949         instead of <bits/libc-lock.h> in comment.
5951 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
5953         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
5954         Only use .set mips2 if the current ISA is below mips2.
5955         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
5956         Likewise.
5957         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
5958         mips32r2 if the current ISA is below mips32r2.
5959         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
5960         (TLS_IE): Updated to use the TLD_RDHWR macro.
5961         (TLS_LE): Likewise.
5962         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
5963         __ASSEMBLER__ condition.
5965 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5967         Fix parallel build of before-compile targets.
5969         * sysdeps/mach/Makefile ($(patsubst
5970         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
5971         mach-before-compile target.
5972         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5973         io fs process)): Move rule to dedicated hurd-before-compile target.
5975 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5977         Fix rules generating headers in hurd/ and mach/ when initial make call
5978         has subdir= explicitly set.
5980         * sysdeps/mach/Makefile ($(patsubst
5981         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
5982         calling $(MAKE).
5983         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5984         io fs process)): Force subdir to hurd when calling $(MAKE).
5985         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
5986         subdir to mach when calling $(MAKE).
5988 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
5990         Check sysheaders when looking for Mach and Hurd headers
5992         * sysdeps/mach/configure.ac: Add sysheaders check.
5993         * sysdeps/mach/configure: Regenerate.
5994         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
5995         * sysdeps/mach/hurd/configure: Regenerate.
5997 2015-09-04  Roland McGrath  <roland@hack.frob.com>
5999         [BZ #18921]
6000         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
6001         Fix inverted sense of test of 'o_directory_works' value.
6002         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
6003         Bernhard Voelker <mail@bernhard-voelker.de>.
6005 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
6007         [BZ #14912]
6008         * bits/linkmap.h: Move to ...
6009         * sysdeps/generic/linkmap.h: ...here.
6010         * sysdeps/aarch64/bits/linkmap.h: Move to ...
6011         * sysdeps/aarch64/linkmap.h: ...here.
6012         * sysdeps/arm/bits/linkmap.h: Move to ...
6013         * sysdeps/arm/linkmap.h: ...here.
6014         * sysdeps/hppa/bits/linkmap.h: Move to ...
6015         * sysdeps/hppa/linkmap.h: ...here.
6016         * sysdeps/ia64/bits/linkmap.h: Move to ...
6017         * sysdeps/ia64/linkmap.h: ...here.
6018         * sysdeps/mips/bits/linkmap.h: Move to ...
6019         * sysdeps/mips/linkmap.h: ...here.
6020         * sysdeps/s390/bits/linkmap.h: Move to ...
6021         * sysdeps/s390/linkmap.h: ...here.
6022         * sysdeps/sh/bits/linkmap.h: Move to ...
6023         * sysdeps/sh/linkmap.h: ...here.
6024         * sysdeps/x86/bits/linkmap.h: Move to ...
6025         * sysdeps/x86/linkmap.h: ...here.
6026         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
6028 2015-09-04  Andreas Schwab  <schwab@suse.de>
6030         [BZ #18635]
6031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
6032         (__makecontext): Terminate FDE before return label.
6033         (__novec_makecontext): Likewise.
6035 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6037         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
6038         first member of struct sv in syscall macro.
6040 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
6042         [BZ #14912]
6043         * bits/stdio-lock.h: Move to ...
6044         * sysdeps/generic/stdio-lock.h: ...here.
6045         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
6046         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
6047         * sysdeps/nptl/stdio-lock.h: ...here.
6048         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
6049         * include/libio.h: Include <stdio-lock.h> instead of
6050         <bits/stdio-lock.h>.
6051         * sysdeps/nptl/fork.c: Likewise.
6052         * sysdeps/pthread/flockfile.c: Likewise.
6053         * sysdeps/pthread/ftrylockfile.c: Likewise.
6054         * sysdeps/pthread/funlockfile.c: Likewise.
6056         [BZ #14912]
6057         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
6058         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
6059         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
6060         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
6061         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
6062         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
6063         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
6065 2015-09-03  Roland McGrath  <roland@hack.frob.com>
6067         * elf/Makefile (test-xfail-tst-protected1a): New variable.
6068         (test-xfail-tst-protected1b): New variable.
6070 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
6072         [BZ #14912]
6073         * bits/libc-tsd.h: Move to ...
6074         * sysdeps/generic/libc-tsd.h: ...here.
6075         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
6076         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
6077         * sysdeps/mach/hurd/libc-tsd.h: ...here.
6078         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
6079         * include/ctype.h: Include <libc-tsd.h> instead of
6080         <bits/libc-tsd.h>.
6081         * include/rpc/rpc.h: Likewise.
6082         * locale/localeinfo.h: Likewise.
6083         * sunrpc/rpc_thread.c: Likewise.
6084         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
6085         * sysdeps/nptl/malloc-machine.h: Likewise.
6087         * Makefile (headers): Remove bits/libc-lock.h.
6088         * libio/Makefile (headers): Remove bits/stdio-lock.h.
6090         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
6091         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
6092         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
6093         <bits/stdio-lock.h>.
6094         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
6095         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
6097 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
6099         [BZ #18757]
6100         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
6101         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
6102         BZ #18757.
6104 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
6106         * malloc/mtrace.pl: Filter out NULL entries.
6108 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
6110         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
6111         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
6112         macro.
6114         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
6115         (TCP_CC_INFO): Likewise.
6116         (TCP_SAVE_SYN): Likewise.
6117         (TCP_SAVED_SYN): Likewise.
6119 2015-08-31  Brett Neumeier <brett@neumeier.us>
6121         [BZ #18870]
6122         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
6124 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
6126         [BZ #18873]
6127         Fix broken overflow check in posix_fallocate
6128         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
6129         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6130         Fix parenthesization typo.
6132 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
6134         [BZ #18887]
6135         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
6136         tst-mntent-blank-passno.
6137         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
6138         * misc/tst-mntent-blank-corrupt.c: New test.
6139         * misc/tst-mntent-blank-passno.c: New test ripped from ...
6140         * misc/tst-mntent.c (do_test): ... here.
6142 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
6144         [BZ #4404]
6145         * po/de.po: Fix SIGALRM typo.
6147 2015-08-28  James Perkins  <james@loowit.net>
6149         * time/tst-strptime2.c (tests): Replace short list of test
6150         strings for strptime %z specifier with code which exhaustively
6151         tests every combination of sign and 0 to 5 digits. Tests for
6152         rejection of invalid strings.
6154 2015-08-28  James Perkins  <james@loowit.net>
6156         [BZ #16141]
6157         * time/strptime_l.c (__strptime_internal): Fix %z minutes
6158         calculation, removing incorrect decimal time rounding, so that
6159         all minute values result in a valid seconds value.
6160         * time/strptime_l.c (__strptime_internal): Extend %z time zone
6161         offset range limits to UTC-99:59 through UTC+99:59 to parse
6162         current and historical use cases.
6163         * time/tst-strptime2.c (tests): Modify and add tests for the
6164         strptime %z input field descriptor, specifically conversion of
6165         minutes to seconds and validating an offset range of -9959 to
6166         +9959.
6168 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6169             Dmitry V. Levin  <ldv@altlinux.org>
6171         [BZ #18877]
6172         * posix/Makefile (tests): Add tst-mmap-offset.
6173         * posix/tst-mmap.c: New file.
6174         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
6175         offset calculation for negative values.
6177 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6179         * sysdeps/i386/init-arch.h: New file.
6180         * sysdeps/i386/i586/init-arch.h: Likewise.
6181         * sysdeps/i386/i686/init-arch.h: Likewise.
6182         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
6183         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
6184         * sysdeps/x86/cpu-features.h (bit_I586): New.
6185         (bit_I686): Likewise.
6186         (bit_CX8): Likewise.
6187         (bit_CMOV): Likewise.
6188         (index_CX8): Likewise.
6189         (index_CMOV): Likewise.
6190         (index_I586): Likewise.
6191         (index_I686): Likewise.
6192         (reg_CX8): Likewise.
6193         (reg_CMOV): Likewise.
6194         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
6195         available at compile-time.
6196         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
6197         available at compile-time.
6198         * sysdeps/x86/init-arch.h (USE_I586): New macro.
6199         (USE_I686): Likewise.
6201 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6203         * sysdeps/i386/bcopy.S: New file.
6204         * sysdeps/i386/bzero.S: Likewise.
6205         * sysdeps/i386/memcpy.S: Likewise.
6206         * sysdeps/i386/memmove.S: Likewise.
6207         * sysdeps/i386/mempcpy.S: Likewise.
6208         * sysdeps/i386/memset.S: Likewise.
6209         * sysdeps/i386/bzero.c: Removed.
6210         * sysdeps/i386/memset.c: Likewise.
6211         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
6212         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
6213         * sysdeps/i386/i586/memset_chk.S: Likewise.
6214         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
6215         * sysdeps/i386/memcpy_chk.S: Here.
6216         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
6217         * sysdeps/i386/memmove_chk.S: Here.
6218         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
6219         * sysdeps/i386/mempcpy_chk.S: Likewise.
6220         * sysdeps/i386/i686/memset_chk.S: Moved to ...
6221         * sysdeps/i386/memset_chk.S: Likewise.
6223 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
6225         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
6226         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
6227         file, move DIAG_POP_NEEDS_COMMENT to end of file.
6228         * soft-fp/fmadf4.c: Ditto.
6229         * soft-fp/fmatf4.c: Ditto.
6231 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6233         * sysdeps/i386/i586/Implies: Removed.
6234         * sysdeps/i386/i686/Implies: Likewise.
6236 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6238         * sysdeps/i386/i486/strlen.S: Moved to ...
6239         * sysdeps/i386/strlen.S: Here.
6241 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6243         * sysdeps/i386/i486/strcat.S: Moved to ...
6244         * sysdeps/i386/strcat.S: Here.
6246 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6248         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
6249         * sysdeps/i386/pthread_spin_trylock.S: Here.
6250         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
6251         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
6253 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6255         * sysdeps/i386/i486/string-inlines.c: Moved to ...
6256         * sysdeps/i386/string-inlines.c: Here.
6258 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6260         * sysdeps/i386/i486/htonl.S: Moved ...
6261         * sysdeps/i386/htonl.S: here.
6263 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6265         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
6266         * sysdeps/i386/bits/atomic.h: Here.
6268 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6270         * sysdeps/i386/i486/Versions: Removed.
6272 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6274         [BZ #2898]
6275         * misc/mktemp.c: Add mkdtemp to the link_warning message.
6276         Based on patch by Aurelien Jarno.
6278 2015-08-26  Stan Shebs  <stanshebs@google.com>
6280         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
6281         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6283 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6285         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
6286         * sysdeps/powerpc/dl-procinfo.c:
6287         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
6288         feature so it shows when LD_SHOW_AUXV=1.
6290 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6292         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6293         (__arch_compare_and_exchange_val_32_acq): Remove and use common
6294         definition.  ISA 2.07B no longer requires full sync.
6296 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
6298         [BZ #18863]
6299         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
6300         (si_call_addr): Define.
6301         (si_syscall): Define.
6302         (si_arch): Define.
6304 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
6306         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
6307         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
6308         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
6309         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6310         (__memset_zero_constant_len_parameter): New.
6311         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
6312         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6313         (__memset_zero_constant_len_parameter): Don't define if
6314         __memset_chk or USE_AS_BZERO are defined.
6316         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
6317         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
6318         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
6320         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
6321         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
6322         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
6323         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
6324         comments.
6325         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
6326         -mno-mmx for $(all-rtld-routines).
6327         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
6328         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
6329         i386.
6331 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6333         * sysdeps/generic/unwind.h
6334         (_Unwind_Word): Use __mode__(__unwind_word__)
6335         instead of __mode__(__word__).
6336         (_Unwind_Sword): Likewise.
6338         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6339         (MAX_NEEDED_INPUT): New define.
6340         (MAX_NEEDED_OUTPUT): New define.
6342         * NEWS: New item for IBM z13 string optimizations.
6344         * sysdeps/s390/multiarch/memrchr-c.c: New File.
6345         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
6346         * sysdeps/s390/multiarch/memrchr.c: Likewise.
6347         * sysdeps/s390/multiarch/Makefile
6348         (sysdep_routines): Add memrchr functions.
6349         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6350         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
6352         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
6353         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
6354         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
6355         * sysdeps/s390/multiarch/Makefile
6356         (sysdep_routines): Add wmemcmp functions.
6357         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6358         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
6359         * benchtests/bench-wmemcmp.c: New File.
6360         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
6362         * sysdeps/s390/multiarch/wmemset-c.c: New File.
6363         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
6364         * sysdeps/s390/multiarch/wmemset.c: Likewise.
6365         * sysdeps/s390/multiarch/Makefile
6366         (sysdep_routines): Add wmemset functions.
6367         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6368         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
6369         * wcsmbs/wmemset.c: Use WMEMSET if defined.
6370         * string/test-memset.c: Add wmemset support.
6371         * wcsmbs/test-wmemset.c: New File.
6372         * wcsmbs/Makefile (strop-tests): Add wmemset.
6373         * benchtests/bench-memset.c: Add wmemset support.
6374         * benchtests/bench-wmemset.c: New File.
6375         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
6377         * sysdeps/s390/multiarch/memccpy-c.c: New File.
6378         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
6379         * sysdeps/s390/multiarch/memccpy.c: Likewise.
6380         * sysdeps/s390/multiarch/Makefile
6381         (sysdep_routines): Add memccpy functions.
6382         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6383         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
6384         * string/memccpy.c: Use MEMCCPY if defined.
6386         * sysdeps/s390/multiarch/memchr-vx.S: New File.
6387         * sysdeps/s390/multiarch/memchr.c: Likewise.
6388         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
6389         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
6390         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
6391         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
6392         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
6393         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
6394         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
6395         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6396         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
6397         and rawmemchr functions.
6398         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6399         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
6400         and wmemchr.
6401         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
6402         * string/test-memchr.c: Add wmemchr support.
6403         * wcsmbs/test-wmemchr.c: New File.
6404         * wcsmbs/Makefile (strop-tests): Add wmemchr.
6405         * benchtests/bench-memchr.c: Add wmemchr support.
6406         * benchtests/bench-wmemchr.c: New File.
6407         * benchtests/Makefile (wcsmbs-bench): wmemchr.
6409         * sysdeps/s390/multiarch/strcspn-c.c: New File.
6410         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
6411         * sysdeps/s390/multiarch/strcspn.c: Likewise.
6412         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
6413         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
6414         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
6415         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
6416         wcscspn functions.
6417         * sysdeps/s390/multiarch/ifunc-impl-list.c
6418         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
6419         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
6420         * string/test-strcspn.c: Add wcscspn support.
6421         * wcsmbs/test-wcscspn.c: New File.
6422         * wcsmbs/Makefile (strop-tests): Add wcscspn.
6423         * benchtests/bench-strcspn.c: Add wcscspn support.
6424         * benchtests/bench-wcscspn.c: New File.
6425         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
6427         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
6428         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
6429         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
6430         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
6431         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
6432         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
6433         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
6434         wcspbrk functions.
6435         * sysdeps/s390/multiarch/ifunc-impl-list.c
6436         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
6437         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
6438         * string/test-strpbrk.c: Add wcspbrk support.
6439         * wcsmbs/test-wcspbrk.c: New File.
6440         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
6441         * benchtests/bench-strpbrk.c: Add wcspbrk support.
6442         * benchtests/bench-wcspbrk.c: New File.
6443         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
6445         * sysdeps/s390/multiarch/strspn-c.c: New File.
6446         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
6447         * sysdeps/s390/multiarch/strspn.c: Likewise.
6448         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
6449         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
6450         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
6451         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
6452         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
6453         wcsspn functions.
6454         * sysdeps/s390/multiarch/ifunc-impl-list.c
6455         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
6456         * string/test-strspn.c: Add wcsspn support.
6457         * wcsmbs/test-wcsspn.c: New File.
6458         * wcsmbs/Makefile (strop-tests): Add wcsspn.
6459         * benchtests/bench-strspn.c: Add wcsspn support.
6460         * benchtests/bench-wcsspn.c: New File.
6461         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
6463         * sysdeps/s390/multiarch/strrchr-c.c: New File.
6464         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
6465         * sysdeps/s390/multiarch/strrchr.c: Likewise.
6466         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
6467         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
6468         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
6469         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
6470         wcsrchr functions.
6471         * sysdeps/s390/multiarch/ifunc-impl-list.c
6472         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
6473         * benchtests/bench-wcsrchr.c: New File.
6474         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
6476         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
6477         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
6478         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
6479         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
6480         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
6481         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
6482         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
6483         wcschrnul functions.
6484         * sysdeps/s390/multiarch/ifunc-impl-list.c
6485         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
6486         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
6487         * string/test-strchr.c: Add wcschrnul support.
6488         * wcsmbs/test-wcschrnul.c: New File.
6489         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
6490         * benchtests/bench-strchr.c: Add wcschrnul support.
6491         * benchtests/bench-wcschrnul.c: New File.
6492         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
6494         * sysdeps/s390/multiarch/strchr-c.c: New File.
6495         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
6496         * sysdeps/s390/multiarch/strchr.c: Likewise.
6497         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
6498         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
6499         * sysdeps/s390/multiarch/wcschr.c: Likewise.
6500         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
6501         wcschr functions.
6502         * sysdeps/s390/multiarch/ifunc-impl-list.c
6503         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
6504         * string/strchr.c (STRCHR): Define and use macro.
6505         * benchtests/bench-wcschr.c: New File.
6506         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
6508         * sysdeps/s390/multiarch/strncmp-c.c: New File.
6509         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
6510         * sysdeps/s390/multiarch/strncmp.c: Likewise.
6511         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
6512         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
6513         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
6514         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
6515         wcsncmp functions.
6516         * sysdeps/s390/multiarch/ifunc-impl-list.c
6517         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
6518         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
6519         * benchtests/bench-strncmp.c: Add wcsncmp support.
6520         * benchtests/bench-wcsncmp.c: New File.
6521         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
6523         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
6524         * sysdeps/s390/multiarch/strcmp.c: Likewise.
6525         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
6526         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
6527         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
6528         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
6529         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6530         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
6531         wcscmp functions.
6532         * sysdeps/s390/multiarch/ifunc-impl-list.c
6533         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
6534         * string/strcmp.c (STRCMP): Define and use macro.
6535         * benchtests/bench-wcscmp.c: New File.
6536         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
6537         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
6538         instead of _HAVE_STRING_ARCH_memchr.
6540         * sysdeps/s390/multiarch/strncat-c.c: New File.
6541         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
6542         * sysdeps/s390/multiarch/strncat.c: Likewise.
6543         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
6544         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
6545         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
6546         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
6547         wcsncat functions.
6548         * sysdeps/s390/multiarch/ifunc-impl-list.c
6549         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
6550         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
6551         * string/test-strncat.c: Add wcsncat support.
6552         * wcsmbs/test-wcsncat.c: New File.
6553         * wcsmbs/Makefile (strop-tests): Add wcsncat.
6554         * benchtests/bench-strncat.c: Add wcsncat support.
6555         * benchtests/bench-wcsncat.c: New File.
6556         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
6558         * sysdeps/s390/multiarch/strcat-c.c: New File.
6559         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
6560         * sysdeps/s390/multiarch/strcat.c: Likewise.
6561         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
6562         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
6563         * sysdeps/s390/multiarch/wcscat.c: Likewise.
6564         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
6565         wcscat functions.
6566         * sysdeps/s390/multiarch/ifunc-impl-list.c
6567         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
6568         * string/strcat.c (STRCAT): Define and use macro.
6569         * wcsmbs/wcscat.c: Use WCSCAT if defined.
6570         * string/test-strcat.c: Add wcscat support.
6571         * wcsmbs/test-wcscat.c: New File.
6572         * wcsmbs/Makefile (strop-tests): Add wcscat.
6573         * benchtests/bench-strcat.c: Add wcscat support.
6574         * benchtests/bench-wcscat.c: New File.
6575         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
6577         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
6578         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
6579         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
6580         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
6581         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
6582         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
6583         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
6584         wcpncpy functions.
6585         * sysdeps/s390/multiarch/ifunc-impl-list.c
6586         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
6587         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
6588         * string/test-stpncpy.c: Add wcpncpy support.
6589         * wcsmbs/test-wcpncpy.c: New File.
6590         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
6591         * benchtests/bench-stpncpy.c: Add wcpncpy support.
6592         * benchtests/bench-wcpncpy.c: New File.
6593         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
6595         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
6596         * sysdeps/s390/multiarch/strncpy.c: Likewise.
6597         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
6598         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
6599         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
6600         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
6601         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
6602         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
6603         wcsncpy functions.
6604         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
6605         * sysdeps/s390/multiarch/ifunc-impl-list.c
6606         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
6607         * string/test-strncpy.c: Add wcsncpy support.
6608         * wcsmbs/test-wcsncpy.c: New File.
6609         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
6610         * benchtests/bench-strncpy.c: Add wcsncpy support.
6611         * benchtests/bench-wcsncpy.c: New File.
6612         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
6614         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
6615         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
6616         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
6617         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
6618         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
6619         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
6620         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
6621         wcpcpy functions.
6622         * string/stpcpy.c: Use STPCPY if defined.
6623         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
6624         * sysdeps/s390/multiarch/ifunc-impl-list.c
6625         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
6626         * string/test-stpcpy.c: Add wcpcpy support.
6627         * wcsmbs/test-wcpcpy.c: New File.
6628         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
6629         * benchtests/bench-stpcpy.c: Add wcpcpy support.
6630         * benchtests/bench-wcpcpy.c: New File.
6631         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
6633         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
6634         * sysdeps/s390/multiarch/strcpy.c: Likewise.
6635         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
6636         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
6637         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
6638         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
6639         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6640         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
6641         wcscpy functions.
6642         * sysdeps/s390/multiarch/ifunc-impl-list.c
6643         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
6644         * benchtests/bench-wcscpy.c: New File.
6645         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
6647         * sysdeps/s390/multiarch/strnlen-c.c: New File.
6648         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
6649         * sysdeps/s390/multiarch/strnlen.c: Likewise.
6650         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
6651         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
6652         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
6653         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
6654         wcsnlen functions.
6655         * sysdeps/s390/multiarch/ifunc-impl-list.c
6656         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
6657         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
6658         * string/test-strnlen.c: Add wcsnlen support.
6659         * wcsmbs/test-wcsnlen.c: New File.
6660         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
6661         * benchtests/bench-strnlen.c: Add wcsnlen support.
6662         * benchtests/bench-wcsnlen.c: New File.
6663         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
6665         * sysdeps/s390/multiarch/Makefile: New File.
6666         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
6667         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
6668         * sysdeps/s390/multiarch/strlen.c: Likewise.
6669         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
6670         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
6671         * sysdeps/s390/multiarch/wcslen.c: Likewise.
6672         * string/strlen.c (STRLEN): Define and use macro.
6673         * sysdeps/s390/multiarch/ifunc-impl-list.c
6674         (IFUNC_VX_IMPL): New macro function.
6675         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
6676         * benchtests/Makefile (wcsmbs-bench): New variable.
6677         (string-bench-all): Added wcsmbs-bench.
6678         * benchtests/bench-wcslen.c: New File.
6680         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
6681         s390_vx_libc_ifunc2): New macro function.
6683         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
6684         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
6685         assembler support.
6686         * sysdeps/s390/configure: Regenerated.
6688         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
6689         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
6691         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
6692         * sysdeps/s390/dl-procinfo.h: Add vector capability.
6693         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
6695         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6696         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
6697         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
6698         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
6699         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
6700         (memcmp, bcmp): Use __memcmp_default as alias source.
6701         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
6702         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
6703         Rename to __memcmp_default.
6704         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
6705         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
6706         (memcpy): Use __memcpy_default as alias source.
6707         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
6708         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
6709         Rename to __memcpy_default.
6710         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
6711         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
6712         (memset): Use __memset_default as alias source.
6713         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
6714         * sysdeps/s390/s390-32/memset.S (__memset_g5):
6715         Rename to __memset_default.
6716         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
6717         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
6718         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
6719         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
6720         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
6721         (memcmp, bcmp): Use __memcmp_default as alias source.
6722         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
6723         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
6724         Rename to __memcmp_default.
6725         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
6726         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
6727         (memcpy): Use __memcpy_default as alias source.
6728         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
6729         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
6730         Rename to __memcpy_default.
6731         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
6732         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
6733         (memset): Use __memset_default as alias source.
6734         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
6735         * sysdeps/s390/s390-64/memset.S (__memset_z900):
6736         Rename to __memset_default.
6737         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
6738         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
6740         [BZ #18610]
6741         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
6742         __ieee_instruction_pointer to __unused.
6743         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
6744         __ieee_instruction_pointer.
6745         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
6746         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
6747         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6748         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
6749         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
6750         Mark dxc-field as reserved.
6752 2015-08-25  Roland McGrath  <roland@hack.frob.com>
6754         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
6755         if the weak reference is not null.
6757 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6759         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
6761         [BZ #11214]
6762         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
6764 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6766         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
6767         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
6768         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
6769         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
6770         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
6771         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
6772         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
6773         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
6774         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
6775         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
6776         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
6777         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
6778         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
6779         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
6780         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
6781         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
6782         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
6783         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
6785 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6787         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
6788         register other than r0 for tabort, it has special meaning.
6789         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
6790         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
6791         transaction before starting syscall.
6793 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6795         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
6797 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6799         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
6801         * sysdeps/x86_64/rtld-memcmp.c: Removed.
6802         * sysdeps/x86_64/rtld-memset.S: Likewise.
6803         * sysdeps/x86_64/rtld-strchr.S: Likewise.
6804         * sysdeps/x86_64/rtld-strlen.S: Likewise.
6805         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
6806         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6808         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
6810 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
6812         * debug/strcpy_chk.c: Improve performance.
6813         * debug/stpcpy_chk.c: Likewise.
6814         * sysdeps/x86_64/strcpy_chk.S: Remove.
6815         * sysdeps/x86_64/stpcpy_chk.S: Remove.
6817         [BZ #18240]
6818         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
6820 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6822         [BZ #15128]
6823         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
6824         ifuncmain8.
6825         (modules-names): Add ifuncmod8.
6826         ($(objpfx)ifuncmain8): New rule.
6827         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
6828         <cpuid.h>.
6829         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
6830         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
6831         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
6832         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
6833         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
6834         * sysdeps/x86_64/dl-trampoline.h: Likewise.
6835         * sysdeps/x86_64/ifuncmain8.c: New file.
6836         * sysdeps/x86_64/ifuncmod8.c: Likewise.
6837         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
6838         Removed.
6839         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
6840         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
6841         Change rtld_savespace_sse to __glibc_unused2.
6842         (RTLD_CHECK_FOREIGN_CALL): Removed.
6843         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
6844         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
6845         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
6847 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6849         * sysdeps/aarch64/bzero.S (__bzero): Remove.
6851 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6853         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
6854         Unconditionally set __fpcr to avoid uninialized warning.
6855         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
6857 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6859         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
6860         is corrupt.
6862         * malloc/arena.c (arena_get2): Drop unused argument.
6863         (arena_lock): Adjust.
6864         (arena_get_retry): Likewise.
6866 2015-08-24  Andreas Schwab  <schwab@suse.de>
6868         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
6869         Don't define.
6870         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6871         (__ASSUME_IPC64): Don't undef.
6872         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
6873         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6874         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6875         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
6876         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
6877         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
6878         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
6879         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
6880         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
6881         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
6882         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
6883         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
6884         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
6885         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
6886         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
6887         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
6888         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
6889         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
6890         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
6891         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
6892         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
6894 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
6896         * manual/Makefile (install): Only build manual when perl is available.
6898 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6900         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
6901         '#undef memcpy' by '#undef memchr'.
6903 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6905         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
6906         memchr not point to the internal __GI_memchr implementation.
6908 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6910         * timezone/Makefile (CFLAGS-zdump.c): Remove
6911         -Wno-strict-prototypes.
6912         (CFLAGS-zic.c): Likewise.
6913         (CFLAGS-ialloc.c): Likewise.
6914         (CFLAGS-scheck.c): Likewise.
6916         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
6917         -Wno-error=undef.
6919 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6921         * i386/i686/multiarch/strcasestr-c.c: Removed.
6922         * x86_64/multiarch/strcasestr.c: Likewise.
6923         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6924         Remove strcasestr.
6926 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6928         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
6930         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
6931         variables for high and low parts before possibly modifying them.
6933 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6935         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
6936         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
6937         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
6938         of "multiarch/init-arch.h".
6939         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
6940         * sysdeps/x86/init-arch.h: This.
6942 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6944         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
6945         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
6947 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
6949         [BZ #17787]
6950         * manual/macros.texi: Add twoexp macro.
6951         * manual/filesys.texi: Fix exponents.
6952         * manual/llio.texi: Likewise.
6953         * manual/stdio.texi: Likewise.
6955 2015-08-20  Florian Weimer  <fweimer@redhat.com>
6957         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
6958         incorrect use.
6960 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
6962         [BZ #18370]
6963         * math/s_csqrt.c (__csqrt): Force underflow exception for results
6964         whose real or imaginary part has small absolute value.
6965         * math/s_csqrtf.c (__csqrtf): Likewise.
6966         * math/s_csqrtl.c (__csqrtl): Likewise.
6967         * math/auto-libm-test-in: Add more tests of csqrt.
6968         * math/auto-libm-test-out: Regenerated.
6969         * sysdeps/i386/fpu/libm-test-ulps: Update.
6971 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6973         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
6974         __ppc_set_ppr_very_low): New functions.
6975         * manual/platform.texi: Add documentation about
6976         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
6978 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
6980         * string/stpncpy.c (stpncpy): Improve performance using
6981         __strnlen/memcpy/memset.
6983 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6985         [BZ #18796]
6986         * scripts/test-installation.pl: Don't add -lmvec to build options if
6987         libmvec wasn't built.
6989 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
6991         [BZ #14341]
6992         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
6993         case when there is a gap between DT_REL and DT_JMPREL sections.
6994         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
6995         (LDFLAGS-tst-split-dynreloc): New.
6996         (tst-split-dynreloc-ENV): Likewise.
6997         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
6998         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
7000 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7002         [BZ #18822]
7003         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
7004         attribute_hidden.
7005         (__xstat64_conv): Likewise.
7006         (__xstat32_conv): Likewise.
7008 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7010         [BZ #18822]
7011         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
7012         Don't load %ebx when calling __setcontext.  Call __setcontext
7013         with HIDDEN_JUMPTARGET.
7014         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
7015         libc_hidden_def.
7017 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7019         * sysdeps/i386/i686/Makefile
7020         [$(subdir) == string] (sysdep_routines): Moved to ...
7021         * sysdeps/i386/Makefile: Here.
7022         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
7023         * sysdeps/i386/cacheinfo.c: Here.
7024         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
7025         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
7026         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
7027         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
7029 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7031         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
7032         __i586__ is defined.
7033         (HAS_I686): Defined to 1 if __i686__ is defined.
7035 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
7037         * elf/Makefile [$(have-z-execstack) = yes]
7038         (CPPFLAGS-tst-execstack.c): New variable.
7040         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
7041         conditional to [defined UTMPX || _HAVE_UT_TYPE].
7042         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
7043         UTMPX || _HAVE_UT_TV].
7044         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
7045         UTMPX || _HAVE_UT_TV - 0].
7047 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
7049         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
7050         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
7051         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
7053 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7055         * sysdeps/powerpc/dl-procinfo.c:
7056         (_dl_powerpc_cap_flags): Added missing strings for some
7057         hwcap features.
7058         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
7060 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
7062         Port the 0x7efe...feff pattern to GCC 6.
7063         See Steve Ellcey's bug report in:
7064         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
7065         * string/memrchr.c (MEMRCHR):
7066         * string/rawmemchr.c (RAWMEMCHR):
7067         * string/strchr.c (strchr):
7068         * string/strchrnul.c (STRCHRNUL):
7069         Rewrite code to avoid issues with signed shift overflow.
7071 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
7073         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
7074         whether cpuid is available only if HAS_CPUID is 0.
7075         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
7076         (HAS_I586): Likewise.
7077         (HAS_I686): Likewise.
7079 2015-08-18  Zack Weinberg  <zackw@panix.com>
7081         * misc/Versions (libc): Add GLIBC_2.23.
7083 2015-08-18  Alan Modra  <amodra@gmail.com>
7085         [BZ #18421]
7086         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
7087         .Lp__global.
7088         (_start): Load %dp via .Lp__global.
7089         [!SHARED]: Use .section .rodata.
7091 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7093         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
7094         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
7096 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7098         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
7099         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
7101 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7103         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
7104         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
7106 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7108         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
7109         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
7111 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7113         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
7114         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
7116 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7118         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
7119         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
7121 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7123         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
7125 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7127         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
7128         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
7129         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7130         (__ASSUME_LWS_CAS): Delete.
7132 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7134         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
7135         * sysdeps/hppa/configure: Regenerated.
7136         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
7137         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
7138         * sysdeps/hppa/nptl/tls.h: Likewise.
7140 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
7142         [BZ #18823]
7143         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
7144         for scaling up small arguments.
7145         * math/s_csqrtf.c (__csqrtf): Likewise.
7146         * math/s_csqrtl.c (__csqrtl): Likewise.
7147         * math/auto-libm-test-in: Add more tests of csqrt.
7148         * math/auto-libm-test-out: Regenerated.
7150 2015-08-17  Andreas Schwab  <schwab@suse.de>
7152         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
7153         version set GLIBC_2.19.
7155 2015-08-16  Zack Weinberg  <zackw@panix.com>
7157         [BZ #18681]
7158         * misc/regexp.h: This interface is no longer supported.
7159         Remove all contents, leaving only an #error directive.
7160         * misc/regexp.c (loc1, loc2, locs, step, advance):
7161         Demote to compatibility symbols.
7163 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
7165         [BZ #18084]
7166         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
7167         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
7168         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7169         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
7170         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
7171         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
7172         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
7173         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
7174         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
7176 2015-08-15  Zack Weinberg  <zackw@panix.com>
7178         [BZ #18795]
7179         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
7180         buffer length is known to be too large, not if it's known to be
7181         small enough.
7182         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
7183         overflow at runtime, involving a length parameter, twice: once
7184         with a compile-time constant length parameter, once without.
7186 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
7188         [BZ #18824]
7189         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
7190         scaling x * y up instead of down.
7191         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7192         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7193         * math/auto-libm-test-in: Add more tests of fma.
7194         * math/auto-libm-test-out: Regenerated.
7196 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7198         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7200 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7202         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
7203         unnecessary movq.
7204         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
7205         Likewise.
7207 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
7209         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7210         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
7211         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
7212         and tgamma.
7213         * math/auto-libm-test-out: Regenerated.
7214         * sysdeps/i386/fpu/libm-test-ulps: Update.
7215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7217         [BZ #16520]
7218         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
7219         (__tanh): Force underflow exception for arguments with small
7220         absolute value.
7221         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
7222         (__tanhf): Force underflow exception for arguments with small
7223         absolute value.
7224         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
7225         (__tanhl): Force underflow exception for arguments with small
7226         absolute value.
7227         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
7228         (__tanhl): Force underflow exception for arguments with small
7229         absolute value.
7230         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
7231         (__tanhl): Force underflow exception for arguments with small
7232         absolute value.
7233         * math/auto-libm-test-in: Add more tests of tanh.
7234         * math/auto-libm-test-out: Regenerated.
7235         * sysdeps/i386/fpu/libm-test-ulps: Update.
7237 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7239         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
7240         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
7242 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7244         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
7245         <cpuid.h>.
7247 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7249         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
7250         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
7252 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7254         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
7255         Remove $(objpfx)init-arch.o.
7256         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
7257         init-arch.
7258         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
7259         (INIT_ARCH_EXT): Defined as empty.
7260         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
7261         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
7262         __init_cpu_features call.  Replace HAS_XXX with
7263         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7264         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
7265         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
7266         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
7267         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
7268         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7269         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
7270         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
7271         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7272         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
7273         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
7274         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7275         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
7276         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
7277         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7278         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
7279         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
7280         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7281         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7282         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
7283         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
7284         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7285         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
7286         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
7287         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7288         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
7289         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
7290         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7291         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
7292         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
7293         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7294         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
7295         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
7296         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7297         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
7298         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
7300 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7302         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
7303         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7304         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7305         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7306         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
7307         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
7308         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
7309         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
7310         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
7311         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
7312         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
7313         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
7314         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7315         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7316         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7317         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7318         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7319         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7320         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7321         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7322         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7323         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7324         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7325         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7326         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7327         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7328         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7329         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7330         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7331         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7332         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7333         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7334         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7335         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7336         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7337         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7338         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7339         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7340         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7341         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7342         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7343         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7344         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7346 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7348         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
7349         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7350         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7351         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7352         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7353         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
7354         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7355         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
7356         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7357         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7358         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7359         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
7360         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
7361         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
7362         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
7363         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
7364         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
7365         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
7366         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
7367         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
7368         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
7369         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
7370         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
7371         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7372         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7373         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
7374         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
7375         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
7376         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7377         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7378         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7379         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7380         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7381         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7382         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7383         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7384         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7385         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7386         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7387         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7388         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7389         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7390         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7392 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7394         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
7395         (dl_platform_init): Call init_cpu_features.
7396         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
7397         * sysdeps/i386/i686/cacheinfo.c
7398         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
7399         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
7400         * sysdeps/i386/i686/multiarch/Versions: Removed.
7401         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
7402         Removed.
7403         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
7404         * sysdeps/unix/sysv/linux/x86/Makefile
7405         (libpthread-sysdep_routines): Remove init-arch.
7406         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
7407         <sysdeps/x86_64/dl-procinfo.c> instead of
7408         sysdeps/generic/dl-procinfo.c>.
7409         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
7410         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
7411         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
7412         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
7413         [$(subdir) == elf] (tests-static): Add
7414         tst-get-cpu-features-static.
7415         * sysdeps/x86/Versions: New file.
7416         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
7417         * sysdeps/x86/cpu-features.c: Likewise.
7418         * sysdeps/x86/cpu-features.h: Likewise.
7419         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
7420         * sysdeps/x86/libc-start.c: Likewise.
7421         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
7422         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
7423         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
7424         * sysdeps/x86_64/dl-procinfo.c: Likewise.
7425         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
7426         Assume USE_MULTIARCH is defined and don't check it.
7427         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
7428         (is_amd): Likewise.
7429         (max_cpuid): Likewise.
7430         (intel_check_word): Likewise.
7431         (__cache_sysconf): Don't call __init_cpu_features.
7432         (__x86_preferred_memory_instruction): Removed.
7433         (init_cacheinfo): Don't call __init_cpu_features. Replace
7434         __cpu_features with GLRO(dl_x86_cpu_features).
7435         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
7436         (dl_platform_init): Call init_cpu_features.
7437         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
7438         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
7439         * sysdeps/x86_64/multiarch/Versions: Removed.
7440         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
7441         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
7442         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
7443         Removed.
7444         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
7446 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7448         [BZ #18820]
7449         * libio/Makefile (test-fmemopen-mem): New test.
7450         * libio/test-fmemopen.c (do_bz18820): New test.
7451         * libio/fmemopen.c (__fmemopen): Fix memory leak.
7452         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
7454 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7456         [BZ #16734]
7457         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
7458         (FREE_BUF): Delete.
7459         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
7460         * libio/genops.c (_IO_setb): Use malloc and free directly.
7461         (_IO_default_doallocate, _IO_default_finish): Likewise.
7462         ( _IO_unbuffer_all): Likewise.
7463         ( libc_freeres_fn): Likewise.
7464         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7465         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7466         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
7467         (_IO_wdefault_doallocate): Likewise.
7469 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7471         [BZ #18086]
7472         * sysdeps/posix/nice.c (nice): Restore old errno.
7473         * posix/tst-nice.c (do_test): Add test for BZ #18086.
7475 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
7477         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
7479 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7481         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
7482         __bcopy and add a weak_alias to bcopy.
7483         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
7484         for static build.
7486         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
7487         cleanup macro usage.
7488         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
7489         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
7490         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7491         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
7492         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7493         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
7494         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
7495         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
7496         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
7497         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
7498         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7499         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
7500         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7501         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
7502         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7503         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
7504         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
7505         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
7506         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
7508         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
7509         libc_hidden_def.
7510         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
7512         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
7513         (sysdep_routines): Add strstr-ppc64.
7514         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
7516 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
7518         [BZ #18778]
7519         * elf/Makefile (tests): Add Add tst-nodelete2.
7520         (modules-names): Add tst-nodelete2mod.
7521         (tst-nodelete2mod.so-no-z-defs): New.
7522         ($(objpfx)tst-nodelete2): Likewise.
7523         ($(objpfx)tst-nodelete2.out): Likewise.
7524         (LDFLAGS-tst-nodelete2): Likewise.
7525         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
7526         out of loop through all loaded libraries.
7527         * elf/tst-nodelete2.c: New file.
7528         * elf/tst-nodelete2mod.c: Likewise.
7529         * elf/tst-znodelete-zlib.cc: Delete.
7531 2015-08-11  Andreas Schwab  <schwab@suse.de>
7533         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
7534         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
7535         (__openat64_nocancel): Likewise.
7537 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
7539         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
7540         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
7541         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
7542         * math/auto-libm-test-out: Regenerated.
7543         * sysdeps/i386/fpu/libm-test-ulps: Update.
7544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7546 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
7548         [BZ #18790]
7549         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
7550         threshold for returning +/- 1.
7551         * math/auto-libm-test-in: Add more tests of tanh.
7552         * math/auto-libm-test-out: Regenerated.
7553         * sysdeps/i386/fpu/libm-test-ulps: Update.
7555 2015-08-10  Andreas Schwab  <schwab@suse.de>
7557         [BZ #18781]
7558         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
7559         MORE_OFLAGS to oflag.
7560         * io/test-lfs.c (do_test): Test openat64.
7562 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
7564         [BZ #18789]
7565         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
7566         smaller threshold for returning the argument.
7567         * math/auto-libm-test-in: Add more tests of sinh.
7568         * math/auto-libm-test-out: Regenerated.
7569         * sysdeps/i386/fpu/libm-test-ulps: Update.
7571 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
7573         [BZ #18674]
7574         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
7575         break.
7577 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
7579         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
7580         (generated): Don't add $(addprefix z.,$(tzfiles)).
7582 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7584         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
7585         * scripts/sysd-rules.awk: Likewise.
7587 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7589         * iconvdata/tst-tables.sh: Change echo -n to printf.
7590         * nss/db-Makefile: Likewise.
7591         * posix/tst-getconf.sh: Likewise.
7592         * stdio-common/tst-unbputc.sh: Likewise.
7594 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7596         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
7597         MADV_*_PAGES defines behind this feature check.
7599 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
7601         [BZ #18480]
7602         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
7603         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
7604         Define.
7605         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
7606         LOAD_REGS_5, LOAD_REGS_6): Update.
7607         (INTERNAL_SYSCALL): Update using new LOAD defines.
7608         (INTERNAL_SYSCALL_NCS): Likewise.
7609         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
7611 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7613         [BZ #16734]
7614         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
7616 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7618         [BZ #17905]
7619         * catgets/Makefile (tst-catgets-mem): New test.
7620         * catgets/catgets.c (catopen): Don't use unbounded alloca.
7621         * catgets/open_catalog.c (__open_catalog): Likewise.
7622         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
7624 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
7626         [BZ #18787]
7627         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
7628         clobber registers.
7629         (atomic_compare_and_exchange_val_acq): Use register asms to assign
7630         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
7631         Cast return to __typeof (oldval).
7633 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
7635         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
7636         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
7637         and delete sys/syscall.h include.
7639 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
7641         [BZ #16517]
7642         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
7643         (tan): Force underflow exception for arguments with small absolute
7644         value.
7645         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
7646         (__kernel_tanf): Force underflow exception for arguments with
7647         small absolute value.
7648         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
7649         (__kernel_tanl): Force underflow exception for arguments with
7650         small absolute value.
7651         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
7652         (__kernel_tanl): Force underflow exception for arguments with
7653         small absolute value.
7654         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
7655         (__kernel_tanl): Force underflow exception for arguments with
7656         small absolute value.
7657         * math/auto-libm-test-in: Add more tests of tan.
7658         * math/auto-libm-test-out: Regenerated.
7660 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7662         Fix sysdeps/i386/fpu/s_scalbn.S build
7664         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
7666 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
7668         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
7670 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7672         Fix gcrt0.o compilation
7674         When static-start-installed-name is different from
7675         start-installed-name, we must not use the shared objects.
7677         * csu/Makefile
7678         (extra-objs): Add gmon-start.o when building shared library and
7679         $(static-start-installed-name) is different from
7680         $(start-installed-name).
7681         $(objpfx)g$(static-start-installed-name): When building shared
7682         library and $(static-start-installed-name) is different from
7683         $(static-start-installed-name), revert to non-shared rule,
7684         i.e. using $(objpfx)% and gmon-start.o.
7686 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
7688         [BZ #16519]
7689         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
7690         (__ieee754_sinh): Force underflow exception for arguments with
7691         small absolute value.
7692         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
7693         (__ieee754_sinhf): Force underflow exception for arguments with
7694         small absolute value.
7695         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
7696         (__ieee754_sinhl): Force underflow exception for arguments with
7697         small absolute value.
7698         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
7699         (__ieee754_sinhl): Force underflow exception for arguments with
7700         small absolute value.
7701         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
7702         (__ieee754_sinhl): Force underflow exception for arguments with
7703         small absolute value.
7704         * math/auto-libm-test-in: Add more tests of sinh.
7705         * math/auto-libm-test-out: Regenerated.
7706         * sysdeps/i386/fpu/libm-test-ulps: Update.
7708 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7710         * libio/oldfileops.c: Include unistd.h.
7712 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
7714         * stdlib/isomac.c: Include ctype.h.
7716 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
7718         * dirent/tst-seekdir.c (main): Converted to ...
7719         (do_test): ... this.
7720         (TEST_FUNCTION): New macro.
7721         Include test-skeleton.c.
7722         * elf/tst-dlmodcount.c (main): Converted to ...
7723         (do_test): ... this.
7724         (TEST_FUNCTION): New macro.
7725         Include test-skeleton.c.
7726         * elf/tst-order-main.c (main): Converted to ...
7727         (do_test): ... this.
7728         (TEST_FUNCTION): New macro.
7729         Include test-skeleton.c.
7730         * elf/tst-pie2.c (main): Converted to ...
7731         (do_test): ... this.
7732         (TEST_FUNCTION): New macro.
7733         Include test-skeleton.c.
7734         * inet/tst-ether_aton.c (main): Converted to ...
7735         (do_test): ... this.
7736         (TEST_FUNCTION): New macro.
7737         Include test-skeleton.c.
7738         * misc/tst-mntent.c (main): Converted to ...
7739         (do_test): ... this.
7740         (TEST_FUNCTION): New macro.
7741         Include test-skeleton.c.
7742         * misc/tst-tsearch.c (main): Converted to ...
7743         (do_test): ... this.
7744         (TEST_FUNCTION): New macro.
7745         Include test-skeleton.c.
7746         * posix/tst-regexloc.c (main): Converted to ...
7747         (do_test): ... this.
7748         (TEST_FUNCTION): New macro.
7749         Include test-skeleton.c.
7750         * resolv/tst-aton.c (main): Converted to ...
7751         (do_test): ... this.
7752         (TEST_FUNCTION): New macro.
7753         Include test-skeleton.c.
7754         * stdio-common/test-fwrite.c (main): Converted to ...
7755         (do_test): ... this.
7756         (TEST_FUNCTION): New macro.
7757         Include test-skeleton.c.
7758         * stdio-common/tst-ferror.c (main): Converted to ...
7759         (do_test): ... this.
7760         (TEST_FUNCTION): New macro.
7761         Include test-skeleton.c.
7762         * stdio-common/tst-printf.c (main): Converted to ...
7763         (do_test): ... this.
7764         (TEST_FUNCTION): New macro.
7765         Include test-skeleton.c.
7766         * stdio-common/tst-printfsz.c (main): Converted to ...
7767         (do_test): ... this.
7768         (TEST_FUNCTION): New macro.
7769         Include test-skeleton.c.
7770         * stdlib/tst-strtod.c (main): Converted to ...
7771         (do_test): ... this.
7772         (TEST_FUNCTION): New macro.
7773         Include test-skeleton.c.
7774         * string/tst-strlen.c (main): Converted to ...
7775         (do_test): ... this.
7776         (TEST_FUNCTION): New macro.
7777         Include test-skeleton.c.
7778         * string/tst-svc.c (main): Converted to ...
7779         (do_test): ... this.
7780         (TEST_FUNCTION): New macro.
7781         Include test-skeleton.c.
7782         * time/tst-strptime.c (main): Converted to ...
7783         (do_test): ... this.
7784         (TEST_FUNCTION): New macro.
7785         Include test-skeleton.c.
7786         * timezone/tst-timezone.c (main): Converted to ...
7787         (do_test): ... this.
7788         (TEST_FUNCTION): New macro.
7789         Include test-skeleton.c.
7791 2015-08-05  Zack Weinberg  <zackw@panix.com>
7793         * misc/regexp.h: Update comments.
7795 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
7797         [BZ #18635]
7798         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
7799         before return label.
7801 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7803         [BZ #18661]
7804         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
7805         when calling __errno_location.
7806         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
7807         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
7809 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7811         [BZ #18661]
7812         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
7813         (__lll_timedwait_tid): Align stack to 16 bytes when calling
7814         __gettimeofday.
7816 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7818         [BZ #18661]
7819         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7820         (__start_context): Don't use pop to restore %rdi so that stack
7821         is aligned to 16 bytes when calling __setcontext.
7823 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7825         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
7826         only for libc.
7827         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
7829 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7831         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
7832         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
7833         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
7835 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7837         * string/memccpy.c (memccpy):
7838         Improve performance by using memchr/memcpy/__mempcpy.
7840 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7842         * string/strncpy.c (strncpy):
7843         Improve performance by using __strnlen/memcpy.
7845 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7847         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7848         Optimize to avoid an unnecessary FPCR read.
7850 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7852         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7853         Optimize to reduce FPCR/FPSR accesses.
7855 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7857         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
7858         dead->data[category] != NULL.
7860 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
7862         [BZ #18647]
7863         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
7864         and |x| close to 1, use absolute value of x when computing log.
7865         * math/auto-libm-test-in: Add more tests of pow.
7866         * math/auto-libm-test-out: Regenerated.
7868 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7870         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
7871         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
7872         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
7874 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
7876         [BZ #18525]
7877         * locales/km_KH: Remove timezone definition.
7878         * locales/lo_LA: Likewise.
7879         * locales/my_MM: Likewise.
7880         * locales/nan_TW@latin: Likewise.
7881         * locales/th_TH: Likewise.
7882         * locales/uk_UA: Likewise.
7884 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
7886         [BZ #18265]
7887         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
7888         (wcsncat): Likewise.
7889         (wcscmp): Likewise.
7890         (wcsncmp): Likewise.
7892 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7894         * test-skeleton.c (usage): New function.
7895         (main): Call usage when opt is '?'.
7897 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7899         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
7900         before first use.
7902 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7904         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
7905         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
7906         in there too.
7908 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
7910         * version.h (RELEASE): Set to "development".
7911         (VERSION): Set to "2.22.90"
7913         * version.h (RELEASE): Set to "stable".
7914         (VERSION): Set to "2.22"
7915         * include/features.h (__GLIBC_MINOR__): Set to 22.
7917 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
7919         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
7920         Restructure macro to avoid "value computed is not used" warning.
7921         (atomic_compare_and_exchange_val_acq): Likewise.
7923 2015-08-04  Andreas Schwab  <schwab@suse.de>
7925         [BZ #18635]
7926         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
7927         ret.
7928         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
7930 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
7932         * po/pl.po: Updated translation.
7933         * po/uk.po: Likewise.
7934         * po/fi.po: Likewise.
7935         * po/ko.po: Likewise.
7936         * po/ru.po: Likewise.
7937         * po/vi.po: Likewise.
7939 2015-07-31  Zack Weinberg  <zackw@panix.com>
7941         [BZ #18681]
7942         * regexp.h: Add unconditional #warning stating that this header
7943         will be removed soon.  Revise banner comment to match.
7944         (compile): Consistently use ERROR instead of RETURN to report
7945         errors (partial fix for bz#18681).
7946         * regexp.c: Don't include regexp.h. Remove some unnecessary
7947         declarations.
7949 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
7951         * po/libc.pot: Regenerated.
7953 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7955         [BZ #18740]
7956         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
7957         float-vlen4-arch-ext-cflags): Removed.
7958         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
7959         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
7961 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7963         [BZ #14113]
7964         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
7965         aligned to __aligned__.
7966         (pthread_cond_t, pthread_rwlock_t): Likewise.
7968 2015-07-30  Torvald Riegel  <triegel@redhat.com>
7970         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
7972 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7974         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
7975         (struct sigaction): Change sa_flags from a long to an int, and add
7976         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
7978 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7980         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
7981         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
7982         sysdeps/generic/sysdep.h include.
7983         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
7984         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
7985         sysdeps/hppa/sysdep.h.
7986         (ENTRY, PSEUDO): Undefine before defining.
7988 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7990         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
7991         from scratch to use INTERNAL_SYSCALL.
7993 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
7995         [BZ #18078]
7996         * scripts/check-localplt.awk: Support alternate relocations.
7997         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
7998         sections.
7999         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
8000         malloc entries with + REL R_386_GLOB_DAT.
8001         * sysdeps/x86_64/localplt.data: New file.
8003 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
8005         [BZ #18731]
8006         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
8007         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8008         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8010 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8012         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
8014 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8016         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
8017         directly in terms of __sync_fetch_and_add and delete (int) cast.
8019 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8021         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
8022         the -D_ASM_IA64_CURRENT_H flag.
8024 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8026         [BZ #18641]
8027         * pwd/pwd.h (putpwent): Delete __nonnull markings.
8029 2015-07-27  Andreas Schwab  <schwab@suse.de>
8031         * conform/conformtest.pl (checknamespace): Filter out string
8032         literals while tokenizing.
8034 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
8036         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8037         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
8038         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8040 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
8042         * nptl/tst-join7mod.c: Add #include <string.h>.
8044 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
8046         * sysdeps/nios2/libm-test-ulps: Update.
8048 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
8050         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
8051         Fix order of arguments to the rt_sigprocmask syscall.
8052         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
8053         Likewise.
8055 2015-07-24  Roland McGrath  <roland@hack.frob.com>
8057         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
8059 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8061         [BZ #18457]
8062         * nptl/Makefile (tests): New test case tst-join7.
8063         (modules-names): New test case module tst-join7mod.
8064         * nptl/tst-join7.c: New file.
8065         * nptl/tst-join7mod.c: New file.
8066         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
8067         all translation units in libc.so, libpthread.so and rtld.
8069 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8073 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
8075         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
8076         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8077         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8078         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8079         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8080         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8081         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8082         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8083         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8084         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8085         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8086         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8087         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
8088         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
8089         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
8090         implementation.
8092 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8094         [BZ #17711]
8095         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8096         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
8097         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8098         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8099         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
8100         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8102 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8104         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
8105         instead of just saying load lock in the comments.
8107 2015-07-23  Roland McGrath  <roland@hack.frob.com>
8109         * sysdeps/unix/Subdirs: Moved ...
8110         * sysdeps/posix/Subdirs: ... here.
8111         * login/pty.h (struct termios, struct winsize): Add forward decls.
8112         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
8113         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
8114         * sysdeps/arm/nacl/libc.abilist: Updated.
8115         * sysdeps/nacl/libutil.abilist: New file.
8117         * bits/signum.h: Update comments to mention 1003.1-2013 too.
8118         (SIGWINCH): New macro.
8120         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
8121         * sysdeps/arm/nacl/libc.abilist: Add it.
8123 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
8125         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
8127 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
8129         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8130         Swap __glibc_reserved0 and sa_flags order.
8132 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8134         [BZ #18657]
8135         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
8136         are pending TLS destructor calls.
8137         * include/link.h (struct link_map): Add concurrency note for
8138         L_TLS_DTOR_COUNT.
8139         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8140         Don't touch the link map flag.  Atomically increment
8141         l_tls_dtor_count.
8142         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
8143         Avoid taking the load lock and don't touch the link map flag.
8144         * stdlib/tst-tls-atexit-nodelete.c: New test case.
8145         * stdlib/Makefile (tests): Use it.
8146         * stdlib/tst-tls-atexit.c (do_test): dlopen
8147         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
8148         to allow tst-tls-atexit-nodelete test case to use it.
8150 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8152         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
8153         to bits/types.h.
8154         (msgqnum_t): New typedef.
8155         (msglen_t): Likewise.
8156         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
8157         and msg_qbytes type to msglen_t.
8159 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8161         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
8162         pad0 to __glibc_reserved0.
8163         (struct stat64): Likewise.
8165 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8167         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8168         Change sa_flags from a long to an int and add __glibc_reserved0 before
8169         it for padding.
8171 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8173         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
8174         anonymous by deleting "siginfo" name.
8176 2015-07-21  Roland McGrath  <roland@hack.frob.com>
8178         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
8179         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
8180         rather than __nacl_irt_filename.
8181         * sysdeps/nacl/xstat.c (__xstat): Likewise.
8183         * NEWS: New item for arm-nacl port.
8184         * sysdeps/arm/nacl/libc.abilist: New file.
8185         * sysdeps/nacl/ld.abilist: New file.
8186         * sysdeps/nacl/libBrokenLocale.abilist: New file.
8187         * sysdeps/nacl/libanl.abilist: New file.
8188         * sysdeps/nacl/libcrypt.abilist: New file.
8189         * sysdeps/nacl/libdl.abilist: New file.
8190         * sysdeps/nacl/libm.abilist: New file.
8191         * sysdeps/nacl/libpthread.abilist: New file.
8192         * sysdeps/nacl/libresolv.abilist: New file.
8193         * sysdeps/nacl/librt.abilist: New file.
8195 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
8197         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
8198         __startcontext to initialize the new context.
8199         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
8200         up CFI directive to forbid further backtracing.
8202 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
8204         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
8205         reference.
8206         * charmaps/ANSI_X3.4-1968: Likewise.
8207         * charmaps/BS_4730: Likewise.
8208         * charmaps/BS_VIEWDATA: Likewise.
8209         * charmaps/CP1250: Likewise.
8210         * charmaps/CP1251: Likewise.
8211         * charmaps/CP1252: Likewise.
8212         * charmaps/CP1253: Likewise.
8213         * charmaps/CP1254: Likewise.
8214         * charmaps/CP1255: Likewise.
8215         * charmaps/CP1256: Likewise.
8216         * charmaps/CSN_369103: Likewise.
8217         * charmaps/EBCDIC-DK-NO: Likewise.
8218         * charmaps/GB_1988-80: Likewise.
8219         * charmaps/GREEK-CCITT: Likewise.
8220         * charmaps/GREEK7: Likewise.
8221         * charmaps/INIS-8: Likewise.
8222         * charmaps/ISIRI-3342: Likewise.
8223         * charmaps/ISO_2033-1983: Likewise.
8224         * charmaps/ISO_5427-EXT: Likewise.
8225         * locales/POSIX: Likewise.
8226         * locales/ar_SA: Likewise.
8227         * locales/be_BY: Likewise.
8228         * locales/be_BY@latin: Likewise.
8229         * locales/ca_ES: Likewise.
8230         * locales/cs_CZ: Likewise.
8231         * locales/da_DK: Likewise.
8232         * locales/de_BE: Likewise.
8233         * locales/de_CH: Likewise.
8234         * locales/de_LU: Likewise.
8235         * locales/en_AU: Likewise.
8236         * locales/en_BW: Likewise.
8237         * locales/en_CA: Likewise.
8238         * locales/en_DK: Likewise.
8239         * locales/en_GB: Likewise.
8240         * locales/en_IE: Likewise.
8241         * locales/en_NZ: Likewise.
8242         * locales/en_ZA: Likewise.
8243         * locales/en_ZW: Likewise.
8244         * locales/es_AR: Likewise.
8245         * locales/es_BO: Likewise.
8246         * locales/es_CL: Likewise.
8247         * locales/es_CO: Likewise.
8248         * locales/es_DO: Likewise.
8249         * locales/es_EC: Likewise.
8250         * locales/es_ES: Likewise.
8251         * locales/es_HN: Likewise.
8252         * locales/es_MX: Likewise.
8253         * locales/es_PA: Likewise.
8254         * locales/es_PE: Likewise.
8255         * locales/es_PY: Likewise.
8256         * locales/es_SV: Likewise.
8257         * locales/es_US: Likewise.
8258         * locales/es_UY: Likewise.
8259         * locales/es_VE: Likewise.
8260         * locales/et_EE: Likewise.
8261         * locales/fa_IR: Likewise.
8262         * locales/fo_FO: Likewise.
8263         * locales/fr_CA: Likewise.
8264         * locales/fr_CH: Likewise.
8265         * locales/gv_GB: Likewise.
8266         * locales/he_IL: Likewise.
8267         * locales/hr_HR: Likewise.
8268         * locales/id_ID: Likewise.
8269         * locales/is_IS: Likewise.
8270         * locales/it_CH: Likewise.
8271         * locales/iw_IL: Likewise.
8272         * locales/kl_GL: Likewise.
8273         * locales/ko_KR: Likewise.
8274         * locales/kw_GB: Likewise.
8275         * locales/lg_UG: Likewise.
8276         * locales/lt_LT: Likewise.
8277         * locales/lv_LV: Likewise.
8278         * locales/mi_NZ: Likewise.
8279         * locales/nhn_MX: Likewise.
8280         * locales/nl_BE: Likewise.
8281         * locales/pl_PL: Likewise.
8282         * locales/sk_SK: Likewise.
8283         * locales/sl_SI: Likewise.
8284         * locales/sv_FI: Likewise.
8285         * locales/tl_PH: Likewise.
8286         * locales/tr_TR: Likewise.
8287         * locales/vi_VN: Likewise.
8289 2015-07-21  Khem Raj  <raj.khem@gmail.com>
8291         [BZ #17475]
8292         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
8293         of tu_IN and bh_IN.
8295 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
8297         [BZ #18694]
8298         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
8299         bits/wordsize.h.
8300         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
8302 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8304         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
8305         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
8306         (spawn_thread): New function.
8307         (load): Rename to reg_dtor_and_close.  Move dlopen to...
8308         (do_test): ... here.  Use IS_LOADED to test for its
8309         availability.
8311 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
8313         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8315 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
8317         [BZ #18696]
8318         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
8319         si_addr_bnd.
8320         (si_lower): New.
8321         (si_upper): Likewise.
8323 2015-07-16  David S. Miller  <davem@davemloft.net>
8325         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8327 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8329         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
8330         buffer.
8331         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
8332         fail output information.
8334 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8336         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
8337         and strstr-ppc64..
8338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8339         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
8340         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
8341         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
8342         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
8344 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8346         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8347         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8348         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8349         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8351 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8353         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8354         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
8355         rtld_hidden_proto.
8356         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
8358 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8360         * tst-nodelete-opened.c (do_test): Add comment to clarify how
8361         the test can fail.
8363         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
8365         [BZ #18676]
8366         * elf/tst-nodelete-opened.c: New test case.
8367         * elf/tst-nodelete-opened-lib.c: New test case module.
8368         * elf/Makefile (tests, modules-names): Use them.
8369         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
8370         early.
8372 2015-07-15  David S. Miller  <davem@davemloft.net>
8374         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
8375         futex-intenal.h
8376         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
8377         * sysdeps/sparc/sparc64/Makefile: Likewise.
8378         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8379         Remove space from macro define.
8380         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
8382 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
8384         [BZ #17475]
8385         * locale/iso-639.def: Update Bhili and Tulu language codes as
8386         per iso639-3.
8388 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
8390         * elf/tst-leaks1.c (main): Converted to ...
8391         (do_test): ... this.
8392         (TEST_FUNCTION): New macro.
8393         Include test-skeleton.c.
8394         * localedata/tst-langinfo.c (main): Converted to ...
8395         (do_test): ... this.
8396         (TEST_FUNCTION): New macro.
8397         Include test-skeleton.c.
8398         * math/test-fpucw.c (main): Converted to ...
8399         (do_test): ... this.
8400         (TEST_FUNCTION): New macro.
8401         Include test-skeleton.c.
8402         * math/test-tgmath.c (main): Converted to ...
8403         (do_test): ... this.
8404         (TEST_FUNCTION): New macro.
8405         Include test-skeleton.c.
8406         * math/test-tgmath2.c (main): Converted to ...
8407         (do_test): ... this.
8408         (TEST_FUNCTION): New macro.
8409         Include test-skeleton.c.
8410         * setjmp/tst-setjmp.c (main): Converted to ...
8411         (do_test): ... this.
8412         (TEST_FUNCTION): New macro.
8413         Include test-skeleton.c.
8414         * stdio-common/tst-sscanf.c (main): Converted to ...
8415         (do_test): ... this.
8416         (TEST_FUNCTION): New macro.
8417         Include test-skeleton.c.
8418         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
8419         (do_test): ... this.
8420         (TEST_FUNCTION): New macro.
8421         Include test-skeleton.c.
8423         * elf/tst-audit9.c (main): Converted to ...
8424         (do_test): ... this.
8425         (TEST_FUNCTION): New macro.
8426         Include test-skeleton.c.
8428 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
8430         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
8432 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8434         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
8435         New variable.
8437 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8439         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8441 2015-07-14  Roland McGrath  <roland@hack.frob.com>
8443         * sysdeps/generic/dl-fileid.h: New file.
8444         * sysdeps/posix/dl-fileid.h: New file.
8445         * sysdeps/nacl/dl-fileid.h: New file.
8446         * include/link.h: Include <dl-fileid.h>.
8447         (struct link_map): Replace l_dev and l_ino with l_file_id.
8448         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
8449         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
8450         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
8452 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8454         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
8456 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8458         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
8459         Add iff $CXX is set.
8460         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
8461         Likewise.
8462         (tst-nodelete-zmodiff): Likewise.
8463         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
8465 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8467         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
8469 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
8471         * sysdeps/aarch64/fpu/math_private.h
8472         (define math_opt_barrier): Add AArch64 version.
8473         (math_force_eval): Likewise.
8475 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
8477         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
8479 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
8481         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
8482         %ld with %jd and cast to intmax_t.
8483         (do_test_length_zero): Likewise.
8485 2015-07-10  Roland McGrath  <roland@hack.frob.com>
8487         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
8489 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
8491         * sysdeps/tile/libm-test-ulps: Regenerated.
8493         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
8494         Comment out the whole function, not just its body.
8496 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8498         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
8499         locks.
8501         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
8503 2015-07-10  Torvald Riegel  <triegel@redhat.com>
8505         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
8506         (sem_assume_only_signals_cause_futex_EINTR): Remove.
8508 2015-07-10  Torvald Riegel  <triegel@redhat.com>
8510         * sysdeps/nptl/futex-internal.h: New file.
8511         * sysdeps/nacl/futex-internal.h: New file.
8512         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
8513         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
8514         error checking.
8515         (setxid_unmark_thread): Likewise.
8516         (__nptl_setxid): Likewise.
8517         (__wait_lookup_done): Likewise.
8518         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
8519         * nptl/nptl-init.c (sighandler_setxid): Likewise.
8520         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
8521         * nptl/pthread_once.c (clear_once_control): Likewise.
8522         (__pthread_once_slow): Likewise.
8523         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8524         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
8525         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
8526         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
8527         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
8528         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
8529         Likewise.
8530         (__pthread_rwlock_rdlock): Likewise.
8531         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8532         Likewise.
8533         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8534         Likewise.
8535         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
8536         Likewise.
8537         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
8538         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
8539         Likewise.
8540         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
8541         __ASSUME_PRIVATE_FUTEX check.
8542         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
8543         Check that shared futexes are supported.
8544         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
8545         wrappers with error checking.
8546         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
8547         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
8548         * nptl/pthread_barrierattr_setpshared.c
8549         (pthread_barrierattr_setpshared): Check that shared futexes are
8550         supported.
8551         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
8552         Likewise.
8553         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
8554         Likewise.
8555         * nptl/sem_init.c (futex_private_if_supported): Remove.
8556         (__new_sem_init): Adapt and check that shared futexes are supported.
8557         * nptl/sem_open.c (sem_open): Likewise.
8558         * nptl/sem_post.c (futex_wake): Remove.
8559         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
8560         (do_futex_wait): Use futex wrappers with error checking.
8561         * nptl/sem_wait.c: Include lowlevellock.h.
8562         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
8563         Use futex_supports_pshared.
8564         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
8565         Use futex wrappers with error checking.
8566         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
8567         Likewise.
8568         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
8569         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
8570         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
8571         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
8572         (futex_wake): Likewise.
8573         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
8574         (do_futex_wait): Use futex wrappers with error checking.
8575         (__new_sem_wait_slow): Update EINTR handling.
8576         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
8578 2015-07-09  Martin Sebor  <msebor@redhat.com>
8580         [BZ #18435]
8581         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
8582         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
8583         * nptl/Makefile (test-xfail-tst-once5): Define.
8585 2015-07-09  Roland McGrath  <roland@hack.frob.com>
8587         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
8588         * elf/dl-minimal.c: For readability, reorder some definitions and
8589         introduce more page breaks.  Include <stdio.h>.
8590         (__libc_fatal): New function.
8592         * include/unistd.h: Add rtld_hidden_proto for _exit.
8593         * posix/_exit.c: Add rtld_hidden_def.
8594         * sysdeps/mach/hurd/_exit.c: Likewise.
8595         * sysdeps/nacl/_exit.c: Likewise.
8596         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
8597         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
8599 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
8601         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
8602         bndmov encoding with zero displacement.
8604 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
8605             H.J. Lu  <hongjiu.lu@intel.com>
8607         [BZ #18134]
8608         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
8609         * sysdeps/i386/configure: Regenerated.
8610         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8611         (_dl_runtime_profile): Save and restore Intel MPX return bound
8612         registers when calling _dl_call_pltexit.  Add
8613         PRESERVE_BND_REGS_PREFIX before return.
8614         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
8615         (LRV_BND1_OFFSET): Likewise.
8616         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
8617         lrv_bnd1.
8618         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
8619         typo in bndmov encoding.
8620         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
8621         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
8622         branch instructions to preserve bounds.
8624 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8627         [GLIBC_2.22]: Add fmemopen.
8629 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8631         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
8632         returns an error, also try to use host port from __mach_host_self for
8633         the __vm_wire call.
8634         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
8636 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8638         [BZ #18400]
8639         [BZ #18648]
8640         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
8641         Fix pr_uid and pr_gid members.
8642         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
8643         definition to elf_greg_t.
8645 2015-07-08  Roland McGrath  <roland@hack.frob.com>
8647         [BZ #18383]
8648         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
8649         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
8650         * sysdeps/arm/configure: Regenerated.
8651         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
8652         (test-xfail-tst-tlsalign-static): Variable removed.
8654         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
8655         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
8656         rather than explicit 'ln -s'.
8658         * resolv/rpc/netdb.h: New file.
8659         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
8661 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8663         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
8664         length buffers.
8665         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8666         test-skeleton.c.
8668         [BZ #6544]
8669         [BZ #11216]
8670         [BZ #12836]
8671         [BZ #13151]
8672         [BZ #13152]
8673         [BZ #14292]
8674         * include/stdio.h (fmemopen): Remove hidden prototype.
8675         (__fmemopen): Add new hidden prototype.
8676         * libio/Makefile: Add oldfmemopen object.
8677         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
8678         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
8679         compliance.
8680         * libio/oldfmemopen.c: New file: old fmemopen implementation for
8681         symbol compatibility.
8682         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
8683         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
8684         fmemopen.
8685         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
8686         on append and read mode.
8687         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
8688         fmemopen.
8689         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
8690         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
8691         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
8692         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
8693         Likewise.
8694         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8695         [GLIBC_2.22]: Likewise.
8696         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
8697         Likewise.
8698         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
8699         Likewise.
8700         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8701         [GLIBC_2.22]: Likewise.
8702         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8703         [GLIBC_2.22]: Likewise.
8704         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8705         [GLIBC_2.22]: Likewise.
8706         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8707         [GLIBC_2.22]: Likewise.
8708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8709         [GLIBC_2.22]: Likewise.
8710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8711         [GLIBC_2.22]: Likewise.
8712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8713         [GLIBC_2.22]: Likewise.
8714         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
8715         Likewise.
8716         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
8717         Likewise.
8718         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
8719         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8720         [GLIBC_2.22]: Likewise.
8721         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8722         [GLIBC_2.22]: Likewise.
8723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8724         [GLIBC_2.22]: Likewise.
8725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8726         [GLIBC_2.22]: Likewise.
8727         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
8728         Likewise.
8729         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
8730         Likewise.
8731         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
8732         Likewise.
8733         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
8734         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
8736 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
8738         [BZ #18643]
8739         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
8740         IPV6_PATHMTU, and IPV6_DONTFRAG.
8742 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
8744         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
8745         and _IO_UNBUFFERED.
8746         * libio/oldfileops.c: Likewise.
8747         * libio/wfileops.c: Likewise.
8749 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
8751         * nscd/selinux.c: Delete selinux/flask.h include.
8753 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
8755         [BZ #18641]
8756         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
8757         (putpwent): Likewise.
8758         (getpwnam): Likewise.
8759         (getpwent_r): Likewise.
8760         (getpwuid_r): Likewise.
8761         (getpwnam_r): Likewise.
8762         (fgetpwent_r): Likewise.
8764 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
8766         [BZ #18557]
8767         * inet/rcmd.c (__validuser2_sa): Check user first to
8768         short-circuit host check.
8770 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
8771             Mikhail Ilin  <m.ilin@samsung.com>
8773         [BZ #17833]
8774         * elf/Makefile (tests): Add tst-nodelete.
8775         (modules-names): Add tst-nodelete-uniquemod.
8776         (tst-nodelete-uniquemod.so-no-z-defs): New.
8777         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
8778         (tst-nodelete-zmod.so-no-z-defs): Likewise.
8779         ($(objpfx)tst-nodelete): Likewise.
8780         ($(objpfx)tst-nodelete.out): Likewise.
8781         (LDFLAGS-tst-nodelete): Likewise.
8782         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
8783         * elf/dl-close.c (_dl_close_worker): Add a parameter to
8784         implement forced object deletion.
8785         (_dl_close): Pass false to _dl_close_worker.
8786         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
8787         * elf/tst-nodelete.cc: New file.
8788         * elf/tst-nodeletelib.cc: Likewise.
8789         * elf/tst-znodeletelib.cc: Likewise.
8790         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
8792 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8794         [BZ #18508]
8795         * stdlib/Makefile ($(objpfx)tst-makecontext3):
8796         Depend on $(libdl).
8797         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
8798         is not called infinitely times.
8799         (backtrace_helper): New function.
8800         (trace_arg): New struct.
8801         (st1): Enlarge stack size.
8802         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8803         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
8804         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8805         Likewise.
8807 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8809         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8811 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8813         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
8814         Include sys/types.h instead of bits/types.h.
8815         Remove inclusion of bits/wordsize.h.
8817 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8819         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
8820         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
8821         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
8822         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
8823         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
8824         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
8826 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8828         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
8829         link-defines.sym.
8830         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
8831         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
8832         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
8833         and LR_SIZE.
8834         * sysdeps/i386/link-defines.sym: New file.
8836 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8838         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
8839         (modules-names): Add tst-auditmod3a tst-auditmod3b.
8840         ($(objpfx)tst-audit3): New rule.
8841         ($(objpfx)tst-audit3.out): Likewise.
8842         * sysdeps/i386/tst-audit3.c: New file.
8843         * sysdeps/i386/tst-audit3.h: Likewise.
8844         * sysdeps/i386/tst-auditmod3a.c: Likewise.
8845         * sysdeps/i386/tst-auditmod3b.c: Likewise.
8847 2015-07-07  Torvald Riegel  <triegel@redhat.com>
8849         [BZ #18633]
8850         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
8851         pointer in C code.
8852         (__strcat_c): Likewise.
8853         (__strcat_g): Likewise.
8855 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
8857         [BZ #18592]
8858         * misc/sbrk.c: Set errno to ENOMEM on overflow.
8860 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8862         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
8863         New function.  (__ieee754_sqrtf): New function.
8864         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
8865         New function.
8866         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
8867         New function.
8869 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8871         * sysdeps/ieee754/support.c: Remove unused file.
8873 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8875         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
8876         registers instead of d ones so the layout is kernel abi compatible.
8877         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
8878         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
8879         Likewise.
8881 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8883         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8885 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8887         [BZ #18619]
8888         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
8889         and return argument in case of subnormal argument.
8891 2015-07-01  Martin Sebor  <msebor@redhat.com>
8893         [BZ #18435]
8894         * nptl/Makefile: Add tst-once5.cc.
8895         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
8896         Remove macro redefinitions.
8897         * nptl/tst-once5.cc: New test.
8899 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8901         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8903         * sysdeps/arm/libm-test-ulps: Regenerated.
8905         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8906         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8908 2015-06-30  Torvald Riegel  <triegel@redhat.com>
8910         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
8911         lll_lock_wait_private and lll_futex_wake probes.
8913         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8914         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
8915         Likewise.
8916         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
8917         atomic_spin_nop.
8918         * sysdeps/x86_64/bits/atomic.h: Likewise.
8919         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
8920         to atomic_spin_nop and move ...
8921         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8922         ... here and ...
8923         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
8924         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8925         atomic_spin_nop instead of BUSY_WAIT_NOP.
8926         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
8927         Likewise.
8928         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
8929         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8930         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
8931         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
8932         instead of atomic_delay.
8934 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
8936         [BZ #18613]
8937         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
8938         X_ADJ not X when adjusting exponent.
8939         (__ieee754_gamma_r): Do intermediate computations in
8940         round-to-nearest then adjust overflowing and underflowing results
8941         as needed.
8942         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
8943         of X_ADJ not X when adjusting exponent.
8944         (__ieee754_gammaf_r): Do intermediate computations in
8945         round-to-nearest then adjust overflowing and underflowing results
8946         as needed.
8947         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
8948         log of X_ADJ not X when adjusting exponent.
8949         (__ieee754_gammal_r): Do intermediate computations in
8950         round-to-nearest then adjust overflowing and underflowing results
8951         as needed.  Use 1.0L not 1.0f as numerator of division.
8952         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
8953         log of X_ADJ not X when adjusting exponent.
8954         (__ieee754_gammal_r): Do intermediate computations in
8955         round-to-nearest then adjust overflowing and underflowing results
8956         as needed.  Use 1.0L not 1.0f as numerator of division.
8957         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
8958         of X_ADJ not X when adjusting exponent.
8959         (__ieee754_gammal_r): Do intermediate computations in
8960         round-to-nearest then adjust overflowing and underflowing results
8961         as needed.  Use 1.0L not 1.0f as numerator of division.
8962         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
8963         to auto-libm-test-in.
8964         (tgamma_test): Use ALL_RM_TEST.
8965         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
8966         tests of tgamma with spurious-overflow.
8967         * math/auto-libm-test-out: Regenerated.
8968         * math/gen-libm-have-vector-test.sh: Do not check for START.
8969         * sysdeps/i386/fpu/libm-test-ulps: Update.
8970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8972         [BZ #18612]
8973         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
8974         arguments, just return 0.5 times the argument, with underflow
8975         forced as needed.
8976         * math/auto-libm-test-in: Add more tests of j1.
8977         * math/auto-libm-test-out: Regenerated.
8979         [BZ #16559]
8980         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
8981         (__ieee754_j1): Force underflow exception for small results.
8982         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8983         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
8984         (__ieee754_j1f): Force underflow exception for small results.
8985         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8986         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8987         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8988         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
8989         (__ieee754_j1l): Force underflow exception for small results.
8990         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8991         * math/auto-libm-test-in: Add more tests of j1 and jn.
8992         * math/auto-libm-test-out: Regenerated.
8994         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
8995         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
8996         (PF_MPLS): Likewise.
8997         (AF_IB): Likewise.
8998         (AF_MPLS): Likewise.
8999         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
9000         value and macro.
9001         (MS_RMT_MASK): Include MS_LAZYTIME.
9003 2015-06-26  Mel Gorman  <mgorman@suse.de>
9005         [BZ #18502]
9006         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
9007         already minimal.
9009 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
9011         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
9012         (DT_MIPS_NUM): Update.
9013         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
9014         DT_MIPS_RLD_MAP_REL.
9016 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
9018         [BZ #16559]
9019         [BZ #18602]
9020         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
9021         round-to-nearest internally then recompute results that
9022         underflowed to zero in the original rounding mode.
9023         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9024         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9025         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9026         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
9027         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
9028         * sysdeps/i386/fpu/libm-test-ulps: Update.
9029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9031 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
9033         * NEWS: Fixed description of link with vector math library.
9035 2015-06-25  Andreas Schwab  <schwab@suse.de>
9037         [BZ #18549]
9038         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
9039         * libio/test-fmemopen.c (do_test): Add test for it.
9041 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
9043         [BZ #17841]
9044         * Makeconfig (no-pie-ldflag): New.
9045         (+link): Set to $(+link-pie) if default to PIE.
9046         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
9047         * config.make.in (build-pie-default): New.
9048         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
9049         is default.  AC_SUBST.
9050         * configure: Regenerated.
9051         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
9053 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9055         * nptl/descr.h (struct pthread): Change type of field setxid_futex
9056         to 'unsigned int'.
9058         * resolv/gai_misc.h (struct waitlist): Change type of field
9059         counterp to 'volatile unsigned int *'.
9060         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
9061         FUTEXADDR and OLDVAL.
9062         * resolv/getaddrinfo_a.c (getaddrinfo_a):
9063         Give local variable TOTAL type 'volatile unsigned int'.
9064         (struct async_waitlist): Change type of field counter to 'unsigned int'.
9065         * resolv/gai_suspend.c (gai_suspend):
9066         Give local variable CNTR type 'unsigned int'.
9068         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
9069         counterp to 'volatile unsigned int *'.
9070         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
9071         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
9072         (aio_suspend): Give local variable CNTR type 'unsigned int'.
9073         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
9074         Give local variable TOTAL type 'volatile unsigned int'.
9075         (struct async_waitlist): Change type of field counter to 'unsigned int'.
9077 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9079         [BZ #18383]
9080         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
9081         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
9082         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
9083         comment for i386/x86-64.
9084         (test-xfail-tst-tlsalign-extern-static): Removed.
9086 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9088         * math/test-double.h: New file.
9089         * math/test-float.h: Likewise.
9090         * math/test-ldouble.h: Likewise.
9091         * math/test-math-inline.h: Likewise.
9092         * math/test-math-no-inline.h: Likewise.
9093         * math/test-math-scalar.h: Likewise.
9094         * math/test-math-vector.h: Likewise.
9095         * math/test-vec-loop.h: Remove file.  Contents moved into
9096         test-math-vector.h.
9097         * math/libm-test.inc (MATHCONST): Do not document macro.
9098         * math/test-double.c: Include test-double.h, test-math-no-inline.h
9099         and test-math-scalar.h.
9100         (FUNC): Remove macro.
9101         (FUNC_TEST): Likewise.
9102         (FLOAT): Likewise.
9103         (MATHCONST): Likewise.
9104         (PRINTF_EXPR): Likewise.
9105         (PRINTF_XEXPR): Likewise.
9106         (PRINTF_NEXPR): Likewise.
9107         (TEST_DOUBLE): Likewise.
9108         (TEST_MATHVEC): Likewise.
9109         (__NO_MATH_INLINES): Likewise.
9110         * math/test-float.c: Include test-float.h, test-math-no-inline.h
9111         and test-math-scalar.h.
9112         (FUNC): Remove macro.
9113         (FUNC_TEST): Likewise.
9114         (FLOAT): Likewise.
9115         (MATHCONST): Likewise.
9116         (PRINTF_EXPR): Likewise.
9117         (PRINTF_XEXPR): Likewise.
9118         (PRINTF_NEXPR): Likewise.
9119         (TEST_FLOAT): Likewise.
9120         (TEST_MATHVEC): Likewise.
9121         (__NO_MATH_INLINES): Likewise.
9122         * math/test-idouble.c: Include test-double.h, test-math-inline.h
9123         and test-math-scalar.h.
9124         (FUNC): Remove macro.
9125         (FUNC_TEST): Likewise.
9126         (FLOAT): Likewise.
9127         (MATHCONST): Likewise.
9128         (PRINTF_EXPR): Likewise.
9129         (PRINTF_XEXPR): Likewise.
9130         (PRINTF_NEXPR): Likewise.
9131         (TEST_DOUBLE): Likewise.
9132         (TEST_MATHVEC): Likewise.
9133         (TEST_INLINE): Likewise.
9134         (__NO_MATH_INLINES): Likewise.
9135         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
9136         test-math-scalar.h.
9137         (FUNC): Remove macro.
9138         (FUNC_TEST): Likewise.
9139         (FLOAT): Likewise.
9140         (MATHCONST): Likewise.
9141         (PRINTF_EXPR): Likewise.
9142         (PRINTF_XEXPR): Likewise.
9143         (PRINTF_NEXPR): Likewise.
9144         (TEST_FLOAT): Likewise.
9145         (TEST_MATHVEC): Likewise.
9146         (TEST_INLINE): Likewise.
9147         (__NO_MATH_INLINES): Likewise.
9148         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
9149         and test-math-scalar.h.
9150         (FUNC): Remove macro.
9151         (FUNC_TEST): Likewise.
9152         (FLOAT): Likewise.
9153         (MATHCONST): Likewise.
9154         (PRINTF_EXPR): Likewise.
9155         (PRINTF_XEXPR): Likewise.
9156         (PRINTF_NEXPR): Likewise.
9157         (TEST_LDOUBLE): Likewise.
9158         (TEST_MATHVEC): Likewise.
9159         (TEST_INLINE): Likewise.
9160         (__NO_MATH_INLINES): Likewise.
9161         * math/test-ldouble.c: Include test-ldouble.h,
9162         test-math-no-inline.h and test-math-scalar.h.
9163         (FUNC): Remove macro.
9164         (FUNC_TEST): Likewise.
9165         (FLOAT): Likewise.
9166         (MATHCONST): Likewise.
9167         (PRINTF_EXPR): Likewise.
9168         (PRINTF_XEXPR): Likewise.
9169         (PRINTF_NEXPR): Likewise.
9170         (TEST_LDOUBLE): Likewise.
9171         (TEST_MATHVEC): Likewise.
9172         (__NO_MATH_INLINES): Likewise.
9173         * math/test-double-vlen2.h: Include test-double.h,
9174         test-math-no-inline.h and test-math-vector.h.
9175         (FLOAT): Remove macro.
9176         (FUNC): Likewise.
9177         (MATHCONST): Likewise.
9178         (PRINTF_EXPR): Likewise.
9179         (PRINTF_XEXPR): Likewise.
9180         (PRINTF_NEXPR): Likewise.
9181         (TEST_DOUBLE): Likewise.
9182         (TEST_MATHVEC): Likewise.
9183         (__NO_MATH_INLINES): Likewise.
9184         (CNCT): Likewise.
9185         (CONCAT): Likewise.
9186         (WRAPPER_NAME): Likewise.
9187         (WRAPPER_DECL): Likewise.
9188         (WRAPPER_DECL_ff): Likewise.
9189         (WRAPPER_DECL_fFF): Likewise.
9190         (VECTOR_WRAPPER): Likewise.
9191         (VECTOR_WRAPPER_ff): Likewise.
9192         (VECTOR_WRAPPER_fFF): Likewise.
9193         (VEC_LEN): New macro.
9194         * math/test-double-vlen4.h: Include test-double.h,
9195         test-math-no-inline.h and test-math-vector.h.
9196         (FLOAT): Remove macro.
9197         (FUNC): Likewise.
9198         (MATHCONST): Likewise.
9199         (PRINTF_EXPR): Likewise.
9200         (PRINTF_XEXPR): Likewise.
9201         (PRINTF_NEXPR): Likewise.
9202         (TEST_DOUBLE): Likewise.
9203         (TEST_MATHVEC): Likewise.
9204         (__NO_MATH_INLINES): Likewise.
9205         (CNCT): Likewise.
9206         (CONCAT): Likewise.
9207         (WRAPPER_NAME): Likewise.
9208         (WRAPPER_DECL): Likewise.
9209         (WRAPPER_DECL_ff): Likewise.
9210         (WRAPPER_DECL_fFF): Likewise.
9211         (VECTOR_WRAPPER): Likewise.
9212         (VECTOR_WRAPPER_ff): Likewise.
9213         (VECTOR_WRAPPER_fFF): Likewise.
9214         (VEC_LEN): New macro.
9215         * math/test-double-vlen8.h: Include test-double.h,
9216         test-math-no-inline.h and test-math-vector.h.
9217         (FLOAT): Remove macro.
9218         (FUNC): Likewise.
9219         (MATHCONST): Likewise.
9220         (PRINTF_EXPR): Likewise.
9221         (PRINTF_XEXPR): Likewise.
9222         (PRINTF_NEXPR): Likewise.
9223         (TEST_DOUBLE): Likewise.
9224         (TEST_MATHVEC): Likewise.
9225         (__NO_MATH_INLINES): Likewise.
9226         (CNCT): Likewise.
9227         (CONCAT): Likewise.
9228         (WRAPPER_NAME): Likewise.
9229         (WRAPPER_DECL): Likewise.
9230         (WRAPPER_DECL_ff): Likewise.
9231         (WRAPPER_DECL_fFF): Likewise.
9232         (VECTOR_WRAPPER): Likewise.
9233         (VECTOR_WRAPPER_ff): Likewise.
9234         (VECTOR_WRAPPER_fFF): Likewise.
9235         (VEC_LEN): New macro.
9236         * math/test-float-vlen4.h: Include test-float.h,
9237         test-math-no-inline.h and test-math-vector.h.
9238         (FLOAT): Remove macro.
9239         (FUNC): Likewise.
9240         (MATHCONST): Likewise.
9241         (PRINTF_EXPR): Likewise.
9242         (PRINTF_XEXPR): Likewise.
9243         (PRINTF_NEXPR): Likewise.
9244         (TEST_FLOAT): Likewise.
9245         (TEST_MATHVEC): Likewise.
9246         (__NO_MATH_INLINES): Likewise.
9247         (CNCT): Likewise.
9248         (CONCAT): Likewise.
9249         (WRAPPER_NAME): Likewise.
9250         (WRAPPER_DECL): Likewise.
9251         (WRAPPER_DECL_ff): Likewise.
9252         (WRAPPER_DECL_fFF): Likewise.
9253         (VECTOR_WRAPPER): Likewise.
9254         (VECTOR_WRAPPER_ff): Likewise.
9255         (VECTOR_WRAPPER_fFF): Likewise.
9256         (VEC_LEN): New macro.
9257         * math/test-float-vlen8.h: Include test-float.h,
9258         test-math-no-inline.h and test-math-vector.h.
9259         (FLOAT): Remove macro.
9260         (FUNC): Likewise.
9261         (MATHCONST): Likewise.
9262         (PRINTF_EXPR): Likewise.
9263         (PRINTF_XEXPR): Likewise.
9264         (PRINTF_NEXPR): Likewise.
9265         (TEST_FLOAT): Likewise.
9266         (TEST_MATHVEC): Likewise.
9267         (__NO_MATH_INLINES): Likewise.
9268         (CNCT): Likewise.
9269         (CONCAT): Likewise.
9270         (WRAPPER_NAME): Likewise.
9271         (WRAPPER_DECL): Likewise.
9272         (WRAPPER_DECL_ff): Likewise.
9273         (WRAPPER_DECL_fFF): Likewise.
9274         (VECTOR_WRAPPER): Likewise.
9275         (VECTOR_WRAPPER_ff): Likewise.
9276         (VECTOR_WRAPPER_fFF): Likewise.
9277         (VEC_LEN): New macro.
9278         * math/test-float-vlen16.h: Include test-float.h,
9279         test-math-no-inline.h and test-math-vector.h.
9280         (FLOAT): Remove macro.
9281         (FUNC): Likewise.
9282         (MATHCONST): Likewise.
9283         (PRINTF_EXPR): Likewise.
9284         (PRINTF_XEXPR): Likewise.
9285         (PRINTF_NEXPR): Likewise.
9286         (TEST_FLOAT): Likewise.
9287         (TEST_MATHVEC): Likewise.
9288         (__NO_MATH_INLINES): Likewise.
9289         (CNCT): Likewise.
9290         (CONCAT): Likewise.
9291         (WRAPPER_NAME): Likewise.
9292         (WRAPPER_DECL): Likewise.
9293         (WRAPPER_DECL_ff): Likewise.
9294         (WRAPPER_DECL_fFF): Likewise.
9295         (VECTOR_WRAPPER): Likewise.
9296         (VECTOR_WRAPPER_ff): Likewise.
9297         (VECTOR_WRAPPER_fFF): Likewise.
9298         (VEC_LEN): New macro.
9299         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
9300         test-vec-loop.h.
9301         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9302         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9303         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9304         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9305         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9306         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9307         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9309 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9311         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
9312         (__getlogin_r): ... this.
9314 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9316         [BZ #18594]
9317         * math/s_ccosh.c (__ccosh): Compare with least normal value
9318         instead of comparing class with FP_SUBNORMAL.
9319         * math/s_ccoshf.c (__ccoshf): Likewise.
9320         * math/s_ccoshl.c (__ccoshl): Likewise.
9321         * math/s_cexp.c (__cexp): Likewise.
9322         * math/s_cexpf.c (__cexpf): Likewise.
9323         * math/s_cexpl.c (__cexpl): Likewise.
9324         * math/s_csin.c (__csin): Likewise.
9325         * math/s_csinf.c (__csinf): Likewise.
9326         * math/s_csinh.c (__csinh): Likewise.
9327         * math/s_csinhf.c (__csinhf): Likewise.
9328         * math/s_csinhl.c (__csinhl): Likewise.
9329         * math/s_csinl.c (__csinl): Likewise.
9330         * math/s_ctan.c (__ctan): Likewise.
9331         * math/s_ctanf.c (__ctanf): Likewise.
9332         * math/s_ctanh.c (__ctanh): Likewise.
9333         * math/s_ctanhf.c (__ctanhf): Likewise.
9334         * math/s_ctanhl.c (__ctanhl): Likewise.
9335         * math/s_ctanl.c (__ctanl): Likewise.
9336         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
9337         csin, csinh, ctan and ctanh.
9338         * math/auto-libm-test-out: Regenerated.
9339         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
9340         * sysdeps/i386/fpu/libm-test-ulps: Update.
9341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9343 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9345         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
9346         return value is wrong, print the expected value too.
9348 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9350         [BZ #18585]
9351         * elf/readlib.c (is_gdb_python_file): New.
9352         (process_file): Don't issue errors on filenames with -gdb.py
9353         suffix.
9355 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9357         * math/auto-libm-test-in: Add more tests of csin and csinh.
9358         * math/auto-libm-test-out: Regenerated.
9359         * math/libm-test.inc (csin_test_data): Remove tests moved to
9360         auto-libm-test-in.
9361         (csinh_test_data): Likewise.
9363         [BZ #18593]
9364         * math/s_csin.c (__csin): Negate before rather than after possibly
9365         overflowing multiplication.
9366         * math/s_csinf.c (__csinf): Likewise.
9367         * math/s_csinh.c (__csinh): Likewise.
9368         * math/s_csinhf.c (__csinhf): Likewise.
9369         * math/s_csinhl.c (__csinhl): Likewise.
9370         * math/s_csinl.c (__csinl): Likewise.
9371         * math/auto-libm-test-in: Add some tests of csin and csinh.
9372         * math/auto-libm-test-out: Regenerated.
9373         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
9374         (csinh_test_data): Likewise.
9375         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9377         [BZ #18586]
9378         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
9379         underflow exception for small results.
9381 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9383         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9384         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
9385         variable and included header.
9386         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
9387         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
9388         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
9389         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
9390         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
9391         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
9392         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
9393         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
9394         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
9395         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
9396         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
9397         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
9398         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
9399         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
9400         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
9401         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
9403 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9405         [BZ #16526]
9406         [BZ #16538]
9407         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
9408         (__sin): Force underflow exception for arguments with small
9409         absolute value.
9410         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
9411         (__kernel_sinf): Force underflow exception for arguments with
9412         small absolute value.
9413         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
9414         (__kernel_sincosl): Force underflow exception for arguments with
9415         small absolute value.
9416         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
9417         (__kernel_sinl): Force underflow exception for arguments with
9418         small absolute value.
9419         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
9420         (__kernel_sincosl): Force underflow exception for arguments with
9421         small absolute value.
9422         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
9423         (__kernel_sinl): Force underflow exception for arguments with
9424         small absolute value.
9425         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
9426         (__kernel_sinl): Force underflow exception for arguments with
9427         small absolute value.
9428         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
9429         (__kernel_sinf): Force underflow exception for arguments with
9430         small absolute value.
9431         * math/auto-libm-test-in: Add more tests of sin and sincos.
9432         * math/auto-libm-test-out: Regenerated.
9434         [BZ #18245]
9435         [BZ #18583]
9436         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
9437         (__kernel_standard_l): Use feholdexcept and fesetenv around
9438         conversion to double instead of special-casing overflow and
9439         underflow.
9440         * math/libm-test.inc (fmod_test_data): Add more tests.
9441         (remainder_test_data): Likewise.
9442         (sqrt_test_data): Likewise.
9444 2015-06-23  Torvald Riegel  <triegel@redhat.com>
9446         [BZ #17403]
9447         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
9448         atomic_read_barrier, atomic_write_barrier): Define.
9449         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
9450         atomic_read_barrier, atomic_write_barrier): Define.
9452 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9454         * math/Makefile [$(PERL) != no]
9455         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
9456         dependency on libm-test.stmp below the inclusion of Rules.
9458 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
9460         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9461         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
9462         and included header.
9463         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
9464         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
9465         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
9466         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
9467         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
9468         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
9469         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
9470         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
9471         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
9472         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
9473         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
9474         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
9475         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
9476         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
9477         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
9478         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
9479         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
9480         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
9481         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
9483 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9485         [BZ #18371]
9486         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
9487         intermediate but not final result might underflow.
9488         * math/s_csqrtf.c (__csqrtf): Likewise.
9489         * math/s_csqrtl.c (__csqrtl): Likewise.
9490         * math/auto-libm-test-in: Add more tests of csqrt.
9491         * math/auto-libm-test-out: Regenerated.
9492         * sysdeps/i386/fpu/libm-test-ulps: Update.
9494         [BZ #18219]
9495         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
9496         threshold on absolute value of exponent for which scaling is used.
9497         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9498         * math/auto-libm-test-in: Add more tests of exp2.
9499         * math/auto-libm-test-out: Regenerated.
9501 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
9503         [BZ #17977]
9504         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
9505         when initializing interface list, based on the bug analysis
9506         and the patch proposed by Eric Newton.
9507         * resolv/tst-res_hconf_reorder.c: New test.
9508         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
9509         tst-res_hconf_reorder.
9510         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
9511         and $(shared-thread-library).
9512         (tst-res_hconf_reorder-ENV): New variable.
9514         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
9515         in comment.
9517 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
9519         [BZ #16353]
9520         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
9521         (__expm1): Force underflow exception for arguments with small
9522         absolute value.
9523         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
9524         (__expm1f): Force underflow exception for arguments with small
9525         absolute value.
9526         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
9527         (__expm1): Force underflow exception for arguments with small
9528         absolute value.
9529         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
9530         (__expm1f): Force underflow exception for arguments with small
9531         absolute value.
9532         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9533         Check for small arguments before calling __expm1.
9534         * math/auto-libm-test-in: Do not mark underflow exceptions as
9535         possibly missing for bug 16353.
9536         * math/auto-libm-test-out: Regenerated.
9538 2015-06-22  Andreas Schwab  <schwab@suse.de>
9540         [BZ #18513]
9541         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
9542         PTR queries.
9544 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
9546         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
9548         * string/strcoll_l.c: Remove unused struct element idxnow.
9550 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
9552         [BZ #18569]
9553         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
9554         underflow and return argument in case of subnormal argument.
9555         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9556         Likewise.
9557         * math/auto-libm-test-in: Add more tests of expm1.
9558         * math/auto-libm-test-out: Regenerated.
9560         [BZ #16361]
9561         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
9562         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
9563         tiny results.
9564         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
9565         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
9566         tiny results.
9567         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
9568         mark underflow exceptions as possibly missing for bug 16361.
9569         * math/auto-libm-test-out: Regenerated.
9571 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
9573         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
9574         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
9575         Remove variable.
9576         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9577         (test-xfail-XOPEN2K8/utmpx.h/conform).
9579         * conform/conformtest.pl ($xerrors): New variable.
9580         (note_error): New function.
9581         (compiletest): New argument $xfail.  Use not_error.
9582         (runtest): Likewise.
9583         (top level): Handle xfail- lines.  Update calls to compiletest and
9584         runtest.  Handle xfail- and optional- in headers listed with
9585         allow-header.
9586         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
9587         (O_EXEC): Likewise.
9588         (O_SEARCH): Likewise.
9589         * conform/data/stropts.h-data (ioctl): Likewise.
9590         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
9591         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
9592         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
9593         (msghdr.msg_controllen): Likewise.
9594         (cmsghdr.cmsg_len): Likewise.
9595         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
9596         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
9597         variable.
9598         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9599         (test-xfail-XPG4/stropts.h/conform): Likewise.
9600         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9601         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9602         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9603         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9604         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9605         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9606         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9607         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9608         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9609         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9610         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9611         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9612         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9613         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9614         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9615         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9616         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9617         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9618         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9620 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9622         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
9623         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
9624         definitions for proper unfolding of __MATHDECL_VEC.
9626 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9628         * benchtests/bench-strcoll.c:
9629         Include string.h.
9630         (main): Remove unused variable res.
9632 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9634         * timezone/Makefile (%/UTC %/Universal):
9635         Generate test-result files for UTC and Universal.
9637 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9639         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9641 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
9643         [BZ #16350]
9644         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
9645         for arguments with small absolute value.
9646         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
9647         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
9648         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
9649         (__asinh): Force underflow exception for arguments with small
9650         absolute value.
9651         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
9652         (__asinhf): Force underflow exception for arguments with small
9653         absolute value.
9654         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
9655         (__asinhl): Force underflow exception for arguments with small
9656         absolute value.
9657         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
9658         (__asinhl): Force underflow exception for arguments with small
9659         absolute value.
9660         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
9661         (__asinhl): Force underflow exception for arguments with small
9662         absolute value.
9663         * math/auto-libm-test-in: Do not mark underflow exceptions as
9664         possibly missing for bug 16350.
9665         * math/auto-libm-test-out: Regenerated.
9667         * include/bits/ipc.h: Remove file.
9668         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
9669         variable.
9670         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9671         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9672         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9673         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9674         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9675         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9676         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9677         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9678         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9680         * math/auto-libm-test-in: Remove spurious underflow allowance for
9681         tests of cexp.
9682         * math/auto-libm-test-out: Regenerated.
9684         [BZ #18558]
9685         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
9686         unconditional definition.
9687         (MCAST_BLOCK_SOURCE): Likewise.
9688         (MCAST_UNBLOCK_SOURCE): Likewise.
9689         (MCAST_LEAVE_GROUP): Likewise.
9690         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9691         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9692         (MCAST_MSFILTER): Likewise.
9693         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
9694         Remove variable.
9695         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9696         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9697         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9698         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9699         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9701 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
9703         * NEWS: Mention addition of x86_64 vector sincosf.
9704         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
9705         * math/test-float-vlen4.h: Likewise.
9706         * math/test-float-vlen8.h: Likewise.
9707         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9708         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
9709         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9710         * sysdeps/x86_64/fpu/Versions: New versions added.
9711         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9712         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9713         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9714         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
9715         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
9716         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
9717         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
9718         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
9719         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
9720         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
9721         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
9722         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
9723         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
9724         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
9725         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
9726         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
9727         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
9728         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9729         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9730         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9731         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9732         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9733         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9734         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9736         * NEWS: Mention addition of x86_64 vector sincos.
9737         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
9738         * math/math.h (__MATHDECL_VEC): New macro.
9739         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
9740         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
9741         declaration under condition.
9742         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
9743         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
9744         TEST_VEC_LOOP change.
9745         * math/test-double-vlen4.h: Likewise.
9746         * math/test-double-vlen8.h: Likewise.
9747         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
9748         * math/test-float-vlen4.h: Likewise.
9749         * math/test-float-vlen8.h: Likewise.
9750         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9751         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
9752         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9753         * sysdeps/x86_64/fpu/Versions: New versions added.
9754         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9755         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9756         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9757         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
9758         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
9759         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
9760         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
9761         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
9762         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
9763         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
9764         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
9765         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
9766         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
9767         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
9768         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
9769         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
9770         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
9771         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9772         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9773         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9774         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9775         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9776         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9777         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9779         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9780         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9781         redirections for powf.
9782         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9783         * sysdeps/x86_64/fpu/Versions: New versions added.
9784         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9785         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9786         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9787         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
9788         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
9789         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
9790         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
9791         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
9792         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
9793         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
9794         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
9795         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
9796         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
9797         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
9798         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
9799         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
9800         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
9801         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9802         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9803         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9804         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9805         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9806         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9807         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9808         * math/test-float-vlen16.h: Fixed 2 argument macro.
9809         * math/test-float-vlen4.h: Likewise.
9810         * math/test-float-vlen8.h: Likewise.
9811         * NEWS: Mention addition of x86_64 vector powf.
9813 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
9815         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9816         and redefine.
9817         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9818         and redefine.
9819         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
9820         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9821         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9823         [BZ #18553]
9824         * resource/getpriority.c (getpriority): Rename to __getpriority
9825         and define as weak alias of __getpriority.
9826         * resource/setpriority.c (setpriority): Rename to __setpriority
9827         and define as weak alias of __setpriority.
9828         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
9829         __getpriority and define as weak alias of __getpriority.
9830         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
9831         __setpriority and define as weak alias of __setpriority.
9832         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
9833         strong name.
9834         (setpriority): Use __setpriority as strong name.
9835         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
9836         __getpriority and define as weak alias of __getpriority.
9837         * include/sys/resource.h (__getpriority): Declare.  Use
9838         libc_hidden_proto.
9839         (__setpriority): Likewise.
9840         (getpriority): Don't use libc_hidden_proto.
9841         (setpriority): Likewise.
9842         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
9843         getpriority.  Call __setpriority instead of setpriority.
9844         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
9845         Remove variable.
9847         [BZ #18547]
9848         * misc/getttyent.c (getttynam): Rename to __getttynam and define
9849         as weak alias of __getttynam.  Use prototype function definition.
9850         Call __setttyent, __getttyent and __endttyent instead of
9851         setttyent, getttyent and endttyent.
9852         (getttyent): Rename to __getttyent and define as weak alias of
9853         __getttyent.  Call __setttyent instead of setttyent.  Call
9854         __fgets_unlocked instead of fgets_unlocked.
9855         (setttyent): Rename to __setttyent and define as weak alias of
9856         __setttyent.
9857         (endttyent): Rename to __endttyent and define as weak alias of
9858         __endttyent.
9859         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
9860         (__setttyent): Likewise.
9861         (__endttyent): Likewise.
9862         (getttyent): Don't use libc_hidden_proto.
9863         (setttyent): Likewise.
9864         (endttyent): Likewise.
9865         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
9866         __endttyent instead of setttyent, getttyent and endttyent.
9867         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
9868         Remove variable.
9870         [BZ #18546]
9871         * socket/recv.c (__recv): Use libc_hidden_def.
9872         * socket/socket.c (__socket): Likewise.
9873         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9874         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9875         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
9876         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
9877         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
9878         libc_hidden_def.
9879         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
9880         libc_hidden_weak.
9881         * include/sys/socket.h (__socket): Do not use attribute_hidden.
9882         Use libc_hidden_proto.
9883         (__recv): Likewise.
9884         * socket/Versions (libc): Export __recv and __socket at version
9885         GLIBC_PRIVATE.
9886         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
9887         instead of recv.
9888         (init_mq_netlink): Call __socket instead of socket.
9889         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
9890         Remove variable.
9892         [BZ #18545]
9893         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
9894         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
9895         hidden_weak.
9896         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
9897         define as alias of __mq_timedsend.  Use hidden_weak.
9898         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
9899         __mq_timedsend as strong name.
9900         (mq_timedreceive): Use __mq_timedreceive as strong name.
9901         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
9902         (__mq_timedreceive): Likewise.
9903         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
9904         __mq_timedreceive instead of mq_timedreceive.
9905         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
9906         instead of mq_timedsend.
9907         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
9908         Remove variable.
9910         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
9911         hidden_def and hidden_weak instead of libc_hidden_def and
9912         libc_hidden_weak.
9913         (top level): Refer to hidden_def in comment.
9914         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
9915         macro.  Use it instead of libc_hidden_def.
9916         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
9917         specify __GI_* name explicitly.
9918         (mq_timedreceive): Likewise.
9919         (mq_setattr): Likewise.
9921         [BZ #18544]
9922         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
9923         __pthread_barrier_init and define as weak alias of
9924         __pthread_barrier_init.
9925         * sysdeps/sparc/nptl/pthread_barrier_init.c
9926         (pthread_barrier_init): Likewise.
9927         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
9928         __pthread_barrier_wait and define as weak alias of
9929         __pthread_barrier_wait.
9930         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9931         (pthread_barrier_wait): Likewise.
9932         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9933         (pthread_barrier_wait): Likewise.
9934         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
9935         (pthread_barrier_wait): Likewise.
9936         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
9937         (pthread_barrier_wait): Likewise.
9938         * nptl/Versions (libpthread): Export __pthread_barrier_init and
9939         __pthread_barrier_wait at version GLIBC_PRIVATE.
9940         * include/pthread.h (__pthread_barrier_init): Declare.
9941         (__pthread_barrier_wait): Likewise.
9942         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
9943         Call __pthread_barrier_wait instead of pthread_barrier_wait.
9944         (helper_thread): Likewise.
9945         (init_mq_netlink): Call __pthread_barrier_init instead of
9946         pthread_barrier_init.
9948         [BZ #18542]
9949         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
9950         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
9951         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
9952         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
9953         vswscanf.
9954         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
9955         Remove variable.
9957         [BZ #18540]
9958         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
9959         strong alias of _IO_fflush.  Use libc_hidden_def.
9960         * libio/iofflush_u.c (fflush_unlocked): Rename to
9961         __fflush_unlocked and define as weak alias of __fflush_unlocked.
9962         Use libc_hidden_weak.
9963         * include/stdio.h (__fflush_unlocked): Declare.  Use
9964         libc_hidden_proto.
9965         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
9966         fflush_unlocked.
9967         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
9968         Remove variable.
9970         [BZ #18539]
9971         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
9972         define as weak alias of __addseverity.
9973         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
9974         Remove variable.
9975         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9976         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9977         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9979         [BZ #18536]
9980         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
9981         (__tfind): Likewise.
9982         (__tdelete): Likewise.
9983         (__twalk): Likewise.
9984         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
9985         __twalk to GLIBC_PRIVATE.
9986         * include/search.h (__tsearch): Use libc_hidden_proto.
9987         (__tfind): Likewise.
9988         (__tdelete): Likewise.
9989         (__twalk): Likewise.
9990         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
9991         Call __tdelete instead of tdelete.
9992         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
9993         tfind.  Call __tsearch instead of tsearch.
9994         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
9995         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
9996         Remove variable.
9997         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9999         [BZ #18534]
10000         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
10001         (dprintf): Define as a weak alias of __dprintf, not a strong
10002         alias.
10003         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
10004         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
10005         dprintf.
10006         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
10007         Remove variable.
10008         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10009         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10011         [BZ #18533]
10012         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
10013         not a strong alias.
10014         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
10015         Remove variable.
10017         [BZ #18532]
10018         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
10019         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
10020         (in6addr_loopback): Rename to __in6addr_loopback and define as
10021         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
10022         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
10023         libc_hidden_proto.
10024         (__in6addr_any): Likewise.
10025         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
10026         in6addr_any.
10027         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
10028         variable.
10029         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10031 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
10033         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
10034         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
10035         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10036         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10037         redirections for pow.
10038         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10039         * sysdeps/x86_64/fpu/Versions: New versions added.
10040         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10041         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10042         build of SSE, AVX2 and AVX512 IFUNC versions.
10043         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
10044         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
10045         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
10046         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
10047         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
10048         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
10049         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
10050         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
10051         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
10052         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
10053         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
10054         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
10055         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
10056         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
10057         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10058         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10059         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10060         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10061         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10062         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10063         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10064         * NEWS: Mention addition of x86_64 vector pow.
10066         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10067         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10068         redirections for expf.
10069         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10070         * sysdeps/x86_64/fpu/Versions: New versions added.
10071         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10072         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10073         build of SSE, AVX2 and AVX512 IFUNC versions.
10074         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
10075         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
10076         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
10077         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
10078         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
10079         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
10080         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
10081         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
10082         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
10083         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
10084         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
10085         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
10086         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
10087         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10088         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10089         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10090         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10091         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10092         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10093         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10094         * NEWS: Mention addition of x86_64 vector expf.
10096         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
10097         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
10098         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10099         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10100         redirections for exp.
10101         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10102         * sysdeps/x86_64/fpu/Versions: New versions added.
10103         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10104         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10105         build of SSE, AVX2 and AVX512 IFUNC versions.
10106         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
10107         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
10108         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
10109         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
10110         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
10111         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
10112         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
10113         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
10114         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
10115         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
10116         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
10117         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
10118         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
10119         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10120         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10121         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10122         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10123         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10124         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10125         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10126         * NEWS: Mention addition of x86_64 vector exp.
10128         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10129         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10130         redirections for logf.
10131         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10132         * sysdeps/x86_64/fpu/Versions: New versions added.
10133         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10134         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10135         build of SSE, AVX2 and AVX512 IFUNC versions.
10136         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
10137         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
10138         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
10139         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
10140         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
10141         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
10142         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
10143         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
10144         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
10145         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
10146         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
10147         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
10148         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
10149         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10150         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10151         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10152         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10153         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10154         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10155         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10156         * NEWS: Mention addition of x86_64 vector logf.
10158         * bits/libm-simd-decl-stubs.h: Added stubs for log.
10159         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
10160         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10161         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10162         redirections for log.
10163         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10164         * sysdeps/x86_64/fpu/Versions: New versions added.
10165         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10166         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10167         build of SSE, AVX2 and AVX512 IFUNC versions.
10168         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
10169         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
10170         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
10171         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
10172         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
10173         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
10174         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
10175         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
10176         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
10177         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
10178         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
10179         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
10180         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
10181         test.
10182         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10183         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10184         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10185         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10186         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10187         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10188         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10189         * NEWS: Mention addition of x86_64 vector log.
10191 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10193         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
10194         cfi_adjust_cfa_offset argument.
10195         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
10196         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
10198         [BZ #18034]
10199         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
10200         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
10201         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
10202         ordering using ldar.
10203         (_dl_tlsdesc_dynamic): Likewise.
10204         (_dl_tlsdesc_return_lazy): Likewise.
10205         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
10206         relaxed atomics instead of volatile and synchronize with release store.
10207         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
10208         volatile.
10209         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10211 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
10213         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10214         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
10215         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10216         * sysdeps/x86_64/fpu/Versions: New versions added.
10217         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10218         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10219         build of SSE, AVX2 and AVX512 IFUNC versions.
10220         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
10221         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
10222         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
10223         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
10224         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
10225         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
10226         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
10227         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
10228         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
10229         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
10230         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
10231         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
10232         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
10233         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10234         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10235         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10236         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10237         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10238         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10239         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10240         * NEWS: Mention addition of x86_64 vector sinf.
10242 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
10244         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
10245         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
10246         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
10247         Remove variable.
10248         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10249         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10251 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10253         [BZ #18530]
10254         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
10255         strong alias of _IO_fputs.  Use libc_hidden_def.
10256         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
10257         and define as weak alias of __fputs_unlocked.  Use
10258         libc_hidden_weak.
10259         * include/stdio.h (__fputs_unlocked): Declare.  Use
10260         libc_hidden_proto.
10261         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
10262         fputs_unlocked.
10264         [BZ #18529]
10265         * resolv/netdb.h [__USE_POSIX]: Change condition to
10266         [__USE_XOPEN2K].
10267         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
10268         not expect.
10269         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
10270         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
10271         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
10272         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
10273         [XPG4 || UNIX98] (AI_ALL): Likewise.
10274         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
10275         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
10276         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
10277         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
10278         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
10279         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
10280         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
10281         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
10282         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
10283         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
10284         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
10285         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
10286         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
10287         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
10288         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
10289         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10290         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10291         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
10292         [XPG4 || UNIX98] (gai_strerror): Likewise.
10293         [XPG4 || UNIX98] (getaddrinfo): Likewise.
10294         [XPG4 || UNIX98] (getnameinfo): Likewise.
10296         [BZ #18528]
10297         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
10298         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
10299         __USE_XOPEN2K8].
10300         (getgrent): Likewise.
10301         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
10302         expect.
10303         [XPG3 || POSIX2008] (endgrent): Likewise.
10304         [XPG3] (setgrent): Likewise.
10305         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
10306         variable.
10307         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10309         [BZ #18527]
10310         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
10311         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
10312         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
10313         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
10314         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
10315         * include/unistd.h (__getlogin_r): Declare.  Use
10316         libc_hidden_proto.
10317         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
10318         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
10319         variable.
10320         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10321         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10322         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10324 2015-06-12  Martin Sebor  <msebor@redhat.com>
10326         [BZ #18512]
10327         * Makerules (check-install-supported): New target.
10328         (install): Add check-install-supported as a dependency.
10329         * manual/install.texi (Installing the C Library): Document
10330         that overriding prefix and exec_prefix is not supported.
10331         Mention DESTDIR.
10332         * INSTALL: Regenerate from the above.
10334 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10336         [BZ #18519]
10337         * posix/Versions (libc): Export __libc_pread at version
10338         GLIBC_PRIVATE.
10339         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
10340         instead of pread.
10341         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
10342         variable.
10344         [BZ #18522]
10345         * misc/efgcvt_r.c
10346         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
10347         (cvt_symbol): Use weak_alias instead of strong_alias.
10348         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
10349         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
10350         Remove variable.
10351         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10352         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10354         [BZ #18520]
10355         * inet/herrno.c (h_errno): Rename to __h_errno.
10356         (__libc_h_errno): Define as alias of __h_errno not h_errno.
10357         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
10358         to __h_errno instead of h_errno.
10359         * nptl/herrno.c (h_errno): Rename to __h_errno.
10360         (__h_errno_location): Refer to __h_errno not h_errno.
10361         * resolv/Versions (h_errno): Rename to __h_errno.
10362         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
10363         Remove variable.
10364         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10366 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
10368         * configure.ac: More strict check for AVX512 assembler support.
10369         * configure: Regenerated.
10371         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
10372         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
10373         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10374         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
10375         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10376         * sysdeps/x86_64/fpu/Versions: New versions added.
10377         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10378         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10379         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10380         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
10381         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
10382         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
10383         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
10384         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
10385         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
10386         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
10387         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
10388         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
10389         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
10390         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
10391         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
10392         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
10393         test.
10394         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10395         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10396         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10397         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10398         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10399         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10400         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10401         * NEWS: Mention addition of x86_64 vector sin.
10403 2015-06-11  Florian Weimer  <fweimer@redhat.com>
10405         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
10406         comment.
10408 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10410         [BZ #18479]
10411         * nptl/pt-interp.c: New file.
10412         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
10413         Add pt-interp.
10414         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
10415         $(common-objpfx)runtime-linker.h.
10417 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
10419         * Makeconfig (+interp): Remove unused variable.
10420         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
10421         only.  Depend on $(common-objpfx)runtime-linker.h instead of
10422         $(elf-objpfx)runtime-linker.h.
10423         ($(elf-objpfx)runtime-linker.h): Rename to
10424         $(common-objpfx)runtime-linker.h and move ...
10425         * Makerules [$(build-shared) = yes]: ... here.
10426         * elf/interp.c: Include <runtime-linker.h> instead of
10427         <elf/runtime-linker.h>.
10429 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10431         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
10432         (__gettimeofday_syscall): Remove vsyscall fallback.
10433         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
10434         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
10435         Add syscall fallback function.
10436         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
10437         if vDSO is not present.
10438         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
10439         fallback function.
10440         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
10441         present.
10442         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
10443         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10445 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
10447         [BZ #18497]
10448         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
10449         of wcscmp.
10450         (wcscmp): Define as weak alias of WCSCMP.
10451         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
10452         wcscoll.
10453         (USE_HIDDEN_DEF): Define.
10454         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
10455         __wcscoll.  Don't use libc_hidden_weak.
10456         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
10457         wcscmp.
10458         * sysdeps/i386/i686/multiarch/wcscmp-c.c
10459         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
10460         __GI_wcscmp.
10461         (weak_alias): Undefine and redefine.
10462         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
10463         __wcscmp and define as weak alias of __wcscmp.
10464         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
10465         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
10466         (__wcscoll): Likewise.
10467         (wcscmp): Don't use libc_hidden_proto.
10468         (wcscoll): Likewise.
10469         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
10470         wcscoll.
10471         * posix/regexec.c (check_node_accept_bytes): Likewise.
10472         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
10473         variable.
10474         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10475         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10477         [BZ #18507]
10478         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
10479         __fstatvfs and define as weak alias of __fstatvfs.  Use
10480         libc_hidden_weak.
10481         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
10482         and define as weak alias of __statvfs.  Use libc_hidden_weak.
10483         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
10484         Define as alias of __fstatvfs, not fstatvfs.
10485         (fstatvfs64): Likewise.
10486         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
10487         Define as alias of __statvfs, not statvfs.
10488         (statvfs64): Likewise.
10489         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
10490         Remove variable.
10492 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10495         (HAVE_GETCPU_VSYSCALL): Define.
10496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10497         (HAVE_GETCPU_VSYSCALL): Likewise.
10498         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
10499         * sysdeps/unix/sysv/linux/sched_getcpu.c
10500         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
10501         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
10502         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
10503         prototype.
10504         * sysdeps/unix/sysv/linux/x86_64/init-first.c
10505         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
10506         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
10507         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
10508         Define.
10509         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
10510         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10511         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
10512         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10514 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
10516         * sysdeps/x86_64/fpu/Makefile: New file.
10517         * sysdeps/x86_64/fpu/Versions: New file.
10518         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
10519         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
10520         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
10521         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
10522         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
10523         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
10524         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
10525         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
10526         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
10527         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
10528         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
10529         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
10530         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
10531         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10532         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10533         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
10534         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
10535         * sysdeps/x86_64/configure.ac: Options for libmvec build.
10536         * sysdeps/x86_64/configure: Regenerated.
10537         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
10538         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
10539         * manual/install.texi (Configuring and compiling): Document
10540         --disable-mathvec.
10541         * INSTALL: Regenerated.
10542         * NEWS: Mention addition of libmvec and x86_64 vector cos.
10544         * math/Makefile: Added rules for vector tests.
10545         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
10546         declaration under condition.
10547         * math/test-double-vlen2.h: New file.
10548         * math/test-double-vlen4.h: New file.
10549         * math/test-double-vlen8.h: New file.
10550         * math/test-vec-loop.h: Added initialization macro.
10551         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
10552         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
10553         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
10554         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
10555         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
10556         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
10557         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
10558         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
10559         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
10560         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
10561         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
10563         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10564         * sysdeps/x86_64/fpu/Versions: New versions added.
10565         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
10566         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
10567         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
10568         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
10569         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
10570         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
10571         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
10572         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
10573         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
10574         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
10575         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
10576         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
10577         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
10578         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10579         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10580         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10581         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
10582         * NEWS: Mention addition of x86_64 vector cosf.
10584         * math/Makefile: Added CFLAGS for new tests.
10585         * math/test-float-vlen16.h: New file.
10586         * math/test-float-vlen4.h: New file.
10587         * math/test-float-vlen8.h: New file.
10588         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
10589         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
10590         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10591         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
10592         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
10593         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
10594         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
10595         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
10596         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
10597         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
10598         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
10600 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
10602         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
10603         * locale/programs/ld-ctype.c: Likewise.
10605 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
10607         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
10608         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
10609         bit_ZMM16_31_state): New macro.
10610         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10611         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
10613 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
10615         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
10617 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
10619         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
10621 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
10623         [BZ #18498]
10624         * libio/memstream.c (open_memstream): Rename to __open_memstream
10625         and define as weak alias of __open_memstream.
10626         * include/stdio.h (__open_memstream): Declare.  Use
10627         libc_hidden_proto.
10628         (open_memstream): Don't use libc_hidden_proto.
10629         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
10630         open_memstream.
10631         * posix/getopt.c (_getopt_internal_r): Likewise.
10632         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
10633         variable.
10634         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10635         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10636         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10638         [BZ #18496]
10639         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
10640         instead of wcrtomb.
10642         [BZ #18483]
10643         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
10644         [__USE_XOPEN2K8].  Remove redundant #endif.
10645         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
10646         Remove redundant #if.
10647         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
10648         Remove variable.
10649         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10650         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10652         [BZ #18495]
10653         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
10654         (__iswlower): Likewise.
10655         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
10656         (__iswlower): Likewise.
10657         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
10658         instead of towlower.
10659         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
10660         instead of iswlower.  Call __towupper instead of towupper.
10661         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
10662         instead of iswalnum.
10664 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10666         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
10667         errors to stderr.
10669 2015-06-05  Florian Weimer  <fweimer@redhat.com>
10671         [BZ #15661]
10672         [BZ #17322]
10673         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
10674         Check for overflow properly.  Check for O_APPEND.  Ignore large
10675         file system block sizes.  Add comments about problems.
10676         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
10677         * manual/filesys.texi (Storage Allocation): New node.
10679 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10681         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
10682         cancellable syscalls.
10683         (SYS_ify): Add guard to no redefine it.
10684         (INLINE_SYSCALL): Likewise.
10685         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
10686         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
10687         SYSCALL_CANCEL instead.
10688         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
10689         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10690         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10691         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10692         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10693         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
10694         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
10695         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
10696         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
10697         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
10698         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
10699         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
10700         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
10701         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
10702         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
10703         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10704         Likewise.
10705         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10706         (__libc_pread64): Likewise.
10707         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
10708         (__libc_preadv): Likewise.
10709         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
10710         (__libc_readv64): Likewise.
10711         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10712         (__libc_pwrite): Likewise.
10713         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10714         (__libc_pwrite64): Likewise.
10715         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
10716         (__libc_pwritev): Likewise.
10717         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
10718         (__libc_pwritev64): Likewise.
10719         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
10720         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10721         (sync_file_range): Likewise.
10722         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
10723         Likewise.
10724         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
10725         Likewise.
10726         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10727         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10728         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10729         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10730         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10731         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10732         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
10733         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
10734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10735         Likewise.
10736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10737         (__libc_read64): Likewise.
10738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
10739         Likewise.
10740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
10741         Likewise.
10742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
10743         Likewise.
10744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
10745         Likewise.
10746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10747         (__libc_pread64): Likewise.
10748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
10749         Likewise.
10750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10751         (__libc_pwrite64): Likewise.
10752         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
10753         (sync_file_range): Likewise.
10754         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
10755         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10756         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10757         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
10758         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
10759         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10760         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10761         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
10762         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
10763         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10764         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10765         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10766         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10767         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10768         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
10769         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10770         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10771         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10772         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10773         Likewise.
10774         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
10775         Likewise.
10776         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
10777         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
10778         Likewise.
10779         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
10780         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
10781         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
10782         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
10783         Likewise.
10784         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
10785         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
10786         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
10787         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
10788         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
10790 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
10792         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
10793         Include dl-vdso.
10794         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
10795         Use VDSO routines for gettimeofday, clock_gettime if
10796         available.
10797         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
10798         Declare VDSO symbols.
10799         * sysdeps/unix/sysv/linux/arm/sysdep.h:
10800         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
10801         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
10802         * sysdeps/unix/sysv/linux/arm/Versions: Add
10803         __vdso_clock_gettime.
10805 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10807         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
10808         be an inline implementation regardless of library is built within.
10809         (open_not_cancel_2): Likewise.
10810         (__read_nocancel): Likewise.
10811         (__write_nocancel): Likewise.
10812         (openat_not_cancel): Likewise.
10813         (openat_not_cancel_3): Likewise.
10814         (openat64_not_cancel): Likewise.
10815         (openat64_not_cancel_3): Likewise.
10816         (__close_nocancel): Likewise.
10817         (pause_not_cancel): Likewise.
10818         (nanosleep_not_cancel): Likewise.
10819         (sigsuspend_not_cancel): Likewise.
10821 2015-06-04  Torvald Riegel  <triegel@redhat.com>
10823         [BZ #14958]
10824         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
10825         wake-up.
10826         (__pthread_rwlock_rdlock_slow): Likewise.
10827         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10828         Likewise.
10829         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
10830         Likewise.
10831         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
10832         * nptl/tst-rwlock16.c: New file.
10833         * nptl/Makefile (tests): Add new test.
10835 2015-06-04  Torvald Riegel  <triegel@redhat.com>
10837         [BZ #18324]
10838         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
10839         missing wake-up of readers.
10840         * nptl/tst-rwlock15.c: New file.
10841         * nptl/Makefile (tests): Add new test.
10843 2015-06-03  Roland McGrath  <roland@hack.frob.com>
10845         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
10846         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
10847         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
10848         and __nacl_supply_interface_rtld.
10849         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
10850         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
10851         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
10852         Add __nacl_supply_interface_rtld.
10853         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
10855 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10857         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
10858         isfinite.
10859         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10860         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
10862 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10864         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
10865         __signbit* with standard C99 macros.
10866         * math/e_exp10l.c: Likewise.
10867         * math/e_exp2l.c: Likewise.
10868         * math/e_scalb.c: Likewise.
10869         * math/e_scalbf.c: Likewise.
10870         * math/e_scalbl.c: Likewise.
10871         * math/s_ldexp.c: Likewise.
10872         * math/s_ldexpf.c: Likewise.
10873         * math/s_ldexpl.c: Likewise.
10874         * math/w_atan2.c: Likewise.
10875         * math/w_atan2f.c: Likewise.
10876         * math/w_atan2l.c: Likewise.
10877         * math/w_cosh.c: Likewise.
10878         * math/w_coshf.c: Likewise.
10879         * math/w_coshl.c: Likewise.
10880         * math/w_exp10.c: Likewise.
10881         * math/w_exp10f.c: Likewise.
10882         * math/w_exp10l.c: Likewise.
10883         * math/w_exp2.c: Likewise.
10884         * math/w_exp2f.c: Likewise.
10885         * math/w_exp2l.c: Likewise.
10886         * math/w_fmod.c: Likewise.
10887         * math/w_fmodf.c: Likewise.
10888         * math/w_fmodl.c: Likewise.
10889         * math/w_hypot.c: Likewise.
10890         * math/w_hypotf.c: Likewise.
10891         * math/w_hypotl.c: Likewise.
10892         * math/w_jnl.c: Likewise.
10893         * math/w_lgamma.c: Likewise.
10894         * math/w_lgamma_r.c: Likewise.
10895         * math/w_lgammaf.c: Likewise.
10896         * math/w_lgammaf_r.c: Likewise.
10897         * math/w_lgammal.c: Likewise.
10898         * math/w_lgammal_r.c: Likewise.
10899         * math/w_pow.c: Likewise.
10900         * math/w_powf.c: Likewise.
10901         * math/w_powl.c: Likewise.
10902         * math/w_remainder.c: Likewise.
10903         * math/w_remainderf.c: Likewise.
10904         * math/w_remainderl.c: Likewise.
10905         * math/w_scalb.c: Likewise.
10906         * math/w_scalbf.c: Likewise.
10907         * math/w_scalbl.c: Likewise.
10908         * math/w_scalbln.c: Likewise.
10909         * math/w_scalblnf.c: Likewise.
10910         * math/w_scalblnl.c: Likewise.
10911         * math/w_sinh.c: Likewise.
10912         * math/w_sinhf.c: Likewise.
10913         * math/w_sinhl.c: Likewise.
10914         * math/w_tgamma.c: Likewise.
10915         * math/w_tgammaf.c: Likewise.
10916         * math/w_tgammal.c: Likewise.
10917         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10918         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
10919         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10920         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10921         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10922         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10923         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10924         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10925         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10926         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10927         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10928         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10929         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10930         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10931         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10932         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10933         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10934         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10935         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10936         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10937         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10938         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10939         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10940         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10941         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10942         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10943         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
10944         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10945         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10946         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10947         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
10948         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
10949         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
10950         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
10951         * stdio-common/printf_fp.c: Likewise.
10952         * stdio-common/printf_fphex.c: Likewise.
10953         * stdio-common/printf_size.c: Likewise.
10955 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
10957         [BZ #18470]
10958         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
10959         strnlen.
10960         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
10961         Remove variable.
10962         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10963         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10964         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10965         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10966         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10967         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10968         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10969         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10970         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10971         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10973         [BZ #18468]
10974         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
10975         weak alias of __wmemchr.  Use libc_hidden_weak.
10976         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
10977         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
10978         instead of wmemchr.
10980 2015-06-02  Roland McGrath  <roland@hack.frob.com>
10982         [BZ #18383]
10983         * elf/tst-tlsalign-extern.c: New file.
10984         * elf/tst-tlsalign-extern-static.c: New file.
10985         * elf/tst-tlsalign-vars.c: New file.
10986         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
10987         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
10988         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
10989         ($(objpfx)tst-tlsalign-extern-static): Likewise.
10990         (test-xfail-tst-tlsalign-extern-static): New variable.
10992 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
10994         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
10995         Use variable name _sc_err instead of err.
10996         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
10997         instead of ret.
10998         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
10999         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
11000         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
11001         (INLINE_SYSCALL): Likewise.
11003         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
11004         * include/string.h (__strnlen): Use libc_hidden_proto.
11005         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
11006         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
11007         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
11008         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
11009         (libc_hidden_def): Undefine and redefine.
11010         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
11011         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
11012         __GI_strnlen.
11013         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
11014         libc_hidden_def.
11015         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
11017         [BZ #18469]
11018         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
11019         weak alias of __towlower.  Use libc_hidden_weak.
11020         (towupper): Rename to __towupper and define as weak alias of
11021         __towupper.  Use libc_hidden_weak.
11022         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
11023         (__towupper): Likewise.
11024         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
11025         __towlower instead of towlower.
11027 2015-06-02  Roland McGrath  <roland@hack.frob.com>
11029         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
11030         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
11032 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11034         * sysdeps/aarch64/libm-test-ulps: Update.
11036 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11038         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
11039         Define.
11040         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11041         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11042         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11043         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11044         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
11045         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
11046         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
11048 2015-06-01  Martin Sebor  <msebor@redhat.com>
11050         [BZ #18116]
11051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11052         (__setcontext): Use extended four-operand version of mtsf whenever
11053         possible.
11054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11055         (__novec_swapcontext): Likewise.
11057 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11059         * benchtests/scripts/compare_bench.py: New file.
11060         * benchtests/scripts/import_bench.py (mean): New function.
11061         (split_list): Likewise.
11062         (do_for_all_timings): Likewise.
11063         (compress_timings): Likewise.
11065         * benchtests/scripts/import_bench.py: New file.
11066         * benchtests/scripts/validate_benchout.py: Import import_bench
11067         instead of jsonschema.
11068         (validate_bench): Remove function.
11069         (main): Use import_bench.
11071 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
11073         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
11074         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
11076 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11080 2015-05-28  Roland McGrath  <roland@hack.frob.com>
11082         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
11083         set THREAD_SELF->tid to a magic value and futex-wake it.
11084         Pass its address to the thread_exit system call.
11085         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
11086         bit is clear.
11087         * sysdeps/nacl/lowlevellock.h: New file.
11088         * sysdeps/nacl/lll_timedwait_tid.c: New file.
11090         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
11091         Add TIMEOUT to current time, don't subtract it.
11093 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
11095         [BZ #2981]
11096         [BZ #18422]
11097         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
11098         ($(objpfx)tst-audit2.out): Also depend on
11099         $(objpfx)tst-auditmod9b.so.
11100         * elf/tst-audit2.c: Include <dlfcn.h>.
11101         (calloc_called): New.
11102         (calloc): Allow to be called more than once.
11103         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
11105 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
11107         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
11108         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
11110 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
11112         * stdlib/monetary.h: Fix comment.
11114 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
11116         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
11117         Avoid using variables in #defines that might cause shadowing.
11118         (INTERNAL_VSYSCALL_CALL): Likewise.
11120 2015-05-26  Roland McGrath  <roland@hack.frob.com>
11122         * sysdeps/nacl/lll_timedlock_wait.c: New file.
11124         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
11125         * nptl/lll_timedlock_wait.c: ... to this new file.
11126         * nptl/Makefile (libpthread-routines): Add it.
11127         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
11128         * nptl/lll_timedwait_tid.c: ... to this new file.
11129         * nptl/Makefile (libpthread-routines): Add it.
11130         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
11131         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
11132         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
11133         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
11134         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
11135         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
11136         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
11137         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
11138         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
11139         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
11141 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11143         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
11144         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11145         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
11146         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
11147         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11148         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11149         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11150         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11151         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11152         * sysdeps/unix/sysv/linux/tile/sysdep.h
11153         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11154         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
11155         using vDSO syscall macro.
11157 2015-05-26  Andriy Rysin  <arysin@gmail.com>
11159         [BZ #17293]
11160         * uk_UA: Fix sorting order for Ukrainian locale
11162 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
11164         * stdlib/monetary.h: Fix comment.
11166 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11168         [BZ #18234]
11169         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
11170         st_mtim and st_ctim members.
11171         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
11172         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
11173         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
11174         (struct stat64): Likewise.
11175         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
11176         (struct stat64): Likewise.
11177         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
11178         (struct stat64): Likewise.
11180 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11182         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
11183         Define and include sysdep-vdso.h.
11184         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
11185         Likewise.
11186         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
11187         Likewise.
11188         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
11189         Define with VDSO_SYMBOL and use PTR_MANGLE.
11190         (__vdso_clock_gettime): Likewise.
11191         (__vdso_clock_getres): Likewise.
11192         (_libc_vdso_platform_setup): Likewise.
11193         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
11194         Likewise.
11195         (_libc_vdso_platform_setup): Likewise.
11196         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
11197         Likewise.
11198         (__vdso_clock_gettime): Likewise.
11199         (__vdso_clock_getres): Likewise.
11200         (__vdso_get_tbfreq): Likewise.
11201         (__vdso_getcpu): Likewise.
11202         (__vdso_time): Likewise.
11203         (__vdso_sigtramp_rt64): Likewise.
11204         (__vdso_signtramp32): Likewise.
11205         (__vdso_sigtramp_rt32): Likewise.
11206         (_libc_vdso_platform_setup): Likewise.
11207         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
11208         Likewise.
11209         (__vdso_clock_gettime): Likewise.
11210         (__vdso_clock_getres): Likewise.
11211         (_libc_vdso_platform_setup): Likewise.
11212         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
11213         Likewise.
11214         (__vdso_clock_gettime): Likewise.
11215         (_libc_vdso_platform_setup): Likewise.
11216         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
11217         Likewise.
11218         (__vdso_getcpu): Likewise.
11219         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
11220         Use VDSO_SYMBOL macro to define.
11221         (__vdso_clock_gettime): Likewise.
11222         (__vdso_clock_getres): Likewise.
11223         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
11224         Likewise.
11225         (__vdso_clock_gettime): Likewise.
11226         (__vdso_clock_getres): Likewise.
11227         (__vdso_get_tbfreq): Likewise.
11228         (__vdso_getcpu): Likewise.
11229         (__vdso_time): Likewise.
11230         (__vdso_sigtramp_rt64): Likewise.
11231         (__vdso_signtramp32): Likewise.
11232         (__vdso_sigtramp_rt32): Likewise.
11233         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
11234         Likewise.
11235         (__vdso_clock_gettime): Likewise.
11236         (__vdso_clock_getres): Likewise.
11237         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
11238         Likewise.
11239         (__vdso_clock_gettime): Likewise.
11240         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
11241         Likewise.
11242         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
11243         macro.
11244         (INTERNAL_VSYSCALL): Likewise.
11245         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
11246         Remove macro.
11247         (INTERNAL_VSYSCALL): Likewise.
11248         (INTERNAL_VSYSCALL_NCS): Likewise.
11249         (INTERNAL_VSYSCALL_CALL): New macro.
11250         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11251         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
11252         Likewise.
11253         (INTERNAL_VSYSCALL): Likewise.
11254         (INTERNAL_VSYSCALL_NCS): Likewise.
11255         (INTERNAL_VSYSCALL_CALL): New macro.
11256         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11258         (INLINE_VSYSCALL): Remove macro.
11259         (INTERNAL_VSYSCALL): Remove macro.
11260         (INTERNAL_VSYSCALL_NCS): Remove macro.
11261         (INTERNAL_VSYSCALL_CALL): New macro.
11262         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
11263         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
11264         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11265         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
11266         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11268         (INLINE_VSYSCALL): Remove macro.
11269         (INTERNAL_VSYSCALL): Likewise.
11270         (INTERNAL_VSYSCALL_NCS): Likewise.
11271         (INTERNAL_VSYSCALL_CALL): New macro.
11272         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
11273         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
11274         PTR_DEMANGLE on vDSO pointer.
11275         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11276         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
11277         macro.
11278         (INTERNAL_SYSCALL): Likewise.
11279         (INTERNAL_VSYSCALL_NCS): Remove macro.
11280         (INTERNAL_VSYSCALL_CALL): New macro.
11281         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
11282         Remove macro.
11283         (INTERNAL_VSYSCALL): Likewise.
11284         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
11285         sysdep-vdso.h instead of libc-vdso.h.
11286         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
11287         definition.
11288         (INLINE_VSYSCALL): Likewise.
11289         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
11290         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
11291         definition.
11292         (INLINE_VSYSCALL): Likewise.
11293         (INTERNAL_VSYSCALL): Likewise.
11294         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11295         * sysdeps/unix/sysv/linux/timespec_get.c
11296         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11297         (timespec_get): Use ANSI prototype.
11298         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
11299         and definition for Linux.
11301 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11303         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
11304         * include/libc-symbols.h: libmvec_hidden_* macro series added.
11306 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11308         [BZ #2981]
11309         [BZ #18410]
11310         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
11311         for missing DT_PLTRELSZ.
11313 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
11315         Remove obsolete aliases that broke 'locale -a'
11316         [BZ #18412]
11317         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
11318         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
11319         breaking some applications that use 'locale -a' output.
11320         Change the encoding of this file from Latin-1 to ASCII to avoid
11321         other potential problems with people grepping this file.
11323 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11325         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
11326         -fasynchronous-unwind-tables.
11327         (CFLAGS-sendto.c): Likewise.
11328         (CFLAGS-sendmsg.c): Likewise.
11329         (CFLAGS-connect.c): Likewise.
11330         (CFLAGS-recvmsg.c): Likewise.
11331         (CFLAGS-recvfrom.c): Likewise.
11332         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
11333         (SOCKETCALL): New macro: non-cancellable socketcall.
11334         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
11335         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
11336         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
11337         * sysdeps/unix/sysv/linux/accept.c: New file.
11338         * sysdeps/unix/sysv/linux/bind.c: Likewise.
11339         * sysdeps/unix/sysv/linux/connect.c: Likewise.
11340         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
11341         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
11342         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
11343         * sysdeps/unix/sysv/linux/listen.c: Likewise.
11344         * sysdeps/unix/sysv/linux/recv.c: Likewise.
11345         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
11346         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
11347         * sysdeps/unix/sysv/linux/send.c: Likewise.
11348         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
11349         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
11350         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
11351         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
11352         * sysdeps/unix/sysv/linux/socket.c: Likewise.
11353         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
11354         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
11355         prototype.
11356         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
11357         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11358         instead of __internal_xxx function.
11359         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
11360         prototype.
11361         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
11362         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11363         instead of __internal_xxx function.
11364         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
11365         prototype.
11366         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
11367         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11368         instead of __internal_xxx function.
11369         * sysdeps/unix/sysv/linux/accept.S: Remove file.
11370         * sysdeps/unix/sysv/linux/bind.S: Likewise.
11371         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11372         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
11373         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
11374         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
11375         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
11376         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
11377         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
11378         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
11379         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
11380         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11381         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
11382         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
11383         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
11384         * sysdeps/unix/sysv/linux/listen.S: Likewise.
11385         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
11386         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
11387         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
11388         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
11389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
11390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
11391         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11392         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11393         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11394         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
11395         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11396         * sysdeps/unix/sysv/linux/send.S: Likewise.
11397         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11398         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11399         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
11400         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
11401         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
11402         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
11403         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
11404         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
11405         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
11406         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
11407         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
11408         socketcall is implemented in GLIBC.
11410 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11412         * soft-fp/fmadf4.c: Include <libc-internal.h>.
11413         (__fma): Ignore uninitialized warnings around packing.
11414         * soft-fp/fmasf4.c: Include <libc-internal.h>.
11415         (__fmaf): Ignore uninitialized warnings around packing.
11416         * soft-fp/fmatf4.c: Include <libc-internal.h>.
11417         (__fmal): Ignore uninitialized warnings around packing.
11419         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
11420         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11421         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
11422         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11424         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
11425         switch statement into default case.
11426         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
11428         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
11429         a conditional in forcing "inexact".
11430         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11431         Likewise.
11433 2015-05-22  Roland McGrath  <roland@hack.frob.com>
11435         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11436         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
11437         for each INTERNAL_SYSCALL use.
11439 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11441         [BZ #438]
11442         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
11443         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
11444         variable.
11446         [BZ #18444]
11447         * string/basename.c (basename): Rename to __basename and define as
11448         weak alias of __basename.  Use libc_hidden_weak.
11449         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
11450         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
11451         __basename instead of basename.
11452         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
11453         Remove variable.
11454         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11456 2015-05-18  Florian Weimer  <fweimer@redhat.com>
11458         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
11459         (_IO_JUMPS_FILE_plus): New.
11460         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
11461         _IO_CAST_FIELD_ACCESS.
11462         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
11463         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
11464         * libio/freopen.c (freopen): Likewise.
11465         * libio/freopen64.c (freopen64): Likewise.
11466         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
11467         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
11468         * libio/iofwide.c (_IO_fwide): Likewise.
11469         * libio/memstream.c (open_memstream): Likewise.
11470         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11471         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11472         * libio/oldiopopen.c (_IO_old_popen): Likewise.
11474 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
11476         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
11477         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
11478         NADJ.
11479         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
11480         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
11481         NADJ.
11482         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
11483         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
11484         NADJ.
11486         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
11487         (p == 4) case.
11489         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
11490         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
11491         Remove variable.
11492         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11493         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11494         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11496 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11498         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
11499         Adjust jump table label generation macros.
11501 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11503         * stdio-common/vfprintf.c (vfprintf): Move local variables
11504         args_malloced, specs, specs_malloced, and the code after
11505         do_positional to the printf_positional function.
11506         (printf_positional): New function.
11508 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11510         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
11511         function.
11512         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
11513         STEP4_TABLE, process_arg): Move macro definitions
11514         out of the vfprintf function.  (Cosmetic change only.)
11516 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
11518         * benchtests/Makefile (stdio-common-bench): Define.
11519         (benchset): Add stdio-common-bench.
11520         * sprintf-inputs: New file.
11521         * sprintf-source.c: New file.
11523 2015-05-21  Andreas Schwab  <schwab@suse.de>
11525         [BZ #13028]
11526         [BZ #17053]
11527         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
11528         of struct __res_state.
11529         * resolv/res_send.c (__libc_res_nsend): Likewise.
11530         (get_nsaddr): New function.
11531         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
11532         statp directly.
11534 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
11536         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
11537         -D_POSIX_C_SOURCE=199506L.
11539         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
11541         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
11542         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
11543         Do not mention otherwise.
11544         [POSIX] (_XOPEN_VERSION): Do not expect.
11545         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
11546         [POSIX] (_POSIX2_C_BIND): Likewise.
11547         [POSIX] (_POSIX2_VERSION): Likewise.
11548         [POSIX] (_XOPEN_XPG2): Likewise.
11549         [POSIX] (_XOPEN_XPG3): Likewise.
11550         [POSIX] (_XOPEN_XPG4): Likewise.
11551         [POSIX] (_XOPEN_UNIX): Likewise.
11552         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
11553         [POSIX] (_POSIX_BARRIERS): Likewise.
11554         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
11555         [POSIX] (_POSIX_CPUTIME): Likewise.
11556         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
11557         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
11558         [POSIX] (_POSIX_SHELL): Likewise.
11559         [POSIX] (_POSIX_SPAWN): Likewise.
11560         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
11561         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
11562         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
11563         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
11564         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
11565         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
11566         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
11567         [POSIX] (_XBS5_LP64_OFF64): Likewise.
11568         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
11569         [POSIX] (_POSIX_TIMEOUTS): Likewise.
11570         [POSIX] (_POSIX2_PBS): Likewise.
11571         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
11572         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
11573         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
11574         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
11575         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
11576         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
11577         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
11578         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
11579         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
11580         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
11581         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
11582         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
11583         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
11584         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
11585         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
11586         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
11587         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
11588         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
11589         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
11590         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
11591         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
11592         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
11593         [POSIX] (_SC_2_C_BIND): Likewise.
11594         [POSIX] (_SC_2_C_VERSION): Likewise.
11595         [POSIX] (_SC_2_PBS): Likewise.
11596         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
11597         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
11598         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
11599         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
11600         [POSIX] (_SC_2_PBS_TRACK): Likewise.
11601         [POSIX] (_SC_ATEXIT_MAX): Likewise.
11602         [POSIX] (_SC_BARRIERS): Likewise.
11603         [POSIX] (_SC_BASE): Likewise.
11604         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
11605         [POSIX] (_SC_DEVICE_IO): Likewise.
11606         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
11607         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
11608         [POSIX] (_SC_FD_MGMT): Likewise.
11609         [POSIX] (_SC_FIFO): Likewise.
11610         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
11611         [POSIX] (_SC_FILE_LOCKING): Likewise.
11612         [POSIX] (_SC_FILE_SYSTEM): Likewise.
11613         [POSIX] (_SC_IOV_MAX): Likewise.
11614         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
11615         [POSIX] (_SC_NETWORKING): Likewise.
11616         [POSIX] (_SC_PAGE_SIZE): Likewise.
11617         [POSIX] (_SC_PASS_MAX): Likewise.
11618         [POSIX] (_SC_PIPE): Likewise.
11619         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
11620         [POSIX] (_SC_REGEXP): Likewise.
11621         [POSIX] (_SC_SHELL): Likewise.
11622         [POSIX] (_SC_SIGNALS): Likewise.
11623         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
11624         [POSIX] (_SC_SPIN_LOCKS): Likewise.
11625         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
11626         [POSIX] (_SC_USER_GROUPS): Likewise.
11627         [POSIX] (_SC_USER_GROUPS_R): Likewise.
11628         [POSIX] (_SC_STREAMS): Likewise.
11629         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
11630         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
11631         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
11632         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
11633         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
11634         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
11635         [POSIX] (_PC_FILESIZEBITS): Likewise.
11636         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
11637         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
11638         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
11639         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
11640         [POSIX] (uid_t): Likewise.
11641         [POSIX] (gid_t): Likewise.
11642         [POSIX] (off_t): Likewise.
11643         [POSIX] (pid_t): Likewise.
11644         [POSIX] (cuserid): Allow.
11645         (_SC_2_CHAR_TERM): Require constant.
11646         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
11647         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
11648         variable.
11650 2015-05-20  Roland McGrath  <roland@hack.frob.com>
11652         * sysdeps/nacl/pthread-pids.h: New file.
11653         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
11654         (create_thread): Use __nacl_get_tid to initialize PD->tid.
11656         * nptl/pthread-pids.h: New file.
11657         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
11658         * nptl/nptl-init.c: Include <pthread-pids.h>.
11659         (__pthread_initialize_minimal_internal):
11660         Call __pthread_initialize_pids instead of set_tid_address syscall.
11662         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
11663         * sysdeps/posix/usleep.c: ... here.
11665 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11667         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
11668         call_pselect6 object.
11669         [$(subdir) = io]: Remove call_sync_file_range object.
11670         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
11671         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
11672         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
11673         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
11675 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
11677         * math/s_cproj.c: Add include "math_private.h".
11678         * math/s_cprojf.c: Likewise.
11679         * math/s_cprojl.c: Likewise.
11681 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
11683         [BZ #18244]
11684         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
11685         high mantissa bit when testing whether P is a NaN.
11686         * math/libm-test.inc (remainder_test_data): Add more tests.
11687         (remquo_test_data): Likewise.
11689         [BZ #18049]
11690         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
11691         below -32, return the argument, with underflow if subnormal.
11692         * math/auto-libm-test-in: Add more tests of atanh.
11693         * math/auto-libm-test-out: Regenerated.
11695 2015-05-19  Roland McGrath  <roland@hack.frob.com>
11697         [BZ #18434]
11698         * nptl/tst-sem15.c: New file.
11699         * nptl/Makefile (tests): Add it.
11700         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
11701         s/<</>>/ to fix typo in EOVERFLOW check.
11702         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
11704 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11706         * manual/strings.texi (envz_remove): Fix typo in safety
11707         annotations.
11709 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
11710             Steve Ellcey  <sellcey@imgtec.com>
11712         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
11713         in order to avoid strict alias warnings.
11714         (iruserok_af): Ditto for ra.
11716 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
11718         [BZ #17581]
11719         * malloc/hooks.c
11720         (magicbyte): Convert to a function and avoid returning 0x01.
11721         (mem2mem_check): Avoid using a length byte equal to the magic byte.
11722         (mem2chunk_check): Fix unsigned comparisons to zero.
11723         Hoist defs of sz and magic.
11725 2015-05-19  Richard Henderson  <rth@redhat.com>
11727         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
11729         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11731 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11733         [BZ #16159]
11734         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
11735         * malloc/arena.c (arena_lock): Check if arena is corrupt.
11736         (reused_arena): Find a non-corrupt arena.
11737         (heap_trim): Pass arena to unlink.
11738         * malloc/hooks.c (malloc_check_get_size): Pass arena to
11739         malloc_printerr.
11740         (top_check): Likewise.
11741         (free_check): Likewise.
11742         (realloc_check): Likewise.
11743         * malloc/malloc.c (malloc_printerr): Add arena argument.
11744         (unlink): Likewise.
11745         (munmap_chunk): Adjust.
11746         (ARENA_CORRUPTION_BIT): New macro.
11747         (arena_is_corrupt): Likewise.
11748         (set_arena_corrupt): Likewise.
11749         (sysmalloc): Use mmap if there are no usable arenas.
11750         (_int_malloc): Likewise.
11751         (__libc_malloc): Don't fail if arena_get returns NULL.
11752         (_mid_memalign): Likewise.
11753         (__libc_calloc): Likewise.
11754         (__libc_realloc): Adjust for additional argument to
11755         malloc_printerr.
11756         (_int_free): Likewise.
11757         (malloc_consolidate): Likewise.
11758         (_int_realloc): Likewise.
11759         (_int_memalign): Don't touch corrupt arenas.
11760         * malloc/tst-malloc-backtrace.c: New test case.
11762         * Makefile (summarize-tests): Fix return value on success.
11764         * manual/string.texi (Envz Functions): Add envz_remove.
11766 2015-05-18  Roland McGrath  <roland@hack.frob.com>
11768         * sysdeps/posix/opendir.c: Include <stdbool.h>.
11769         (invalid_name): New function, broken out of ...
11770         (__opendirat): ... here.  Call it.
11771         (need_isdir_precheck): New function, broken out of ...
11772         (__opendirat): ... here.  Call it.
11773         Use __fxstatat64, not __xstatat64.
11774         (opendir_oflags): New function, broken out of ...
11775         (__opendirat): ... here.  Call it.
11776         (opendir_tail): New function, broken out of ...
11777         (__opendirat): ... here.  Call it.
11778         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
11779         opendir_tail, rather than punting to __opendirat.
11780         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
11782 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11784         * .gitignore: Ignore generated *.pyc.
11786 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
11788         * include/stdio.h: Define __need_wint_t.
11789         * test-skeleton.c: Avoid `for' loop initial declaration.
11790         * nptl/tst-initializers1.c: Use test-skeleton.c.
11792 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11794         [BZ #18418]
11795         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
11797 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
11799         [BZ #16352]
11800         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
11801         (__ieee754_atanh): Force underflow exception for results with
11802         small absolute value.
11803         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
11804         (__ieee754_atanhf): Force underflow exception for results with
11805         small absolute value.
11806         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
11807         (__ieee754_atanh): Force underflow exception for results with
11808         small absolute value.
11809         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
11810         (__ieee754_atanhf): Force underflow exception for results with
11811         small absolute value.
11812         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
11813         (__ieee754_atanhl): Force underflow exception for results with
11814         small absolute value.
11815         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
11816         (__ieee754_atanhl): Force underflow exception for results with
11817         small absolute value.
11818         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
11819         (__ieee754_atanhl): Force underflow exception for results with
11820         small absolute value.
11821         * math/auto-libm-test-in: Do not allow missing underflow
11822         exceptions from atanh.
11823         * math/auto-libm-test-out: Regenerated.
11825         [BZ #18221]
11826         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
11827         2**-28 as threshold for returning x or +/- 1/x.
11828         * math/auto-libm-test-in: Add more tests of tan.
11829         * math/auto-libm-test-out: Regenerated.
11831         [BZ #18220]
11832         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11833         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
11834         * math/auto-libm-test-in: Add another test of lgamma.
11835         * math/auto-libm-test-out: Regenerated.
11837 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
11839         * stdio-common/printf_fp.c (___printf_fp): Use abs.
11840         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
11841         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
11842         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
11843         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
11844         (ADD2A): Use fabs.  (SUB2A): Use fabs.
11845         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
11846         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
11847         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
11848         (log1): Use fabs.  (my_log2): Use fabs.
11849         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
11850         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
11851         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
11852         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
11853         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
11854         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
11855         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
11856         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
11857         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
11858         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
11859         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
11861 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
11863         [BZ #18217]
11864         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
11865         as threshold for returning 1 - x.
11866         * math/auto-libm-test-in: Add more tests of erfc.
11867         * math/auto-libm-test-out: Regenerated.
11869 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
11871         [BZ #18196]
11872         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
11873         threshold for large arguments.
11874         * math/auto-libm-test-in: Add another test of atan.
11875         * math/auto-libm-test-out: Regenerated.
11877         [BZ #16339]
11878         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
11879         (__log1p): Force underflow exception for results with small
11880         absolute value.
11881         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
11882         (__log1pf): Force underflow exception for results with small
11883         absolute value.
11884         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
11885         (__log1p): Force underflow exception for results with small
11886         absolute value.
11887         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
11888         (__log1pf): Force underflow exception for results with small
11889         absolute value.
11890         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
11891         (__log1pl): Force underflow exception for results with small
11892         absolute value.
11893         * math/auto-libm-test-in: Do not allow missing underflow
11894         exceptions from log1p.
11895         * math/auto-libm-test-out: Regenerated.
11897 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
11898             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11900         [BZ #16704]
11901         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
11903 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
11905         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
11906         (libmvec): New variable.
11907         * configure.ac: Added option for mathvec build.
11908         * configure: Regenerated.
11909         * mathvec/Depend: New file.
11910         * mathvec/Makefile: New file.
11911         * shlib-versions: Added libmvec.
11912         * math/Makefile: Added rule for libm.so installation.
11914         * bits/math-vector.h: New file.
11915         * bits/libm-simd-decl-stubs.h: New header.
11916         * math/Makefile (headers): Added new header
11917         libm-simd-decl-stubs.h.
11918         * math/math.h (__MATHCALL_VEC): New macro.
11920         * math/gen-libm-have-vector-test.sh: Script generates series of macros
11921         for conditions in testing functions.
11922         * math/Makefile: Added call of libm-have-vector-test.sh.
11923         * math/libm-test.inc (HAVE_VECTOR): New macros.
11925         * math/libm-test.inc: START refactored.
11926         * math/test-double.c (TEST_MATHVEC): Add define.
11927         * math/test-float.c: Likewise.
11928         * math/test-idouble.c: Likewise.
11929         * math/test-ifloat.c: Likewise.
11930         * math/test-ildoubl.c: Likewise.
11931         * math/test-ldouble.c: Likewise.
11932         * sysdeps/generic/math-tests-arch.h
11933         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
11934         architecture check.
11936         * math/test-double.c (FUNC_TEST): New macro.
11937         * math/test-float.c: Likewise.
11938         * math/test-idouble.c: Likewise.
11939         * math/test-ifloat.c: Likewise.
11940         * math/test-ildoubl.c: Likewise.
11941         * math/test-ldouble.c: Likewise.
11942         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
11944 2015-05-13  Roland McGrath  <roland@hack.frob.com>
11946         * sysdeps/nacl/fdopendir.c: New file.
11948         * dirent/scandir-tail.c: New file.
11949         * dirent/scandir64-tail.c: New file.
11950         * dirent/Makefile (routines): Add them.
11951         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
11952         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
11953         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
11954         [!SCANDIR] (SCANDIR_TAIL): New macro.
11955         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
11956         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
11957         (SCANDIRAT): Macro removed.
11958         (SCANDIR_TAIL): New macro.
11959         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
11960         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
11961         (SCANDIRAT): Just call __opendirat and __scandir_tail.
11962         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
11963         (READDIR): Macro removed.
11964         (SCANDIR_TAIL): New macro.
11965         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
11966         (SCANDIR_TAIL): New macro.
11968         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
11969         * dirent/scandir-cancel.c: ... to this new file.
11970         * dirent/Makefile (routines): Add it.
11971         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
11972         * sysdeps/unix/sysv/linux/i386/scandir64.c
11973         (SKIP_SCANDIR_CANCEL): Macro removed.
11974         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
11976         * dirent/tst-scandir.c: New file.
11977         * dirent/tst-scandir64.c: New file.
11978         * dirent/Makefile (tests): Add them.
11980 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11982         [BZ #18409]
11983         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
11985 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11987         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
11988         list.
11990 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
11992         * benchtests/bench-strcoll.c: New benchmark.
11993         * benchtests/Makefile: Generate locales and run benchmark.
11994         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
11995         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
11996         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
11997         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
11998         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
11999         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
12000         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
12001         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
12002         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
12003         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
12004         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
12005         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
12006         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
12007         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
12008         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
12009         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
12010         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
12011         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
12012         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
12013         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
12014         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
12015         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
12016         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
12017         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
12019 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
12021         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
12022         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12024 2015-05-12  Roland McGrath  <roland@hack.frob.com>
12026         * posix/uname-values.h: New file.
12027         * posix/uname.c: Include that instead of <config-name.h>.
12028         * sysdeps/nacl/uname-values.h: New file.
12029         * sysdeps/arm/nacl/uname-values.h: New file.
12031 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
12033         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
12034         splitting into fields.
12036 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
12038         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
12039         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
12040         * locale/localeinfo.h: Add enum collation_encoding_type.
12041         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
12042         * programs/ld-collate.c (collate_output): Add encoding type info.
12043         * string/strcoll_l.c (STRDIFF): New function.
12044         * (STRCOLL): Use STRDIFF to skip over equal prefix.
12045         * wcsmbs/wcscoll_l.c: Define STRDIFF.
12047 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
12049         [BZ #18397]
12050         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
12051         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
12052         <fpu_control.h> instead of <math/fpu_control.c>.
12053         * sysdeps/mips/mips32/fpu/Makefile: New file.
12055 2015-05-11  Andreas Schwab  <schwab@suse.de>
12057         [BZ #18007]
12058         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
12059         nss_endgrent.
12060         (_nss_compat_endgrent): Call nss_endgrent.
12061         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
12062         nss_endpwent.
12063         (_nss_compat_endpwent): Call nss_endpwent.
12064         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
12065         needent, call nss_setspent only if non-zero.
12066         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
12067         (internal_endspent): Don't call nss_endspent.
12068         (_nss_compat_endspent): Call nss_endspent.
12069         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
12070         Remove.  All uses removed.
12071         (internal_setent): Remove parameter stayopen, add parameter
12072         stream.  Use it instead of global variable.
12073         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
12074         (internal_endent, internal_getent): Add parameter stream.  Use it
12075         instead of global variable.
12076         (CONCAT(_nss_files_end,ENTNAME))
12077         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
12078         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
12079         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
12080         uses removed.
12081         (internal_setent, internal_endent): Add parameter stream.  Use it
12082         instead of global variable.
12083         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
12084         stream.
12085         (get_next_alias): Add parameter stream.
12086         (_nss_files_getaliasent_r): Pass global stream.
12087         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
12088         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
12089         (_nss_files_gethostbyname4_r): Pass local stream to
12090         internal_setent, internal_getent and internal_endent.  Remove
12091         locking.
12093 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12095         * tst-strfmon1.c (tests): Update expected currency symbol.
12097 2015-05-08  Roland McGrath  <roland@hack.frob.com>
12099         * sysdeps/nacl/gethostname.c: New file.
12101 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
12103         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
12104         and sinh.
12105         * math/auto-libm-test-out: Regenerated.
12106         * sysdeps/i386/fpu/libm-test-ulps: Update.
12107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12109 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
12111         [BZ #18125]
12112         * stdlib/tst-setcontext3.c: New file.
12113         * stdlib/tst-setcontext3.sh: New file.
12114         * stdlib/Makefile (tests): Add tst-setcontext3.
12115         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
12116         to verify test program created output file.
12117         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
12118         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
12119         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
12120         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
12122 2015-05-06  Roland McGrath  <roland@hack.frob.com>
12124         [BZ #18383]
12125         * elf/tst-tlsalign.c: New file.
12126         * elf/tst-tlsalign-static.c: New file.
12127         * elf/tst-tlsalign-lib.c: New file.
12128         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
12129         (tests-static): Add tst-tlsalign-static.
12130         (modules-names): Add tst-tlsalign-lib.
12131         (test-xfail-tst-tlsalign): New variable.
12132         (test-xfail-tst-tlsalign-static): New variable.
12134         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
12135         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
12137 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
12139         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
12140         csqrt, erfc, sin and sincos.
12141         * math/auto-libm-test-out: Regenerated.
12142         * sysdeps/i386/fpu/libm-test-ulps: Update.
12143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12145 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12147         * sysdeps/aarch64/libm-test-ulps: Update.
12149 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
12151         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
12152         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
12153         * math/auto-libm-test-out: Regenerated.
12154         * sysdeps/i386/fpu/libm-test-ulps: Update.
12155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12157 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12159         [BZ #18265]
12160         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
12161         (wcsncpy): Likewise.
12163 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12165         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12166         Assume __ASSUME_FALLOCATE is always true.
12167         * sysdeps/unix/sysv/linux/posix_fallocate64.c
12168         (__posix_fallocate64_l64): Likweise.
12169         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
12170         (posix_fallocate): Likewise.
12171         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
12172         (__posix_fallocate64_l64): Likewise.
12173         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12174         [!__ASSUME_FALLOCATE]: Add comment.
12176 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12178         * sysdeps/unix/sysv/linux/i386/Makefile
12179         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
12180         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
12181         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
12182         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12183         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12184         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
12185         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
12187 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
12189         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
12190         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
12191         tgamma.
12192         * math/auto-libm-test-out: Regenerated.
12193         * sysdeps/i386/fpu/libm-test-ulps: Update.
12194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12196 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12198         * math/auto-libm-test-in: Add more tests of tgamma.
12199         * math/auto-libm-test-out: Regenerated.
12200         * sysdeps/i386/fpu/libm-test-ulps: Update.
12201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12203         * math/auto-libm-test-in: Add more tests of tanh.
12204         * math/auto-libm-test-out: Regenerated.
12205         * sysdeps/i386/fpu/libm-test-ulps: Update.
12206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12208         * math/auto-libm-test-in: Add more tests of tan.
12209         * math/auto-libm-test-out: Regenerated.
12210         * sysdeps/i386/fpu/libm-test-ulps: Update.
12211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12213         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
12214         * math/auto-libm-test-out: Regenerated.
12215         * sysdeps/i386/fpu/libm-test-ulps: Update.
12216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12218         * math/auto-libm-test-in: Add another test of pow.
12219         * math/auto-libm-test-out: Regenerated.
12220         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12222         * math/auto-libm-test-in: Add more tests of lgamma.
12223         * math/auto-libm-test-out: Regenerated.
12224         * sysdeps/i386/fpu/libm-test-ulps: Update.
12225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12227         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
12228         log1p.
12229         * math/auto-libm-test-out: Regenerated.
12230         * sysdeps/i386/fpu/libm-test-ulps: Update.
12231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12233 2015-05-01  Mark Wielaard  <mjw@redhat.com>
12235         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
12236         Elf64_Chdr structs and ELFCOMPRESS constants.
12238 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12240         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
12241         expm1.
12242         * math/auto-libm-test-out: Regenerated.
12243         * sysdeps/i386/fpu/libm-test-ulps: Update.
12244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12246         * math/auto-libm-test-in: Add more tests of erf and erfc.
12247         * math/auto-libm-test-out: Regenerated.
12248         * sysdeps/i386/fpu/libm-test-ulps: Update.
12249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12251 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12253         * config.h.in (HAVE_AARCH64_BE): Add.
12255 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
12257         * math/auto-libm-test-in: Add more tests of csqrt.
12258         * math/auto-libm-test-out: Regenerated.
12259         * sysdeps/i386/fpu/libm-test-ulps: Update.
12260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12262         * math/auto-libm-test-in: Add more tests of cosh and sinh.
12263         * math/auto-libm-test-out: Regenerated.
12264         * sysdeps/i386/fpu/libm-test-ulps: Update.
12265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12267         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
12269 2015-04-29  Roland McGrath  <roland@hack.frob.com>
12271         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
12272         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
12274         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
12275         (euidaccess, eaccess): Define as weak aliases.
12277         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
12278         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
12279         but __suseconds_t is often 'long int' so some sources assume that
12280         type is being used (e.g. they use %ld to print tv_usec).
12282 2015-04-29  Florian Weimer  <fweimer@redhat.com>
12284         [BZ #18007]
12285         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
12286         (CVE-2014-8121)
12287         * nss/tst-nss-getpwent.c: New file.
12288         * nss/Makefile (tests): Add new test.
12290 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
12292         [BZ #18346]
12293         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
12294         exponents less than 48 as cases where high part of mantissa needs
12295         examining to determine whether argument is integral.
12296         * math/libm-test.inc (round_test_data): Add more tests.
12298 2015-04-28  Mark Wielaard  <mjw@redhat.com>
12300         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
12302 2015-04-27  David S. Miller  <davem@davemloft.net>
12304         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
12305         __tls_get_addr.
12306         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12308 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
12310         [BZ#18333]
12311         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
12313 2015-04-27  Florian Weimer  <fweimer@redhat.com>
12315         [BZ#18333]
12316         * time/tzset.c (parse_tzname): Return error on memory allocation
12317         failure.
12318         * test-skeleton.c (struct temp_name_list): Change type of name
12319         member to non-const.
12320         (add_temp_file): Create a copy of the file name.
12321         (delete_temp_files): Deallocate memory.
12322         (create_temp_file): Add comment.
12324 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12326         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
12327         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
12329 2015-04-24  Roland McGrath  <roland@hack.frob.com>
12331         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
12332         * sysdeps/arm/configure: Regenerated.
12334 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12336         [BZ #17715]
12337         * time/tzfile.c (__tzfile_read): Check for large values of
12338         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
12339         * time/tzset.c (__tzstring_len): New function, based on the old
12340         __tzstring function.
12341         (__tzstring): Call __tzstring_len.
12342         (parse_tzname): New helper function extracted from
12343         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
12344         the input string.
12345         (parse_offset): New helper function extracted from
12346         __tzset_parse_tz.  Replace switch with fallthrough with
12347         initialization before sscanf.
12348         (parse_rule): Likewise.
12349         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
12350         new-style function definition.
12351         * timezone/Makefile (tests): Add tst-tzset.
12352         (tst-tzset.out): Dependencies on time zone files.
12353         (tst-tzset-ENV): Set TZDIR.
12354         (testdata/XT%): Copy crafted time zone files.
12355         * timezone/README: Mention crafted time zone files.
12356         * timezone/testdata/XT1, timezone/testdata/XT2,
12357         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
12358         files.
12359         * timezone/tst-tzset.c: New test.
12361 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12363         * Makeconfig (+gccwarn): Remove -Winline.
12365 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12367         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
12369 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12371         * NEWS: Mention sysconf() cache information support for s390.
12372         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
12374 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
12376         * math/k_casinh.c (__kernel_casinh): Use __copysign.
12377         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
12378         (__nearbyint): Likewise.
12379         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
12380         (copysignl): Likewise.
12382 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
12384         [BZ #18287]
12385         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
12386         based on padding.  (CVE-2015-1781)
12388 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12390         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
12391         libc-vdso.h.
12392         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
12393         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
12394         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
12395         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12396         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12397         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
12398         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
12399         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12400         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12401         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
12402         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12403         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12404         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12405         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
12406         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12407         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
12408         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
12409         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
12410         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
12411         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
12412         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
12413         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
12414         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
12416 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
12418         * stdlib/setenv.c (__add_to_environ):
12419         Dump core quickly if setenv (..., NULL, ...) is called.
12420         This time, do it the right way, and pacify GCC with a pragma.
12422 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12424         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
12425         IMAP->l_prev cannot be null, and #if out the code for the contrary
12426         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
12427         believe that NS (&_dl_ns[NSID]) could point outside the array.
12429         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
12430         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
12431         before using NSID as an index.
12433 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
12435         [BZ #17825]
12436         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
12437         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
12438         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12440 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12442         Add preliminary port to Google Native Client on ARM.
12443         * abi-tags (.*-.*-nacl.*): New entry.
12444         * sysdeps/arm/nacl: New directory.
12445         * sysdeps/nacl: New directory.
12447 2015-04-16  David S. Miller  <davem@davemloft.net>
12449         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
12450         lowlevellock-futex.h
12452 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
12454         * sysdeps/tile/configure.ac: New file.
12455         * sysdeps/tile/configure: Regenerated.
12457 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12459         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
12460         conditionals for weak_alias and libc_hidden_weak.
12461         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
12462         libc_hidden_weak and weak_alias.
12463         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
12464         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
12465         and weak_alias for static one.
12467 2015-04-15  David S. Miller  <davem@davemloft.net>
12469         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12471 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12473         [BZ #18206]
12474         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
12475           Use signed comparision instead of substraction to avoid
12476           overflow bug.
12477         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
12478           Take the sign of ret.
12479         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
12480           Do not expect precise return values. Only the sign matters.
12481         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
12482         * wcsmbs/test-wcsncmp.c: New File.
12483         * string/test-strncmp.c: Add wcsncmp support.
12485 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12487         [BZ #6792]
12488         * math/w_log1p.c: New file.
12489         * math/w_log1pf.c: Likewise.
12490         * math/w_log1pl.c: Likewise.
12491         * math/Makefile (libm-calls): Add w_log1p.
12492         * math/s_log1pl.c (log1pl): Remove weak_alias.
12493         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
12494         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
12495         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
12496         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
12497         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
12498         [NO_LONG_DOUBLE] (log1pl): Likewise.
12499         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
12500         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
12501         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
12502         (log1p): Remove long_double_symbol.
12503         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
12504         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
12505         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
12506         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
12507         remove weak_alias for corresponding log1p function.
12508         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
12509         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12510         * sysdeps/ia64/fpu/w_log1p.c: New file.
12511         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
12512         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
12513         * math/libm-test.inc (log1p_test_data): Add errno expectations.
12515 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
12517         [BZ #18247]
12518         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
12519         decimal exponent by 1.
12520         * stdlib/tst-strtod-round-data: Add more tests.
12521         * stdlib/tst-strtod-round.c (tests): Regenerated.
12523 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
12525         * math/auto-libm-test-in: Add more tests of clog and clog10.
12526         * math/auto-libm-test-out: Regenerated.
12527         * sysdeps/i386/fpu/libm-test-ulps: Update.
12528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12530 2015-04-09  Roland McGrath  <roland@hack.frob.com>
12532         * Makeconfig (module-cppflags): Exclude all .v.i files.
12533         (skip-module-cppflags): Variable removed.
12535         * configure.ac (libc_config_ok): Initialize before reading
12536         preconfigure scripts, not after.
12537         * configure: Regenerated.
12539         * test-skeleton.c (TIMEOUT): Move #define to top level.
12540         (main): Grok environment variable TEST_DIRECT.  If set, print
12541         test expectation details into that file and then behave as if
12542         given --direct.
12544 2015-04-09  Florian Weimer  <fweimer@redhat.com>
12546         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
12547         warning on 32-bit.
12549 2015-04-08  David S. Miller  <davem@davemloft.net>
12551         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12553 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
12555         * math/auto-libm-test-in: Add more tests of atanh.
12556         * math/auto-libm-test-out: Regenerated.
12557         * sysdeps/i386/fpu/libm-test-ulps: Update.
12558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12560         * math/auto-libm-test-in: Add more tests of atan.
12561         * math/auto-libm-test-out: Regenerated.
12562         * sysdeps/i386/fpu/libm-test-ulps: Update.
12563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12565 2015-04-08  Florian Weimer  <fweimer@redhat.com>
12567         * elf/pldd.c (main): Rewrite to use struct
12568         scratch_buffer instead of extend_alloca.
12569         * elf/pldd-xx.c (find_maps): Likewise.
12570         * grp/initgroups.c: Include <scratch_buffer.h> instead of
12571         <alloca.h>.
12572         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
12573         scratch_buffer instead of extend_alloca.
12574         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
12575         grp/compat-initgroups.c.
12576         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
12577         Rewrite to use struct scratch_buffer instead of extend_alloca.
12578         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
12579         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12581 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
12583         * math/auto-libm-test-in: Add more tests of cbrt.
12584         * math/auto-libm-test-out: Regenerated.
12585         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12587         * math/auto-libm-test-in: Add more tests of cabs.
12588         * math/auto-libm-test-out: Regenerated.
12589         * sysdeps/i386/fpu/libm-test-ulps: Update.
12590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12592         [BZ #18210]
12593         [BZ #18211]
12594         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
12595         (__ieee754_atan2): Set FE_TONEAREST mode for internal
12596         computations.
12597         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
12598         clog10.
12599         * math/auto-libm-test-out: Regenerated.
12600         * sysdeps/i386/fpu/libm-test-ulps: Update.
12601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12603         [BZ #18197]
12604         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
12605         (atan): Set FE_TONEAREST mode for internal computations.
12606         * math/auto-libm-test-in: Add more tests of atan.
12607         * math/auto-libm-test-out: Regenerated.
12609 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
12611         [BZ #17930]
12612         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
12614 2015-04-07  Florian Weimer  <fweimer@redhat.com>
12616         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
12618 2015-04-07  Florian Weimer  <fweimer@redhat.com>
12620         * include/scratch_buffer.h: New file.
12621         * malloc/scratch_buffer_grow.c: Likewise.
12622         * malloc/scratch_buffer_grow_preserve.c: Likewise.
12623         * malloc/scratch_buffer_set_array_size.c: Likewise.
12624         * malloc/tst-scratch_buffer.c: Likewise.
12625         * malloc/Makefile (routines): Add scratch_buffer_grow.
12626         (tests): Add test case.
12627         * malloc/Versions (GLIBC_PRIVATE): Export
12628         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
12629         __libc_scratch_buffer_set_array_size.
12631 2015-04-06  Richard Henderson  <rth@redhat.com>
12633         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
12634         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12636         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
12637         unsigned int before printing.
12639 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12641         [BZ #17596]
12642         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
12643         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12645 2015-04-02  Florian Weimer  <fweimer@redhat.com>
12647         * include/libc-internal.h (libc_max_align_t): Define.
12649 2015-04-02  Andreas Schwab  <schwab@suse.de>
12651         [BZ #16850]
12652         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
12654 2015-04-02  Mel Gorman  <mgorman@suse.de>
12656         [BZ #17195]
12657         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
12658         as well as the main arena.
12660 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12662         [BZ #18185]
12663         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
12664         sharing L2 cache to 2 for Silvermont/Knights Landing.
12666 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12668         [BZ #17711]
12669         * config.make.in (have-protected-data): New.
12670         * configure.ac: Check linker support for protected data symbol.
12671         * configure: Regenerated.
12672         * elf/Makefile (modules-names): Add tst-protected1moda and
12673         tst-protected1modb if $(have-protected-data) is yes.
12674         (tests): Add tst-protected1a and tst-protected1b if
12675         $(have-protected-data) is yes.
12676         ($(objpfx)tst-protected1a): New.
12677         ($(objpfx)tst-protected1b): Likewise.
12678         (tst-protected1modb.so-no-z-defs): Likewise.
12679         * elf/tst-protected1a.c: New file.
12680         * elf/tst-protected1b.c: Likewise.
12681         * elf/tst-protected1mod.h: Likewise.
12682         * elf/tst-protected1moda.c: Likewise.
12683         * elf/tst-protected1modb.c: Likewise.
12685 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12687         [BZ #17711]
12688         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
12689         indicates it is called from do_lookup_x on relocation against
12690         protected data, skip the data definion in the executable from
12691         copy reloc.
12692         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
12693         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
12694         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
12695         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
12696         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
12697         otherwise to 0.
12698         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
12699         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
12700         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
12701         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
12702         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
12703         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
12705 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
12707         * sysdeps/nptl/pthread.h: Remove duplicate definition of
12708         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
12710 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
12712         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
12713         THREAD_SETMEM_NC.
12714         * sysdeps/x86_64/nptl/tls.h: Ditto.
12716 2015-03-27  Roland McGrath  <roland@hack.frob.com>
12718         * dlfcn/tststatic.c (main): Converted to ...
12719         (do_test): ... this.
12720         (TEST_FUNCTION): New macro.
12721         Include test-skeleton.c.
12723 2015-03-26  Alan Modra  <amodra@gmail.com>
12725         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
12726         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
12727         zero for undefined weak.
12728         (elf_machine_plt_conflict): Similarly.
12730 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
12732         * math/auto-libm-test-in: Add more tests of acosh, asinh and
12733         atanh.
12734         * math/auto-libm-test-out: Regenerated.
12735         * sysdeps/i386/fpu/libm-test-ulps: Update.
12736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12738         * math/auto-libm-test-in: Add another test of asin.
12739         * math/auto-libm-test-out: Regenerated.
12740         * sysdeps/i386/fpu/libm-test-ulps: Update.
12741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12743         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
12744         Remove macro.
12745         (LLL_EBX_REG): Likewise.
12746         (LLL_ENTER_KERNEL): Likewise.
12748         * math/auto-libm-test-in: Add more tests of asin.
12749         * math/auto-libm-test-out: Regenerated.
12750         * sysdeps/i386/fpu/libm-test-ulps: Update.
12751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12753         [BZ #18138]
12754         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
12755         libc_do_syscall_args): New structure.
12756         (INTERNAL_SYSCALL_MAIN_0): New macro.
12757         (INTERNAL_SYSCALL_MAIN_1): Likewise.
12758         (INTERNAL_SYSCALL_MAIN_2): Likewise.
12759         (INTERNAL_SYSCALL_MAIN_3): Likewise.
12760         (INTERNAL_SYSCALL_MAIN_4): Likewise.
12761         (INTERNAL_SYSCALL_MAIN_5): Likewise.
12762         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
12763         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
12764         Replace conditional definitions by conditional definitions of ....
12765         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
12766         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
12767         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
12768         (libpthread-sysdep_routines): Add libc-do-syscall.
12769         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
12770         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
12771         to __NR_futex not 240.
12773 2015-03-25  Alan Modra  <amodra@gmail.com>
12775         * NEWS: Advertise TLS optimization.
12776         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
12777         (DT_PPC_NUM): Increment.
12778         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
12779         (CHECK_STATIC_TLS): Use here.
12780         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
12781         TLS descriptors.
12782         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12783         * sysdeps/powerpc/dl-tls.c: New file.
12784         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
12785         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
12786         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
12787         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
12788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
12789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12792 2015-03-25  Alan Modra  <amodra@gmail.com>
12794         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
12795         for overlapping .opd entries" to "support...".
12796         * sysdeps/powerpc/powerpc64/configure: Regenerate
12798 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
12800         * math/auto-libm-test-in: Add more tests of acos.
12801         * math/auto-libm-test-out: Regenerated.
12802         * sysdeps/i386/fpu/libm-test-ulps: Update.
12803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12805         * math/auto-libm-test-in: Add more tests of expm1.
12806         * math/auto-libm-test-out: Regenerated.
12807         * sysdeps/i386/fpu/libm-test-ulps: Update.
12808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12810 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
12812         * math/auto-libm-test-in: Add more tests of cosh and sinh.
12813         * math/auto-libm-test-out: Regenerated.
12814         * sysdeps/i386/fpu/libm-test-ulps: Update.
12815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12817         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12820         * math/auto-libm-test-in: Add more tests of log2.
12821         * math/auto-libm-test-out: Regenerated.
12822         * sysdeps/i386/fpu/libm-test-ulps: Update.
12823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12825 2015-03-23  Roland McGrath  <roland@hack.frob.com>
12827         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
12828         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
12829         _IO_IS_APPENDING bit in READ_WRITE instead.
12831 2015-03-23  Florian Weimer  <fweimer@redhat.com>
12833         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
12834         (__determine_cpumask_size): Replace extend_alloca with a
12835         variable-length array.  Do not treat res == 0 as an error.
12837 2015-03-23  Florian Weimer  <fweimer@redhat.com>
12839         [BZ #18100]
12840         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
12841         and integer overflow.
12842         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
12843         (main): Add integer overflow tests.
12844         * manual/pattern.texi (Calling Wordexp): Document additional use
12845         for WRDE_SYNTAX.
12847 2015-03-23  Alan Modra  <amodra@gmail.com>
12849         * config.h.in: Remove HAVE_ASM_PPC_REL16.
12850         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
12851         and false branch of conditional.
12852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12853         Likewise.
12855 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
12857         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
12858         libc-modules.h
12859         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
12860         unused declaration of _hurd_intr_rpc_msg_in_trap.
12861         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
12862         defined instead of whether it is non-zero.
12863         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
12864         input constraint instead of both input and output constraint.  Use ecx
12865         clobber instead of %ecx.
12866         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
12867         mutex_unlock): Use a statement expression instead of an expression list.
12868         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
12869         type to vm_size_t instead of vm_address_t.
12870         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
12871         defined instead of whether it is non-zero.
12872         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
12873         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
12874         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
12875         comparisons with mapaddr.
12876         * nscd/nscd-client.h: Include <time.h>.
12877         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
12878         9th parameter to __vm_region instead of int.
12879         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
12880         * scripts/check-local-headers.sh (exclude): Add device/,
12881         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
12882         cthreads.h.
12884 2015-03-19  Roland McGrath  <roland@hack.frob.com>
12886         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
12887         to account for alignment padding.
12888         * sysdeps/arm/memmove.S: Likewise.
12890 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
12892         * sysdeps/unix/sysv/linux/generic/README: New file.
12894 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
12896         [BZ #18138]
12897         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
12898         (futex_abstimed_wait)
12899         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
12900         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
12901         of lll_futex_timed_wait.
12903 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
12905         [BZ #17542]
12906         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
12908 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
12910         [BZ #17090]
12911         [BZ #17620]
12912         [BZ #17621]
12913         [BZ #17628]
12914         * NEWS: Update.
12915         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
12916         entries with Static TLS too.  Skip entries past the end of the
12917         allocated DTV, from Alan Modra.
12918         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
12919         Static TLS DTV entry set up from...
12920         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
12921         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
12922         * nptl/allocatestack.c (init_one_static_tls): ... and here...
12923         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
12924         for Static TLS.
12925         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
12926         that the slot we find is associated with the given map before
12927         using its generation count.
12928         * nptl_db/db_info.c: Include ldsodefs.h.
12929         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
12930         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
12931         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
12932         (link_map::l_tls_offset): New struct field.
12933         (dtv_t::counter): Likewise.
12934         (rtld_global): New struct.
12935         (_rtld_global): New rtld variable.
12936         (dl_tls_dtv_slotinfo_list): New rtld global field.
12937         (dtv_slotinfo_list): New struct.
12938         (dtv_slotinfo): Likewise.
12939         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
12940         (td_lookup): Rename to...
12941         (td_mod_lookup): ... this.  Use new mod parameter instead of
12942         LIBPTHREAD_SO.
12943         * nptl_db/td_thr_tlsbase.c: Include link.h.
12944         (dtv_slotinfo_list, dtv_slotinfo): New functions.
12945         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
12946         addresses even if the DTV is out of date or missing them.
12947         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
12948         index zero-length arrays.
12949         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
12950         (td_lookup): Make it a macro implemented in terms of...
12951         (td_mod_lookup): ... this declaration.
12952         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
12953         (DB_MAIN_VARIABLE): Likewise.
12955 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12957         [BZ #18134]
12958         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
12960 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
12962         * stdlib/setenv.c (__add_to_environ): Revert previous change.
12964 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
12966         [BZ #18128]
12967         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
12968         (atomic_add, atomic_increment_and_test)
12969         (atomic_decrement_and_test): Fix 64-bit arithmetic.
12971 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
12973         * stdlib/setenv.c (__add_to_environ):
12974         Dump core quickly if setenv (..., NULL, ...) is called.
12976 2015-03-13  Roland McGrath  <roland@hack.frob.com>
12978         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
12979         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
12980         all the necessary asm magic in one place.
12981         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
12982         using those.
12984 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
12986         [BZ #14906]
12987         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
12988         traced file mtime. Use consistent log message.
12989         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
12990         (register_traced_file): Call install_watches. Always set mtime.
12991         (invalidate_cache): Iterate over all trace files. Call install_watches.
12992         (inotify_check_files): Don't inline. Handle watching parent
12993         directories and configuration file movement in and out.
12994         (handle_inotify_events): New function.
12995         (main_loop_poll): Call handle_inotify_events.
12996         (main_loop_epoll): Likewise.
12997         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
12998         (struct traced_file): Use array of inotify fds. Add parent directory,
12999         and basename.
13000         (struct database_dyn): Remove unused file_mtime.
13001         (init_traced_file): New inline function.
13002         (define_traced_file): New macro.
13003         * nss/nss_db/db-init.c: Use define_traced_file.
13004         (_nss_db_init): Use init_traced_file.
13005         * nss/nss_files/files-init.c: Use define_traced_file.
13006         (_nss_files_init): Use init_traced_file.
13008 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
13010         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
13011         [_LIBC]: Do not include <stdlib.h>.
13012         [!_LIBC] (abort): Remove declaration.
13013         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
13014         _FP_STATIC_ASSERT instead of conditionally calling abort.
13015         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
13016         (_FP_EXTEND_CNAN): Likewise.
13017         (FP_TRUNC): Likewise.
13018         (__FP_CLZ): Likewise.
13019         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
13021 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
13023         * manual/string.texi (XPG basename): Fix prototype.
13025 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13027         [BZ #18080]
13028         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
13029         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
13030         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
13031         (__setcontext): Likewise.
13032         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
13033         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
13034         Call rt_sigprocmask syscall one time to set new signal mask
13035         and retrieve the current signal mask instead of two calls.
13036         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
13037         (__swapcontext): Likewise.
13038         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
13039         * stdlib/tst-setcontext2.c: New file.
13041 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13043         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13045 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
13047         [BZ #18093]
13048         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
13049         the wrong size.
13051 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13053         [BZ #18043]
13054         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
13056 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13058         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
13059         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
13060         Remove define.
13061         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
13062         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
13063         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
13064         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
13065         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
13066         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
13067         define.
13068         * nptl_db/td_symbol_list.c (td_lookup): Remove
13069         HAVE_ASM_GLOBAL_DOT_NAME code.
13070         * sysdeps/powerpc/powerpc64/configure.ac: Remove
13071         HAVE_ASM_GLOBAL_DOT_NAME check.
13072         * sysdeps/powerpc/powerpc64/configure: Regenerate.
13073         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
13074         (DOT_LABEL): Remove define.
13075         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
13076         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
13077         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
13078         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
13079         (__TLS_GET_ADDR): Likewise.
13080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
13081         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
13083 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
13085         [BZ #18111]
13086         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
13087         (_FPU_SETCW): Initialize cw from fpsr before storing.
13088         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
13089         (fesetexceptflag): Rewrite using fpu_control.h.
13090         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
13092 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
13094         [BZ #18110]
13095         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
13096         asms.
13097         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
13099 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
13101         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
13102         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
13103         abort.
13104         (_FP_FMA): Likewise.
13105         (_FP_DIV): Likewise.
13107 2015-03-10  Roland McGrath  <roland@hack.frob.com>
13109         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
13110         with 0 in that case.
13111         * Makefile (summarize-tests): New canned sequence, factored out of
13112         commands for targets tests and xtests.  Display summary lines that
13113         don't start with PASS: or XFAIL: rather than ones that do start with
13114         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
13115         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
13116         do start with ERROR: or FAIL:.
13117         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
13118         (except for [$(build-shared) = yes]).
13119         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
13120         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
13121         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
13122         * nptl/Makefile: Revert 2015-03-04 changes.
13123         [$(CXX) empty] (tests-unsupported): New variable.
13124         * debug/Makefile: Likewise.
13126         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
13127         gnulib file.  Replace __attribute with __attribute__ throughout.
13129 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
13131         * sysdeps/hppa/fpu/libm-test-ulps: Update.
13133 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
13135         [BZ #18104]
13136         * math/auto-libm-test-in: Add another test of pow.
13137         * math/auto-libm-test-out: Regenerated.
13139 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13141         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
13142         $(config-cflags-nofma).
13144 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
13146         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
13147         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
13148         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
13149         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
13150         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
13151         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
13152         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
13153         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
13154         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
13155         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
13156         Add comment on closing #endif.
13158 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13160         * posix/wordexp.c (CHAR_IN_SET): New macro.
13161         (parse_param): Use it.
13163 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13165         * sysdeps/powerpc/fpu/libm-test-ulps: update.
13167 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13169         [BZ #18043]
13170         * posix/wordexp.c (parse_param): Fix buffer overflow.
13171         * posix/wordexp-test.c (test_case): Add test case.
13173 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13175         [BZ #18042]
13176         * posix/wordexp.c (parse_backtick): Fix off-by-one.
13177         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
13179 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13181         [BZ #18043]
13182         * posix/wordexp-test.c (test_case): Add test for BZ #18043
13183         (do_bz18043): Delete.
13184         (at_page_end): New.
13185         (testit): Refactor to have words at the edge of unreadable page.
13187 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13189         [BZ #16734]
13190         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
13191         Cleanup read-only streams as well.
13192         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
13194 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13196         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
13197         <bits/libc-lockP.h>
13199 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
13201         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
13202         on [__KERNEL__].
13203         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
13204         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
13205         * soft-fp/op-common.h (_FP_DECL): Likewise.
13207 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13209         * elf/ifuncdep2.c (global): Replace
13210         __attribute__((visibility("protected"))) with
13211         asm (".protected global").
13212         * elf/ifuncmod1.c (global): Likewise.
13213         * elf/ifuncmod5.c (global): Likewise.
13215 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
13217         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
13218         <asm/sfp-machine.h> instead of <sfp-machine.h>.
13220 2015-03-06  Roland McGrath  <roland@hack.frob.com>
13222         * manual/install.texi (Configuring and compiling):
13223         Document test-wrapper-env-only.
13224         * INSTALL: Regenerated.
13226 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13228         [BZ #18043]
13229         * posix/wordexp.c (parse_param): Fix buffer overflow.
13230         * posix/wordexp-test.c (do_bz18043): Add test case.
13232 2015-03-06  Vincent Bernat  <vincent@bernat.im>
13234         * time/tst-strptime2.c (do_test): Ensure failing tests are
13235         reported correctly.
13236         * time/tst-strptime3.c (do_test): Likewise.
13238 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
13240         Fix aio_error thread-safety.
13241         * sysdeps/pthread/aio_error.c: New file
13242         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
13243         synchronization.
13245 2015-03-06  Florian Weimer  <fweimer@redhat.com>
13247         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
13248         (group_number, vfprintf): Use it.
13249         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
13250         (JUMP, REF): Use it.
13251         (WORK_BUFFER_SIZE): New enum constant.
13252         (process_arg, vfprintf): Use it.
13254 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
13256         * manual/errno.texi (Error Messages): Complete example function
13257         by adding missing #define.
13258         (program_invocation_name): Add statement indicating GNU
13259         extension and reference which header file declares the variable.
13260         (program_invocation_short_name): Likewise.
13262 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
13264         * manual/errno.texi (Error Messages): Delete strerror ISO C89
13265         compatibility note.
13267 2015-03-05  Roland McGrath  <roland@hack.frob.com>
13269         * Makeconfig (test-wrapper-env-only): New variable.
13270         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
13271         then use that with $(test-wrapper-env-only) rather than using
13272         $(test-wrapper-env) $(run-program-env) $($*-ENV).
13274 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
13276         [BZ #18082]
13277         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
13278         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
13279         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
13280         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
13281         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
13282         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
13283         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
13284         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
13285         Likewise.
13286         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
13287         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
13288         Likewise.
13289         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
13290         Likewise.
13291         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
13292         Likewise.
13293         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
13294         Likewise.
13295         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
13296         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
13297         Likewise.
13298         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
13299         Likewise.
13300         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
13301         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
13303 2015-03-04  Roland McGrath  <roland@hack.frob.com>
13305         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
13306         (ETH_ALEN): New macro.
13307         (struct ether_addr): Use it for length of ether_addr_octet.
13309         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
13310         (setdb): Don't call __nss_configure_lookup for "rpc".
13311         (do_test): Don't call test_rpc.
13312         (output_rpcent, test_rpc): Functions moved ...
13313         * sunrpc/test-rpcent.c: ... to this new file.
13314         * sunrpc/Makefile (tests): Add it.
13316         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
13317         __xpg_sigpause.
13318         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
13319         * nptl/tst-signal6.c: Likewise.
13320         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
13321         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
13323         * configure.ac (libc_cv_cxx_link_ok): New check.
13324         Reset CXX to empty if it fails to link.
13325         * configure: Regenerated.
13326         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
13327         bug-atexit3-lib only if $(CXX) is nonempty.
13328         * nptl/Makefile (tests): Likewise for tst-cancel24.
13329         (tests, tests-static): Likewise for tst-cancel24-static.
13330         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
13331         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
13332         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
13333         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
13335 2015-03-04  Andreas Schwab  <schwab@suse.de>
13337         [BZ #17631]
13338         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
13339         for non-GCC compilers.
13340         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13341         Likewise.
13343 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13345         [BZ #17776]
13346         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
13347         integer before bitwise and assembly operations.
13348         (feclearexcept): Likewise.
13349         * math/test-fenvinline.c: New file.
13350         * math/Makefile: Add test-fenvinline test.
13352 2015-03-03  Alan Modra  <amodra@gmail.com>
13354         [BZ #16512]
13355         * scripts/localplt.awk: Strip off symbol version.
13356         * NEWS: Mention bug fix.
13358 2015-03-02  Roland McGrath  <roland@hack.frob.com>
13360         * sysdeps/pthread/timer_routines.c
13361         (timer_free_list, thread_free_list, thread_active_list): Make static.
13363 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
13365         [BZ #17779]
13366         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13367         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13368         Undefine.
13369         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13370         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13371         Likewise.
13372         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13373         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13374         Likewise.
13376 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
13378         [BZ #18036]
13379         * posix/fnmatch_loop.c (END): Detect invalid pattern.
13380         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
13382 2015-03-02  Andreas Schwab  <schwab@suse.de>
13384         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
13385         variable name.
13387 2015-03-02  Florian Weimer  <fweimer@redhat.com>
13389         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
13390         Return error status.
13392 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
13394         [BZ #15969]
13395         * locale/findlocale.c (_nl_find_locale): Introduce const
13396         version of loc_name and drop unsafe type casts.
13398 2015-02-27  Roland McGrath  <roland@hack.frob.com>
13400         * dlfcn/tststatic2.c (main): Converted to ...
13401         (do_test): ... this.
13402         (TEST_FUNCTION): New macro.
13403         Include test-skeleton.c.
13405 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
13407         [BZ #17711]
13408         * elf/Makefile (tests): Add vismain only if PIE is enabled.
13409         (tests-pie): Add vismain.
13410         (CFLAGS-vismain.c): New.
13411         * elf/vismain.c: Add comments for PIE requirement.
13413 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
13415         [BZ #18046]
13416         [BZ #18047]
13417         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
13418         0x1p-56L as threshold for just returning the argument.
13419         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
13420         0x1p-32L as threshold for just returning the argument.
13421         * math/auto-libm-test-in: Add more tests of atanh.
13422         * math/auto-libm-test-out: Regenerated.
13423         * sysdeps/i386/fpu/libm-test-ulps: Update.
13424         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
13426 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13428         * string/bcopy.c (bcopy): Call memmove for performance.
13430 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13432         * string/bzero.c (__bzero): Call memset for performance.
13434 2015-02-27  John David Anglin  <dave.anglin@bell.net>
13436         [BZ #18068]
13437         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
13438         to 00100000.
13440 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
13442         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
13444 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
13446         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
13447         (__kernel_standard): Use CSTR macro when setting exc.name.
13448         * sysdeps/ieee754/Makefile [$(subdir) = math]
13449         (CFLAGS-k_standard.c): Remove variable.
13451         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
13452         setting p and q from "else if" to "else".
13453         (qzero): Likewise.
13454         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
13455         (qone): Likewise.
13456         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
13457         (qzerof): Likewise.
13458         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
13459         (qonef): Likewise.
13460         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
13461         (qzero): Likewise.
13462         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
13463         (qone): Likewise.
13465         [BZ #18038]
13466         [BZ #18039]
13467         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
13468         return pi/2 for arguments below 0x1p-113L.
13469         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
13470         return pi/2 for arguments below 0x1p-106L.
13471         * math/auto-libm-test-in: Add more tests of acos.
13472         * math/auto-libm-test-out: Regenerated.
13474         [BZ #16351]
13475         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
13476         (MO): New macro.
13477         (__ieee754_asin): Force underflow exception for results with small
13478         absolute value.
13479         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
13480         (MO): New macro.
13481         (__ieee754_asinf): Force underflow exception for results with
13482         small absolute value.
13483         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
13484         (__ieee754_asin): Force underflow exception for results with small
13485         absolute value.
13486         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
13487         (__ieee754_asinf): Force underflow exception for results with
13488         small absolute value.
13489         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
13490         (__ieee754_asinl): Force underflow exception for results with
13491         small absolute value.
13492         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
13493         (__ieee754_asinl): Force underflow exception for results with
13494         small absolute value.
13495         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
13496         (__ieee754_asinl): Force underflow exception for results with
13497         small absolute value.
13498         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13499         Include <math.h>.
13500         * math/auto-libm-test-in: Do not mark underflow exceptions as
13501         possibly missing for bug 16351.
13502         * math/auto-libm-test-out: Regenerated.
13504         [BZ #18030]
13505         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
13506         of power of 2 down when low part has opposite sign.
13507         * math/libm-test.inc (logb_test_data): Add more tests.
13509 2015-02-26  Andreas Schwab  <schwab@suse.de>
13511         [BZ #18032]
13512         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
13513         over collating symbol inside a bracket expression.  Minor cleanup.
13514         * posix/tst-fnmatch3.c (do_test): Add test case.
13516 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
13518         [BZ #18029]
13519         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
13520         Adjust exponent of power of 2 down when low part has opposite
13521         sign.
13522         * math/libm-test.inc (ilogb_test_data): Add more tests.
13524 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
13526         [BZ #15969]
13527         * locale/findlocale.c (_nl_find_locale): Fix constness error in
13528         the previous change.
13530         [BZ #15969]
13531         * locale/findlocale.c (_nl_find_locale): Retry archive search
13532         after alias expansion.
13534 2015-02-25  Roland McGrath  <roland@hack.frob.com>
13536         * iconv/tst-iconv3.c (main): Converted to ...
13537         (do_test): ... this.
13538         (TEST_FUNCTION): New macro.
13539         Include test-skeleton.c.
13541         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
13542         (convert): Make function static.
13543         (test_unalign): Likewise.  Add const to argument pointee types.
13544         (main): Replace with static function do_test.
13545         Print "Succeeded." only if RET is zero.
13546         (TEST_FUNCTION): New macro.
13547         Include test-skeleton.c.
13549         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
13550         returns a null pointer.
13552 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13554         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
13555         to __memcpy_ppc only for static builds.
13557 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
13559         [BZ #18020]
13560         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
13561         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
13562         * math/auto-libm-test-in: Add more tests of asinh.
13563         * math/auto-libm-test-out: Regenerated.
13564         * sysdeps/i386/fpu/libm-test-ulps: Update.
13565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13567 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
13569         [BZ #15850]
13570         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
13571         and ip6_mtuinfo definitions here.
13572         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
13573         in this define too.  Update comment.
13575 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
13577         * elf/sprof.c (load_shobj): Tweak error message to match others.
13579 2015-02-24  Kevin Easton  <kevin@guarana.org>
13581         [BZ #16145] (partial fix)
13582         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
13583         to reduce lock contention.
13585 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
13587         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
13588         (struct timex): Update time comment.
13589         (ADJ_SETOFFSET): Define.
13591 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
13593         [BZ #18019]
13594         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13595         2**56 not 2**28 as threshold for log (2x) formula.
13596         * math/auto-libm-test-in: Add more tests of acosh.
13597         * math/auto-libm-test-out: Regenerated.
13598         * sysdeps/i386/fpu/libm-test-ulps: Update.
13599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13601 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
13603         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
13604         parenthesis around the buf assignment.
13605         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
13607 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
13609         [BZ #16783]
13610         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
13611         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
13612         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
13613         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13614         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13615         * math/libm-test.inc (scalb_test_data): Add more tests.
13617 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13619         [BZ #17916]
13620         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
13621         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
13623 2015-02-24  Eric Rannaud  <e@nanocritical.com>
13625         [BZ #17523]
13626         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
13627         * io/bits/fcntl2.h (open): Use it.
13628         (openat): Likewise.
13629         * io/open.c (__libc_open): Likewise.
13630         * io/open64.c (__libc_open64): Likewise.
13631         * io/open64_2.c (__open64_2): Likewise.
13632         * io/open_2.c (__open_2): Likewise.
13633         * io/openat.c (__openat): Likewise.
13634         * io/openat64.c (__openat64): Likewise.
13635         * io/openat64_2.c (__openat64_2): Likewise.
13636         * io/openat_2.c (__openat_2): Likewise.
13637         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
13638         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
13639         * sysdeps/posix/open64.c (__libc_open64): Likewise.
13640         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13641         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13642         (__open_nocancel): Likewise.
13643         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13644         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13645         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
13647 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13649         [BZ #14841]
13650         * resolv/gethnamaddr.c (getanswer): Skip logging if
13651         RES_USE_DNSSEC is set.
13652         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13654 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
13656         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
13658 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
13660         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
13661         201304L, for Unicode 7.
13663 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
13665         [BZ #17836]
13666         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
13667         shared library.  Add gmon-start.os otherwise.
13668         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
13669         $(objpfx)gmon-start.os if builing shared library.
13670         ($(objpfx)g$(static-start-installed-name)): Likewise.
13672 2015-02-23  Andreas Schwab  <schwab@suse.de>
13674         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
13676 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
13678         [BZ #17269]
13679         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
13680         (enlarge_userbuf): Likewise.
13682 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
13684         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
13685         * math/atest-exp.c (TIMEOUT): Adjust to 200.
13686         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
13687         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
13689 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
13691         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
13692         expression inside statement expression.
13694 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13696         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
13697         <sysdeps/nptl/lowlevellock.h> and remove macros and
13698         functions that are now defined there.
13699         (SYS_futex): Remove.
13700         (lll_compare_and_swap): Remove.
13701         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
13703 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
13705         [BZ #17999]
13706         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
13707         instead of scandirat.
13708         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
13709         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
13710         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
13711         __scandirat.
13712         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
13713         (__scandirat): Declare.  Use libc_hidden_proto.
13714         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
13715         Remove variable.
13716         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13718 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
13720         [BZ #15319]
13721         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
13722         (MO): New macro.
13723         (__ieee754_atan2): For results with small absolute value, force
13724         underflow exception and remove excess range and precision from
13725         return value.
13726         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
13727         (MO): New macro.
13728         (__ieee754_atan2f): For results with small absolute value, force
13729         underflow exception and remove excess range and precision from
13730         return value.
13731         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
13732         (MO): New macro.
13733         (__atan): For results with small absolute value, force underflow
13734         exception and remove excess range and precision from return value.
13735         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
13736         (MO): New macro.
13737         (__atanf): For results with small absolute value, force underflow
13738         exception and remove excess range and precision from return value.
13739         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
13740         <math.h>.
13741         (__ieee754_atan2): Force underflow exception for results with
13742         small absolute value.
13743         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
13744         <math_private.h>.
13745         (atan): Force underflow exception for results with small absolute
13746         value.
13747         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
13748         (__atanf): Force underflow exception for results with small
13749         absolute value.
13750         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
13751         <math.h>.
13752         (__atanl): Force underflow exception for results with small
13753         absolute value.
13754         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
13755         (__atanl): Force underflow exception for results with small
13756         absolute value.
13757         * sysdeps/x86/fpu/bits/mathinline.h
13758         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
13759         (__ieee754_atan2): Only define inline for long double.
13760         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13761         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
13762         * math/auto-libm-test-in: Do not mark underflow exceptions as
13763         possibly missing for bug 15319.  Add more tests of atan2.
13764         * math/auto-libm-test-out: Regenerated.
13765         * math/libm-test.inc (casin_test_data): Do not mark underflow
13766         exceptions as possibly missing for bug 15319.
13767         (casinh_test_data): Likewise.
13768         * sysdeps/i386/fpu/libm-test-ulps: Update.
13770 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
13772         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
13773         * sysdeps/mips/bits/endian.h: Fix comments.
13775 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
13777         [BZ #17996]
13778         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
13779         (hdestroy_r): Likewise.
13780         (hsearch_r): Likewise.
13781         (__hcreate_r): Declare and use libc_hidden_proto.
13782         (__hdestroy_r): Likewise.
13783         (__hsearch_r): Likewise.
13784         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
13785         (hcreate): Call __hcreate_r instead of hcreate_r.
13786         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
13787         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
13788         as weak alias of __hcreate_r.
13789         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
13790         __hdestroy_r.
13791         (hsearch_r): Rename to __hsearch_r and define as weak alias of
13792         __hsearch_r.
13793         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
13794         Remove variable.
13795         (test-xfail-XPG4/search.h/linknamespace): Likewise.
13796         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13797         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13798         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13800 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13802         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
13803         arena_lock into a single arena_get.
13805 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
13807         * dl-reloc.c: Inlucde libc-internal.h.
13808         (_dl_try_allocate_static_tls): Call ALIGN_UP.
13809         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
13810         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
13811         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
13812         (grow_heap): Likewise.
13813         * malloc/malloc.c: Include libc-internal.h.
13814         (do_check_malloc): Call powerof2.
13815         (sysmalloc): Use pagesize. Call ALIGN_UP.
13816         (systrim): Use pagesize.
13817         (mremap_chunk): Use pagesize. Call ALIGN_UP.
13818         (__libc_valloc): Use pagesize.
13819         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
13821 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
13823         [BZ #17991]
13824         * include/sys/resource.h (__getrlimit64): Declare.  Use
13825         libc_hidden_proto.
13826         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
13827         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
13828         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
13829         getrlimit64.
13830         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
13831         __getrlimit64.
13832         [!getrlimit64] (getrlimit64): Define as weak alias of
13833         __getrlimit64.  Use libc_hidden_weak.
13834         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
13835         using __getrlimit64 not __new_getrlimit64.
13836         (__GI_getrlimit64): Likewise.
13837         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
13838         Likewise.
13839         (__GI_getrlimit64): Likewise.
13840         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
13841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
13842         (getrlimit): Add __getrlimit64 alias.
13843         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
13844         Likewise.
13845         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
13846         Remove variable.
13847         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13848         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13850 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
13852         * libio/fileops.c: Add missing sys/mman.h
13853         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
13855 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
13857         * manual/math.texi (Errors in Math Functions): Clarify goals
13858         regarding inexact and underflow exceptions.
13860 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13862         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
13863         * sysdeps/mips/memset.S: Ditto.
13865 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13867         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
13869 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13871         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
13872         (__v1longjmp): Remove versioned symbol.
13873         (__v1siglongjmp): Remove alias and versioned symbol.
13874         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
13875         (__v2siglongjmp): Likewise.
13877 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13879         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
13881 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
13883         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
13885 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13887         [BZ #17987]
13888         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
13889         zero result does not depend on the sign resulting from
13890         subtraction.
13891         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13892         Likewise.
13893         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13894         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13895         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13896         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13897         * math/libm-test.inc (remquo_test_data): Add more tests.
13899 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
13901         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
13902         Problem reported by J William Piggott.
13904 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13906         [BZ #17978]
13907         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
13908         products 4 * y and 2 * y where those would overflow.
13909         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13910         Likewise.
13911         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13912         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13913         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13914         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13915         * math/libm-test.inc (remquo_test_data): Add more tests.
13917         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
13919         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
13920         [defined _COMPILING_NEWLIB].
13921         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
13922         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
13924         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
13925         [!defined __mips_isa_rev || __mips_isa_rev < 6].
13927 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13929         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
13930         acquired.
13932 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
13934         [BZ #17792]
13935         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
13936         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
13937         HOST_STACK_END_ADDR): Likewise.
13939 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
13941         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
13942         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
13943         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
13945 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13947         * sysdeps/generic/c++-types.data: New file.
13948         * sysdeps/generic/ld.abilist: New file.
13949         * sysdeps/generic/libBrokenLocale.abilist: New file.
13950         * sysdeps/generic/libanl.abilist: New file.
13951         * sysdeps/generic/libc.abilist: New file.
13952         * sysdeps/generic/libcrypt.abilist: New file.
13953         * sysdeps/generic/libdl.abilist: New file.
13954         * sysdeps/generic/libm.abilist: New file.
13955         * sysdeps/generic/libpthread.abilist: New file.
13956         * sysdeps/generic/libresolv.abilist: New file.
13957         * sysdeps/generic/librt.abilist: New file.
13959 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13961         [BZ #17569]
13962         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13963         Compute absolute value of x as modified by fmod, not original
13964         value of x.
13965         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
13966         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
13967         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
13968         RUN_TEST_ffI_f1_mod8.
13969         (remquo_test_data): Add more tests.
13971 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13973         * sysdeps/init_array/pt-crti.S: New file.
13975 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13977         [BZ #17967]
13978         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
13979         __builtin_fmaf instead of relying on contraction of a * b + c.
13981 2015-02-12  J William Piggott  <elseifthen@gmx.com>
13983         [BZ #17969]
13984         * manual/time.texi: correct the zoneinfo path in the TZ Variable
13985         node.
13987 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
13989         [BZ #17964]
13990         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
13991         __builtin_fma instead of relying on contraction of a * b + c.
13993 2015-02-12  Roland McGrath  <roland@hack.frob.com>
13995         * Makeconfig (ASFLAGS): Add -Werror=undef.
13996         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
13997         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
13998         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
14000         * Makeconfig (after-link): New variable.
14001         (+link-pie, +link-pie-tests): Use it.
14002         (+link-static, +link-static-tests): Likewise.
14003         (+link, +link-tests): Likewise.
14004         * Makerules (build-module, build-module-asneeded): Likewise.
14005         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
14006         Likewise.
14007         * elf/Makefile ($(objpfx)ld.so): Likewise.
14009 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
14011         [BZ #17965]
14012         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
14013         both struct timeval and struct timespec.
14015 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
14017         [BZ #16560]
14018         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14019         and redefine.
14020         (__ieee754_exp2l): Do not multiply small fractional parts by
14021         M_LN2l.
14022         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
14023         small argument.
14024         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14025         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14026         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
14027         * math/auto-libm-test-in: Add more tests of exp2.
14028         * math/auto-libm-test-out: Regenerated.
14030 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14032         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
14033         unaligned path.
14035 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14037         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
14038         little endian.
14040 2015-02-12  Andreas Schwab  <schwab@suse.de>
14042         [BZ #15790]
14043         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
14044         Filter out elision flags from value returned in kind.
14045         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
14046         * nptl/tst-pthread-mutexattr.c: New file.
14048 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14050         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
14051         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
14052         into gnu-gnu, and update comment to refer to abi-tags.
14054 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
14056         [BZ #15467]
14057         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
14058         (__sincos): Set errno to EDOM for infinite argument.
14059         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
14060         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
14061         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
14062         (__sincosl): Set errno to EDOM for infinite argument.
14063         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
14064         (__sincosl): Set errno to EDOM for infinite argument.
14065         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
14066         (__sincosl): Set errno to EDOM for infinite argument.
14067         * math/libm-test.inc (sincos_test_data): Test errno setting.
14069 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
14071         * string/strxfrm_l.c: Remove #define STRCMP.
14072         * string/strcoll_l.c: Remove #define STRLEN.
14073         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
14074         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
14076 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
14078         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
14079         * sysdeps/mips/mips32/sfp-machine.h: ... here.
14080         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
14081         * sysdeps/mips/mips64/Makefile: ... here.
14082         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
14083         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
14084         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
14085         * sysdeps/mips/mips64/sfp-machine.h: ... here.
14086         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
14087         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
14088         * sysdeps/mips/mips64/n64/Implies: Likewise.
14090 2015-02-10  Roland McGrath  <roland@hack.frob.com>
14092         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
14093         <sys/time.h>, <string.h>, and <errno.h>.
14094         (dest_offset, dest_address, value, zero): Remove unused variables.
14095         (ldouble): Remove typedef.
14096         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
14097         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
14098         1).  Fix code style.
14099         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
14100         (check): Function removed.
14101         (CHECK): New macro.
14102         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
14103         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
14104         Don't call set_sigaction_FP and remove_sigaction_FP here.
14105         (ldouble_test): Just use 'long double' as macro argument, no need for
14106         the 'ldouble' typedef.
14107         (do_test): Set up SIGFPE handler at start, using plain signal rather
14108         than sigaction.  Fix code style.
14110 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
14112         [BZ #17949]
14113         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
14114         jump label.
14116 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14118         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
14119         * sysdeps/powerpc/powerpc32/configure: Regenerated.
14121         * sysdeps/powerpc/configure.ac: Remove file.
14122         * sysdeps/powerpc/configure: Likewise.
14124         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14125         [sysdep_routines]: Remove wordcopy-power6 object.
14126         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14127         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
14128         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
14129         (__memmove_ppc32): Likewise.
14130         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
14131         file.
14132         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
14133         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
14134         Remove preprocessor.
14136         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14137         [sysdep_routines]: Remove wide chars objects.
14138         [wcsmbs]: New rule for wide char objects.
14140         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14141         Remove wordcopy-power6 obejct.
14142         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
14143         Use local call for wordcopy and memcpy symbols.
14144         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
14145         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
14146         implementation for loader.
14147         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
14149         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14150         Remove wordcopy-power7 object.
14151         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
14152         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
14153         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
14154         (_wordcopy_fwd_dest_aligned): Likewise.
14155         (_wordcopy_bwd_aligned): Likewise.
14156         (_wordcopy_bwd_dest_aligned): Likewise.
14158         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
14159         Rewrite to call __memmove_ppc instead of include default
14160         implementation.
14162         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14163         Remove wide chars objects.
14164         [wcsmbs]: New rule for wide char objects.
14166 2015-02-09  Andreas Schwab  <schwab@suse.de>
14168         [BZ #17912]
14169         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14170         in terms of __O_DIRECTORY.
14172 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14174         * time/getdate.c: Include <stdbool.h>.
14175         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
14176         call PTR_MANGLE.
14177         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
14178         PTR_DEMANGLE.
14180 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
14182         Add ersatz _Static_assert on older C hosts
14183         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
14184         pre-C11 C platform that is not known to support _Static_assert.
14186 2015-02-07  Richard Braun  <rbraun@sceen.net>
14188         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
14189         sigstate.
14190         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
14192 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14194         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
14195         priority against unexistent AIO_PRIO_DELTA_MAX.
14196         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
14197         instead of int.
14198         * misc/fchflags.c (fchflags): Likewise.
14199         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
14200         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
14201         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
14202         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
14203         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
14204         Declare macros.
14205         [__USE_MISC] (chflags, fchflags): Declare functions.
14206         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
14207         EINVAL when nfds is greater than FD_SETSIZE.
14208         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
14209         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
14210         45.
14211         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
14212         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
14213         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
14214         MACH_RCV_TIMED_OUT.
14215         * hurd/hurd/signal.h (_hurd_self_sigstate,
14216         _hurd_critical_section_lock, _hurd_critical_section_unlock):
14217         Explicit casts from void *.
14218         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
14219         * abi-tags: Rename gnu-gnu os into gnu.
14221         [BZ #4719]
14222         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
14223         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
14224         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
14225         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
14226         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
14227         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
14229         [BZ #17944]
14230         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
14231         duplicates ADDR->sun_path with sockaddr LEN limitation.
14232         * sysdeps/mach/hurd/connect.c: Include <string.h>
14233         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
14234         * sysdeps/mach/hurd/sendmsg.c: Likewise.
14235         * sysdeps/mach/hurd/sendto.c: Likewise.
14236         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
14237         implementing it by hand.
14239 2015-02-06  Roland McGrath  <roland@hack.frob.com>
14241         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
14242         Use sfi_breg on ldr.
14243         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
14244         Likewise.
14246         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
14247         it's defined.
14248         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
14249         Test SIGSETXID only if it's defined.
14251         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
14253         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
14254         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
14256         * nptl/tst-align2.c: Moved ...
14257         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
14258         * nptl/Makefile (tests): Remove tst-align2.
14259         * sysdeps/unix/sysv/linux/Makefile
14260         [$(subdir) = nptl] (tests): Add tst-align-clone.
14261         * nptl/tst-getpid1.c: Moved ...
14262         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
14263         * nptl/tst-getpid2.c: Moved ...
14264         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
14265         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
14266         * sysdeps/unix/sysv/linux/Makefile
14267         [$(subdir) = nptl] (tests): ... here.
14268         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
14269         * sysdeps/unix/sysv/linux/Makefile
14270         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
14272         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
14273         Drop trailing \n from perror argument.  Use return rather than exit.
14275         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
14276         on [SA_SIGINFO].
14277         * nptl/tst-cancel21.c (do_test): Likewise.
14278         * debug/tst-backtrace6.c: Include <signal.h> first thing.
14279         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
14280         [!SA_SIGINFO]: Make it a stub test.
14282         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
14283         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
14285         * posix/tst-getlogin.c: Move to ...
14286         * login/tst-getlogin.c: ... here.
14287         * posix/Makefile (tests): Move tst-getlogin to ...
14288         * login/Makefile (tests): ... here.
14290         * libio/tst-atime.c (do_test): Move local variables SV and E
14291         inside [ST_NOATIME] conditional.
14293         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
14295         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
14297         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
14298         (wait_code): New function replaces macro.
14299         Call nanosleep rather than syscall.
14301         * nptl/pt-system.c: Rewritten.  Put everything under
14302         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14303         Use IFUNC to redirect when possible.
14305         * nptl/pt-longjmp.c: Rewritten.  Put everything under
14306         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14307         Use IFUNC to redirect when possible.
14309         * nptl/pt-fork.c: Rewritten.  Put everything under
14310         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14311         Use IFUNC to redirect when possible.
14312         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
14314         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
14315         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
14316         unconditionally nowadays.  This included the only reference to
14317         __vdso_clock_gettime that appears outside libc proper.
14318         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
14319         Remove version set (containing only __vdso_clock_gettime).
14320         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
14321         Add attribute_hidden.
14322         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
14323         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
14324         libc_hidden_data_def.
14325         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14326         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14328         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
14329         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
14330         setrpcent, and getrpcport to ...
14331         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
14332         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
14333         getrpcbynumber_r, and getrpcent_r to ...
14334         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
14335         * inet/getrpcbyname.c: Moved ...
14336         * sunrpc/getrpcbyname.c: ... here.
14337         * inet/getrpcbyname_r.c: Moved ...
14338         * sunrpc/getrpcbyname_r.c: ... here.
14339         * inet/getrpcbynumber.c: Moved ...
14340         * sunrpc/getrpcbynumber.c: ... here.
14341         * inet/getrpcbynumber_r.c: Moved ...
14342         * sunrpc/getrpcbynumber_r.c: ... here.
14343         * inet/getrpcent.c: Moved ...
14344         * sunrpc/getrpcent.c: ... here.
14345         * inet/getrpcent_r.c: Moved ...
14346         * sunrpc/getrpcent_r.c: ... here.
14347         * inet/Makefile (routines): Move those to ...
14348         * sunrpc/Makefile (routines): ... here.
14349         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
14350         the $(subdirs) list.
14351         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
14352         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
14353         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
14354         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
14356         * elf/Makefile (routines): Include $(all-dl-routines), not just
14357         $(dl-routines).
14358         (rtld-routines): Likewise.  Use = rather than :=.
14359         * sysdeps/aarch64/Makefile [$(subdir) = elf]
14360         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
14361         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
14362         * sysdeps/arm/Makefile: Likewise.
14363         * sysdeps/i386/Makefile: Likewise.
14364         * sysdeps/x86_64/Makefile: Likewise.
14365         * sysdeps/hppa/Makefile [$(subdir) = elf]
14366         (sysdep_routines, sysdep-rtld-routines): Don't add
14367         $(sysdep-dl-routines) to these.
14368         * sysdeps/ia64/Makefile: Likewise.
14369         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
14370         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
14371         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
14372         Don't add dl-static to these; sysdep-dl-routines alone is enough.
14373         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
14374         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
14375         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
14376         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
14377         * sysdeps/powerpc/Makefile [$(subdir) = elf]
14378         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
14379         these; sysdep-dl-routines alone is enough.
14381 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
14383         [BZ #17932]
14384         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
14385         where multiplication results in zero and third argument is finite
14386         and nonzero.
14387         * math/auto-libm-test-in: Add more tests of fma.
14388         * math/auto-libm-test-out: Regenerated.
14390         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
14391         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
14392         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
14393         (_FP_CMP_EQ): Likewise.
14394         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
14396         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
14397         extra argument CHECK_NAN.  Redefine as wrapper around
14398         _FP_EXTEND_CNAN.
14400 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
14402         * version.h (RELEASE): Set to "stable".
14403         (VERSION): Set to "2.21"
14404         * include/features.h (__GLIBC_MINOR__): Set to 21.
14406         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
14408 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14409             Paul Eggert  <eggert@cs.ucla.edu>
14411         [BZ #16618]
14412         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
14413         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
14414         size in bytes. Store needed elements in wpmax. Use needed size
14415         in bytes for extend_alloca.
14417 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
14419         * manual/install.texi: Latest tested versions are GCC 4.9.2,
14420         binutls 2.25, and texinfo 5.2.
14421         * INSTALL: Regenerate.
14422         * sysdeps/nios2/configure: Regenerate.
14423         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
14424         * manual/contrib.texi: Update.
14425         * po/be.po: Update.
14426         * po/bg.po: Update.
14427         * po/ca.po: Update.
14428         * po/cs.po: Update.
14429         * po/da.po: Update.
14430         * po/de.po: Update.
14431         * po/el.po: Update.
14432         * po/eo.po: Update.
14433         * po/es.po: Update.
14434         * po/fi.po: Update.
14435         * po/fr.po: Update.
14436         * po/gl.po: Update.
14437         * po/hr.po: Update.
14438         * po/hu.po: Update.
14439         * po/ia.po: Update.
14440         * po/id.po: Update.
14441         * po/it.po: Update.
14442         * po/ja.po: Update.
14443         * po/ko.po: Update.
14444         * po/lt.po: Update.
14445         * po/nb.po: Update.
14446         * po/nl.po: Update.
14447         * po/pl.po: Update.
14448         * po/pt_BR.po: Update.
14449         * po/ru.po: Update.
14450         * po/rw.po: Update.
14451         * po/sk.po: Update.
14452         * po/sl.po: Update.
14453         * po/sv.po: Update.
14454         * po/tr.po: Update.
14455         * po/uk.po: Update.
14456         * po/vi.po: Update.
14457         * po/zh_CN.po: Update.
14458         * po/zh_TW.po: Update.
14460         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
14461         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
14462         * sysdeps/hppa/dl-irel.h: Remove #warning.
14463         * sysdeps/hppa/entry.h: Provide prototype for
14464         __canonicalize_funcptr_for_compare and cast argument.
14465         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
14466         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
14467         * sysdeps/hppa/sotruss-lib.c: New file.
14468         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
14469         (atomic_compare_and_exchange_val_acq): Use __typeof__.
14470         (atomic_compare_and_exchange_bool_acq): Likewise.
14471         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
14472         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
14474         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
14475         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
14476         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
14478 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
14480         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
14481         called function in non-PIC case.
14483 2015-01-31  David S. Miller  <davem@davemloft.net>
14485         * sysdeps/sparc/sparc32/bits/atomic.h
14486         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
14487         unlock not after it.
14488         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
14489         volatile register usage warnings from the compiler.
14491         * sysdeps/sparc/nptl/sem_init.c: Delete.
14492         * sysdeps/sparc/nptl/sem_post.c: Delete.
14493         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
14494         * sysdeps/sparc/nptl/sem_wait.c: Delete.
14495         * sysdeps/sparc/sparc32/sem_init.c: New file.
14496         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
14497         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
14498         padding explicitly initialized.
14499         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
14500         padding for in-semaphore spinlock.
14501         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
14502         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
14503         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
14504         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
14505         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
14506         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
14507         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
14508         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
14509         version.
14510         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
14511         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
14513 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
14515         [BZ #17801]
14516         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14517         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
14518         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
14519         New.
14520         (index_AVX_Fast_Unaligned_Load): Likewise.
14521         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
14522         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
14523         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
14524         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
14525         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
14526         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
14527         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
14528         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
14529         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
14531 2015-01-29  Andreas Schwab  <schwab@suse.de>
14533         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
14535 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
14537         [BZ #17892]
14538         * nscd/nscd_stat.c (send_stats): Initialize DATA.
14540 2015-01-28  Martin Sebor  <msebor@redhat.com>
14542         * math/README.libm-test: Clarify. Add "How to read the test output."
14544 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
14546         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
14547         Define to 0.
14549 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
14551         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
14552         (__HAVE_64B_ATOMICS): Define to 0.
14554 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14556         [BZ #17885]
14557         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
14558         value to set as new flag.
14560         [BZ #16576]
14561         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
14562         and use _ARCH_PPCSQ instead.
14563         (__ieee754_sqrt): Likewise.
14564         (__ieee754_sqrtf): Likewise.
14565         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
14566         _ARCH_PPCSQ is defined.
14567         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
14568         fsqrt instruction.
14569         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
14570         _ARCH_PPCSQ is defined.
14571         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
14572         fsqrts instruction.
14573         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
14575 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14577         * iconv/loop.c: Suppress array out of bound warning caused by GCC
14578         bug (GCC BZ #64739).
14580 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
14582         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
14583         Mark _retval as used.
14584         (lll_futex_wake_unlock): Likewise.
14585         (lll_futex_timed_wait_requeue_pi): Likewise.
14587         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
14588         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
14589         register variables.
14591         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
14592         libm_hidden_def.
14594         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
14595         (__bswap_64): Mark as __always_inline.
14597 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
14599         [BZ #15378]
14600         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
14601         when none of the search directories exist.
14603 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14605         [BZ #17869]
14606         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
14607         power8 in .machine directive.
14609         [BZ #17868]
14610         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
14611         set dependency from opd value.
14613 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
14615         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14616         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
14617         architecture.
14619 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
14621         [BZ #17870]
14622         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
14623         with uint64_t.
14624         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
14625         (uint64_t) 1.
14626         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
14627         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
14628         Replace 1UL with (uint64_t) 1.
14629         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
14630         int with uint64_t.
14632 2015-01-23  Roland McGrath  <roland@hack.frob.com>
14634         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
14635         (if_freenameindex): Likewise.
14637         * resource/getrlimit64.c: Add missing libc_hidden_def.
14639 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
14641         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
14642         __label__.
14643         (_FP_FMA): Likewise.
14644         (_FP_TO_INT_ROUND): Likewise.
14645         (_FP_FROM_INT): Likewise.
14647 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14649         [BZ #16418]
14650         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
14651         Make code racy and cancel safe.
14653 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
14655         * sysdeps/arm/unwind-resume.h: Fix copyright year.
14656         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
14657         attribution.
14659         * pwd/tst-getpw.c: Rewrite.
14661         [BZ #17702]
14662         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
14663         (modules-names): Add moddummy1 and moddummy2.
14664         ($(objpfx)tst-rec-dlopen): Define.
14665         * dlfcn/moddummy1.c: New file.
14666         * dlfcn/moddummy2.c: New file.
14667         * dlfcn/tst-rec-dlopen.c: New file.
14668         * elf/dl-cache.c (_dl_load_cache_lookup):
14669         Return char*. Copy result with alloca/strcpy/strdup.
14670         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
14671         returns char*. Free cached. If not saving realname
14672         free cached.
14673         * elf/dl-open.c (dl_open_worker): Do not assert that
14674         _r_debug->r_state is RT_CONSISTENT.
14675         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
14676         returns char*.
14678 2015-01-21  Torvald Riegel  <triegel@redhat.com>
14679             Carlos O'Donell  <carlos@redhat.com>
14681         [BZ #12674]
14682         * nptl/sem_waitcommon.c: New file.
14683         * nptl/sem_wait.c: Include sem_waitcommon.c.
14684         (__sem_wait_cleanup, do_futex_wait): Remove.
14685         (__new_sem_wait): Adapt.
14686         (__new_sem_trywait): New function.
14687         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
14688         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
14689         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
14690         (sem_timedwait): Adapt.
14691         * nptl/sem_post.c (__new_sem_post): Adapt.
14692         (futex_wake): New function.
14693         (__old_sem_post): Add release MO fence.
14694         * nptl/sem_open.c (sem_open): Adapt.
14695         * nptl/sem_init.c (__new_sem_init): Adapt.
14696         (futex_private_if_supported): New function.
14697         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
14698         (__old_sem_getvalue): Add using previous code.
14699         * sysdeps/nptl/internaltypes.h: Adapt.
14700         * nptl/tst-sem13.c (do_test): Adapt.
14701         * nptl/tst-sem11.c (main): Adapt.
14702         * nptl/sem_trywait.c: Remove.
14703         * nptl/DESIGN-sem.txt: Remove.
14704         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
14705         (gen-as-const-headers): Remove structsem.sym.
14706         * nptl/structsem.sym: Remove.
14707         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
14708         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
14709         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
14710         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
14711         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
14712         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
14713         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
14714         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
14715         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
14716         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
14717         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
14718         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
14719         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
14720         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
14721         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
14722         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
14723         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
14724         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
14725         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
14726         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
14727         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
14728         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
14730 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
14732         * INSTALL: Regenerated.
14734         * po/libc.pot: Regenerated.
14736 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
14737             Sandra Loosemore  <sandra@codesourcery.com>
14738             Andrew Jenner  <andrew@codesourcery.com>
14739             Joseph Myers  <joseph@codesourcery.com>
14740             Nathan Sidwell  <nathan@codesourcery.com>
14742         * NEWS: Mention new Nios II port.
14743         * sysdeps/nios2/Implies: New file.
14744         * sysdeps/nios2/Makefile: New file.
14745         * sysdeps/nios2/Subdirs: New file.
14746         * sysdeps/nios2/Versions: New file.
14747         * sysdeps/nios2/__longjmp.S: New file.
14748         * sysdeps/nios2/abort-instr.h: New file.
14749         * sysdeps/nios2/backtrace.c: New file.
14750         * sysdeps/nios2/bits/endian.h: New file.
14751         * sysdeps/nios2/bits/fenv.h: New file.
14752         * sysdeps/nios2/bits/link.h: New file.
14753         * sysdeps/nios2/bits/setjmp.h: New file.
14754         * sysdeps/nios2/bsd-_setjmp.S: New file.
14755         * sysdeps/nios2/bsd-setjmp.S: New file.
14756         * sysdeps/nios2/configure: New generated file.
14757         * sysdeps/nios2/configure.ac: New file.
14758         * sysdeps/nios2/crti.S: New file.
14759         * sysdeps/nios2/crtn.S: New file.
14760         * sysdeps/nios2/dl-init.c: New file.
14761         * sysdeps/nios2/dl-machine.h: New file.
14762         * sysdeps/nios2/dl-sysdep.h: New file.
14763         * sysdeps/nios2/dl-tls.h: New file.
14764         * sysdeps/nios2/dl-trampoline.S: New file.
14765         * sysdeps/nios2/gccframe.h: New file.
14766         * sysdeps/nios2/gmp-mparam.h: New file.
14767         * sysdeps/nios2/jmpbuf-offsets.h: New file.
14768         * sysdeps/nios2/jmpbuf-unwind.h: New file.
14769         * sysdeps/nios2/ldsodefs.h: New file.
14770         * sysdeps/nios2/libc-tls.c: New file.
14771         * sysdeps/nios2/libm-test-ulps: New file.
14772         * sysdeps/nios2/machine-gmon.h: New file.
14773         * sysdeps/nios2/math-tests.h: New file.
14774         * sysdeps/nios2/math_private.h: New file.
14775         * sysdeps/nios2/memusage.h: New file.
14776         * sysdeps/nios2/nptl/Makefile: New file.
14777         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
14778         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
14779         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
14780         * sysdeps/nios2/nptl/pthreaddef.h: New file.
14781         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
14782         * sysdeps/nios2/nptl/tls.h: New file.
14783         * sysdeps/nios2/preconfigure: New file.
14784         * sysdeps/nios2/s_fma.c: New file.
14785         * sysdeps/nios2/s_fmaf.c: New file.
14786         * sysdeps/nios2/setjmp.S: New file.
14787         * sysdeps/nios2/sfp-machine.h: New file.
14788         * sysdeps/nios2/sotruss-lib.c: New file.
14789         * sysdeps/nios2/stackguard-macros.h: New file.
14790         * sysdeps/nios2/stackinfo.h: New file.
14791         * sysdeps/nios2/start.S: New file.
14792         * sysdeps/nios2/sysdep.h: New file.
14793         * sysdeps/nios2/tls-macros.h: New file.
14794         * sysdeps/nios2/tst-audit.h: New file.
14795         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
14796         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
14797         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
14798         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
14799         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
14800         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
14801         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
14802         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
14803         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
14804         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
14805         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
14806         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
14807         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
14808         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
14809         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
14810         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
14811         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
14812         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
14813         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
14814         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
14815         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
14816         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
14817         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
14818         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
14819         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
14820         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
14821         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
14822         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
14823         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
14824         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
14825         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
14826         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
14827         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
14828         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
14829         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
14830         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
14831         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
14832         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
14833         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
14834         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
14835         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
14836         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
14837         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
14838         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
14840 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14842         [BZ #17844]
14843         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
14844         (getutent): Use weak_alias in non SHARED case
14845         and default_symbol_version in SHARED case.
14846         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
14847         (getutent_r, pututline): Likewise.
14848         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
14849         (getutid): Likewise.
14850         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
14851         (getutid_r): Likewise.
14852         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
14853         (getutline): Likewise.
14854         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
14855         (getutline_r): Likewise.
14856         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
14857         (updwtmp): Likewise.
14859 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14861         [BZ #17848]
14862         * sysdeps/s390/s390-32/memcmp.S
14863         (memcmp_g5): Rename to __memcmp_g5.
14864         * sysdeps/s390/s390-32/memcpy.S
14865         (memcpy_g5): Rename to __memcpy_g5.
14866         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14867         (memcpy_mvcle) Rename to __memcpy_mvcle.
14868         * sysdeps/s390/s390-32/memset.S
14869         (memset_g5): Rename to __memset_g5.
14870         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14871         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14872         and use prefixed functions.
14873         * sysdeps/s390/s390-32/multiarch/memcmp.S
14874         (memcmp_z196): Rename to __memcmp_z196.
14875         (memcmp_z10): Rename to __memcmp_z10.
14876         (memcmp): Set alias to __memcmp_g5.
14877         (bcmp): Set alias to __memcmp_g5.
14878         * sysdeps/s390/s390-32/multiarch/memcpy.S
14879         (memcpy_z196): Rename to __memcpy_z196.
14880         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14881         (memcpy_z10): Rename to __memcpy_z10.
14882         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14883         (memcpy): Set alias to __memcpy_g5.
14884         * sysdeps/s390/s390-32/multiarch/memset.S
14885         (memset_z196): Rename to __memset_z196.
14886         Jump to __memset_mvcle instead of memset_mvcle.
14887         (memset_z10): Rename to __memset_z10.
14888         Jump to __memset_mvcle instead of memset_mvcle.
14889         (memset_mvcle) Rename to __memset_mvcle.
14890         (memset): Set alias to __memset_g5.
14891         * sysdeps/s390/s390-64/memcmp.S
14892         (memcmp_z900): Rename to __memcmp_z900.
14893         * sysdeps/s390/s390-64/memcpy.S
14894         (memcpy_z900): Rename to __memcpy_z900.
14895         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14896         (memcpy_mvcle) Rename to __memcpy_mvcle.
14897         * sysdeps/s390/s390-64/memset.S
14898         (memset_z900): Rename to __memset_z900.
14899         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
14900         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14901         and use prefixed functions.
14902         * sysdeps/s390/s390-64/multiarch/memcmp.S
14903         (memcmp_z196): Rename to __memcmp_z196.
14904         (memcmp_z10): Rename to __memcmp_z10.
14905         (memcmp): Set alias to __memcmp_z900.
14906         (bcmp): Set alias to __memcmp_z900.
14907         * sysdeps/s390/s390-64/multiarch/memcpy.S
14908         (memcpy_z196): Rename to __memcpy_z196.
14909         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14910         (memcpy_z10): Rename to __memcpy_z10.
14911         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14912         (memcpy): Set alias to __memcpy_z900.
14913         * sysdeps/s390/s390-64/multiarch/memset.S
14914         (memset_z196): Rename to __memset_z196.
14915         Jump to __memset_mvcle instead of memset_mvcle.
14916         (memset_z10): Rename to __memset_z10.
14917         Jump to __memset_mvcle instead of memset_mvcle.
14918         (memset_mvcle) Rename to __memset_mvcle.
14919         (memset): Set alias to __memset_z900.
14921 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
14923         [BZ #17748]
14924         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
14925         __fesetenv instead of fesetenv.
14927 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14929         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
14930         macro.
14932 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14934         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
14935         regression on LE.
14937         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
14938         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
14939         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14940         strncmp-power8 object.
14941         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14942         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
14943         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
14944         * NEWS: Update.
14946 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14947             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14949         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
14950         trailing byte check.
14952 2015-01-13  David S. Miller  <davem@davemloft.net>
14954         * include/signal.h (__sigreturn): Guard with __USE_MISC.
14956 2015-01-13  Roland McGrath  <roland@hack.frob.com>
14958         * login/logout.c (logout): Use memset rather than bzero.
14959         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
14960         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
14961         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
14962         (_gethtbyaddr): Likewise.
14963         * locale/programs/simple-hash.c (bcopy): Macro removed.
14965 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14967         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14968         Add strcmp-power8 object.
14969         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14970         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
14971         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
14972         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
14973         __strcmp_power8 implementation.
14974         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
14975         * NEWS: Update.
14977         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14978         Add strncpy-power8 and stpncpy-power8 objects.
14979         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14980         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
14981         implementations.
14982         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
14983         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
14984         __stpncpy_power8 implementation.
14985         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
14986         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
14987         __strncpy_power8 implementation.
14988         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
14989         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
14990         * NEWS: Update.
14992         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
14993         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
14994         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
14996         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14997         strncat-power8 object.
14998         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
14999         __strcat_power8 implementation.
15000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15001         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
15002         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
15003         optimized strcat for power8.
15005         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15006         strcpy-power8 and stpcpy-power8 objects.
15007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15008         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
15009         implementations.
15010         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
15011         multiarch stpcpy implementation for POWER8.
15012         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
15013         multiarch strcpy implementation for POWER8.
15014         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
15015         __strcpy_power8 function.
15016         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
15017         stpcpy for POWER8.
15018         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
15019         strcpy for POWER8.
15020         * NEWS: Update.
15022 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
15024         [BZ #16009]
15025         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
15026         weights and rules. Use do_xfrm_cached if data fits in cache,
15027         do_xfrm otherwise.  Moved former main loop to...
15028         * (do_xfrm_cached): New function.
15029         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
15030         find_idx, find_position and stack_push.
15031         * (find_idx): New function.
15032         * (find_position): Likewise.
15033         * localedata/sort-test.sh: Added test run for do_xfrm.
15034         * localedata/xfrm-test.c (main): Added command line option
15035         -nocache to run the test with strings that are too large for
15036         the STRXFRM cache.
15038 2015-01-13  Torvald Riegel  <triegel@redhat.com>
15040         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
15041         variable to lll_futex_wake call, not the value itself.
15043 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
15045         [BZ #17803]
15046         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
15047         twom64.  Adjust value to 0x1p-64L.
15048         (__scalblnl): Only return standard underflowing result for K <=
15049         -64 not K <= -63; adjust exponent for underflowing result by 64
15050         not 63.
15051         * math/libm-test.inc (scalbn_test_data): Add more tests.
15052         (scalbln_test_data): Likewise.
15054         [BZ #17834]
15055         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
15056         0x1p63L.
15057         (__scalblnl): Get new exponent of adjusted subnormal value from ES
15058         not HX.
15059         * math/libm-test.inc (scalbn_test_data): Add more tests.
15060         (scalbln_test_data): Likewise.
15062 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15063             Stefani Seibold  <stefani@seibold.net>
15065         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
15066         (sysdep_routines): Add dl-vdso here, ...
15067         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
15068         (sysdep_routines): ... not here.
15069         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
15070         fallback when vDSO is not presented.
15071         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
15072         Define with libc_hidden_proto/libc_hidden_data_def definitions.
15073         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
15074         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
15075         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
15076         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
15077         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
15078         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
15079         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
15080         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
15081         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
15082         fallback configurable symbol when vDSO is not available.
15083         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
15084         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
15085         be able to redefine fallback symbol when vDSO is not available.
15086         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
15087         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
15089 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15091         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
15092         (TLS_INIT_TP): Add tm_capable initialization.
15093         (TLS_DEFINE_INIT_TP): Likewise.
15094         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
15095         TCB.
15096         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
15097         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
15098         calculation.
15099         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
15100         transactoion is lock elision is built and TCB tm_capable is set.
15101         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
15102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15103         (INTERNAL_SYSCALL_NCS): Likewise.
15104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15105         (INTERNAL_SYSCALL_NCS): Likewise.
15106         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
15108         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
15109         for powerpc.
15110         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15111         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
15112         and remove it for 32 bits case.
15113         [pthread_rwlock_t] (__rwelision): New field for lock elision.
15114         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
15115         initialization.
15116         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
15117         Disable lock elision with rdlocks if elision is not available.
15119         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
15120         (sysdep_routines): Add lock elision objects.
15121         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15122         [pthread_mutex_t] (__spins): Rework to add lock elision field.
15123         [pthread_mutex_t] (__elision): Add field.
15124         [__PTHREAD_SPINS]: Adjust to init lock elision field.
15125         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
15126         elision definitions for powerpc.
15127         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
15128         implementation of lock elision for powerpc.
15129         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
15130         implementation of timed lock elision for powerpc.
15131         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
15132         implementation of trylock with lock elision for powerpc.
15133         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
15134         implementaion of unlock for lock elision for powerpc.
15135         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
15136         automatic enable lock elision for mutexes.
15137         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
15138         transaction execution definitions for powerpc.
15139         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
15140         definitions.
15141         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
15142         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
15143         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
15144         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
15145         * NEWS: Update.
15147 2015-01-09  Roland McGrath  <roland@hack.frob.com>
15149         * sysdeps/posix/shm-directory.c: Use <> rather than ""
15150         for #include of <shm-directory.h>.
15152 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
15154         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
15155         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
15157 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
15159         [BZ #17791]
15160         * NEWS: Mention bug fix.
15161         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
15162         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
15163         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
15165 2015-01-09  Torvald Riegel <triegel@redhat.com>
15167         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
15169 2015-01-09  Torvald Riegel <triegel@redhat.com>
15171         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
15173 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15175         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
15176         pointer and cast to uintptr_t.
15178 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15180         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
15181         removed.
15182         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
15184 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15186         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
15187         of 0.
15189 2015-01-08  Roland McGrath  <roland@hack.frob.com>
15191         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
15192         <nptl/pthreadP.h> instead.
15193         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
15195         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
15196         already defined.
15197         [__SIGRTMIN] (init): Function removed.
15198         [__SIGRTMIN] (initialized): Variable removed.
15199         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
15200         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
15201         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
15202         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
15203         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
15204         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
15205         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
15206         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
15207         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
15208         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
15209         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
15210         * sysdeps/nptl/allocrtsig.c: New file.
15211         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
15212         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
15213         * sysdeps/generic/testrtsig.h: File removed.
15215         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
15216         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
15218         * nptl/nptl-init.c (pthread_functions): Conditionalize
15219         .ptr__nptl_setxid initialization on [SIGSETXID].
15221         * sysdeps/nptl/sys/procfs.h: New file.
15222         * nptl_db/Makefile (headers): Add it.
15223         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
15225         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
15226         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
15227         * nptl/pthread_attr_setaffinity.c: Include it.
15228         * nptl/pthread_setattr_default_np.c: Likewise.
15229         * nptl/check-cpuset.h: New file.
15231 2015-01-08  Richard Henderson  <rth@redhat.com>
15233         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
15234         (CFLAGS-tst-execstack-prog.c): Likewise.
15235         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
15237 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
15238             Sandra Loosemore  <sandra@codesourcery.com>
15239             Andrew Jenner  <andrew@codesourcery.com>
15240             Joseph Myers  <joseph@codesourcery.com>
15241             Nathan Sidwell  <nathan@codesourcery.com>
15243         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
15244         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
15245         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
15246         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
15247         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
15248         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
15249         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
15250         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
15251         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
15252         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
15253         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
15254         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
15255         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
15256         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
15257         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
15258         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
15259         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
15261 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15263         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
15264         timespec struct member in syscall macro.
15265         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
15266         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
15267         first timeval struct member in syscall macro.
15268         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
15270 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
15272         [BZ #17748]
15273         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
15274         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
15275         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
15276         __feupdateenv and define as weak alias of __feupdateenv.  Use
15277         libm_hidden_weak.
15278         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
15279         libm_hidden_def.
15280         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
15281         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
15282         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15283         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
15284         libm_hidden_def.
15285         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
15286         __feupdateenv and define as weak alias of __feupdateenv.  Use
15287         libm_hidden_weak.
15288         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
15289         libm_hidden_def.
15290         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
15291         __feupdateenv and define as weak alias of __feupdateenv.  Use
15292         libm_hidden_weak.
15293         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
15294         libm_hidden_def.
15295         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15296         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15297         (__feupdateenv): Likewise.
15298         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
15299         __feupdateenv and define as weak alias of __feupdateenv.  Use
15300         libm_hidden_weak.
15301         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15302         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
15303         libm_hidden_def.
15304         * sysdeps/tile/math_private.h (__feupdateenv): New inline
15305         function.
15306         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
15307         libm_hidden_def.
15308         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
15309         __feupdateenv instead of feupdateenv.
15310         (default_libc_feupdateenv_test): Likewise.
15311         (libc_feresetround_ctx): Likewise.
15313 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15315         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
15316         prototype.
15318 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
15320         * posix/regcomp.c (parse_bracket_exp): Initialize type to
15321         COLL_SYM in a couple of places to avoid uninitialized variable
15322         wanings on tilegx gcc 4.8.2.
15324 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15326         * sysdeps/aarch64/strcpy.S: New file.
15327         * sysdeps/aarch64/stpcpy.S: New file.
15328         * NEWS: Updated.
15330 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15332         * sysdeps/aarch64/strrchr.S: New file.
15333         * NEWS: Updated.
15335 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
15337         [BZ #17658]
15338         * stdlib/setenv.c: Fix memory leak when setting large,
15339         duplicate string.
15341 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
15343         [BZ #17273]
15344         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
15345         and tabs from buffer before parsing fstab entry.
15346         * misc/tst-mntent.c (main): Add test for mount entry with
15347         trailing spaces and tabs.
15349 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
15351         [BZ #17748]
15352         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
15353         * math/fesetround.c (fesetround): Rename to __fesetround and
15354         define as weak alias of __fesetround.  Use libm_hidden_weak.
15355         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
15356         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
15357         * sysdeps/arm/fesetround.c (fesetround): Likewise.
15358         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
15359         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
15360         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
15361         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
15362         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
15363         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
15364         __fesetround_inline.
15365         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
15366         __fesetround_inline instead of __fesetround.
15367         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
15368         __fesetround and define as weak alias of __fesetround.  Use
15369         libm_hidden_weak.  Call __fesetround_inline instead of
15370         __fesetround.
15371         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
15372         __fesetround and define as weak alias of __fesetround.  Use
15373         libm_hidden_weak.
15374         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
15375         Likewise.
15376         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
15377         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15378         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
15379         * sysdeps/tile/math_private.h (__fesetround): New inline function.
15380         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
15381         __fesetround and define as weak alias of __fesetround.  Use
15382         libm_hidden_weak.
15383         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
15384         __fesetround instead of fesetround.
15385         (default_libc_feholdexcept_setround): Likewise.
15386         (libc_feholdsetround_ctx): Likewise.
15387         (libc_feholdsetround_noex_ctx): Likewise.
15389         [BZ #17748]
15390         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
15391         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
15392         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15393         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15394         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15395         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
15396         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15397         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15398         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15399         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15400         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15401         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15402         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15403         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15404         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
15405         libm_hidden_def.
15406         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
15407         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
15408         Likewise.
15409         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15410         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15411         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15412         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15413         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
15414         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15415         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15416         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
15417         __fesetenv instead of fesetenv.
15418         (libc_feresetround_noex_ctx): Likewise.
15419         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15420         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15421         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
15422         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15423         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15424         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15425         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15426         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15427         (__feupdateenv): Likewise.
15428         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15429         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15430         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15431         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
15433 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15435         [BZ #17806]
15436         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
15437         addresses have been freed.
15439 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15441         * resolv/res_init.c (__res_vinit): Improve comments about nserv
15442         and nservall.
15444 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
15446         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
15447         Clean up check_pf allocation pattern. addresses
15449 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15451         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
15452         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
15453         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
15454         * nptl/pthread_exit.c (__pthread_exit): Likewise.
15455         * nptl/pthread_join.c (pthread_join): Likewise.
15456         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
15457         * sysdeps/posix/waitid.c (__waitid): Likewise.
15458         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
15459         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
15460         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
15461         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
15462         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
15463         Likewise.
15464         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
15465         (__libc_pread64): Likewise.
15466         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
15467         (__libc_pwrite): Likewise.
15468         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
15469         (__libc_pwrite64): Likewsie.
15470         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15471         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15472         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15473         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15474         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15475         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15476         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15478         Likewise.
15479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15480         (__libc_pread64): Likewise.
15481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
15482         Likewise.
15483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15484         (__libc_pwrite64): Likewise.
15485         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15486         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15487         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
15488         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
15489         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15490         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15491         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
15492         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15493         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15494         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15495         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
15496         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15497         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15498         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
15499         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15500         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15501         Likewise.
15503 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
15505         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
15506         (CFLAGS-test-double.c): Likewise.
15507         (CFLAGS-test-ldouble.c): Likewise.
15508         (CPPFLAGS-test-ifloat.c): Likewise.
15509         (CPPFLAGS-test-idouble.c): Likewise.
15510         (CPPFLAGS-test-ildoubl.c): Likewise.
15511         (CFLAGS-test-test-fenv.c): Remove variable.
15512         (CFLAGS-test-misc.c): Likewise.
15514 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
15516         [BZ #17797]
15517         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
15518         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
15519         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
15520         CLOCKS_PER_SEC == 1000000.
15521         * time/clocktest.c (main): Replace %ld with %jd and cast to
15522         intmax_t.
15524 2015-01-05  Roland McGrath  <roland@hack.frob.com>
15526         * sysdeps/generic/unwind-resume.h: New file.
15527         * sysdeps/gnu/unwind-resume.c: Include it.
15528         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
15529         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
15530         argument list.
15531         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
15532         global rather than static.
15533         (_Unwind_Resume): Update user.
15534         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
15535         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
15536         rather than static.  Add __attribute__ ((cold)).
15537         (_Unwind_Resume, __gcc_personality_v0): Update callers.
15538         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15539         * sysdeps/arm/arm-unwind-resume.S: New file.
15540         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
15541         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
15542         * sysdeps/arm/Makefile [$(subdir) = csu]
15543         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
15544         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
15545         Add rt-arm-unwind-resume.
15546         [$(subdir) = nptl]
15547         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15548         Add pt-arm-unwind-resume.
15549         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
15550         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
15552 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15554         [BZ #17748]
15555         * include/fenv.h (__feholdexcept): Declare.  Use
15556         libm_hidden_proto.
15557         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
15558         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
15559         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15560         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
15561         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
15562         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
15563         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
15564         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15565         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
15566         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
15567         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15568         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
15569         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
15570         (feholdexcept): Likewise.
15571         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15572         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15573         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15574         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15575         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
15576         __feholdexcept instead of feholdexcept.
15577         (default_libc_feholdexcept_setround): Likewise.
15579 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15581         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
15582         to avoid using stl/str to align destination.
15584 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15586         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
15588 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15590         [BZ #17796]
15591         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
15592         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
15593         Define as weak alias not strong alias.
15595 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15597         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
15598         bltzal with addiupc.
15599         (RTLD_START): Ditto.
15601 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
15603         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
15604         for __vdso_* functions in declarations.
15605         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
15606         definitions.
15607         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
15608         INTERNAL_VSYSCALL): Use struct return types to check for error.
15610         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
15611         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
15612         function with cast from llround().
15613         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
15614         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
15615         Define.
15617 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15619         [BZ #17793]
15620         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
15621         Define as weak alias not strong alias.
15623         [BZ #17635]
15624         * ctype/ctype-c99.c: New file.  isblank implementation moved from
15625         ...
15626         * ctype/ctype-extn.c: ... here.
15627         (__isblank_l): Move to ...
15628         * ctype/ctype-c99_l.c: ... here.  New file.
15629         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
15630         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
15631         Remove variable.
15632         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
15633         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
15634         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
15635         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
15636         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
15638         [BZ #17777]
15639         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
15640         (posix_fadvise64): Define as weak alias not strong alias.
15641         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15642         (posix_fallocate64): Likewise.
15643         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
15644         Remove variable.
15645         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
15646         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
15647         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
15648         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
15649         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
15651 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
15653         [BZ #16191]
15654         * NEWS: Mention bug fix.
15655         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
15656         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
15657         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
15658         (HOST_STACK_END_ADDR): Likewise.
15660 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
15662         [BZ #17748]
15663         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
15664         * math/fegetround.c (fegetround): Rename to __fegetround and
15665         define as weak alias of __fegetround.  Use libm_hidden_weak.
15666         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
15667         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
15668         * sysdeps/arm/fegetround.c (fegetround): Likewise.
15669         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
15670         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15671         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
15672         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
15673         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
15674         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15675         Undefine after rather than before function definition; use
15676         parentheses around function name in definition.
15677         (__fegetround): Also undefine macro after function definition.
15678         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
15679         __fegetround and define as weak alias of __fegetround.  Use
15680         libm_hidden_weak.  Do not undefine as macro.
15681         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15682         Likewise.
15683         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
15684         __fegetround and define as weak alias of __fegetround.  Use
15685         libm_hidden_weak.
15686         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15687         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15688         * sysdeps/tile/math_private.h (__fegetround): New inline function.
15689         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
15690         __fegetround and define as weak alias of __fegetround.  Use
15691         libm_hidden_weak.
15692         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
15693         __fegetround instead of fegetround.
15695         [BZ #17782]
15696         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
15697         Condition macro definition on [__USE_MISC].
15699         [BZ #17781]
15700         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
15701         (struct sigaction): Change type of sa_flags field to int.
15703         [BZ #17780]
15704         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
15705         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
15706         __glibc_reserved0.
15708         * nptl/version.c (banner): Use single year in copyright notice.
15710         * NEWS: Update copyright dates.
15711         * catgets/gencat.c (print_version): Likewise.
15712         * csu/version.c (banner): Likewise.
15713         * debug/catchsegv.sh: Likewise.
15714         * debug/pcprofiledump.c (print_version): Likewise.
15715         * debug/xtrace.sh (do_version): Likewise.
15716         * elf/ldconfig.c (print_version): Likewise.
15717         * elf/ldd.bash.in: Likewise.
15718         * elf/pldd.c (print_version): Likewise.
15719         * elf/sotruss.sh: Likewise.
15720         * elf/sprof.c (print_version): Likewise.
15721         * iconv/iconv_prog.c (print_version): Likewise.
15722         * iconv/iconvconfig.c (print_version): Likewise.
15723         * locale/programs/locale.c (print_version): Likewise.
15724         * locale/programs/localedef.c (print_version): Likewise.
15725         * login/programs/pt_chown.c (print_version): Likewise.
15726         * malloc/memusage.sh (do_version): Likewise.
15727         * malloc/memusagestat.c (print_version): Likewise.
15728         * malloc/mtrace.pl: Likewise.
15729         * manual/libc.texinfo: Likewise.
15730         * nptl/version.c (banner): Likewise.
15731         * nscd/nscd.c (print_version): Likewise.
15732         * nss/getent.c (print_version): Likewise.
15733         * nss/makedb.c (print_version): Likewise.
15734         * posix/getconf.c (main): Likewise.
15735         * scripts/test-installation.pl: Likewise.
15736         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
15738 2015-01-02  Will Newton  <will.newton@linaro.org>
15740         * sysdeps/arm/armv7/configure: Removed.
15741         * sysdeps/arm/armv7/configure.ac: Likewise.
15743 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
15745         * All files with FSF copyright notices: Update copyright dates
15746         using scripts/update-copyrights.
15747         * intl/plural.c: Regenerated.
15748         * locale/programs/charmap-kw.h: Likewise.
15749         * locale/programs/locfile-kw.h: Likewise.
15751 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15753         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
15755 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
15757         [BZ #17748]
15758         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
15759         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
15760         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
15761         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
15762         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15763         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
15764         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15765         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
15766         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15767         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15768         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15769         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15770         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15771         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15772         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
15773         libm_hidden_def.
15774         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
15775         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
15776         Likewise.
15777         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15778         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15779         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15780         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15781         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
15782         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
15783         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
15784         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
15785         __fegetenv instead of fegetenv.
15786         (libc_feholdsetround_noex_ctx): Likewise.
15788 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
15790         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
15791         (Elf_MIPS_ABIFlags_v0): New structure.
15792         (EF_MIPS_FP64): Define.
15793         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
15794         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
15795         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
15796         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
15797         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
15798         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
15799         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
15800         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
15801         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
15802         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
15803         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
15804         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
15805         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
15806         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
15807         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
15808         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
15809         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
15810         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
15811         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
15812         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
15813         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
15814         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
15815         field.
15816         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
15817         EF_MIPS_FP64.
15818         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
15819         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
15820         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
15821         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
15822         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
15823         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
15824         * sysdeps/mips/tst-abi-interlink.c: Likewise.
15825         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
15826         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
15827         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
15828         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
15829         record the current FP ABI extension.
15830         (mips-mode-switch): Define to show if kernel headers support mode
15831         switching.
15832         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15833         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
15834         supported SYSV ABI version to 3.
15835         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
15836         feature.
15838 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15839             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15841         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
15842         path.
15843         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
15845 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
15847         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
15848         __fegetround and redefine to call __fegetround.  Remove condition
15849         on [!__NO_MATH_INLINES].
15850         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
15851         function.
15852         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
15853         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15854         Remove macro.
15855         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
15856         instead of <fenv_libc.h>.
15857         (__llrintl): Call fegetround instead of __fegetround.
15858         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
15859         instead of <fenv_libc.h>.
15860         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15861         (__lrintl): Call fegetround instead of __fegetround.
15862         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
15863         instead of <fenv_libc.h>.
15864         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15865         (__rintl): Call fegetround instead of __fegetround.
15867 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15869         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
15870         arrays.
15872 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15874         [BZ #17775]
15875         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
15876         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
15877         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
15879 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15881         * sysdeps/i386/tls-macros.h: Include <features.h>.
15882         (TLS_LE): Use non-PIC version for GCC >= 5.0.
15883         (TLS_IE): Likewise.
15884         (TLS_LD): Likewise.
15885         (TLS_GD): Likewise.
15886         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
15887         define for GCC >= 5.0.
15889 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
15891         * math/test-fenv.c (test_single_exception, set_single_exc,
15892         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
15893         feexcp_mask_test, feenable_test, fe_single_test): Add
15894         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
15895         case where they are not used.
15896         * math/libm-test.inc: Likewise.
15897         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
15898         unused in the absence of FP rounding/exception support.
15899         * stdio-common/tst-printf-round.c: Likewise.
15900         * stdlib/tst-strtod-round.c: Likewise.
15901         * stdlib/tst-strtod-underflow.c: Likewise.
15903 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
15905         [BZ #17723]
15906         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
15907         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
15908         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15909         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15910         libm_hidden_weak.
15911         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
15912         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15913         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
15914         libm_hidden_def.
15915         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15916         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15917         libm_hidden_weak.
15918         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
15919         Likewise.
15920         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
15921         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15922         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15923         libm_hidden_weak.
15924         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15925         libm_hidden_def.
15926         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15927         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
15928         (__feraiseexcept): Likewise.
15929         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15930         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15931         libm_hidden_weak.
15932         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15933         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15934         libm_hidden_def.
15935         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
15936         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
15937         Use libm_hidden_def.
15938         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
15939         libm_hidden_def.
15940         (feraiseexcept): Define as weak not strong alias.  Use
15941         libm_hidden_weak.
15942         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
15943         New inline function.  Factored out of ...
15944         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
15945         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
15946         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
15947         feraiseexcept.
15948         * math/w_acos.c (__acos): Likewise.
15949         * math/w_asin.c (__asin): Likewise.
15950         * math/w_ilogb.c (__ilogb): Likewise.
15951         * math/w_j0.c (y0): Likewise.
15952         * math/w_j1.c (y1): Likewise.
15953         * math/w_jn.c (yn): Likewise.
15954         * math/w_log.c (__log): Likewise.
15955         * math/w_log10.c (__log10): Likewise.
15956         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
15957         * sysdeps/aarch64/fpu/math_private.h
15958         (libc_feupdateenv_test_aarch64): Likewise.
15959         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15960         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
15961         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
15962         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15963         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15964         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15965         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
15966         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15967         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15968         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15970 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15972         [BZ #17732]
15973         * io/test-utime.c (main): Replace %ld with %jd and cast to
15974         intmax_t.
15975         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
15976         * nptl/tst-mutex5.c: Include <stdint.h>.
15977         (do_test): Replace %ld with %jd and cast to intmax_t.
15978         * posix/tst-regex.c (run_test): Likewise.
15979         (run_test_backwards): Likewise.
15980         * rt/tst-clock.c: Include <stdint.h>.
15981         (clock_test): Replace %ld with %jd and cast to intmax_t.
15982         * rt/tst-cpuclock1.c: Include <stdint.h>.
15983         (do_test): Replace %lu with %ju and cast to uintmax_t.
15984         * rt/tst-cpuclock2.c: Include <stdint.h>.
15985         (do_test): Replace %lu with %ju and cast to uintmax_t.
15986         * rt/tst-mqueue1.c: Include <stdint.h>.
15987         (check_attrs): Replace %ld with %jd and cast to intmax_t.
15988         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
15989         intmax_t.
15990         * rt/tst-mqueue4.c (do_test): Likewise.
15991         * rt/tst-timer4.c: Include <stdint.h>.
15992         (check_ts): Replace %ld with %jd and cast to intmax_t.
15993         (do_test): Likewise.
15994         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
15995         and cast to intmax_t.
15996         * sysdeps/pthread/tst-timer.c (main): Likewise.
15997         * time/clocktest.c (main): Likewise.
15998         * time/tst-posixtz.c (do_test): Likewise.
15999         * timezone/tst-timezone.c (main): Likewise.
16001 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16002             H.J. Lu  <hongjiu.lu@intel.com>
16004         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
16005         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
16006         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
16007         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
16008         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
16009         version if bit_Fast_Unaligned_Load is set.
16010         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16011         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16012         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16013         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16014         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16015         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16016         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16017         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
16018         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
16019         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
16020         to 4.
16021         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
16022         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
16023         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
16024         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
16026 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
16028         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
16029         instead of #if to avoid a Wundef warning.
16030         * stdlib/tst-limits.c (do_test): Likewise.
16032         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
16033         parallel other exception macros.
16034         (fegetenv): Convert from macro to extern inline so that it applies
16035         retroactively to inline functions already seen by the compiler.
16036         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
16038         * posix/Makefile (before-compile): Use $(objpfx) for
16039         posix-conf-vars-def.h.
16041 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16043         * posix/getconf.c (main): Use size_t for type of I.
16044         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
16045         NSPEC.
16047         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
16048         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
16049         * posix/posix-envs.def: Likewise.
16050         * sysdeps/posix/sysconf.c: Likewise.
16051         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
16052         (specs): Remove array.
16053         * scripts/gen-posix-conf-vars.awk: Support generation of specs
16054         array.
16056         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
16057         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
16058         (__sysconf): Use CONF_IS_* macros.
16060         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
16061         ($(objpfx)posix-conf-vars-def.h): New target.
16062         * posix/posix-conf-vars.list: New file.
16063         * posix/posix-conf-vars.h: New file.
16064         * posix/confstr.c: Include posix-conf-vars.h.
16065         (confstr): Use CONF_IS_* macros.
16066         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
16067         CONF_IS_* macros.
16068         * scripts/gen-posix-conf-vars.awk: New file.
16070 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
16072         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
16073         fegetround): Add no-op macros to avoid linknamespace issues.
16075         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
16076         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
16078         * sysdeps/unix/sysv/linux/tile/sysdep.h
16079         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
16080         assembly-specific section to avoid a redefinition warning.
16082         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
16083         long before casting to pointer to avoid a cast warning.
16085 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
16087         * sysdeps/tile/tilegx/Implies: New file.
16089 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
16091         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
16093 2014-12-23  Florian Weimer  <fweimer@redhat.com>
16095         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
16097 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16099         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
16100         not define.
16101         * sysdeps/unix/sysv/linux/utimes.c: Do not include
16102         <kernel-features.h>.
16103         (__utimes) [__NR_utimes]: Make code unconditional.
16104         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
16105         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16106         (__ASSUME_UTIMES): Do not undefine.
16107         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16108         (__ASSUME_UTIMES): Likewise.
16109         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16110         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
16111         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
16112         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
16114 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
16116         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
16118 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
16120         [BZ #17747]
16121         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
16122         alias to weak alias for j0l, y0l.
16123         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
16124         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
16126         [BZ #17746]
16127         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
16128         conversion.
16130 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
16132         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
16133         to zero if not already defined.
16135 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16137         [BZ #17724]
16138         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
16139         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
16140         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
16141         (char *) casts added.
16142         * sysdeps/ieee754/k_standardf.c: New file.
16143         * sysdeps/ieee754/k_standardl.c: Likewise.
16144         * math/Makefile (libm-support): Remove k_standard.
16145         (libm-calls): Add k_standard.
16147 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16149         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16150         Optimize to avoid an unnecessary FPCR read.
16152 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16154         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16155         Optimize to reduce FPCR/FPSR accesses.
16157 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16159         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
16160         Call libc_fetestexcept_aarch64.
16162 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16164         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
16165         Call libc_fesetround_aarch64.
16167 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16169         [BZ #17733]
16170         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
16171         (__bind): Do not define as weak alias.
16172         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
16173         define.
16174         (__getsockname): Do not define as weak alias.
16176 2014-12-22  Will Newton  <will.newton@linaro.org>
16178         * manual/install.texi: Document that we require bison 2.7
16179         or above.
16180         * INSTALL: Regenerate.
16181         * configure.ac: Use AC_CHECK_PROG_VER instead of
16182         AC_PATH_PROG when checking for bison and check for
16183         version 2.7 or above.
16184         * configure: Regenerate.
16186 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
16188         [BZ #17745]
16189         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
16190         * sysdeps/tile/ffsll.c (ffsll): To here.
16192         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
16194 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16196         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
16197         if not defined.
16198         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
16199         definition.
16200         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16201         hidden ___tls_get_addr.
16202         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16203         hidden __tls_get_addr.
16204         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
16205         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
16206         Likewise.
16208 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
16210         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
16211         _dl_init call.
16213 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16215         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
16216         from "call _dl_init@PLT".
16217         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
16219 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
16221         * manual/search.texi: (Array Sort Function): Clarify stable sorting
16222         guarantees.
16224 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
16226         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
16228 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16230         [BZ #17744]
16231         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
16232         strnlen.
16234 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16236         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
16237         of multu on MIPSr6.
16238         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
16239         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
16240         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
16241         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
16242         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
16244 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16246         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
16247         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
16248         (PTR_SUBU): Use subu for mips32r6/mips64r6.
16249         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
16250         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
16251         mips32r6/mips64r6.
16252         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
16254 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
16256         * string/strncat.c (STRNCAT): Simplify implementation.
16258 2014-12-19  David S. Miller  <davem@davemloft.net>
16260         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
16261         access the quad as both a long double and as a series of 4 words.
16263         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
16264         link_map->l_info array access.
16266 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16268         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
16270         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
16271         * math/atest-exp2.c (TIMEOUT): Likewise.
16272         * math/atest-sincos.c (TIMEOUT): Likewise.
16274 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16276         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
16277         -Wno-error with -fno-builtin-lround.
16279 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16281         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
16282         Contains futex constants and functions moved over from ...
16283         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
16284         <lowlevellock-futex.h>.
16285         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16286         (lll_timedwait_tid): Add comments and parentheses around macro
16287         arguments.
16289 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16291         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
16292         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
16293         (__lll_private_flag): Remove.
16294         (lll_futex_wait): Likewise.
16295         (lll_futex_timed_wait): Likewise.
16296         (lll_futex_wake): Likewise.
16297         (lll_futex_requeue): Likewise.
16298         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16299         (__lll_timedwait_tid): Spell out argument names.
16300         (lll_timedwait_tid): Add comments and parentheses around macro
16301         arguments.
16302         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
16303         LLL_SHARED and LLL_PRIVATE usable from assembly code.
16305 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16307         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
16308         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
16309         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16310         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
16311         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
16312         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
16313         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
16314         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
16315         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
16316         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
16317         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
16318         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
16319         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
16320         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
16321         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
16322         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
16323         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
16324         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
16325         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
16327 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16329         * sysdeps/x86_64/x32/Makefile: New file.
16331 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16333         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
16334         1L with (mp_limb_t) 1.
16336 2014-12-17  Roland McGrath  <roland@hack.frob.com>
16338         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
16339         * nptl/libc_pthread_init.c: ... here.
16340         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
16341         * nptl/register-atfork.c: ... here.
16343         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
16344         Use pthread_sigmask rather than INTERNAL_SYSCALL.
16345         Use assert_perror to check its return value.
16346         (__gai_create_helper_thread): Likewise.
16348         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
16350         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
16352 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
16354         [BZ #17725]
16355         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
16356         __profil_counter.
16357         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
16358         Likewise.
16359         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
16360         Likewise.
16361         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
16362         Likewise.
16363         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
16364         (profil_counter): Likewise.
16365         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
16366         (profil_counter): Likewise.
16367         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
16368         Likewise.
16369         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
16370         Likewise.
16371         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
16372         (profil_counter): Likewise.
16373         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
16374         Likewise.
16375         [!__profil_counter] (profil_counter): Define as weak alias of
16376         __profil_counter.
16377         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
16378         (profil_counter): Rename to __profil_counter.
16379         [!__profil_counter] (profil_counter): Define as weak alias of
16380         __profil_counter.
16381         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
16382         (profil_counter): Rename to __profil_counter.
16383         [!__profil_counter] (profil_counter): Define as weak alias of
16384         __profil_counter.
16385         * sysdeps/posix/profil.c: Update comment referring to
16386         profil_counter.
16387         (__profil): Use __profil_counter instead of profil_counter.
16388         * sysdeps/posix/sprofil.c (profil_counter): Rename to
16389         __profil_counter.  Use __profil_counter_ushort and
16390         __profil_counter_uint in definitions.
16391         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
16392         instead of profil_counter_uint and profil_counter_ushort.
16394         [BZ #17722]
16395         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
16396         define as weak alias of __inet_makeaddr.
16397         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
16398         as weak alias of __inet_addr.
16399         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
16400         as weak alias of __inet_pton.  Use libc_hidden_weak.
16401         * include/arpa/inet.h (__inet_pton): Declare.  Use
16402         libc_hidden_proto.
16403         (inet_makeaddr): Don't use libc_hidden_proto.
16404         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
16405         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
16406         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
16407         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
16408         Remove variable.
16409         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
16410         (test-xfail-POSIX/time.h/linknamespace): Likewise.
16412 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
16414         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
16416 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16418         * stdio-common/bug-vfprintf-nargs.c (do_test):
16419         Cast value to intptr_t to avoid format warning
16420         for usage with PRIdPTR printing macro.
16422 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16424         * libio/tst-widetext.c (do_test):
16425         Use format type %td instead of %Zd for ptrdiff_t
16426         in order to avoid format warning.
16428 2014-12-17  Andreas Schwab  <schwab@suse.de>
16430         * nscd/mem.c (gc): Add size_t cast to match printf format.
16432 2014-12-16  Roland McGrath  <roland@hack.frob.com>
16434         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
16435         (init): Apply PTR_MANGLE to pointers before storing them.
16436         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
16437         before using them.
16439 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
16441         [BZ #17719]
16442         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
16443         define as weak alias of __memrchr.
16444         (__memrchr): Do not define as strong alias of memrchr.
16445         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
16446         Remove variable.
16447         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
16448         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
16449         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
16451         [BZ #17717]
16452         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
16453         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
16454         (if_indextoname): Rename to __if_indextoname and define as weak
16455         alias of __if_indextoname.  Use libc_hidden_weak.
16456         (if_freenameindex): Rename to __if_freenameindex and define as
16457         weak alias of __if_freenameindex.
16458         (if_nameindex): Rename to __if_nameindex and define as weak alias
16459         of __if_nameindex.
16460         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
16461         __if_nametoindex and define as weak alias of __if_nametoindex.
16462         Use libc_hidden_weak.
16463         (if_freenameindex): Rename to __if_freenameindex and define as
16464         weak alias of __if_freenameindex.
16465         (if_nameindex): Rename to __if_nameindex and define as weak alias
16466         of __if_nameindex.
16467         (if_indextoname): Rename to __if_indextoname and define as weak
16468         alias of __if_indextoname.  Use libc_hidden_weak.
16469         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
16470         __if_nametoindex and define as weak alias of __if_nametoindex.
16471         Use libc_hidden_weak.
16472         (if_freenameindex): Rename to __if_freenameindex and define as
16473         weak alias of __if_freenameindex.  Use libc_hidden_weak.
16474         (if_nameindex_netlink): Use __if_freenameindex instead of
16475         if_freenameindex.
16476         (if_nameindex): Rename to __if_nameindex and define as weak alias
16477         of __if_nameindex.  Use libc_hidden_weak.
16478         (if_indextoname): Rename to __if_indextoname and define as weak
16479         alias of __if_indextoname.  Use libc_hidden_weak.
16480         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
16481         libc_hidden_proto.
16482         [!_ISOMAC] (__if_freenameindex): Likewise.
16483         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
16484         if_nametoindex.
16485         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
16486         variable.
16487         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
16488         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
16489         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
16490         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
16491         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
16492         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
16493         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
16495         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
16496         Remove variable.
16497         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
16498         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
16500 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16502         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
16503         subscript above bounds'
16505         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
16506         bounds.
16508 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
16510         * libio/tst-fopenloc.c: Use test-skeleton.c.
16512         * stdlib/tst-bsearch.c: Use test-skeleton.c.
16513         (entry): Rename to ITEM.
16514         (do_test, comp): Adjust.
16516         * stdio-common/tst-fseek.c: Use test-skeleton.c.
16518 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16520         * string/tester.c: Include <libc-internal.h>.
16521         (test_memset): Ignore -Wmemset-transposed-args.
16523 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16525         * misc/tst-mntent2.c (do_test): Fix warning.
16527 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16529         * elf/tst-unique4lib.cc(a): Mark as used.
16531 2014-12-16  Florian Weimer  <fweimer@redhat.com>
16533         [BZ #17630]
16534         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
16535         names.
16537 2014-12-16  Allan McRae  <allan@archlinux.org>
16539         * stdio-common/Makefile (tests): Re-add bug26.
16541 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
16543         [BZ #17657]
16544         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
16545         static array.
16547 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
16549         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
16550         (__lll_lock_wait): Likewise.
16551         (__lll_timedlock_wait): Likewise.
16552         (__lll_timedwait_tid): Likewise.
16553         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
16554         (__lll_robust_timedlock_wait): Likewise.
16555         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
16556         (lll_cond_trylock): Likewise.
16557         (__lll_lock): Likewise.
16558         (__lll_robust_lock): Likewise.
16559         (__lll_cond_lock): Likewise.
16560         (lll_robust_cond_lock): Likewise.
16561         (__lll_timedlock): Likewise.
16562         (__lll_robust_timedlock): Likewise.
16563         (__lll_unlock): Likewise.
16564         (__lll_robust_unlock): Likewise.
16565         (lll_wait_tid): Likewise.
16566         (lll_timedwait_tid): Likewise.
16568 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16570         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
16572 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16574         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
16576 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
16578         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
16579         * stdio-common/tst-sprintf.c: Likewise.
16581 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16583         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
16585 2014-12-15  Jeff Law  <law@redhat.com>
16587         [BZ #16617]
16588         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
16589         on the heap.  (CVE-2012-3406)
16590         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
16591         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
16592         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
16594 2014-12-15  Will Newton  <will.newton@linaro.org>
16596         * manual/install.texi: Bump required version of texinfo
16597         to 4.7 from 4.5.
16598         * INSTALL: Regenerated.
16599         * configure.ac: Check for makeinfo version 4.7 and above.
16600         * configure: Regenerated.
16602 2014-12-12  Roland McGrath  <roland@hack.frob.com>
16604         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
16605         PREFIX, string constant to insert between directory and name.
16606         * sysdeps/posix/shm_open.c: Update caller.
16607         * sysdeps/posix/shm_unlink.c: Likewise.
16608         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
16609         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
16610         (SEM_SHM_PREFIX): New macro.
16611         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
16612         [$(have-thread-library) = no].
16613         * nptl/Makefile (libpthread-routines): Add shm-directory.
16614         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
16615         * sysdeps/nptl/shm-directory.h: New file.
16616         * sysdeps/posix/shm-directory.c
16617         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
16618         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16619         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
16620         INTERNAL_SYSCALL.
16621         (__where_is_shmfs): Function removed.
16622         (mountpoint, defaultmount, defaultdir, __namedsem_once):
16623         Variables removed.
16624         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
16625         Use SHM_GET_NAME.
16626         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
16628         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
16629         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
16630         unconditional for use inside libpthread.
16631         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
16633 2014-12-12  Roland McGrath  <roland@hack.frob.com>
16635         * nptl/pthread_getaffinity.c: New file.
16636         * nptl/pthread_setaffinity.c: New file.
16637         * nptl/pthread_getname.c: New file.
16638         * nptl/pthread_setname.c: New file.
16640         * nptl/pthread_create.c (START_THREAD_DEFN)
16641         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
16643 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16644             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16646         * resolv/res_send.c (send_vc): Disable warning resplen may
16647         be used uninitialized.
16649 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16651         * nptl/tst-mutex6.c
16652         (ATTR_NULL): New define checks ATTR against NULL.
16653         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
16654         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
16656 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
16658         [BZ #17581]
16659         * malloc/hooks.c
16660         (mem2mem_check): Revert my previous change.
16661         (malloc_check_get_size): Revert my previous change.
16662         (mem2chunk_check): Revert my previous change.
16664 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16666         * sysdeps/posix/shm-directory.c: New file.
16667         * sysdeps/posix/shm-directory.h: New file.
16668         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
16669         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
16670         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
16671         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
16672         Transmute EPERM to EACCES.
16673         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
16674         from ...
16675         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
16676         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
16678 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16680         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
16681         pointer and cast to uintptr_t.
16682         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
16683         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
16684         Add cast to avoid warning.
16685         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
16687 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
16689         * nptl/semaphore.h: Move to ...
16690         * sysdeps/pthread/semaphore.h: ... here.
16691         * Makefile (installed-headers): Change nptl/semaphore.h to
16692         sysdeps/pthread/semaphore.h.
16694 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16696         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
16697         generated error format strings.
16699         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
16700         -Wformat-extra-args warnings for scanf formats.
16701         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
16702         test of zero-length format (duh).
16703         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
16704         corner-case scanf format test.
16705         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
16706         generated fprintf format string.
16707         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
16708         corner-case sprintf format tests.
16709         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
16710         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
16711         -Wformat-extra-args warnings throughout.
16712         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
16713         (CFLAGS-scanf4.c): Likewise.
16714         (CFLAGS-scanf7.c): Likewise.
16715         (CFLAGS-tst-sprintf.c): Likewise.
16716         (CFLAGS-tst-printf.c): Likewise.
16717         (CFLAGS-tst-printfsz.c): Likewise.
16719 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
16721         * include/cpio.h: New file.
16722         * include/fmtmsg.h: Likewise.
16724         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
16725         corresponding format argument to size_t.
16726         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
16727         arguments.
16728         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
16729         corresponding format argument to size_t.
16730         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
16731         arguments.
16732         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
16733         corresponding format argument to size_t.
16734         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
16735         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
16736         (CFLAGS-tst-mbswcs2.c): Likewise.
16737         (CFLAGS-tst-mbswcs3.c): Likewise.
16738         (CFLAGS-tst-mbswcs4.c): Likewise.
16739         (CFLAGS-tst-mbswcs5.c): Likewise.
16740         (CFLAGS-tst-trans.c): Likewise
16742 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16744         * posix/regexbug1.c (main): Use "%s" format with regerror results,
16745         rather than assuming they won't contain any '%'s.
16747 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
16749         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
16750         inhibit_loop_to_libcall to avoid recursive calls.
16751         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
16752         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
16754 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
16756         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
16757         prototype.
16759 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
16761         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
16762         integer value instead of boolean.
16764 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
16766         * malloc/malloc.c: Fix powerof2 check.
16768 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16770         * locale/programs/locfile.h (maybe_swap_uint32):
16771         Remove inline and add unused attribute.
16773 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16775         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
16776         Truncating assembler expression to a .long expression.
16778 2014-12-11  Andreas Schwab  <schwab@suse.de>
16780         * elf/rtld.c (struct map_args): Constify str member.
16781         (do_preload): Constify fname argument.
16783 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16785         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
16786         constants definition.
16788 2014-12-11  Andreas Schwab  <schwab@suse.de>
16790         [BZ #16657]
16791         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
16792         FORCE_ELISION instead of DO_ELISION.
16793         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
16794         Remove.
16795         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
16796         Likewise.
16798         * iconvdata/gconv-modules: Remove duplicate entry.
16800 2014-12-11  Will Newton  <will.newton@linaro.org>
16802         Merge gettext 0.19.3 into intl/.
16804         This involves a number of cosmetic changes to comments
16805         and ANSI function definitions and prototypes throughout
16806         all the files. The gettext copyright header is used but
16807         with the date ranges taken from the glibc copy.
16809         * NEWS: Add gettext merge to 2.21.
16810         * intl/bindtextdom.c: Switch to gettext copyright.
16811         Use ANSI definitions and prototypes.
16812         Use gl_* locking primitives rather than __libc_* ones.
16813         Use __builtin_expect rather than __glibc_likely/unlikely.
16814         * intl/dcgettext.c: Switch to gettext copyright.
16815         Use ANSI definitions and prototypes.
16816         * intl/dcigettext.c: Switch to gettext copyright.
16817         Use ANSI definitions and prototypes.
16818         (INTDIV0_RAISES_SIGFPE): New define.
16819         Use gl_* locking primitives rather than __libc_* ones.
16820         Include eval-plural.h instead of plural-eval.c.
16821         Use __builtin_expect rather than __glibc_likely/unlikely.
16822         * intl/dcngettext.c: Switch to gettext copyright.
16823         Use ANSI definitions and prototypes.
16824         * intl/dgettext.c: Likewise.
16825         * intl/dngettext.c: Likewise.
16826         * intl/plural-eval.c: Renamed to...
16827         * intl/eval-plural.h: ...this.
16828         * intl/explodename.c: Switch to gettext copyright.
16829         Use ANSI definitions and prototypes.
16830         (_nl_explode_name): Use strchr instead of __rawmemchr.
16831         * intl/finddomain.c: Switch to gettext copyright.
16832         Use ANSI definitions and prototypes.
16833         Use gl_* locking primitives rather than __libc_* ones.
16834         (_nl_find_domain): Use malloc rather than alloca for
16835         allocation of temporary locale name.
16836         * intl/gettext.c: Switch to gettext copyright.
16837         Use ANSI definitions and prototypes.
16838         * intl/gettextP.h: Switch to gettext copyright.
16839         Use ANSI definitions and prototypes.
16840         Use gl_* locking primitives rather than __libc_* ones.
16841         * intl/gmo.h: Switch to gettext copyright.
16842         (struct sysdep_string): Move struct segment_pair outside of
16843         struct definition.
16844         * intl/hash-string.c: Use ANSI definitions and prototypes.
16845         * intl/hash-string.h: Switch to gettext copyright.
16846         Use ANSI definitions and prototypes.
16847         * intl/l10nflist.c: Switch to gettext copyright.
16848         Use ANSI definitions and prototypes.
16849         (_nl_normalize_codeset): Avoid integer overflow.
16850         * intl/loadinfo.h: Switch to gettext copyright.
16851         Use ANSI definitions and prototypes.
16852         (LIBINTL_DLL_EXPORTED): New define.
16853         (PATH_SEPARATOR): New define.
16854         * intl/loadmsgcat.c: Switch to gettext copyright.
16855         * intl/localealias.c: Switch to gettext copyright.
16856         Use ANSI definitions and prototypes.
16857         (_nl_expand_alias): Use PATH_SEPARATOR.
16858         * intl/ngettext.c: Switch to gettext copyright.
16859         Use ANSI definitions and prototypes.
16860         * intl/plural-exp.c: Likewise.
16861         * intl/plural-exp.h: Switch to gettext copyright.
16862         Use ANSI definitions and prototypes.
16863         (struct expression): Move definition of enum operator outside
16864         of struct definition.
16865         * intl/plural.c: Regenerate.
16866         * intl/plural.y: Switch to gettext copyright.
16867         Use ANSI definitions and prototypes.
16868         Port to bison 3.0.
16869         * intl/textdomain.c: Switch to gettext copyright.
16870         Use ANSI definitions and prototypes.
16871         Use gl_* locking primitives rather than __libc_* ones.
16873 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
16875         * debug/warning-nop.c: Add used atrribute.
16877 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16879         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
16881         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
16882         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
16883         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
16885 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16886             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16888         [BZ #17634]
16889         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
16890         Undefine after defining function.  Define as weak alias of
16891         __wcschr.  Use libc_hidden_weak.
16892         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
16893         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
16894         (libc_hidden_def): Also define __GI___wcschr alias.
16895         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
16896         __wcschr and define as weak alias of __wcschr.
16897         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
16898         __wcschr.
16899         [!WCSCHR] (DEFAULT_WCSCHR): Define.
16900         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
16901         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
16902         libc_hidden_weak.  Do not use libc_hidden_def.
16903         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
16904         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
16905         __GI___wcschr alias.
16906         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
16907         [IS_IN (libc)] (wcschr): Define as macro expanding to
16908         __redirect_wcschr.
16909         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
16910         [IS_IN (libc)] (__wcschr_power6): Likewise.
16911         [IS_IN (libc)] (__wcschr_power7): Likewise.
16912         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
16913         instead of wcschr.
16914         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
16915         __libc_wcschr.
16916         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
16917         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
16918         __wcschr and define as weak alias of __wcschr.  Use
16919         libc_hidden_builtin_def.
16920         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
16921         as weak alias of __wcschr.  Use libc_hidden_weak.
16922         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
16923         wcschr.
16924         * time/era.c (_nl_init_era_entries): Likewise.
16925         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
16926         variable.
16927         (test-xfail-XPG3/time.h/linknamespace): Likewise.
16928         (test-xfail-XPG4/time.h/linknamespace): Likewise.
16930 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16932         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
16933         format for long int variable.
16935 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
16937         [BZ #10672]
16938         * manual/search.texi: (Array Sort Function): Remove claim how to make
16939         qsort stable.
16941 2014-12-10  Andreas Schwab  <schwab@suse.de>
16943         [BZ #12847]
16944         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
16945         user-controlled locks.
16947 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
16949         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
16950         register.
16952 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16954         * configure.ac (--disable-werror): New configure option.
16955         (enable_werror): New AC_SUBST.
16956         * configure: Regenerated.
16957         * config.make.in (enable-werror): New variable.
16958         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
16959         -Wno-error=undef.
16960         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
16961         * manual/install.texi (Configuring and compiling): Document
16962         --disable-werror.
16963         * INSTALL: Regenerated.
16964         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
16965         (CFLAGS-tst-chk2.c): Likewise.
16966         (CFLAGS-tst-chk3.c): Likewise.
16967         (CFLAGS-tst-chk4.cc): Likewise.
16968         (CFLAGS-tst-chk5.cc): Likewise.
16969         (CFLAGS-tst-chk6.cc): Likewise.
16970         (CFLAGS-tst-lfschk1.c): Likewise.
16971         (CFLAGS-tst-lfschk2.c): Likewise.
16972         (CFLAGS-tst-lfschk3.c): Likewise.
16973         (CFLAGS-tst-lfschk4.cc): Likewise.
16974         (CFLAGS-tst-lfschk5.cc): Likewise.
16975         (CFLAGS-tst-lfschk6.cc): Likewise.
16977         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
16978         (main): Disable -Wdeprecated-declarations around calls to
16979         register_printf_function.
16981         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
16982         (do_test): Disable -Wdiv-by-zero around some calls to
16983         fwrite_unlocked and fread_unlocked.
16985         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
16986         (DIAG_POP_NEEDS_COMMENT): Likewise.
16987         (_DIAG_STR1): Likewise.
16988         (_DIAG_STR): Likewise.
16989         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
16990         * stdio-common/bug21.c: Include <libc-internal.h>.
16991         (do_test): Disable -Wformat around call to sscanf.
16992         * stdio-common/scanf14.c: Include <libc-internal.h>.
16993         (main): Disable -Wformat around some calls to scanf functions.
16995 2014-12-09  Torvald Riegel  <triegel@redhat.com>
16997         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
16999 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17001         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
17002         stack variable alignment.
17004 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
17006         [BZ #17682]
17007         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
17008         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
17009         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
17010         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
17011         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
17012         __getrlimit instead of getrlimit.
17013         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
17014         __gettimeofday instead of gettimeofday.
17015         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17016         Likewise.
17017         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17018         Likewise.
17019         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17020         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
17021         Remove variable.
17022         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
17023         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
17025 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17027         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
17028         for wide-character tests.
17030 2014-12-04  Roland McGrath  <roland@hack.frob.com>
17032         * io/openat64.c: #include <libc-internal.h>
17033         (__openat64): Prototypify.  Use ignore_value on MODE.
17034         * io/openat.c: Likewise.
17035         * misc/reboot.c: #include <libc-internal.h>
17036         (reboot): Prototypify.  Use ignore_value on HOWTO.
17037         * misc/ptrace.c: #include <libc-internal.h>
17038         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
17040 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
17042         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
17043         XPG4, UNIX98 and XOPEN2K.
17044         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
17045         Remove variable.
17046         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
17048 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17050         * libio/fileops.c: Use ISO C style for function definitions.
17051         * libio/iofopen.c: Likewise.
17052         * libio/wfileops.c: Likewise.
17054         [BZ #17653]
17055         * libio/fileops.c (_IO_new_file_underflow): Unset cached
17056         offset on EOF.
17057         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17058         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
17059         (fgets_func): Function pointer to fgets and fgetws.
17060         (do_ftell_test): Add test to verify ftell value after read
17061         EOF.
17062         (do_test): Set fgets_func.
17064         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
17065         O_TRUNC flag for w and w+ modes.
17066         (do_rewind_test): Likewise.
17067         (do_ftell_test): Likewise.
17068         (do_write_test): Likewise.
17070         [BZ #17647]
17071         * libio/fileops.c (do_ftell): Seek only when there are
17072         unflushed writes.
17073         * libio/wfileops.c (do_ftell_wide): Likewise.
17074         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
17075         test case.
17076         (do_one_test): Call it.
17078 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
17080         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
17081         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
17082         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
17083         Remove variable.
17084         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
17085         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
17086         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
17088 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
17090         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
17091         Remove variable.
17092         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
17094         [BZ #17668]
17095         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
17096         as weak alias of __getifaddrs.  Use libc_hidden_weak.
17097         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17098         __freeifaddrs.  Use libc_hidden_weak.
17099         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
17100         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
17101         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17102         __freeifaddrs.  Use libc_hidden_weak.
17103         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
17104         __getifaddrs and define as weak alias of __getifaddrs.  Use
17105         libc_hidden_weak.
17106         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17107         __freeifaddrs.  Use libc_hidden_weak.
17108         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
17109         Remove variable.
17110         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
17111         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
17113 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
17115         [BZ #17601]
17116         * sysdeps/mips/start.S (__start): Use indirect jump to call
17117         __libc_start_main.
17119 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
17121         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
17123         * nptl/tst-mutex1.c: Include <stdbool.h>.
17124         [!ATTR] (ATTR_NULL): New macro.
17125         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
17126         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
17127         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
17129         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
17130         to char *.
17132         [BZ #17665]
17133         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
17134         Change conditional to [__USE_MISC].
17136         [BZ #17664]
17137         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
17138         fgets_unlocked.
17139         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
17140         __fgets_unlocked.
17141         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
17142         fgets_unlocked.
17143         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
17144         Remove variable.
17145         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
17146         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
17147         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
17148         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
17149         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
17150         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
17151         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
17152         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
17153         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
17155         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
17157 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17159         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17160         Remove strpbrk objects.
17161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17162         (__libc_ifunc_impl_list): Remove strpbrk implementation.
17163         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
17164         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
17165         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
17166         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
17168         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17169         Remove strcspn objects.
17170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17171         (__libc_ifunc_impl_list): Remove strcspn implementation.
17172         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
17173         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
17174         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
17175         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
17177         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17178         Remove strspn objetcs.
17179         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17180         (__libc_ifunc_impl_list): Remove strspn implementation.
17181         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
17182         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17183         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
17184         * sysdeps/powerpc/powerpc64/strspn.S: New file.
17186 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
17188         [BZ #17581]
17189         * malloc/hooks.c
17190         (mem2mem_check): Add a terminator to the chain of checking blocks.
17191         (malloc_check_get_size): Use it here.
17192         (mem2chunk_check): Ditto.
17194 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17196         * sysdeps/powerpc/powerpc64/strtok.S: New file.
17197         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
17199 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
17201         * bits/ioctl-types.h: Indent preprocessor directives correctly.
17203         * nptl/nptl-init.c: Include libc-internal.h.
17204         (__pthread_initialize_minimal_internal): Use ROUND_UP.
17206         * elf/ldconfig.c (search_dir): Expand comment.
17208 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
17210         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
17211         variable.
17212         (linknamespace-symlist-stdlibs-tests): Likewise.
17213         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
17214         instead of $(objpfx)symlist-stdlibs.
17215         (linknamespace-libs-isoc): New variable.
17216         (linknamespace-libs): Use $(linknamespace-libs-isoc).
17217         (linknamespace-libs-ISO): New variable.
17218         (linknamespace-libs-ISO99): Likewise.
17219         (linknamespace-libs-ISO11): Likewise.
17220         (linknamespace-libs-XPG3): Likewise.
17221         (linknamespace-libs-XPG4): Likewise.
17222         (linknamespace-libs-POSIX): Likewise.
17223         (linknamespace-libs-UNIX98): Likewise.
17224         (linknamespace-libs-XOPEN2K): Likewise.
17225         (linknamespace-libs-POSIX2008): Likewise.
17226         (linknamespace-libs-XOPEN2K8): Likewise.
17227         ($(objpfx)symlist-stdlibs): Replace by
17228         $(linknamespace-symlist-stdlibs-tests).  Use
17229         $(linknamespace-libs-$*) as set of libraries.
17230         ($(linknamespace-header-tests)): Update dependencies.  Use
17231         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
17232         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
17233         * conform/linknamespace.pl: Remove comment about considering
17234         definitions of symbols from irrelevant libraries.
17236 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
17238         [BZ #13862]
17239         * elf/dl-tls.c: Include <atomic.h>.
17240         (oom): Remove #ifdef SHARED/#endif.
17241         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
17242         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
17243         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
17244         big enough.
17245         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
17246         * nptl/Makefile (tests): Add tst-stack4.
17247         (modules-names): Add tst-stack4mod.
17248         ($(objpfx)tst-stack4): New.
17249         (tst-stack4mod.sos): Likewise.
17250         ($(objpfx)tst-stack4.out): Likewise.
17251         ($(tst-stack4mod.sos)): Likewise.
17252         (clean): Likewise.
17253         * nptl/tst-stack4.c: New file.
17254         * nptl/tst-stack4mod.c: Likewise.
17256 2014-11-27  J. Brown  <jb999@gmx.de>
17258         * sysdeps/x86/bits/string.h: Add recent CPUs.
17260 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17262         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
17263         sigblock.
17265         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
17266         feof.
17268         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
17269         variable.
17271 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
17273         * nscd/connections.c: Include libc-internal.h because of macro
17274         usage ignore_value.
17276 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17278         * string/bits/string3.h (__warn_memset_zero_len): Don't
17279         declare for gcc newer than 5.0.
17280         (memset): Don't test for zero-length __LEN for gcc newer than
17281         5.0.
17283 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17285         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
17286         size_t for %zu format.
17288         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
17289         difference, not %ju.
17291 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17293         * include/libc-internal.h (ignore_value): New macro.
17294         * nscd/connections.c (restart): Wrap calls to setuid and setgid
17295         with ignore_value.
17297         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
17298         definition.
17300         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
17301         pthread_cleanup_push to void *.
17303         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
17304         Undefine.
17306         [BZ #16619]
17307         [BZ #16740]
17308         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
17309         instead of 1L << 52.
17311         * libio/bug-rewind.c (do_test): Check fwscanf return values.
17312         * libio/bug-rewind2.c (do_test): Likewise.
17314         * debug/test-stpcpy_chk-ifunc.c: Remove file.
17315         * debug/test-strcpy_chk-ifunc.c: Likewise.
17316         * wcsmbs/test-wcschr-ifunc.c: Likewise.
17317         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17318         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17319         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17320         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17321         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17322         * Rules [$(multi-arch) = no] (tests): Do not filter out
17323         $(tests-ifunc).
17324         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
17325         * debug/Makefile (tests-ifunc): Remove variable.
17326         (tests): Do not add $(tests-ifunc).
17327         * wcsmbs/Makefile (tests-ifunc): Remove variable.
17328         (tests): Do not add $(tests-ifunc).
17329         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
17330         [TEST_IFUNC]: Remove conditionals.
17331         * string/test-string.h (TEST_IFUNC): Remove macro.
17332         [TEST_IFUNC]: Remove conditionals.
17334         * string/test-strchr.c [!WIDE] (L): New macro.
17335         [WIDE] (L): Likewise.
17336         (check1): Use CHAR instead of char.  Use L on string and character
17337         constants.
17339 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
17341         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
17342         tests.
17343         * sysdeps/powerpc/bits/atomic.h
17344         (__arch_atomic_exchange_and_add_32_acq): Add definition.
17345         (__arch_atomic_exchange_and_add_32_rel): Likewise.
17346         (atomic_exchange_and_add_acq): Likewise.
17347         (atomic_exchange_and_add_rel): Likewise.
17348         * sysdeps/powerpc/powerpc32/bits/atomic.h
17349         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17350         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17351         * sysdeps/powerpc/powerpc64/bits/atomic.h
17352         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17353         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17355 2014-11-26  Torvald Riegel  <triegel@redhat.com>
17357         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
17358         Change synchronization of __sched_fifo_min_prio and
17359         __sched_fifo_max_prio.
17360         * nptl/pthread_mutexattr_getprioceiling.c
17361         (pthread_mutexattr_getprioceiling): Likewise.
17362         * nptl/pthread_mutexattr_setprioceiling.c
17363         (pthread_mutexattr_setprioceiling): Likewise.
17364         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
17365         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
17366         Likewise.
17368 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17370         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
17371         void.
17373 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17375         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
17376         third argument const.
17378 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
17380         fnmatch: work around GCC compiler warning bug with uninit var
17381         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
17382         This works around a bug with x86-64 GCC 4.9.2 and earlier
17383         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
17384         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
17385         used uninitialized in this function [-Wmaybe-uninitialized]".
17387 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17389         * posix/bug-regex31.c (main): Return RES not 0.
17391 2014-11-25  Anton Blanchard <anton@samba.org>
17393         * sysdeps/powerpc/bits/atomic.h
17394         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
17396 2014-11-24  Sterling Augustine  <saugustine@google.com>
17398         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
17400 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
17402         [BZ #17608]
17403         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
17405 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
17407         [BZ #17633]
17408         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
17409         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
17410         variable.
17411         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
17412         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
17414 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
17416         * string/strncpy.c (strncpy): Improve performance by using memset.
17418 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
17420         * string/strcpy.c (strcpy):
17421         Improve performance by using strlen and memcpy.
17423 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
17425         * string/strcoll_l.c (get_next_seq): __always_inline.
17426         * string/strcoll_l.c (do_compare): __always_inline.
17428 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17430         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
17431         defined.
17432         * include/mqueue.h: Likewise.
17433         * include/stdlib.h: Likewise.
17435         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
17436         (get_null_defines): Adjust.
17437         * sunrpc/Makefile: Adjust comment.
17438         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
17439         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
17440         (CFLAGS-interp.c): Likewise.
17441         (CFLAGS-ldconfig.c): Likewise.
17442         (CPPFLAGS-.os): Likewise.
17443         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17444         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17445         * extra-modules.mk (extra-modules.mk): Likewise.
17446         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
17447         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
17448         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
17449         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
17450         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
17451         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
17452         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
17453         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
17454         * iconvdata/Makefile (CPPFLAGS): Likewise.
17455         (cpp-srcs-left): Add libof for all iconvdata routines.
17456         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
17457         * include/assert.h: Likewise.
17458         * include/ctype.h: Likewise.
17459         * include/errno.h: Likewise.
17460         * include/libc-symbols.h: Likewise.
17461         * include/math.h: Likewise.
17462         * include/netdb.h: Likewise.
17463         * include/resolv.h: Likewise.
17464         * include/stdio.h: Likewise.
17465         * include/stdlib.h: Likewise.
17466         * include/string.h: Likewise.
17467         * include/sys/stat.h: Likewise.
17468         * include/wctype.h: Likewise.
17469         * intl/l10nflist.c: Likewise.
17470         * libidn/idn-stub.c: Likewise.
17471         * libio/libioP.h: Likewise.
17472         * nptl/libc_multiple_threads.c: Likewise.
17473         * nptl/pthreadP.h: Likewise.
17474         * posix/regex_internal.h: Likewise.
17475         * resolv/res_hconf.c: Likewise.
17476         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
17477         * sysdeps/arm/memmove.S: Likewise.
17478         * sysdeps/arm/sysdep.h: Likewise.
17479         * sysdeps/generic/_itoa.h: Likewise.
17480         * sysdeps/generic/symbol-hacks.h: Likewise.
17481         * sysdeps/gnu/errlist.awk: Likewise.
17482         * sysdeps/gnu/errlist.c: Likewise.
17483         * sysdeps/i386/i586/memcpy.S: Likewise.
17484         * sysdeps/i386/i586/memset.S: Likewise.
17485         * sysdeps/i386/i686/memcpy.S: Likewise.
17486         * sysdeps/i386/i686/memmove.S: Likewise.
17487         * sysdeps/i386/i686/mempcpy.S: Likewise.
17488         * sysdeps/i386/i686/memset.S: Likewise.
17489         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17490         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17491         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
17492         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
17493         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17494         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17495         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
17496         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17497         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17498         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17499         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17500         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17501         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17502         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17503         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17504         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17505         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
17506         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
17507         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
17508         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17509         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17510         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17511         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17512         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17513         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17514         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17515         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
17516         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17517         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
17518         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17519         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17520         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17521         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17522         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17523         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17524         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17525         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17526         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17527         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17528         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17529         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17530         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17531         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17532         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17533         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17534         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17535         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
17536         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
17537         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17538         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17539         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17540         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
17541         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
17542         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17543         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17544         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
17545         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17546         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
17547         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
17548         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17549         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17550         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17551         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
17552         * sysdeps/nptl/bits/libc-lock.h: Likewise.
17553         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
17554         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
17555         * sysdeps/posix/closedir.c: Likewise.
17556         * sysdeps/posix/opendir.c: Likewise.
17557         * sysdeps/posix/readdir.c: Likewise.
17558         * sysdeps/posix/rewinddir.c: Likewise.
17559         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
17560         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
17561         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17562         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17563         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17564         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
17565         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
17566         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
17567         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
17568         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
17569         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
17570         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
17571         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
17572         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
17573         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
17574         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
17575         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
17576         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
17577         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
17578         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
17579         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
17580         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
17581         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
17582         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
17583         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
17584         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
17585         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
17586         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
17587         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
17588         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
17589         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
17590         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
17591         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
17592         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
17593         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
17594         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
17595         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17596         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17597         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
17598         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
17599         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
17600         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
17601         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
17602         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
17603         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
17604         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
17605         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
17606         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
17607         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
17608         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
17609         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
17610         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
17611         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17612         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
17613         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
17614         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
17615         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
17616         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
17617         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
17618         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
17619         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
17620         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
17621         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17622         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
17623         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
17624         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
17625         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
17626         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
17627         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
17628         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
17629         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
17630         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
17631         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
17632         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
17633         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
17634         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
17635         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
17636         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
17637         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17638         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
17639         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
17640         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17641         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
17642         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
17643         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17644         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
17645         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
17646         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17647         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17648         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17649         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
17650         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
17651         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
17652         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17653         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17654         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
17655         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17656         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17657         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
17658         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
17659         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17660         * sysdeps/unix/alpha/sysdep.S: Likewise.
17661         * sysdeps/unix/alpha/sysdep.h: Likewise.
17662         * sysdeps/unix/make-syscalls.sh: Likewise.
17663         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17664         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17665         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17666         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
17667         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17668         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
17669         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
17670         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17671         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17672         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
17673         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17674         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17675         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17676         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
17677         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17678         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17679         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17680         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17681         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
17682         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17683         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
17684         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17685         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17686         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17687         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17688         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17689         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
17691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17692         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
17693         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17694         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17695         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17696         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17697         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17698         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17699         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17700         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17701         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17702         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17703         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17704         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17705         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17706         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17707         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17708         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17709         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17710         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17711         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17712         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17713         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17714         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17715         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17716         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17717         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17718         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17719         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17720         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17721         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
17722         * sysdeps/x86_64/memcpy.S: Likewise.
17723         * sysdeps/x86_64/memmove.c: Likewise.
17724         * sysdeps/x86_64/memset.S: Likewise.
17725         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
17726         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17727         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17728         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
17729         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
17730         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17731         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17732         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17733         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17734         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17735         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17736         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17737         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
17738         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17739         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17740         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
17741         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17742         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17743         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
17744         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17745         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
17746         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17747         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17748         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17749         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17750         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17751         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17752         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
17753         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17754         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17755         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
17756         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17757         * sysdeps/x86_64/strcmp.S: Likewise.
17759         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
17761         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
17762         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
17763         * elf/rtld-Rules: Likewise.
17764         * elf/setup-vdso.h: Likewise.
17765         * include/assert.h: Likewise.
17766         * include/bits/stdlib-float.h: Likewise.
17767         * include/errno.h: Likewise.
17768         * include/sys/stat.h: Likewise.
17769         * include/unistd.h: Likewise.
17770         * sysdeps/aarch64/setjmp.S: Likewise.
17771         * sysdeps/alpha/setjmp.S: Likewise.
17772         * sysdeps/arm/__longjmp.S: Likewise.
17773         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
17774         * sysdeps/arm/setjmp.S: Likewise.
17775         * sysdeps/arm/sysdep.h: Likewise.
17776         * sysdeps/generic/_itoa.h: Likewise.
17777         * sysdeps/generic/dl-sysdep.h: Likewise.
17778         * sysdeps/generic/ldsodefs.h: Likewise.
17779         * sysdeps/i386/dl-tls.h: Likewise.
17780         * sysdeps/i386/setjmp.S: Likewise.
17781         * sysdeps/m68k/setjmp.c: Likewise.
17782         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
17783         * sysdeps/mach/hurd/opendir.c: Likewise.
17784         * sysdeps/posix/getcwd.c: Likewise.
17785         * sysdeps/posix/opendir.c: Likewise.
17786         * sysdeps/posix/profil.c: Likewise.
17787         * sysdeps/powerpc/dl-procinfo.h: Likewise.
17788         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17789         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17790         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17791         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17792         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
17793         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
17794         * sysdeps/s390/dl-tls.h: Likewise.
17795         * sysdeps/s390/s390-32/setjmp.S: Likewise.
17796         * sysdeps/s390/s390-64/setjmp.S: Likewise.
17797         * sysdeps/sh/sh3/setjmp.S: Likewise.
17798         * sysdeps/sh/sh4/setjmp.S: Likewise.
17799         * sysdeps/unix/alpha/sysdep.h: Likewise.
17800         * sysdeps/unix/arm/sysdep.S: Likewise.
17801         * sysdeps/unix/i386/sysdep.S: Likewise.
17802         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17803         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17804         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17805         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17806         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17807         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
17808         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
17809         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17810         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17811         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
17812         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
17813         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17814         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17817         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17818         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17819         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17820         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17821         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17822         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17823         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17824         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17825         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17826         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17827         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17828         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17829         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17830         * sysdeps/x86_64/setjmp.S: Likewise.
17832         * include/math.h: Use IS_IN instead of IS_IN_libm.
17833         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
17834         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17835         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17836         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17837         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17838         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17839         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17840         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17841         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17842         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17843         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
17844         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
17845         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
17846         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
17847         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
17848         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
17849         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
17850         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
17851         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
17852         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
17853         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
17854         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
17855         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
17856         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
17857         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
17858         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
17859         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
17860         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
17861         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
17862         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
17863         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
17864         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17865         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
17867         Likewise.
17868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
17869         Likewise.
17870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
17871         Likewise.
17872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
17873         Likewise.
17874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
17875         Likewise.
17876         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17877         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
17878         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17879         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17880         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17881         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
17883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
17884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
17885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
17886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
17887         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
17888         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
17889         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17890         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17891         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17892         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17893         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17894         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17895         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17896         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
17897         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
17898         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
17899         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
17900         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
17901         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17902         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
17904         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
17905         * nptl/pthreadP.h: Likewise.
17906         * nptl_db/structs.def: Likewise.
17907         * sysdeps/arm/sysdep.h: Likewise.
17908         * sysdeps/nptl/bits/libc-lock.h: Likewise.
17909         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
17910         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
17911         * sysdeps/unix/alpha/sysdep.h: Likewise.
17912         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17913         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17914         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17915         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17916         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17917         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17918         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17919         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17920         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17921         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17922         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17923         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17924         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17925         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
17927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17928         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17929         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17930         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17931         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17932         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17933         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17934         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17935         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17936         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17937         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17939         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
17940         * nptl/pthreadP.h: Likewise.
17941         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17942         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17943         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17944         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17945         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17946         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17947         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17948         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17949         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17950         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17951         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17952         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17954         Likewise.
17955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17956         Likewise.
17957         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17958         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17959         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17960         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17961         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17962         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17963         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17964         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17966         * dlfcn/dladdr.c: Use IS_IN.
17967         * dlfcn/dladdr1.c: Likewise.
17968         * dlfcn/dlclose.c: Likewise.
17969         * dlfcn/dlerror.c: Likewise.
17970         * dlfcn/dlinfo.c: Likewise.
17971         * dlfcn/dlmopen.c: Likewise.
17972         * dlfcn/dlopen.c: Likewise.
17973         * dlfcn/dlsym.c: Likewise.
17974         * dlfcn/dlvsym.c: Likewise.
17976         * include/ifaddrs.h: Use IS_IN.
17977         * inet/check_pf.c: Likewise.
17978         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17979         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
17981         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
17982         IS_IN_ldconfig.
17983         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
17984         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
17986         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
17987         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
17988         IS_IN (libc).
17990         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
17992         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
17993         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17994         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17995         * include/libc-symbols.h (IS_IN_LIB): New macro.
17996         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
17997         * include/netdb.h: Likewise.
17998         * include/stap-probe.h: Remove all uses of IN_LIB.
18000         * Makeconfig (module-cppflags-real): Define MODULE_NAME
18001         instead of IN_MODULE.
18002         * include/libc-symbols.h (IN_MODULE): Define using
18003         MODULE_NAME.
18004         (PASTE_NAME, PASTE_NAME1): New macros.
18005         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
18006         of IN_LIB.
18007         (STAP_PROBE_ASM): Likewise.
18009 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18011         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
18012         __mach_init in dlopened libc.
18014 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
18016         * sysdeps/arm/preconfigure.ac: Delete EABI check.
18017         * sysdeps/arm/preconfigure: Regenerate.
18019 2014-11-21  Roland McGrath  <roland@hack.frob.com>
18021         * nptl/pthread_create.c (__pthread_create_2_1): Set
18022         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
18023         when copying values from IATTR into PD.
18025 2014-11-21  Will Newton  <will.newton@linaro.org>
18026             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
18028         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
18029         Refactor inline-asm.  Also add comment.
18031         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
18032         ElfW macro instead of hardcoded Elf64 types.
18033         (la_aarch64_gnu_pltenter): Likewise.
18034         * sysdeps/aarch64/dl-machine.h
18035         (elf_machine_runtime_setup): Use ElfW(Addr).
18037         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
18038         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
18039         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
18040         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
18041         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
18042         (R_AARCH64_TLS_DTPMOD64): Rename to ..
18043         (R_AARCH64_TLS_DTPMOD): This.
18044         (R_AARCH64_TLS_DTPREL64): Rename to ...
18045         (R_AARCH64_TLS_DTPREL): This.
18046         (R_AARCH64_TLS_TPREL64): Rename to ...
18047         (R_AARCH64_TLS_TPREL): This.
18048         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
18049         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
18050         R_AARCH64_TLS_TPREL64.
18051         (elf_machine_rela): Likewise.
18053 2014-11-21  Torvald Riegel  <triegel@redhat.com>
18055         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
18056         by setting it to 0.  64b atomics are not supported currently.
18058 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18060         [BZ #16469]
18061         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
18062         search domain names.
18064 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18066         [BZ #16469]
18067         * NEWS: Update.
18068         * resolv/res_query.c (__libc_res_nquerydomain): Retain
18069         trailing dot.
18070         * posix/tst-getaddrinfo5.c: New.
18071         * posix/Makefile (tests): Add it.
18073 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18075         [BZ #14498]
18076         * NEWS: Fixed.
18077         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
18078         after parsing line but before break_if_match.
18079         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
18080         if there is a protocol mismatch.
18082 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
18084         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
18085         because the potential race is on the user-supplied stream.
18087 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18089         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
18090         string literal if not passed a buffer.
18091         * manual/job.texi (ctermid): Update reasoning, note deviation
18092         from posix, suggest mtasurace when not passed a buffer, for
18093         future non-preliminary safety notes.
18095 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18097         * manual/users.texi (cuserid): Fix MT-Safety note for the case
18098         of not passing it a buffer.
18099         Reported by Peng Haitao.
18101 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18103         * manual/Makefile ($(objpfx)stamp-summary): Require
18104         check-safety.sh to pass.
18105         * manual/check-safety.sh: Wish for verification that every
18106         @deftypefn and @deftypefun is followed by a @safety remark.
18108 2014-11-20  Roland McGrath  <roland@hack.frob.com>
18110         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
18112         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
18113         PTHREAD_CANCEL_ASYNCHRONOUS.
18114         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
18115         send SIGCANCEL.
18117         * nptl/default-sched.h: New file.
18118         * sysdeps/unix/sysv/linux/default-sched.h: New file.
18119         * nptl/pthread_create.c: Include it.
18120         (__pthread_create_2_1): Use collect_default_sched instead of making
18121         Linux syscalls here directly.
18123 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18125         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
18126         __pthread_once): Use C11 atomics.
18128 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18130         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
18132 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18134         * include/atomic.h (__atomic_link_error, __atomic_check_size,
18135         atomic_thread_fence_acquire, atomic_thread_fence_release,
18136         atomic_thread_fence_seq_cst, atomic_load_relaxed,
18137         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
18138         atomic_compare_exchange_weak_relaxed,
18139         atomic_compare_exchange_weak_acquire,
18140         atomic_compare_exchange_weak_release,
18141         atomic_exchange_acquire, atomic_exchange_release,
18142         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
18143         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
18144         atomic_fetch_and_acquire,
18145         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
18147 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18149         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
18150         USE_ATOMIC_COMPILER_BUILTINS): Define.
18151         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
18152         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18153         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
18154         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18155         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
18156         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18157         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
18158         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18159         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
18160         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18161         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
18162         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18163         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
18164         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18165         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
18166         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18167         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18168         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18169         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18170         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18171         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
18172         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18173         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18174         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18175         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
18176         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18177         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18178         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18179         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
18180         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18181         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
18182         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18183         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
18184         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18185         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
18186         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18187         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
18188         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18189         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
18190         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18192 2014-11-19  Roland McGrath  <roland@hack.frob.com>
18194         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
18195         the sched_priority value here.  It was already checked when the user
18196         called pthread_attr_setschedparam.
18198         * nptl/tst-bad-schedattr.c: New file.
18199         * nptl/Makefile (tests): Add it.
18201 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
18202             Florian Weimer  <fweimer@redhat.com>
18203             Joseph Myers  <joseph@codesourcery.com>
18204             Adam Conrad  <adconrad@0c3.net>
18205             Andreas Schwab  <schwab@suse.de>
18206             Brooks  <bmoses@google.com>
18208         [BZ #17625]
18209         * wordexp-test.c (__dso_handle): Add prototype.
18210         (__register_atfork): Likewise.
18211         (__app_register_atfork): New function.
18212         (registered_forks): New global.
18213         (register_fork): New function.
18214         (test_case): Add 3 new tests for WRDE_CMDSUB.
18215         (main): Call __app_register_atfork.
18216         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
18217         fork count is non-zero fail the test.
18218         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
18219         is set.
18220         (parse_dollars): Remove check for WRDE_NOCMD.
18221         (parse_dquote): Likewise.
18223 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18225         * Makeconfig (built-modules): List non-library modules to be
18226         built.
18227         (module-cppflags): Include libc-modules.h for
18228         everything except shlib-versions.v.i.
18229         (CPPFLAGS): Use it.
18230         (before-compile): Add libc-modules.h.
18231         ($(common-objpfx)libc-modules.h,
18232         $(common-objpfx)libc-modules.stmp): New targets.
18233         (common-generated): Add libc-modules.h and libc-modules.stmp.
18234         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
18235         * include/libc-symbols.h: Don't include libc-modules.h.
18236         * include/libc-modules.h: Remove file.
18237         * scripts/gen-libc-modules.awk: New script to generate
18238         libc-modules.h.
18239         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
18240         Depend on libc-modules.stmp.
18242         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
18244         * Makeconfig (in-module): Get value of libof set for the
18245         translation unit.
18246         (CPPFLAGS): Use $(in-module).
18247         * Makerules: Don't suffix routine names for nonlib.
18248         * include/libc-modules.h: New file.
18249         * include/libc-symbols.h: Include libc-modules.h
18250         (IS_IN): New macro to replace IS_IN_* macros.
18251         * elf/Makefile: Set libof-* for each routine.
18252         * elf/rtld-Rules: Likewise.
18253         * extra-modules.mk: Likewise.
18254         * iconv/Makefile: Likewise.
18255         * iconvdata/Makefile: Likewise.
18256         * locale/Makefile: Likewise.
18257         * malloc/Makefile: Likewise.
18258         * nss/Makefile: Likewise.
18259         * sysdeps/gnu/Makefile: Likewise.
18260         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
18261         * sysdeps/unix/sysv/linux/Makefile: Likewise.
18262         * sysdeps/s390/s390-64/Makefile: Likewise.
18263         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
18264         CPPFLAGS for nscd instead of nonlib.
18266 2014-11-18  Roland McGrath  <roland@hack.frob.com>
18268         * nptl/createthread.c: New file.
18270         * nptl/createthread.c: Moved ...
18271         * sysdeps/unix/sysv/linux/createthread.c: ... here.
18273         * nptl/createthread.c: Add proper top-line comment.
18274         (do_clone): Folded into ...
18275         (create_thread): ... here.  Take new arguments STOPPED_START and
18276         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
18277         increment __nptl_threads, do event-reporting logic, do
18278         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
18279         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
18280         resource cleanup if sched_setaffinity or sched_setscheduler fails,
18281         just send SIGCANCEL.
18282         * nptl/pthread_create.c: Forward-declare create_thread before
18283         including createthread.c.
18284         (start_thread): Use new macro START_THREAD_DEFN to replace defining
18285         declaration, and new macro START_THREAD_SELF to replace argument.
18286         Remove return statement.
18287         (report_thread_creation): New function.
18288         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
18289         synchronization logic, and __nptl_nthreads increment here, around
18290         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
18291         PD->parent_cancelhandling here, before create_thread.  When
18292         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
18293         __deallocate_stack, and ENOMEM translation here.
18295 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
18297         [BZ #17616]
18298         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
18299         (mptwo): Rename to __mptwo.
18300         (__inv): Use __mptwo instead of mptwo.
18301         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
18302         (mptwo): Rename to __mptwo.
18303         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
18304         of mpone and __mptwo instead of mptwo.
18305         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
18306         instead of mpone.
18307         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18308         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
18309         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
18310         of mpone and __mptwo instead of mptwo.
18311         (__mpranred): Use __mpone instead of mpone.
18312         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
18313         variable.
18314         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18315         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18316         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18317         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18318         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18319         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18320         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18321         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18322         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18323         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18324         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
18325         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
18326         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
18327         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
18328         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
18329         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
18330         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
18331         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18332         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18334 2014-11-18  Tom de Vries  <tom@codesoucery.com>
18336         * manual/signal.texi (Primitives Interrupted by Signals): In section,
18337         replace BSD Handler xref with BSD Signal Handling.
18339 2014-11-17  Richard Henderson  <rth@redhat.com>
18341         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
18342         (_FP_PACK_RAW_2): Remove.
18343         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
18344         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
18345         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
18346         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
18347         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
18348         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
18349         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
18350         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
18351         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
18352         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
18353         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
18354         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
18355         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
18356         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
18357         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
18358         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
18360 2014-11-14  Roland McGrath  <roland@hack.frob.com>
18362         * signal/signal.h [__USE_MISC]
18363         (struct sigvec): Remove type.
18364         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
18365         (sigvec): Remove declaration.
18366         * sysdeps/posix/sigvec.c: Moved ...
18367         * signal/sigvec.c: ... here, replacing old file.
18368         (struct sigvec): New type, copied from old signal.h definition.
18369         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
18370         (__sigvec): Convert definition to prototype.
18371         (sigvec): Replace weak_alias with compat_symbol.
18372         * signal/Versions (libc: GLIBC_2.21): New version set.
18373         * include/signal.h: Remove __sigvec declaration.
18374         * sysdeps/unix/bsd/sigvec.c: Remove file.
18375         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
18376         * manual/signal.texi (BSD Handler): Remove subsection.
18377         Move siginterrupt up to ...
18378         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
18379         (Blocking in BSD): Fold subsection into its parent.
18380         * NEWS: Mention sigvec removal.
18382 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18384         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
18385         (DLA_FMS): Make definition conditional only on [__FMA4__].
18386         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
18387         definition.
18389         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
18390         Make definition conditional only on [PROF].
18391         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
18392         definition.
18393         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
18394         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
18396         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
18397         !__GNUC__].
18398         * include/signal.h (__sigpause): Move declaration above call to
18399         libc_hidden_proto.
18400         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
18401         variable.
18402         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
18403         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18405 2014-11-14  David S. Miller  <davem@davemloft.net>
18407         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
18408         Define before including <string/memcpy.c> and <string/mempcpy.c>.
18410 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18412         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
18413         * configure: Regenerated.
18414         * manual/install.texi (Tools for Compilation): Document a
18415         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
18416         compiler verified to work.
18417         * INSTALL: Regenerated.
18419         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
18420         redeclare with asm name.
18421         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
18422         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
18423         including <string.h>.
18424         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18425         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
18426         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18427         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
18428         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18429         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18430         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18432 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
18434         * stdlib/strtol.c (__strtol): Use prototype definition.
18436         [BZ #17594]
18437         * stdlib/strtol.c (SYM__): New macro.
18438         (SYM__1): Likewise.
18439         (__strtol): Likewise.
18440         (strtol): Rename to __strtol and define as weak alias of
18441         __strtol.  Use libc_hidden_weak.
18443 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18445         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
18446         Use numbered labels in inline assembly.
18448 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18450         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
18451         Add setjmp LIBC_PROBE.
18452         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
18453         Likewise.
18454         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
18455         Add longjmp, longjmp_target LIBC_PROBE.
18456         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
18457         Likewise.
18459 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18461         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18462         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
18463         to get rid of unused variable warning.
18465 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18467         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
18468         Check for unwind_backtrace ==  NULL only in SHARED case.
18469         (__backchain_backtrace): Compile only in SHARED case.
18470         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
18471         Likewise.
18472         (__backchain_backtrace): Declare as static.
18474 2014-11-12  Roland McGrath  <roland@hack.frob.com>
18476         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
18477         (__libc_multiple_threads_ptr): Variable moved ...
18478         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
18480 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
18482         * conform/GlibcConform.pm: New file.
18483         * conform/conformtest.pl: Use GlibcConform module.
18484         * conform/linknamespace.pl: New file.
18485         * conform/list-header-symbols.pl: Likewise.
18486         * conform/Makefile (linknamespace-symlists-base): New variable.
18487         (linknamespace-symlists-tests): Likewise.
18488         (linknamespace-header-base): Likewise.
18489         (linknamespace-header-tests): Likewise.
18490         (tests-special): Add new tests.
18491         ($(linknamespace-symlists-tests)): New rule.
18492         (linknamespace-libs): New variable.
18493         ($(objpfx)symlist-stdlibs): New rule.
18494         ($(linknamespace-header-tests)): Likewise.
18495         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
18496         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
18497         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
18498         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
18499         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
18500         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
18501         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
18502         (test-xfail-ISO/math.h/linknamespace): Likewise.
18503         (test-xfail-ISO/signal.h/linknamespace): Likewise.
18504         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
18505         (test-xfail-ISO/time.h/linknamespace): Likewise.
18506         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18507         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
18508         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18509         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
18510         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18511         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18512         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18513         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18514         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18515         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18516         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18517         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18518         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18519         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
18520         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
18521         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18522         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
18523         (test-xfail-XPG3/search.h/linknamespace): Likewise.
18524         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
18525         (test-xfail-XPG3/time.h/linknamespace): Likewise.
18526         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
18527         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18528         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18529         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
18530         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18531         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18532         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
18533         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
18534         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18535         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
18536         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
18537         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
18538         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18539         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18540         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
18541         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
18542         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
18543         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
18544         (test-xfail-XPG4/time.h/linknamespace): Likewise.
18545         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
18546         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18547         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
18548         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18549         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18550         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18551         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
18552         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
18553         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
18554         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
18555         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
18556         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18557         (test-xfail-POSIX/time.h/linknamespace): Likewise.
18558         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
18559         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18560         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18561         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18562         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18563         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18564         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18565         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18566         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
18567         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18568         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
18569         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18570         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18571         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18572         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
18573         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
18574         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18575         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
18576         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
18577         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
18578         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
18579         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
18580         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18581         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
18582         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
18583         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
18584         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18585         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
18586         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
18587         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
18588         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18589         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18590         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18591         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
18592         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
18593         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
18594         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
18595         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
18596         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
18597         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
18598         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
18599         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18600         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18601         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
18602         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
18603         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
18604         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
18605         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18606         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18607         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18608         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18609         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
18610         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
18611         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18612         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
18613         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18614         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
18615         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
18616         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18617         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
18618         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
18619         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18620         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
18621         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
18622         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
18623         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
18624         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
18625         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18626         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18627         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
18628         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18629         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18630         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
18631         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
18632         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
18633         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
18634         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
18635         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
18636         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18637         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18638         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
18639         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
18640         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18641         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18642         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18643         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18644         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
18645         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
18646         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18647         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18648         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18649         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18650         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18651         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18652         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
18653         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18654         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
18655         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18657         [BZ #17589]
18658         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
18659         of fgets_unlocked.
18661         [BZ #17585]
18662         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
18663         (memmem): Rename to __memmem and define as weak alias of
18664         __memmem.  Use libc_hidden_weak.
18665         (__memmem): Use libc_hidden_def.
18666         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
18667         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
18668         memmem.
18670         [BZ #17582]
18671         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
18672         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
18673         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
18674         and define as weak alias of __fgets_unlocked.  Use
18675         libc_hidden_weak.
18676         (__fgets_unlocked): Use libc_hidden_def.
18677         * include/stdio.h (__fgets_unlocked): Declare.  Use
18678         libc_hidden_proto.
18679         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
18680         __fgets_unlocked instead of fgets_unlocked.
18681         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
18682         (GET_NPROCS_CONF_PARSER): Likewise.
18683         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
18684         (GET_NPROCS_CONF_PARSER): Likewise.
18686         [BZ #17574]
18687         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
18688         weak alias of __wmemset.  Use libc_hidden_weak.
18689         (__wmemset): Use libc_hidden_def.
18690         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
18691         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
18692         of wmemset.
18694         [BZ #17573]
18695         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
18696         with asm name __mempcpy.
18697         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
18699         [BZ #17572]
18700         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
18701         and define as weak alias of __rawmemchr.
18702         (__rawmemchr): Do not define as strong alias of rawmemchr.
18704         [BZ #17571]
18705         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
18706         alias of __qsort_r.
18707         (qsort): Call __qsort_r instead of qsort_r.
18708         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
18709         (__qsort_r): Declare.  Call libc_hidden_proto.
18710         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
18711         instead of qsort_r.
18712         * nscd/gai.c (__qsort_r): Define to qsort_r.
18713         * posix/tst-rfc3484.c (__qsort_r): Likewise.
18714         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
18715         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
18717         [BZ #17570]
18718         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
18719         define as weak alias of __malloc_info.
18721         [BZ #17584]
18722         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
18723         as weak alias of __rewinddir.  Don't use libc_hidden_def.
18724         (__rewinddir): Use libc_hidden_def.
18725         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
18726         as weak alias of __rewinddir.  Don't use libc_hidden_def.
18727         (__rewinddir): Use libc_hidden_def.
18728         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
18729         weak alias of __rewinddir.  Don't use libc_hidden_def.
18730         (__rewinddir): Use libc_hidden_def.
18731         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
18732         (__rewinddir): Use libc_hidden_proto.
18733         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
18734         rewinddir.
18735         (__getcwd): Use __rewinddir instead of rewinddir.
18737         [BZ #17583]
18738         * libio/fileno.c (fileno): Rename to __fileno and define as weak
18739         alias of __fileno.  Use libc_hidden_weak.
18740         (__fileno): Use libc_hidden_def.
18741         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
18742         * libio/ftello.c (ftello): Rename to __ftello and define as weak
18743         alias of __ftello.
18744         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
18745         __ftello.
18746         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
18747         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
18748         libc_hidden_def.
18749         (fread_unlocked): Don't use libc_hidden_ver.
18750         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
18751         and define as weak alias of __fread_unlocked.  Don't use
18752         libc_hidden_def.
18753         (__fread_unlocked): Use libc_hidden_def.
18754         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
18755         (ftello): Don't use libc_hidden_proto.
18756         (__ftello): Declare.  Use libc_hidden_proto.
18757         (fread_unlocked): Don't use libc_hidden_proto.
18758         (__fread_unlocked): Declare.  Use libc_hidden_proto.
18759         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
18760         and __ftello instead of fileno, fread_unlocked and ftello.
18762 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18764         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
18765         GOT12.
18766         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18767         Likewise.
18768         (_dl_start_user): Likewise.
18769         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
18771 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
18772             Siddhesh Poyarekar  <siddhesh@redhat.com>
18774         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
18775         Move argv and envp down instead of moving argc up.
18776         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
18778 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
18780         [BZ #17506]
18781         * test-skeleton.c (main): Return successful if one of
18782         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
18783         * string/tst-strcoll-overflow.c: Define expected status.
18785 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
18787         [BZ #17475]
18788         * locale/iso-639.def: Define Bhili and Tulu language codes.
18790 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
18792         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
18794 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
18796         [BZ #17555]
18797         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
18799 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
18801         * configure.ac: Updated check of minimal required version to
18802         2.22.
18803         * manual/install.texi (Tools for Compilation): Updated version
18804         number.
18805         * configure: Regenerated.
18806         * INSTALL: Likewise.
18808 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
18810         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
18811         __tls_get_addr.
18813 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
18815         * include/sys/wait.h (__libc_waitpid): Remove declaration.
18816         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
18817         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18818         libc_hidden_weak.
18819         (waitpid): Define as alias of __waitpid.
18820         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
18821         __waitpid.
18822         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18823         libc_hidden_weak.
18824         (waitpid): Define as alias of __waitpid.
18825         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
18826         __libc_waitpid alias.
18827         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
18828         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
18829         Likewise.
18830         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
18831         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
18832         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
18833         alias.
18834         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
18835         __waitpid.
18836         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18837         libc_hidden_weak.
18838         (waitpid): Define as alias of __waitpid.
18840 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
18842         * manual/llio.texi: Add comment that write safety has been
18843         fixed in Linux.
18845         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
18846         (localplt-build-dso): Add elf/ld.so.
18847         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
18848         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
18849         and free for ld.so.
18850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
18851         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
18852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
18853         Likewise.
18854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18855         Likewise.
18856         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
18857         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
18858         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
18859         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
18860         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
18861         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
18862         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
18863         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
18864         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
18865         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
18866         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18868 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
18870         [BZ #14132]
18871         * include/libc-symbols.h (INTUSE): Remove macro.
18872         (INTDEF): Likewise.
18873         (INTVARDEF): Likewise.
18874         (_INTVARDEF): Likewise.
18875         (INTDEF2): Likewise.
18876         (INTVARDEF2): Likewise.
18877         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
18878         rtld_hidden_def instead of INTVARDEF.
18879         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
18880         (_dl_starting_up_internal): Remove declaration.
18881         (_dl_starting_up): Use rtld_hidden_proto.
18882         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
18883         declaration.
18884         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
18885         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
18886         _dl_starting_up.
18887         * elf/dl-writev.h (_dl_writev): Likewise.
18888         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
18889         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
18890         _dl_starting_up_internal.
18892 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18894         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18895         test-skeleton.c.
18897 2014-11-05  Will Newton  <will.newton@linaro.org>
18899         * benchtests/Makefile: (bench-malloc): Add malloc thread
18900         scalability benchmark.
18901         * benchtests/bench-malloc-threads.c: New file.
18903 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
18905         * sysdeps/aarch64/strchrnul.S: New file.
18907 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18909         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
18910         definition.
18911         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18912         Likwise.
18913         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18914         Likewise.
18915         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18916         Likewise.
18917         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18918         Likewise.
18919         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18920         Likewise.
18922 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
18924         * catgets/test-gencat.c: Use test-skeleton.c.
18925         * catgets/tst-catgets.c: Likewise.
18926         * csu/tst-empty.c: Likewise.
18927         * elf/tst-audit2.c: Likewise.
18928         * elf/tst-global1.c: Likewise.
18929         * elf/tst-pathopt.c: Likewise.
18930         * elf/tst-piemod1.c: Likewise.
18931         * elf/tst-tls10.c: Likewise.
18932         * elf/tst-tls11.c: Likewise.
18933         * elf/tst-tls12.c: Likewise.
18934         * gnulib/tst-gcc.c: Likewise.
18935         * iconvdata/tst-e2big.c: Likewise.
18936         * iconvdata/tst-loading.c: Likewise.
18937         * iconv/tst-iconv1.c: Likewise.
18938         * iconv/tst-iconv2.c: Likewise.
18939         * inet/test-inet6_opt.c: Likewise.
18940         * inet/tst-gethnm.c: Likewise.
18941         * inet/tst-network.c: Likewise.
18942         * inet/tst-ntoa.c: Likewise.
18943         * intl/tst-codeset.c: Likewise.
18944         * intl/tst-gettext2.c: Likewise.
18945         * intl/tst-gettext3.c: Likewise.
18946         * intl/tst-ngettext.c: Likewise.
18947         * intl/tst-translit.c: Likewise.
18948         * io/test-stat.c: Likewise.
18949         * libio/test-fmemopen.c: Likewise.
18950         * libio/tst-freopen.c: Likewise.
18951         * libio/tst-sscanf.c: Likewise.
18952         * libio/tst-ungetwc1.c: Likewise.
18953         * libio/tst-ungetwc2.c: Likewise.
18954         * libio/tst-widetext.c: Likewise.
18955         * localedata/tst-ctype.c: Likewise.
18956         * localedata/tst-digits.c: Likewise.
18957         * localedata/tst-leaks.c: Likewise.
18958         * localedata/tst-mbswcs1.c: Likewise.
18959         * localedata/tst-mbswcs2.c: Likewise.
18960         * localedata/tst-mbswcs3.c: Likewise.
18961         * localedata/tst-mbswcs4.c: Likewise.
18962         * localedata/tst-mbswcs5.c: Likewise.
18963         * localedata/tst-setlocale.c: Likewise.
18964         * localedata/tst-trans.c: Likewise.
18965         * localedata/tst-wctype.c: Likewise.
18966         * localedata/tst-xlocale1.c: Likewise.
18967         * login/tst-grantpt.c: Likewise.
18968         * malloc/tst-calloc.c: Likewise.
18969         * malloc/tst-malloc.c: Likewise.
18970         * malloc/tst-mallocstate.c: Likewise.
18971         * malloc/tst-mcheck.c: Likewise.
18972         * malloc/tst-mtrace.c: Likewise.
18973         * malloc/tst-obstack.c: Likewise.
18974         * math/atest-exp2.c: Likewise.
18975         * math/atest-exp.c: Likewise.
18976         * math/atest-sincos.c: Likewise.
18977         * math/test-matherr.c: Likewise.
18978         * math/test-misc.c: Likewise.
18979         * math/test-powl.c: Likewise.
18980         * math/tst-definitions.c: Likewise.
18981         * misc/tst-dirname.c: Likewise.
18982         * misc/tst-efgcvt.c: Likewise.
18983         * misc/tst-fdset.c: Likewise.
18984         * misc/tst-hsearch.c: Likewise.
18985         * misc/tst-mntent2.c: Likewise.
18986         * nptl/tst-sem7.c: Likewise.
18987         * nptl/tst-sem8.c: Likewise.
18988         * nptl/tst-sem9.c: Likewise.
18989         * nss/test-netdb.c: Likewise.
18990         * posix/tst-fnmatch.c: Likewise.
18991         * posix/tst-getlogin.c: Likewise.
18992         * posix/tst-gnuglob.c: Likewise.
18993         * posix/tst-mmap.c: Likewise.
18994         * pwd/tst-getpw.c: Likewise.
18995         * resolv/tst-inet_ntop.c: Likewise.
18996         * rt/tst-timer.c: Likewise.
18997         * stdio-common/test-fseek.c: Likewise.
18998         * stdio-common/test-popen.c: Likewise.
18999         * stdio-common/test-vfprintf.c: Likewise.
19000         * stdio-common/tst-cookie.c: Likewise.
19001         * stdio-common/tst-fileno.c: Likewise.
19002         * stdio-common/tst-gets.c: Likewise.
19003         * stdio-common/tst-obprintf.c: Likewise.
19004         * stdio-common/tst-perror.c: Likewise.
19005         * stdio-common/tst-sprintf2.c: Likewise.
19006         * stdio-common/tst-sprintf3.c: Likewise.
19007         * stdio-common/tst-sprintf.c: Likewise.
19008         * stdio-common/tst-swprintf.c: Likewise.
19009         * stdio-common/tst-tmpnam.c: Likewise.
19010         * stdio-common/tst-unbputc.c: Likewise.
19011         * stdio-common/tst-wc-printf.c: Likewise.
19012         * stdlib/tst-environ.c: Likewise.
19013         * stdlib/tst-fmtmsg.c: Likewise.
19014         * stdlib/tst-limits.c: Likewise.
19015         * stdlib/tst-rand48-2.c: Likewise.
19016         * stdlib/tst-rand48.c: Likewise.
19017         * stdlib/tst-random2.c: Likewise.
19018         * stdlib/tst-random.c: Likewise.
19019         * stdlib/tst-strtol.c: Likewise.
19020         * stdlib/tst-strtoll.c: Likewise.
19021         * stdlib/tst-tls-atexit.c: Likewise.
19022         * stdlib/tst-xpg-basename.c: Likewise.
19023         * string/test-ffs.c: Likewise.
19024         * string/tst-bswap.c: Likewise.
19025         * string/tst-inlcall.c: Likewise.
19026         * string/tst-strtok.c: Likewise.
19027         * string/tst-strxfrm.c: Likewise.
19028         * sysdeps/x86_64/tst-audit10.c: Likewise.
19029         * sysdeps/x86_64/tst-audit3.c: Likewise.
19030         * sysdeps/x86_64/tst-audit4.c: Likewise.
19031         * sysdeps/x86_64/tst-audit5.c: Likewise.
19032         * time/tst-ftime_l.c: Likewise.
19033         * time/tst-getdate.c: Likewise.
19034         * time/tst-mktime3.c: Likewise.
19035         * time/tst-mktime.c: Likewise.
19036         * time/tst-posixtz.c: Likewise.
19037         * time/tst-strptime2.c: Likewise.
19038         * time/tst-strptime3.c: Likewise.
19039         * wcsmbs/tst-btowc.c: Likewise.
19040         * wcsmbs/tst-mbrtowc.c: Likewise.
19041         * wcsmbs/tst-mbsrtowcs.c: Likewise.
19042         * wcsmbs/tst-wchar-h.c: Likewise.
19043         * wcsmbs/tst-wcpncpy.c: Likewise.
19044         * wcsmbs/tst-wcrtomb.c: Likewise.
19045         * wcsmbs/tst-wcsnlen.c: Likewise.
19046         * wcsmbs/tst-wcstof.c: Likewise.
19048 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
19050         [BZ #14132]
19051         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
19052         INTDEF.
19053         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
19054         declaration.
19055         (_dl_mcount): Use rtld_hidden_proto.
19056         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
19057         _dl_mcount.
19058         * elf/rtld.c (_rtld_global_ro): Likewise.
19060         [BZ #14132]
19061         * elf/dl-init.c (_dl_init): Don't use INTDEF.
19062         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
19063         of _dl_init_internal.
19064         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
19065         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
19066         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
19067         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
19068         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
19069         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
19070         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
19071         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
19072         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
19073         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
19074         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
19075         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
19076         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19077         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19078         * sysdeps/tile/dl-start.S (_start): Likewise.
19079         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
19080         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
19082         [BZ #14132]
19083         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
19084         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
19085         (rtld_progname): Make macro definition unconditional.
19086         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
19087         INTDEF.
19088         (dlmopen_doit): Do not use INTUSE with _dl_argv.
19089         (dl_main): Likewise.
19090         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19091         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
19092         instead of _dl_argv_internal.
19093         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19094         __GI__dl_argv instead of INTUSE(_dl_argv).
19095         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
19096         __GI__dl_argv instead of _dl_argv_internal.
19098         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
19099         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
19100         macro.
19101         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
19102         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
19103         New macro.
19104         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
19105         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
19106         macro.
19107         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
19108         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
19110 2014-11-04  Andreas Schwab  <schwab@suse.de>
19112         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
19114 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19116         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
19117         mtvsrd instruction in binary form.
19119 2014-11-03  Andreas Schwab  <schwab@suse.de>
19121         [BZ #17522]
19122         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
19123         for less than MB_LEN_MAX use a local buffer of that size.
19124         * libio/tst-fputws.c: New file.
19125         * libio/Makefile (tests): Add tst-fputws.
19127 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
19129         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
19130         the size of the fpu_fr.fpu_dregs[] array.
19132 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
19134         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
19135         (__nanosleep): Do not define as alias.
19136         (nanosleep): Define as alias of __nanosleep.
19137         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
19138         __libc_nanosleep name.
19140 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
19142         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
19143         install.texi in comment.
19145 2014-10-31  Torvald Riegel  <triegel@redhat.com>
19147         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
19148         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
19149         ... add here and use lwsync or sync ...
19150         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
19151         ... and add here using lwsync.
19153 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
19155         * elf/dl-machine-reject-phdr.h: New file.
19156         * elf/dl-load.c: #include that.
19157         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
19158         if that returned true.
19160 2014-10-31  Roland McGrath  <roland@hack.frob.com>
19162         [BZ #17496]
19163         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
19164         gen-as-const-headers chunk.  Add a big scare comment after the last
19165         safe place to touch before-compile.
19167 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
19169         * manual/install.texi (Tools for Compilation): Update autoconf
19170         version requirements.
19171         * INSTALL: Regenerated.
19173         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
19174         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
19175         (__libc_pselect): Likewise.
19177         [BZ #14138]
19178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
19179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19183 2014-10-31  Torvald Riegel  <triegel@redhat.com>
19185         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
19186         correct barrier instruction.
19187         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
19188         Likewise.
19189         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
19190         Likewise.
19192 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19194         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
19195         after defining inlines.  Instead, just use parens to defeat macro
19196         expansion of __isctype in its declaration.
19198 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19200         * include/sys/uio.h (__libc_readv): Remove declaration.
19201         (__libc_writev): Likewise.
19202         * misc/readv.c (__libc_readv): Rename to __readv.
19203         (__readv): Do not define as alias.
19204         (readv): Define as alias of __readv.
19205         * misc/writev.c (__libc_writev): Rename to __writev.
19206         (__writev): Do not define as alias.
19207         (writev): Define as alias of __writev.
19208         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
19209         (__readv): Do not define as alias.
19210         (readv): Define unconditionally as alias of __readv.
19211         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
19212         (__writev): Do not define as alias.
19213         (writev): Define unconditionally as alias of __writev.
19214         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
19215         name.
19216         (writev): Do not define __libc_writev name.
19218 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19220         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
19221         (convert_charseq): New function, broken out of ...
19222         (use_from_charmap): ... here.  Call it.
19223         (use_to_charmap): Use convert_charseq and free instead of duplicating
19224         its code with a variable-length stack struct.
19226 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19228         * include/fcntl.h (__libc_creat): Remove declaration.
19229         * io/creat.c (__libc_creat): Rename to creat.
19230         (creat): Do not define as alias.
19231         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
19232         of creat instead of __libc_creat.
19233         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
19234         to creat.
19235         (creat): Do not define as alias.
19236         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
19237         __libc_creat.
19238         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
19239         __libc_creat name.
19240         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
19241         Likewise.
19243 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
19245         * manual/llio.texi: Add comments discussing why write() may be
19246         considered MT-unsafe on Linux.
19248 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
19250         * dl-load.c (local_strdup): Remove.
19251         (expand_dynamic_string_token): Use __strdup.
19252         (decompose_rpath): Likewise.
19253         (_dl_map_object): Likewise.
19255 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
19257         [BZ #14132]
19258         * sysdeps/generic/unwind-dw2-fde.c
19259         (__register_frame_info_bases_internal): Do not declare.
19260         (__register_frame_info_table_bases_internal): Likewise.
19261         (__deregister_frame_info_bases_internal): Likewise.
19262         (__register_frame_info_bases): Declare and use hidden_proto before
19263         definition.  Use hidden_def instead of INTDEF.
19264         (__register_frame_info_table_bases): Likewise.
19265         (__deregister_frame_info_bases): Likewise.
19266         (__register_frame_info): Do not use INTUSE.
19267         (__register_frame): Likewise.
19268         (__register_frame_info_table): Likewise.
19269         (__register_frame_table): Likewise.
19270         (__deregister_frame_info): Likewise.
19271         (__deregister_frame): Likewise.
19273 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
19275         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19276         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
19277         not undefine.
19278         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
19279         Likewise.
19280         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
19281         Likewise.
19283 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
19285         [BZ #14138]
19286         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
19287         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
19288         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
19289         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
19290         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
19291         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
19292         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
19293         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
19294         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
19295         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
19296         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
19297         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
19298         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
19299         syscall.
19300         (setfsuid): Likewise.
19301         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
19302         (setfsuid): Likewise.
19303         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
19304         (setfsuid): Likewise.
19305         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
19306         Likewise.
19307         (setfsuid): Likewise.
19308         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
19309         (setfsuid): Likewise.
19310         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
19311         Likewise.
19312         (setfsuid): Likewise.
19314 2014-10-27  Andreas Schwab  <schwab@suse.de>
19316         [BZ #17501]
19317         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
19318         check for Slow_SSE4_2 feature bit.
19319         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
19320         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19321         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
19322         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
19324 2014-10-24  Roland McGrath  <roland@hack.frob.com>
19326         * configure.ac: Validate compiler version with a empirical test of
19327         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
19328         $CC -v output.
19329         * configure: Regenerated.
19331         * inet/htons.c (htons): Prototypify.
19332         * inet/htonl.c (htonl): Likewise.
19334 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19336         * string/strncat.c (strncat): Improve performance by using strlen.
19338 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19340         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
19342 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19344         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
19345         Call libc_fetestexcept_aarch64.
19347 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19349         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
19350         Call libc_feholdexcept_aarch64.
19352 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19354         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
19355         Call get_rounding_mode.
19357 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19359         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19360         Simplify logic.
19362 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19364         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
19365         Simplify logic.
19367 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
19369         [BZ #14138]
19370         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
19371         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
19372         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
19373         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
19374         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
19375         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
19376         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
19377         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
19378         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
19379         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
19380         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19381         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
19382         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
19383         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
19384         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
19385         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
19386         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
19387         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
19388         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
19389         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
19390         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
19391         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
19392         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
19393         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
19394         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
19395         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
19396         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
19397         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
19398         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
19399         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
19400         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
19401         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
19402         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
19403         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
19404         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
19405         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
19406         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
19407         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
19408         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
19409         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
19410         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
19411         syscall.
19412         (geteuid): Likewise.
19413         (getgid): Likewise.
19414         (getuid): Likewise.
19415         (getresgid): Likewise.
19416         (getresuid): Likewise.
19417         (getgroups): Likewise.
19418         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
19419         (geteuid): Likewise.
19420         (getgid): Likewise.
19421         (getuid): Likewise.
19422         (getresgid): Likewise.
19423         (getresuid): Likewise.
19424         (getgroups): Likewise.
19425         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
19426         (geteuid): Likewise.
19427         (getgid): Likewise.
19428         (getuid): Likewise.
19429         (getresgid): Likewise.
19430         (getresuid): Likewise.
19431         (getgroups): Likewise.
19432         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
19433         Likewise.
19434         (geteuid): Likewise.
19435         (getgid): Likewise.
19436         (getuid): Likewise.
19437         (getresgid): Likewise.
19438         (getresuid): Likewise.
19439         (getgroups): Likewise.
19440         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
19441         (geteuid): Likewise.
19442         (getgid): Likewise.
19443         (getuid): Likewise.
19444         (getresgid): Likewise.
19445         (getresuid): Likewise.
19446         (getgroups): Likewise.
19447         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
19448         Likewise.
19449         (geteuid): Likewise.
19450         (getgid): Likewise.
19451         (getuid): Likewise.
19452         (getgroups): Likewise.
19454         [BZ #14138]
19455         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
19456         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
19457         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
19458         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19459         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
19460         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
19461         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
19462         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
19463         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
19464         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
19465         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
19466         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
19467         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
19468         __chown.
19469         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
19470         (lchown): Likewise.
19471         (fchown): Likewise.
19472         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
19473         Likewise.
19474         (lchown): Likewise.
19475         (fchown): Likewise.
19476         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
19477         (lchown): Likewise.
19478         (fchown): Likewise.
19479         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
19480         Likewise.
19481         (lchown): Likewise.
19482         (fchown): Likewise.
19484 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19486         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
19487         Simplify logic.
19489 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19491         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
19492         Cleanup logic.
19494 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19496         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
19497         Remove unused include.
19499 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19501         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
19502         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
19503         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
19504         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
19506 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
19507             Helge Deller <deller@gmx.de>
19509         [BZ #17508]
19510         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
19511         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
19512         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
19514 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
19516         [BZ #14132]
19517         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
19518         Remove macro definition.
19519         (__ashrdi3_v_glibc20): Likewise.
19520         (__lshrdi3_v_glibc20): Likewise.
19521         (__cmpdi2_v_glibc20): Likewise.
19522         (__ucmpdi2_v_glibc20): Likewise.
19523         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
19524         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19525         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19526         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19527         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19528         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
19530 2014-10-22  Roland McGrath  <roland@hack.frob.com>
19532         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
19533         old GNU extension [0] syntax.
19534         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
19535         alloca rather than an array member with variable length.
19536         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
19537         * nscd/nscd.c (invalidate_db): New function, broken out of ...
19538         (parse_opt): ... here.  Likewise use alloca there.
19539         Validate the -i argument before checking for rootness.
19540         (send_shutdown): New function, broken out of ...
19541         (parse_opt): ... here.
19543 2014-10-22  Roland McGrath  <roland@hack.frob.com>
19545         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
19546         macro to get at the _rt_local_ro field.
19547         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
19548         ([PIC] case) or _dl_hwcap ([!PIC] case).
19549         * sysdeps/arm/setjmp.S: Likewise.
19551         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
19552         * sysdeps/arm/configure.ac: New check to define it.
19553         * sysdeps/arm/configure: Regenerated.
19554         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
19555         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
19556         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
19557         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
19558         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
19559         Use move/movt pair instead of a load.
19560         (LDST_GLOBAL): Macro removed.
19561         (LDR_GLOBAL): New macro replaces it.
19562         (LDR_HIDDEN): New macro.
19563         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
19564         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
19566         * setjmp/tst-setjmp-static.c: New file.
19567         * setjmp/Makefile (tests): Add it.
19568         (tests-static): New variable.
19570 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
19572         [BZ #17485]
19573         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
19575 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
19577         [BZ #14132]
19578         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
19580 2014-10-21  Roland McGrath  <roland@hack.frob.com>
19582         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
19584 2014-10-20  Roland McGrath  <roland@hack.frob.com>
19586         * io/fts.c (dirent_not_directory): New function.
19587         (fts_build): Call it.
19589 2014-10-20  Roland McGrath  <roland@hack.frob.com>
19591         * nptl/version.c (__nptl_main): Use normal __write rather than
19592         INTERNAL_SYSCALL.
19593         (banner): Update copyright years.
19595         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
19596         gettimeofday.
19597         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
19598         * nptl/pthread_cond_timedwait.c: Likewise.
19599         * nptl/pthread_mutex_timedlock.c: Likewise.
19600         * nptl/sem_timedwait.c: Likewise.
19602         * sysdeps/nptl/bits/libc-lock.h
19603         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19604         (__libc_lock_init_recursive): Return void, not 0.
19605         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
19606         (__libc_rwlock_init): Likewise.
19607         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
19609 2014-10-20  Torvald Riegel  <triegel@redhat.com>
19611         [BZ #15215]
19612         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
19613         (__pthread_once_slow): ... here.
19614         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
19615         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
19617 2014-10-20  Torvald Riegel  <triegel@redhat.com>
19619         [BZ #15215]
19620         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
19621         __PTHREAD_ONCE_FORK_GEN_INCR): New.
19622         * sysdeps/nptl/fork.c (__libc_fork): Use them.
19623         * nptl/pthread_once.c (__pthread_once): Likewise.
19624         Update comments.
19626 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
19628         [BZ #14138]
19629         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
19630         name.
19631         (writev): Use __libc_writev as strong name.
19632         * sysdeps/unix/sysv/linux/readv.c: Remove file.
19633         * sysdeps/unix/sysv/linux/writev.c: Likewise.
19635 2014-10-17  Roland McGrath  <roland@hack.frob.com>
19637         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
19639         * sysdeps/i386/nptl/tls.h
19640         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
19641         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
19642         New macros.
19643         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
19644         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
19645         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
19646         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
19647         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
19648         Call CHECK_THREAD_SYSINFO instead of doing an assert.
19650         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19651         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
19652         on [__NR_futex].
19653         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
19654         broken out of ...
19655         (__pthread_mutex_init): ... here.  Call it.
19656         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
19657         Conditionalize PI cases on [__NR_futex].
19658         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
19659         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
19660         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19662         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
19663         conditional on [SIGSETXID].
19664         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
19665         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
19666         is defined.  Likewise for SIGSETXID.
19667         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
19668         Conditionalize definitions on [SIGSETXID].
19669         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
19670         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
19671         unblocking on [SIGCANCEL].
19673         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
19674         [__NR_set_robust_list].
19676 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19678         * string/strcoll_l.c (get_next_seq): Fix up formatting.
19679         (do_compare): Likewise.
19681 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
19683         [BZ #15884]
19684         * string/strcoll_l.c: Don't include stdio.h.
19685         (coll_seq): Remove members idxarr and rulearr.
19686         (get_next_seq_cached): Remove function.
19687         (get_next_seq): Likewise.
19688         (get_next_seq_nocache): Rename to get_next_seq.
19689         (do_compare): Remove function.
19690         (do_compare_nocache): Rename to do_compare.
19691         (STRCOLL): Remove weight and rules cache.
19693 2014-10-16  Roland McGrath  <roland@hack.frob.com>
19695         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
19696         * sysdeps/arm/sfp-machine.h: ... to here.
19697         * sysdeps/arm/Implies: Remove arm/soft-fp.
19699 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
19701         * conform/data/sys/utsname.h-data (*_t): Allow.
19702         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
19703         [POSIX] (WEXITED): Do not expect constant.
19704         [POSIX] (WSTOPPED): Likewise.
19705         [POSIX] (WNOHANG): Likewise.
19706         [POSIX] (WNOWAIT): Likewise.
19707         [POSIX] (siginfo_t): Do not expect type or elements.
19708         [POSIX] (pid_t): Do not expect type.
19709         [POSIX] (signal.h): Do not allow header.
19710         [POSIX] (sys/resource.h): Likewise.
19711         [POSIX] (si_*): Do not allow pattern.
19712         [POSIX] (W*): Likewise.
19713         [POSIX] (P_*): Likewise.
19714         [POSIX] (BUS_*): Likewise.
19715         [POSIX] (CLD_*): Likewise.
19716         [POSIX] (FPE_*): Likewise.
19717         [POSIX] (ILL_*): Likewise.
19718         [POSIX] (POLL_*): Likewise.
19719         [POSIX] (SEGV_*): Likewise.
19720         [POSIX] (SI_*): Likewise.
19721         [POSIX] (TRAP_*): Likewise.
19722         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
19723         variable.
19725 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
19727         [BZ #12926]
19728         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
19729         infinite loop when __recvmsg returns 0.
19731 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
19733         * CANCEL-FCT-WAIVE: Remove file.
19734         * CANCEL-FILE-WAIVE: Likewise.
19736         [BZ #14132]
19737         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
19738         instead of INTVARDEF.
19739         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
19740         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
19741         rtld_hidden_data_def instead of INTVARDEF.
19742         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
19743         * elf/dl-deps.c (expand_dst): Likewise.
19744         * elf/dl-load.c (_dl_dst_count): Likewise.
19745         (_dl_dst_substitute): Likewise.
19746         (decompose_rpath): Likewise.
19747         (_dl_init_paths): Likewise.
19748         (open_path): Likewise.
19749         (_dl_map_object): Likewise.
19750         * elf/rtld.c (dl_main): Likewise.
19751         (process_dl_audit): Likewise.
19752         (process_envvars): Likewise.
19753         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
19754         Remove declaration.
19755         (__libc_enable_secure): Use rtld_hidden_proto.
19757 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19759         * elf/dl-load.c
19760         (add_path): New function broken out of _dl_rtld_di_serinfo.
19761         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
19763 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
19765         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
19766         parentheses around macro arguments.
19767         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
19768         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
19769         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
19770         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
19771         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
19772         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
19773         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
19774         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
19775         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
19776         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
19777         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
19778         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
19779         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
19780         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
19781         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
19782         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
19783         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
19784         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
19785         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
19786         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
19787         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
19788         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
19789         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
19790         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
19791         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
19792         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
19793         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
19794         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
19795         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
19796         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
19797         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
19798         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
19799         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
19800         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
19801         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
19802         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
19803         Likewise.
19804         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
19805         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
19806         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
19807         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
19808         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
19809         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
19810         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
19811         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
19812         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
19813         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
19814         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
19815         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
19816         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
19817         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
19818         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
19819         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
19820         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
19821         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
19822         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
19823         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
19824         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
19825         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
19826         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
19827         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
19828         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
19829         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
19830         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
19831         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
19832         (_FP_FRAC_SRS_1): Likewise.
19833         (_FP_FRAC_CLZ_1): Likewise.
19834         (_FP_MUL_MEAT_1_imm): Likewise.
19835         (_FP_MUL_MEAT_1_wide): Likewise.
19836         (_FP_MUL_MEAT_1_hard): Likewise.
19837         (_FP_SQRT_MEAT_1): Likewise.
19838         (_FP_FRAC_ASSEMBLE_1): Likewise.
19839         (_FP_FRAC_DISASSEMBLE_1): Likewise.
19840         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
19841         (__FP_CLZ_2): Likewise.
19842         (_FP_MUL_MEAT_2_wide): Likewise.
19843         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
19844         (_FP_MUL_MEAT_2_gmp): Likewise.
19845         (_FP_MUL_MEAT_2_120_240_double): Likewise.
19846         (_FP_SQRT_MEAT_2): Likewise.
19847         (_FP_FRAC_ASSEMBLE_2): Likewise.
19848         (_FP_FRAC_DISASSEMBLE_2): Likewise.
19849         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
19850         (_FP_FRAC_CLZ_4): Likewise.
19851         (_FP_MUL_MEAT_4_wide): Likewise.
19852         (_FP_MUL_MEAT_4_gmp): Likewise.
19853         (_FP_SQRT_MEAT_4): Likewise.
19854         (_FP_FRAC_ASSEMBLE_4): Likewise.
19855         (_FP_FRAC_DISASSEMBLE_4): Likewise.
19856         * soft-fp/op-common.h (_FP_CMP): Likewise.
19857         (_FP_CMP_EQ): Likewise.
19858         (_FP_CMP_UNORD): Likewise.
19859         (_FP_TO_INT): Likewise.
19860         (_FP_FROM_INT): Likewise.
19861         [!__FP_CLZ] (__FP_CLZ): Likewise.
19862         (_FP_DIV_HELP_imm): Likewise.
19863         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
19864         Likewise.
19865         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
19866         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
19867         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
19868         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
19869         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
19870         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19871         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19872         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
19873         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
19874         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
19875         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
19876         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
19877         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
19878         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
19879         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
19880         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
19881         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
19882         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
19883         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
19884         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
19885         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
19886         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
19887         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
19888         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19889         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19890         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
19891         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
19892         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
19893         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
19894         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
19895         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
19896         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
19897         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
19898         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
19899         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
19900         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
19901         (FP_UNPACK_RAW_SP): Likewise.
19902         (FP_PACK_RAW_S): Likewise.
19903         (FP_PACK_RAW_SP): Likewise.
19904         (FP_UNPACK_S): Likewise.
19905         (FP_UNPACK_SP): Likewise.
19906         (FP_UNPACK_SEMIRAW_S): Likewise.
19907         (FP_UNPACK_SEMIRAW_SP): Likewise.
19908         (FP_PACK_S): Likewise.
19909         (FP_PACK_SP): Likewise.
19910         (FP_PACK_SEMIRAW_S): Likewise.
19911         (FP_PACK_SEMIRAW_SP): Likewise.
19912         (_FP_SQRT_MEAT_S): Likewise.
19913         (FP_CMP_S): Likewise.
19914         (FP_CMP_EQ_S): Likewise.
19915         (FP_CMP_UNORD_S): Likewise.
19916         (FP_TO_INT_S): Likewise.
19917         (FP_FROM_INT_S): Likewise.
19919         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
19921         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
19922         (FP_EX_INVALID_IMZ): Likewise.
19923         (FP_EX_INVALID_IMZ_FMA): Likewise.
19924         (FP_EX_INVALID_ISI): Likewise.
19925         (FP_EX_INVALID_ZDZ): Likewise.
19926         (FP_EX_INVALID_IDI): Likewise.
19927         (FP_EX_INVALID_SQRT): Likewise.
19928         (FP_EX_INVALID_CVI): Likewise.
19929         (FP_EX_INVALID_VC): Likewise.
19930         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
19931         "invalid" exceptions.
19932         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
19933         (_FP_ADD_INTERNAL): Likewise.
19934         (_FP_MUL): Likewise.
19935         (_FP_FMA): Likewise.
19936         (_FP_DIV): Likewise.
19937         (_FP_CMP_CHECK_NAN): Likewise.
19938         (_FP_SQRT): Likewise.
19939         (_FP_TO_INT): Likewise.
19940         (FP_EXTEND): Likewise.
19942 2014-10-09  Allan McRae  <allan@archlinux.org>
19944         * po/fr.po: Update French translation from translation project.
19946 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
19948         [BZ #14132]
19949         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
19950         of INTDEF.
19951         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
19952         (__cxa_atexit): Use libc_hidden_proto.
19953         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
19955         [BZ #14132]
19956         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
19957         declaration.
19958         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
19959         [!_ISOMAC] (__iswspace_l_internal): Likewise.
19960         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
19961         [!_ISOMAC] (__iswctype_internal): Likewise.
19962         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
19963         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
19964         alias.
19965         (fcntl): Remove __fcntl_internal alias.
19966         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
19967         __connect_internal alias.
19968         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
19969         Likewise.
19971         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
19972         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
19973         FP_DENORM_ZERO.
19974         (_FP_CHECK_FLUSH_ZERO): New macro.
19975         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
19976         (_FP_CMP): Likewise.
19977         (_FP_CMP_EQ): Likewise.
19978         (_FP_TO_INT): Do not set inexact for subnormal arguments if
19979         FP_DENORM_ZERO.
19980         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
19981         (FP_TRUNC): Likewise.
19983         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
19984         treated as invalid conversion, not as normal exponent.
19986         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
19987         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
19988         (_FP_CMP_EQ): Likewise.
19989         (_FP_CMP_UNORD): Likewise.
19990         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
19991         (FP_CMP_EQ_D): Likewise.
19992         (FP_CMP_UNORD_D): Likewise.
19993         * soft-fp/extended.h (FP_CMP_E): Likewise.
19994         (FP_CMP_EQ_E): Likewise.
19995         (FP_CMP_UNORD_E): Likewise.
19996         * soft-fp/quad.h (FP_CMP_Q): Likewise.
19997         (FP_CMP_EQ_Q): Likewise.
19998         (FP_CMP_UNORD_Q): Likewise.
19999         * soft-fp/single.h (FP_CMP_S): Likewise.
20000         (FP_CMP_EQ_S): Likewise.
20001         (FP_CMP_UNORD_S): Likewise.
20002         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
20003         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
20004         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
20005         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
20006         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
20007         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
20008         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
20009         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
20010         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
20011         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
20012         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
20013         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
20014         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
20015         to FP_CMP_Q.
20016         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
20017         FP_CMP_Q.
20018         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
20019         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
20020         FP_CMP_EQ_Q.
20021         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
20022         FP_CMP_Q.
20023         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
20024         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
20025         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
20026         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
20027         FP_CMP_EQ_Q.
20028         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
20029         FP_CMP_Q.
20030         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
20031         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
20032         FP_CMP_EQ_Q.
20033         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
20034         FP_CMP_Q.
20035         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
20036         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
20037         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
20038         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
20039         FP_CMP_EQ_Q.
20041         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
20042         a subnormal result, set the underflow exception if trapping on
20043         underflow is enabled.
20044         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
20045         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
20046         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
20047         redefine to 0.
20048         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
20049         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
20050         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
20051         * soft-fp/extendxftf2.c (__extendxftf2): Use
20052         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
20054         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
20055         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
20056         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20057         FP_HANDLE_EXCEPTIONS.
20058         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
20059         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20060         FP_HANDLE_EXCEPTIONS.
20061         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
20062         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20063         FP_HANDLE_EXCEPTIONS.
20064         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
20065         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20066         FP_HANDLE_EXCEPTIONS.
20068 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
20070         [BZ #14132]
20071         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
20072         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
20073         use INTUSE.
20074         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
20075         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
20076         Remove alias.
20077         (__adjtimex): Define using libc_hidden_ver.
20078         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
20079         Remove declaration.
20080         (ntp_gettime): Call __adjtimex directly.
20081         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
20082         Remove declaration.
20083         (ntp_gettimex): Call __adjtimex directly.
20084         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
20085         __adjtimex_internal alias.
20087 2014-10-08  Roland McGrath  <roland@hack.frob.com>
20089         [BZ #17460]
20090         * nscd/nscd.c (more_help): Rewrite list of tables collection
20091         using xstrdup and asprintf.
20093         * nscd/nscd_conf.c: Remove local xstrdup declaration.
20095 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20096             Roland McGrath  <roland@hack.frob.com>
20098         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
20099         (do_lookup_unique): ... local function 'enter' here; update callers.
20101 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
20103         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
20104         compat_symbol calls on [SHARED].
20105         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
20106         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
20107         Remove.
20108         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20109         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
20110         (oldsetrlimit): Remove.
20111         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
20113         (lchown): New syscall entry.
20114         (oldsetrlimit): Remove.
20115         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20116         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
20117         (oldsetrlimit): Remove.
20118         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20120         [BZ #14138]
20121         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
20122         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
20123         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
20124         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
20125         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
20126         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
20127         (fchown): Likewise.
20128         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
20129         (fchown): Likewise.
20130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
20131         Likewise.
20133 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20135         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
20136         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
20137         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
20138         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
20139         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
20140         Likewise.
20141         (__old_sem_post): Likewise.
20143 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
20145         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
20146         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
20147         HAVE_CLOCK_GETTIME_VSYSCALL macros.
20148         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
20149         Use INLINE_VSYSCALL macro.
20150         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
20151         __vdso_clock_gettime.
20152         * sysdeps/unix/sysv/linux/tile/init-first.c
20153         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
20154         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
20155         __vdso_clock_gettime.
20157         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
20158         to set up frame more cleanly.
20160         * sysdeps/tile/memcmp.c: New file.
20162         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
20164         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
20165         * sysdeps/tile/tilegx/strcasestr.c: New file.
20166         * sysdeps/tile/tilegx/strnlen.c: New file.
20167         * sysdeps/tile/tilegx/strstr.c: New file.
20169         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
20171 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
20173         * nptl/tst-setuid3.c: Write errors to stdout.
20175 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20177         * elf/dl-deps.c
20178         (preload): New functions broken out of _dl_map_object_deps.
20179         (_dl_map_object_deps):  Remove a nested function. Update call sites.
20181 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
20183         [BZ #14138]
20184         * sysdeps/unix/sysv/linux/execve.c: Remove file.
20185         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
20187 2014-10-01  Steve Ellcey  <sellcey@mips.com>
20189         * sysdeps/mips/strcmp.S: New.
20191 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
20193         [BZ #14138]
20194         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
20195         (linkat): Likewise.
20196         (mkdirat): Likewise.
20197         (readlinkat): Likewise.
20198         (renameat): Likewise.
20199         (symlinkat): Likewise.
20200         (unlinkat): Likewise.
20201         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
20202         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
20203         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
20204         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
20205         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
20206         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
20207         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
20209 2014-09-30  Will Newton  <will.newton@linaro.org>
20211         * math/math.h: Define long double math functions if
20212         _LIBC_TEST is defined.
20213         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
20215         * localedata/Makefile: Move assignment to tests-special
20216         into an ifdef testing run-built-tests.
20217         * timezone/Makefile: Likewise.
20219 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
20221         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
20222         with $(BASH) not $(SHELL).
20224 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
20225             Matthew LeGendre  <legendre1@llnl.gov>
20227         [BZ #17411]
20228         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
20229         l_reloc_result.
20231 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20233         * stdio-common/printf_fp.c
20234         (hack_digit): New function, broken out of ...
20235         (__printf_fp): ... local function here.  Update call sites.
20236         hack_digit now takes an additional parameter that is a pointer
20237         to a struct of the referenced locals.  Those locals moved inside
20238         the struct and references updated.
20240 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
20242         * aclocal.m4: Require autoconf 2.69.
20243         * configure: Regenerated.
20244         * sysdeps/aarch64/configure: Likewise.
20245         * sysdeps/alpha/configure: Likewise.
20246         * sysdeps/arm/armv7/configure: Likewise.
20247         * sysdeps/arm/configure: Likewise.
20248         * sysdeps/ia64/configure: Likewise.
20249         * sysdeps/mach/configure: Likewise.
20250         * sysdeps/mips/configure: Likewise.
20251         * sysdeps/s390/configure: Likewise.
20252         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
20253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
20255         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
20256         file.
20257         * sysdeps/ia64/configure.ac: Likewise.
20259 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
20261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
20262         specify symbol version for ld.so.  Do not include entry for
20263         libpthread.
20264         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20265         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20266         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20268         [BZ #14171]
20269         * Makeconfig [$(build-shared) = yes]
20270         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
20271         makefiles.
20272         [$(build-shared) = yes && $(soversions.mk-done) = t]
20273         ($(common-objpfx)gnu/lib-names.h): Remove rule.
20274         [$(build-shared) = yes && $(soversions.mk-done) = t]
20275         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
20276         to Makerules.
20277         [$(build-shared) = yes && $(soversions.mk-done) = t]
20278         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
20279         here.
20280         [$(build-shared) = yes && $(soversions.mk-done) = t]
20281         (common-generated): Don't append gnu/lib-names.h and
20282         gnu/lib-names.stmp here.
20283         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
20284         (lib-names-h-abi): New variable.
20285         [$(build-shared) = yes && $(soversions.mk-done) = t]
20286         (lib-names-stmp-abi): Likewise.
20287         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20288         abi-variants] (before-compile): Append
20289         $(common-objpfx)$(lib-names-h-abi).
20290         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20291         abi-variants] (common-generated): Append gnu/lib-names.h.
20292         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20293         abi-variants] (install-others-nosubdir): Depend on
20294         $(inst_includedir)/$(lib-names-h-abi).
20295         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20296         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
20297         [$(build-shared) = yes && $(soversions.mk-done) = t]
20298         ($(common-objpfx)$(lib-names-h-abi)): New rule.
20299         [$(build-shared) = yes && $(soversions.mk-done) = t]
20300         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
20301         [$(build-shared) = yes && $(soversions.mk-done) = t]
20302         (common-generated): Append $(lib-names-h-abi) and
20303         $(lib-names-stmp-abi).
20304         * scripts/lib-names.awk: Do not handle multi being set.
20305         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
20306         Remove variable.
20307         (abi-lp64_be-ld-soname): Likewise.
20308         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
20309         Likewise.
20310         (abi-hard-ld-soname): Likewise.
20311         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
20312         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
20313         Remove variable.
20314         (abi-o32_hard-ld-soname): Likewise.
20315         (abi-o32_soft_2008-ld-soname): Likewise.
20316         (abi-o32_hard_2008-ld-soname): Likewise.
20317         (abi-n32_soft-ld-soname): Likewise.
20318         (abi-n32_hard-ld-soname): Likewise.
20319         (abi-n32_soft_2008-ld-soname): Likewise.
20320         (abi-n32_hard_2008-ld-soname): Likewise.
20321         (abi-n64_soft-ld-soname): Likewise.
20322         (abi-n64_hard-ld-soname): Likewise.
20323         (abi-n64_soft_2008-ld-soname): Likewise.
20324         (abi-n64_hard_2008-ld-soname): Likewise.
20325         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
20326         Likewise.
20327         (abi-64-v2-ld-soname): Likewise.
20328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
20329         ld.so entries.
20330         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
20331         variable.
20332         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
20333         entry.
20334         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
20335         variable.
20336         (abi-64-ld-soname): Likewise.
20337         (abi-x32-ld-soname): Likewise.
20338         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
20339         entry.
20340         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20342 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
20344         [BZ #14138]
20345         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
20346         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
20347         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
20348         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
20349         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
20350         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
20351         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
20352         syscall entry for GLIBC_2.2 symbol version.
20353         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
20354         Likewise.
20355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
20356         (setrlimit): Likewise.
20357         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
20358         Likewise.
20360 2014-09-23  Will Newton  <will.newton@linaro.org>
20362         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
20363         _LINUX_ARM_SYSDEP_H include guard too.
20364         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
20365         define.
20367 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20369         * sysdeps/unix/sysv/linux/eventfd.c:
20370         Make first argument unsigned.
20371         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
20372         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
20374 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
20376         * socket/recvmmsg.c (recvmmsg): Drop const argument.
20377         * socket/sys/socket.h: Likewise
20378         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
20380 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20382         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
20384 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
20386         * time/tst-ftime.c: New test.
20387         * time/Makefile (tests): Add tst-ftime.
20389 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
20391         * soft-fp/extended.h: Fix comment formatting.
20392         * soft-fp/op-1.h: Likewise.
20393         * soft-fp/op-2.h: Likewise.
20394         * soft-fp/op-4.h: Likewise.
20395         * soft-fp/op-8.h: Likewise.
20396         * soft-fp/op-common.h: Likewise.
20397         * soft-fp/soft-fp.h: Likewise.
20399         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
20401 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
20403         [BZ #6652]
20404         * Makeconfig (soversions-default-setname): Remove variable.
20405         ($(common-objpfx)soversions.i): Don't pass default_setname to
20406         soversions.awk.
20407         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
20408         oldest_abi to abi-versions.awk.
20409         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
20410         * config.make.in (oldest-abi): Remove variable.
20411         * configure.ac (--enable-oldest-abi): Remove configure option.
20412         * configure: Regenerated.
20413         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
20414         text.
20415         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
20416         * scripts/soversions.awk: Do not handle default_setname variable.
20417         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
20418         variable.
20419         * sysdeps/mach/hurd/configure: Regenerated.
20420         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
20421         variable.
20422         * sysdeps/unix/sysv/linux/configure: Regenerated.
20424 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20426         * elf/Makefile (CFLAGS-interp.c): Remove.
20427         ($(elf-objpfx)runtime-linker.h): Generate header with linker
20428         path string.
20429         * elf/interp.c: Include generated runtime-linker.h
20431         * Makerules (lib%.so): Don't include $(+interp) in
20432         prerequisites.
20433         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
20434         * dlfcn/eval.c: Remove file.
20436         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
20437         macros.
20439         [BZ #17266]
20440         * misc/sys/cdefs.h: Define __extern_always_inline for clang
20441         4.2 and newer.
20443         [BZ #17370]
20444         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
20446 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20447             Jakub Jelinek  <jakub@redhat.com>
20449         [BZ #17266]
20450         * libio/stdio.h: Check definition of __fortify_function
20451         instead of __extern_always_inline to include bits/stdio2.h.
20452         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
20453         check if __extern_always_inline is defined.
20454         [__USE_MISC || __USE_XOPEN]: Likewise.
20455         [__USE_ISOC99] Likewise.
20456         * misc/sys/cdefs.h (__fortify_function): Define only if
20457         __extern_always_inline is defined.
20458         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
20459         __extern_always_inline and __extern_inline only for g++-4.3
20460         and newer or a compatible gcc.
20462 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
20464         [BZ #17371]
20465         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20466         last change to handle zero prefix length.
20468 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20470         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
20471         _SC_REGEX_VERSION.
20473         * posix/getconf.c (vars): Add _POSIX_IPV6 and
20474         _POSIX_RAW_SOCKETS.
20476 2014-09-13  Allan McRae  <allan@archlinux.org>
20478         * po/ru.po: Update Russian translation from translation project.
20480 2014-09-12  Roland McGrath  <roland@hack.frob.com>
20482         * locale/programs/locale.c (show_locale_vars): Inline local function
20483         into its sole call site.  Clean up some style nits.
20484         (print_item): New function, broken out of ...
20485         (show_info): ... local function here.  Clean up style nits.
20487         * locale/programs/ld-ctype.c (set_one_default): New function, broken
20488         out of ...
20489         (set_class_defaults): ... local function set_default here.
20490         Define set_default as a macro locally to pass constant parameters.
20491         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
20492         rather than a shared local.
20494         * stdlib/rpmatch.c (try): New function, broken out of ...
20495         (rpmatch): ... local function here.  Also, prototypify definition.
20497 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
20499         * scripts/soversions.awk: Do not handle configuration names.
20500         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
20501         vendor and os variables to soversions.awk.
20502         * configure.ac: Do not modify gnu-* host_os.
20503         * configure: Regenerated
20504         * shlib-versions: Remove first column with configuration names.
20505         * nptl/shlib-versions: Likewise.
20506         * nptl_db/shlib-versions: Likewise.
20507         * sysdeps/hppa/shlib-versions: Likewise.
20508         * sysdeps/m68k/shlib-versions: Likewise.
20509         * sysdeps/mach/hurd/shlib-versions: Likewise.
20510         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
20511         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
20512         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
20513         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
20514         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
20515         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
20516         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
20517         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
20518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
20519         Likewise.
20520         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20521         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
20522         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
20523         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
20524         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
20525         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
20526         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20527         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20530         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
20531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
20532         Regenerated.
20533         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
20534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
20535         Condition symbol version definitions on [HAVE_ELFV2_ABI].
20537         * shlib-versions: Remove OS-specific entries.  Moved to files in
20538         sysdeps.
20539         * sysdeps/mach/hurd/shlib-versions: New file.
20540         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
20542         * nptl/shlib-versions: Remove architecture-specific entries.
20543         Moved to files in sysdeps.
20544         * shlib-versions: Likewise.
20545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
20546         file.
20547         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20548         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
20549         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
20550         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
20552         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
20553         (UDP_NO_CHECK6_RX): Likewise.
20555 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20557         * sysdeps/posix/sysconf.c (__sysconf): Spell
20558         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
20560 2014-08-12  Florian Weimer  <fweimer@redhat.com>
20562         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
20563         loading.
20564         * iconv/Versions (__gconv_transliterate): Export for use from
20565         gconv modules.
20566         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
20567         (struct __gconv_trans_data, __gconv_trans_fct,
20568         __gconv_trans_context_fct, __gconv_trans_query_fct,
20569         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
20570         definitions.
20571         (struct __gconv_step_data): Remove __trans member.
20572         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
20573         longer hidden.  Remove unused trans_data argument.
20574         * iconv/gconv_int.h (struct trans_struct): Remove definition.
20575         (__gconv_translit_find): Remove declaration.
20576         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
20577         prototype.
20578         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
20579         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
20580         trans_data argument.  Add hidden definition.
20581         (__gconv_translit_find): Remove.
20582         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
20583         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
20584         * iconv/skeleton.c: Remove transliteration initialization.
20585         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
20586         __gconv_step_data initialization.
20587         * libio/iofwide.c (__libio_translit_): Remove.
20588         (_IO_fwide): Adjust struct __gconv_step_data initialization.
20589         * wcsmbs/btowc.c (__btowc): Likewise.
20590         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20591         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
20592         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
20593         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
20594         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
20595         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
20596         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
20597         * wcsmbs/wctob.c (wctob): Likewise.
20599 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20601         [BZ #16194]
20602         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
20603         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
20604         register usage.
20605         * sysdeps/x86/Makefile: Adjust.
20607 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20608             Roland McGrath  <roland@hack.frob.com>
20610         * locale/weight.h: Add include guard.
20611         (findidx): Make static rather than auto; take new parameters
20612         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
20613         * locale/weightwc.h: Likewise.
20614         * posix/fnmatch_loop.c
20615         (FCT): Change type of EXTRA from int32_t to wint_t.
20616         Don't include either header inside the function.
20617         Call FINDIDX rather than findidx, and pass new arguments.
20618         #undef FINDIDX at the end of the file.
20619         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
20620         FINDIDX before including fnmatch_loop.c for the non-wide version.
20621         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
20622         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
20623         for the wide version.
20624         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
20625         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
20626         Pass new arguments to findidx.
20627         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
20628         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
20629         Don't #include it inside the function.  Pass new arguments to findidx.
20630         * posix/regex_internal.h
20631         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
20632         (re_string_elem_size_at): Don't #include it inside the function.
20633         Pass new arguments to findidx.
20634         * string/strcoll_l.c: #include WEIGHT_H at top level.
20635         (get_next_seq): Don't #include it inside the function.
20636         Pass new arguments to findidx.
20637         (get_next_seq_nocache): Likewise.
20638         * string/strxfrm_l.c: #include WEIGHT_H at top level.
20639         (STRXFRM): Don't #include it inside the function.
20640         Pass new arguments to findidx.
20642 2014-09-11  Florian Weimer  <fweimer@redhat.com>
20644         [BZ #17344]
20645         * malloc/malloc.c (unlink): Turn asserts into a call to
20646         malloc_printerr.
20648 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
20650         [BZ #17370]
20651         * libio/wfileops (do_ftell_wide): Free OUT.
20653 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
20655         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
20657 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20659         [BZ #17363]
20660         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
20661         group if the current group is empty.
20663 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20665         * benchtests/bench-memset.c (test_main): Add more test from size
20666         from 32 to 512 bytes.
20667         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20668         Add POWER8 memset object.
20669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20670         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
20671         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
20672         implementation.
20673         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
20674         Likewise.
20675         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
20676         multiarch POWER8 memset optimization.
20677         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
20678         POWER8 memset optimization.
20680         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20681         Remove bzero multiarch objects.
20682         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
20683         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
20684         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
20685         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
20686         Remove define.
20687         [__bzero]: Redefine to specific name.
20688         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
20689         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
20690         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
20691         define.
20692         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20693         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20695 2014-09-10  Florian Weimer  <fweimer@redhat.com>
20697         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
20698         warnings into errors.
20700         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
20701         __cxa_thread_atexit_impl prototype.
20703 2014-09-09  Steve Ellcey  <sellcey@mips.com>
20705         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
20706         Fix capitalization of error message.
20708 2014-09-09  Steve Ellcey  <sellcey@mips.com>
20710         * sysdeps/mips/preconfigure: Modify ABI tests.
20712 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
20714         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
20716 2014-09-07  Roland McGrath  <roland@hack.frob.com>
20717             Carlos O'Donell  <carlos@systemhalted.org>
20719         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
20720         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
20721         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
20722         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
20723         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
20724         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
20725         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
20726         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
20727         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
20728         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
20729         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
20730         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
20731         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
20732         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
20733         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
20734         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
20735         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
20736         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
20737         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
20738         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
20739         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
20740         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
20741         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
20742         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
20743         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
20744         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
20745         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
20746         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
20747         Deconditionalize the code that was previously under [RESET_PID].
20748         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
20749         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
20750         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
20751         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
20752         include sysdep.h.
20754 2014-09-08  Allan McRae  <allan@archlinux.org>
20756         * version.h (RELEASE): Set to "development".
20757         (VERSION): Set to "2.20.90"
20759 2014-09-07  Allan McRae  <allan@archlinux.org
20761         * version.h (RELEASE): Set to "stable".
20762         (VERSION): Set to "2.20"
20763         * include/features.h (__GLIBC_MINOR__): Set to 20.
20765         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
20766         Liebler.
20768         * po/ko.po: Update Korean translation from translation project.
20770 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
20772         [BZ #17354]
20773         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
20774         macro for handling signed relocations.
20776 2014-09-03  Florian Weimer  <fweimer@redhat.com>
20778         [BZ #17325]
20779         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
20780         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
20781         assert.
20782         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
20783         * iconvdata/ibm935.c (BODY): Likewise.
20784         * iconvdata/ibm937.c (BODY): Likewise.
20785         * iconvdata/ibm939.c (BODY): Likewise.
20786         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
20787         assert.
20788         * iconvdata/Makefile (iconv-test.out): Pass module list to test
20789         script.
20790         * iconvdata/run-iconv-test.sh: New test loop for checking for
20791         decoder crashers.
20793 2014-09-02  Khem Raj  <raj.khem@gmail.com>
20795         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
20796         libm_hidden_ver.
20798 2014-09-01  Allan McRae  <allan@archlinux.org>
20800         * po/eo.po: Update Esperanto translation from translation project.
20802         * po/ca.po: Update Catalan translation from translation project.
20804 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20806         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
20807         __proc_dostop call.
20809 2014-08-27  Mark Wielaard  <mjw@redhat.com>
20811         [BZ #17319]
20812         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
20813         to call set_thread_area instead of hand written asm.
20814         (__NR_set_thread_area): Removed define.
20815         (TLS_FLAG_WRITABLE): Likewise.
20816         (__ASSUME_SET_THREAD_AREA): Remove check.
20817         (TLS_EBX_ARG): Remove define.
20818         (TLS_LOAD_EBX): Likewise.
20820 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20822         Simplify atomicity of socket creation in bind.
20824         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
20825         looking up the name after linking the file.
20827 2014-08-27  Allan McRae  <allan@archlinux.org>
20829         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20831 2014-08-26  Florian Weimer  <fweimer@redhat.com>
20833         [BZ #17187]
20834         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
20835         trans_compare, open_translit, __gconv_translit_find):
20836         Remove module loading code.
20838 2014-08-26  Allan McRae  <allan@archlinux.org>
20840         * po/vi.po: Update Vietnamese translation from translation project.
20842         * po/uk.po: Update Ukrainian translation from translation project.
20844         * po/fr.po: Update French translation from translation project.
20846         * po/ru.po: Update Russian translation from translation project.
20848         * po/pl.po: Update Polish translation from translation project.
20850         * po/cs.po: Update Czech translation from translation project.
20852         * po/de.po: Update German translation from translation project.
20854         * po/bg.po: Update Bulgarian translation from translation project.
20856         * po/sv.po: Update Sweedish translation from translation project.
20858         * po/nl.po: Update Dutch translation from translation project.
20860         * po/es.po: Update Spanish translation from translation project.
20862 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20864         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
20866         * catgets/Makefile (CPPFLAGS-gencat): Remove.
20867         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
20868         (CPPFLAGS-iconvconfig): Likewise.
20869         * timezone/Makefile (CPPFLAGS-zic): Likewise.
20871         * include/libc-symbols.h: Remove unnecessary check for
20872         NOT_IN_libc.
20873         * nptl/pthreadP.h: Likewise.
20874         * sysdeps/aarch64/setjmp.S: Likewise.
20875         * sysdeps/alpha/setjmp.S: Likewise.
20876         * sysdeps/arm/sysdep.h: Likewise.
20877         * sysdeps/i386/setjmp.S: Likewise.
20878         * sysdeps/m68k/setjmp.c: Likewise.
20879         * sysdeps/posix/getcwd.c: Likewise.
20880         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20881         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20882         * sysdeps/s390/s390-32/setjmp.S: Likewise.
20883         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20884         * sysdeps/sh/sh3/setjmp.S: Likewise.
20885         * sysdeps/sh/sh4/setjmp.S: Likewise.
20886         * sysdeps/unix/alpha/sysdep.h: Likewise.
20887         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20888         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20889         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20890         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20893         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20894         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20895         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20896         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20897         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20898         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20899         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20900         * sysdeps/x86_64/setjmp.S: Likewise.
20902 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
20904         [BZ #17263]
20905         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
20906         <stdint.h>.
20907         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
20908         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
20910 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20912         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
20914         [BZ #17262]
20915         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
20916         and __x86_64__ when disabling x87 inline functions.
20918 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
20920         [BZ #17259]
20921         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
20922         asm statement with __cpuid_count.
20924 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
20926         * configure.ac: Change __ehdr_start code to dereference the struct.
20927         Run readelf on the output to look for relocations.
20928         * configure: Regenerated.
20930 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
20932         [BZ #17261]
20933         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
20934         value to 0.
20935         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
20937 2014-08-12  Roland McGrath  <roland@hack.frob.com>
20939         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
20941 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
20943         [BZ #16892]
20944         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
20945         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
20947 2014-08-12  Sean Anderson  <seanga2@gmail.com>
20949         * malloc/malloc.c: Fix typo in comment.
20951 2014-08-09  Allan McRae  <allan@archlinux.org>
20953         * Regenerate libc.po.
20955 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
20957         * intl/tst-gettext2.sh: Check every lang file for creation.
20959 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20961         * sysdeps/aarch64/fpu/math_private.h
20962         (libc_feholdsetround_noex_aarch64_ctx): New function.
20964 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20966         * sysdeps/arm/armv6/strcpy.S (strcpy):
20967         Fix performance issue in misaligned cases.
20969 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20971         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
20972         Move definition from termios.h.
20973         (struct termio): Likewise.
20974         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20975         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20976         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20977         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20978         Likewise.
20979         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
20980         Move definition to ioctl-types.h
20981         (struct termio): Likewise.
20982         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20983         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20984         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20985         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20986         Likewise.
20988 2014-08-05  Richard Henderson  <rth@redhat.com>
20990         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
20991         exceptions.
20992         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
20993         Add fraiseexcpt.
20994         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
20995         Use __feraiseexcept.
20996         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
20997         Protect libm symbols with IS_IN_libm.
20999         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
21001 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
21003         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
21005 2014-08-04  Will Newton  <will.newton@linaro.org>
21007         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
21008         file.
21010 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
21012         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
21013         variants for each function.
21015 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21017         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
21018         appended ...
21019         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
21020         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
21021         appended ...
21022         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
21023         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
21024         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
21025         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
21026         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
21027         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
21028         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
21029         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
21030         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
21031         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
21032         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
21033         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
21034         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
21035         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
21036         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
21037         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
21038         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
21039         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
21040         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
21041         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
21042         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
21043         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
21044         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
21045         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
21046         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
21047         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
21048         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
21049         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
21050         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
21051         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
21052         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
21053         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
21054         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
21055         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
21056         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
21057         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
21058         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
21059         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
21060         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
21061         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
21062         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
21063         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
21064         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
21065         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
21066         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
21067         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
21068         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
21069         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
21070         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
21071         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
21072         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
21073         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
21074         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
21075         Update #include.
21076         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
21077         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
21079 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21081         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
21082         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
21083         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
21084         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
21085         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
21086         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
21088 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21090         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
21091         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
21092         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21093         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
21095 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21097         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
21098         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
21099         (__libc_vfork): Define function under this name.
21100         (__vfork): Define as an alias.
21101         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
21102         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
21104 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21106         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
21107         that was previously under [RESET_PID].
21108         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
21110 2014-08-04  Andreas Schwab  <schwab@suse.de>
21112         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
21114 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
21116         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
21117         (main): Likewise.
21119 2014-08-01  Roland McGrath  <roland@hack.frob.com>
21121         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
21123 2014-08-01  Richard Henderon  <rth@redhat.com>
21125         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
21126         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
21127         typo in exact zero test.
21128         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21129         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21130         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21132 2014-08-01  Roland McGrath  <roland@hack.frob.com>
21134         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
21135         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
21136         * sysdeps/arm/sysdep.h: ... here.
21137         [!__ASSEMBLER__]: Include <stdint.h>.
21139 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21141         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
21142         (HAVE_WCTYPE_H): Likewise.
21143         (HAVE_ISWCTYPE): Likewise.
21144         (ENABLE_NLS): Likewise.
21145         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
21146         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
21148         * posix/regex_internal.c: Check if DEBUG is defined and is
21149         set.
21151         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
21152         (HAVE_MBSRTOWCS): Likewise.
21153         * posix/fnmatch.c: Include string.h unconditionally.
21155 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21157         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
21158         reversal.
21160 2014-07-31  Roland McGrath  <roland@hack.frob.com>
21162         * sysdeps/generic/safe-fatal.h: New file.
21163         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
21164         * nptl/forward.c: Include it.
21165         (__pthread_unwind): Use __safe_fatal as default action, rather
21166         than a bogus use of INTERNAL_SYSCALL that could never work.
21168         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
21169         * configure.ac (libc_cv_builtin_trap): New test.
21170         * configure: Regenerated.
21171         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
21172         (ABORT_INSTRUCTION): Define using __builtin_trap.
21174         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
21175         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
21176         * sysdeps/nptl/nptl-signals.h: New file.
21177         * nptl/pthreadP.h: Include <nptl-signals.h>.
21179 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21181         * sysdeps/s390/s390-64/utf16-utf32-z9.c
21182         (ONE_DIRECTION): Define.
21183         * sysdeps/s390/s390-64/utf8-utf16-z9.c
21184         (ONE_DIRECTION): Define.
21185         * sysdeps/s390/s390-64/utf8-utf32-z9.c
21186         (ONE_DIRECTION): Define.
21188 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21190         * sysdeps/s390/Makefile: Delete file.
21191         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
21192         * sysdeps/s390/__longjmp.c: Delete file.
21193         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
21194         Remove fields __flags and __reserved.
21195         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
21196         and add versioning.
21197         * sysdeps/s390/rtld-__longjmp.c: Delete file.
21198         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
21199         * sysdeps/s390/rtld-setjmp.S: Likewise.
21200         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
21201         * sysdeps/s390/s390-32/__longjmp.c: ... here.
21202         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
21203         * sysdeps/s390/s390-32/setjmp.S: ... here.
21204         Add versioning.
21205         (__sigsetjmp): Remove setting __flags field.
21206         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
21207         * sysdeps/s390/s390-64/__longjmp.c: ... here.
21208         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
21209         * sysdeps/s390/s390-64/setjmp.S: ... here.
21210         Add versioning.
21211         (__sigsetjmp): Remove setting __flags field.
21212         * sysdeps/s390/setjmp.S: Delete file.
21213         * sysdeps/s390/sigjmp.c: Likewise.
21214         * sysdeps/s390/v1-longjmp.c: Likewise.
21215         * sysdeps/s390/v1-setjmp.h: Likewise.
21216         * sysdeps/s390/v1-sigjmp.c: Likewise.
21217         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
21218         Remove v1-longjmp_chk.
21219         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
21220         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
21221         Include debug/longjmp_chk.c and add versioning.
21222         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
21223         Include nptl/pt-longjmp.c and add versioning.
21224         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
21225         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
21226         Include __longjmp.c.
21227         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21228         Move to ...
21229         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
21230         (__getcontext): Remove setting __flags field.
21231         Add versioning.
21232         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21233         Don't restore upper high grps.
21234         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
21235         Likewise.
21236         (__swapcontext): Remove setting uc_flags field.
21237         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
21238         Delete file.
21239         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21240         Include __longjmp.c.
21241         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21242         Move to ...
21243         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
21244         (__getcontext): Remove setting __flags field.
21245         Add versioning.
21246         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
21247         (__swapcontext): Remove setting uc_flags field.
21248         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
21249         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
21250         Remove fields uc_high_gprs and __reserved.
21251         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
21252         New file with reverted content.
21253         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
21254         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
21255         Regenerated.
21256         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
21257         Regenerated.
21259 2014-07-31  Andreas Schwab  <schwab@suse.de>
21261         * config.h.in (HAVE_IFUNC): Define to 0.
21262         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
21263         definedness.
21265 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
21267         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21268         memmove-avx-unaligned, memcpy-avx-unaligned and
21269         mempcpy-avx-unaligned.
21270         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21271         Add tests for AVX memcpy functions.
21272         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
21273         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
21274         memcpy_chk.
21275         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
21276         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
21277         memmove_chk.
21278         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
21279         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
21280         mempcpy_chk.
21281         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
21282         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
21283         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
21285 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21287         [BZ #17213]
21288         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
21289         powerpc64le.
21291 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
21293         [BZ #16839]
21294         * manual/llio.texi: Add section about open file description locks.
21295         * manual/examples/ofdlocks.c: Example of open file description
21296         lock usage.
21297         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
21298         F_OFD_SETLK, and F_OFD_SETLKW.
21300 2014-07-23  Allan McRae  <allan@archlinux.org>
21302         * po/es.po: Update Spanish translation from translation project.
21304 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
21306         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
21308 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
21310         [BZ #17078]
21311         * sysdeps/arm/dl-machine.h (elf_machine_rela)
21312         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
21313         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
21315 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
21317         [BZ #17088]
21318         * math/fesetenv.c (__fesetenv)
21319         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
21320         * math/feupdateenv.c (__feupdateenv)
21321         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
21323         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
21324         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21325         (__ASSUME_SOCKETCALL): Do not define.
21327         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
21328         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
21329         (__ASSUME_SOCKETCALL): Do not define.
21330         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
21331         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21332         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21333         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21334         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21335         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
21336         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21337         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21339         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
21340         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
21341         (__ASSUME_SOCKETCALL): Do not define.
21342         (__ASSUME_IPC64): Define unconditionally.
21343         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21344         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21345         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21346         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21347         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
21348         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21349         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
21350         Likewise.
21352         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
21353         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
21354         (__ASSUME_SOCKETCALL): Do not define.
21355         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
21356         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21357         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21358         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21359         (__ASSUME_REQUEUE_PI): Define unconditionally.
21360         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
21361         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21362         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21363         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
21364         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21365         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21367         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
21368         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
21369         (__ASSUME_SOCKETCALL): Do not define.
21370         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
21371         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21372         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21373         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
21374         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21375         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21377         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
21378         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
21379         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21380         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
21381         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21382         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
21383         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21384         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
21385         (__ASSUME_GETCPU_SYSCALL): Likewise.
21387         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
21388         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
21389         cases for individual architectures.
21390         * sysdeps/gnu/configure: Regenerated.
21391         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
21392         LIBC_SLIBDIR_RTLDDIR.
21393         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
21394         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
21395         LIBC_SLIBDIR_RTLDDIR.
21396         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
21397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
21398         LIBC_SLIBDIR_RTLDDIR.
21399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21400         Regenerated.
21401         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
21402         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
21403         file.
21404         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
21405         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
21406         file.
21407         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
21408         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
21409         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
21410         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
21412         * sysdeps/aarch64/shlib-versions: Move to ...
21413         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
21414         * sysdeps/alpha/shlib-versions: Move to ...
21415         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
21416         * sysdeps/arm/shlib-versions: Move to ...
21417         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
21418         * sysdeps/hppa/shlib-versions: Move all contents except for
21419         libgcc_s entry to ...
21420         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
21421         entry from ...
21422         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
21423         * sysdeps/ia64/shlib-versions: Move to ...
21424         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
21425         entry from ...
21426         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
21427         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
21428         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
21429         * sysdeps/microblaze/shlib-versions: Move to ...
21430         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
21431         * sysdeps/mips/shlib-versions: Move to ...
21432         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
21433         entry from ...
21434         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
21435         * sysdeps/tile/shlib-versions: Move to ...
21436         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
21437         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
21438         from ...
21439         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
21440         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
21441         entry from ...
21442         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
21444 2014-07-17  Will Newton  <will.newton@linaro.org>
21446         * sysdeps/arm/bits/atomic.h
21447         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
21448         (__arch_compare_and_exchange_bool_16_int): Likewise.
21449         (__arch_compare_and_exchange_bool_64_int): Likewise.
21451         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
21452         into an #else block.
21454 2014-07-16  Roland McGrath  <roland@hack.frob.com>
21456         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
21457         just Linux configurations.  Test empirically that the compiler sets
21458         __ARM_EABI__, rather than using the tuple to decide.
21459         * sysdeps/arm/preconfigure: Regenerated.
21460         * sysdeps/unix/sysv/linux/arm/configure: File removed.
21461         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
21462         contents appended ...
21463         * sysdeps/arm/configure.ac: ... here.
21464         * sysdeps/arm/configure: Regenerated.
21466 2014-07-15  Roland McGrath  <roland@hack.frob.com>
21468         * nptl/pthread_kill.c: New file.
21469         * nptl/pthread_sigmask.c: New file.
21470         * nptl/pthread_sigqueue.c: New file.
21472         * sysdeps/nptl/lowlevellock.h: New file.
21473         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
21474         * sysdeps/nptl/lowlevellock-futex.h: New file.
21476         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
21477         Remove dead declarations.
21479 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
21481         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
21482         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
21483         config-cflags-avx2.
21484         * sysdeps/x86_64/configure.ac: Likewise.
21485         * sysdeps/i386/configure: Regenerated.
21486         * sysdeps/x86_64/configure: Likewise.
21487         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21488         memset-avx2 only if config-cflags-avx2 is yes.
21489         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21490         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
21491         defined.
21492         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
21493         only if HAVE_AVX2_SUPPORT is defined.
21494         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21496 2014-07-14  Alan Modra  <amodra@gmail.com>
21498         [BZ #17153]
21499         * elf/elf.h (DT_PPC64_NUM): Correct value.
21500         * NEWS: Add to fixed bug list.
21502 2014-07-13  Jim Meyering  <meyering@fb.com>
21504         [BZ 17150]
21505         regex: don't deref NULL upon heap allocation failure
21506         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
21507         failure in one more place.
21508         To trigger the segfault, configure grep -with-included-regex,
21509         build it, and run these commands:
21510         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
21512 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
21514         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21516 2014-07-11  Richard Henderson  <rth@redhat.com>
21518         * sysdeps/aarch64/libm-test-ulps: Update.
21520 2014-07-10  Florian Weimer  <fweimer@redhat.com>
21522         [BZ #17135]
21523         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
21524         * nptl/allocatestack.c (__nptl_setxid_error): New function.
21525         (__nptl_setxid): Initialize error member.  Call
21526         __nptl_setxid_error.
21527         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
21528         * nptl/descr.h (struct xid_command): Add error member.
21529         * nptl/tst-setuid3.c: New file.
21530         * nptl/Makefile (tests): Add it.
21532 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21534         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
21535         New define.
21536         (__lll_trylock): Use __lll_base_trylock.
21537         (__lll_cond_trylock): Likewise.
21539 2014-07-10  Roland McGrath  <roland@hack.frob.com>
21541         * nptl/pthread_create.c (start_thread): Use atomic_or and
21542         lll_futex_wake directly rather than lll_robust_dead.
21543         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
21544         (lll_robust_dead): Macro removed.
21545         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
21546         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
21547         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
21548         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21549         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21550         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
21551         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
21552         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21553         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
21554         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21555         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21556         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21557         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21558         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21559         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21561         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
21562         Use atomic_compare_and_exchange_val_acq directly rather than
21563         lll_robust_trylock.
21564         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
21565         (__lll_robust_trylock, lll_robust_trylock): Removed.
21566         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
21567         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
21568         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21569         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21570         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
21571         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
21572         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21573         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
21574         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21575         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21576         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21577         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21578         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21579         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21581 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21583         * manual/locale.texi (Locale Names): New section documenting
21584         locale name syntax.  Adjust menu and node chaining accordingly.
21585         (Choosing Locale): Reference Locale Names, Locale Categories.
21586         Mention setting LC_ALL=C.  Reflect that name syntax is now
21587         documented.
21588         (Locale Categories): New section title.  Reference Locale Names.
21589         LC_ALL is an environment variable, but not a category.
21590         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
21591         description, now in Locale Name.  Reference that section.  Locale
21592         name syntax is now documented.
21594 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21596         [BZ #17137]
21597         * locale/findlocale.c (name_present, valid_locale_name): New
21598         functions.
21599         (_nl_find_locale): Use the loc_name variable to store name
21600         candidates.  Call name_present and valid_locale_name to check and
21601         validate locale names.  Return an error if the locale is invalid.
21603 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21605         * locale/setlocale.c (setlocale): Use strdup for allocating
21606         composite name copy.
21608 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21610         Sync up with gnulib.
21611         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
21612         [!_LIBC && ENABLE_NLS]: Include gettext.h.
21613         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
21614         and _GL_ARG_NONNULL.
21615         [USE_UNLOCKED_IO]: Include unlocked-io.h.
21616         [!_LIBC]: Include code for Windows and Cygwin.
21617         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
21618         Include prototype for int strerror_r.
21619         [!_LIBC] (is_open): New function.
21620         (flush_stdout): New function.
21621         (print_errno_message): Use it.
21622         (error): Likewise.
21623         (error_at_line): Likewise.
21624         (error_tail) Add function attribute macros.  Use
21625         __builtin_expect.
21627         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
21629         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
21631         * io/ftw.c: Include sys/param.h unconditionally.
21633         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
21635         [BZ #17125]
21636         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
21637         libc_freeres_ptr.
21638         (freecache): New function to free CACHE on exit.
21640         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
21641         initialization.
21643 2014-07-09  David S. Miller  <davem@davemloft.net>
21645         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21647         * sysdeps/sparc/nptl/internaltypes.h: Delete.
21648         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
21649         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
21650         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
21651         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
21652         * sysdeps/sparc/nptl/sem_init.c: Likewise.
21653         * sysdeps/sparc/nptl/sem_post.c: Likewise.
21654         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
21655         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
21656         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
21657         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
21658         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
21659         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
21661 2014-07-09  Andreas Schwab  <schwab@suse.de>
21663         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
21664         output.
21665         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
21666         (do_test): Likewise.
21668         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21670 2014-07-09  Will Newton  <will.newton@linaro.org>
21672         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
21673         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
21674         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
21675         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
21676         * sysdeps/hppa/start.S (_start): Likewise.
21678 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
21680         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
21682         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
21683         defined.
21685 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21687         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
21688         after checking that it is non-NULL.
21690         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
21692 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21694         * sysdeps/powerpc/memmove.c: Remove file.
21695         * sysdeps/powerpc/powerpc32/power4/memcopy.h
21696         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
21697         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21698         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
21699         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
21700         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
21701         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
21702         string memmove instead of removed powerpc one.
21704         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21705         [weak_alias]: Fix compiler warning due trailing data.
21706         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
21707         [weak_alias]: Likewise.
21708         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
21709         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
21711         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21712         (__libc_ifunc_impl_list): Add memmove functions.
21714 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21716         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
21717         Remove code.
21718         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
21719         Likewise
21720         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
21721         Likewise
21722         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
21723         Likewise
21724         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
21725         Likewise
21726         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
21727         Likewise
21728         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
21729         Likewise
21730         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
21731         Likewise
21732         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
21733         Likewise
21734         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
21735         Likewise
21736         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
21737         Likewise
21738         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
21739         Likewise
21740         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
21741         Likewise
21742         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
21743         Likewise
21744         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
21745         Likewise
21746         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
21747         Likewise
21748         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
21749         Likewise
21751 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21753         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
21754         to avoid alignment traps in non-cacheable memory.
21755         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21757         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
21758         multiarch objects.
21759         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
21760         file: multiarch power7 memmove.
21761         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
21762         multiarch default memmove.
21763         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
21764         multiarch memove for powerpc32/power4.
21766         * string/bcopy.c: Use full path to include memmove.c.
21767         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
21768         multiarch objects.
21769         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
21770         bcopy for powerpc64.
21771         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
21772         bcopy for powerpc64.
21773         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
21774         and memmove implementations.
21775         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
21776         optimized multiarch memmove for POWER7/powerpc64.
21777         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
21778         default multiarch memmove for powerpc64.
21779         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
21780         multiarch for powerpc64.
21781         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
21782         for POWER7/powerpc64.
21783         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
21784         memmove for POWER7/powerpc64.
21786         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
21787         glibc default one.
21789         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
21790         __ELF_NATIVE_CLASS equal to 64.
21792 2014-07-07  Roland McGrath  <roland@hack.frob.com>
21794         * sysdeps/nptl/lowlevellock.h: File removed.
21796         * NEWS: NPTL is no longer an add-on!
21797         * nptl/internaltypes.h: Moved ...
21798         * sysdeps/nptl/internaltypes.h: ... here.
21799         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
21800         * sysdeps/nptl/fork.c: Likewise.
21801         * sysdeps/nptl/gai_misc.h: Likewise.
21802         * sysdeps/nptl/librt-cancellation.c: Likewise.
21803         * sysdeps/nptl/jmp-unwind.c: Likewise.
21804         * sysdeps/nptl/setxid.h: Likewise.
21805         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
21806         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
21807         * sysdeps/unix/sysv/linux/arm/Implies: New file.
21808         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
21809         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
21810         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
21811         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
21812         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
21813         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
21814         * sysdeps/unix/sysv/linux/mips/Implies: New file.
21815         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
21816         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
21817         * sysdeps/unix/sysv/linux/sh/Implies: New file.
21818         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
21819         * sysdeps/unix/sysv/linux/tile/Implies: New file.
21820         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
21821         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
21822         * nptl/Makeconfig: Moved ...
21823         * sysdeps/nptl/Makeconfig: ... here.
21824         * nptl/configure: File removed.
21825         * nptl/ANNOUNCE: File removed.
21826         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
21827         * sysdeps/unix/sysv/linux/configure: Regenerated.
21829         * nptl/Makefile (routines): Add libc_pthread_init,
21830         libc_multiple_threads, register-atfork and unregister-atfork.
21831         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
21832         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
21833         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
21834         pthread-pi-defines.sym, structsem.sym.
21835         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
21836         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
21837         [$(subdir) = nptl] (tests): Add tst-setgetname.
21838         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
21839         * sysdeps/unix/sysv/linux/sigaction.c: Just include
21840         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
21841         [!LIBC_SIGACTION]: Remove aliases.
21842         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
21843         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
21844         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
21845         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
21846         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
21847         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
21848         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21849         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21850         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
21851         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
21852         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
21853         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
21854         __libc_allocate_rtsig_private.
21855         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
21856         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
21857         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
21858         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
21859         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
21860         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
21861         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
21862         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
21863         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
21864         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
21865         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
21866         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
21867         * nptl/internaltypes.h: ... here.
21868         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
21869         * sysdeps/nptl/jmp-unwind.c: ... here.
21870         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
21871         * nptl/libc-lowlevellock.c: ... here.
21872         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
21873         * nptl/libc_multiple_threads.c: ... here.
21874         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
21875         * nptl/libc_pthread_init.c: ... here.
21876         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
21877         * nptl/lowlevelbarrier.sym: ... here.
21878         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
21879         * nptl/lowlevelcond.sym: ... here.
21880         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
21881         * nptl/lowlevellock.c: ... here.
21882         * nptl/lowlevellock.h: Moved ...
21883         * sysdeps/nptl/lowlevellock.h: ... here.
21884         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
21885         * nptl/lowlevelrobustlock.c: ... here.
21886         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
21887         * nptl/lowlevelrobustlock.sym: ... here.
21888         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
21889         * nptl/lowlevelrwlock.sym: ... here.
21890         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
21891         * nptl/pt-fork.c: ... here.
21892         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
21893         * nptl/pthread-pi-defines.sym: ... here.
21894         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
21895         * nptl/pthread_attr_getaffinity.c: ... here.
21896         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
21897         * nptl/pthread_attr_setaffinity.c: ... here.
21898         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
21899         * nptl/pthread_mutex_cond_lock.c: ... here.
21900         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21901         Update #include.
21902         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
21903         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
21904         * nptl/pthread_once.c: ... here, replacing old file.
21905         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
21906         * nptl/pthread_yield.c: ... here.
21907         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
21908         * nptl/register-atfork.c: ... here.
21909         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
21910         * nptl/sem_post.c: ... here.
21911         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
21912         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
21913         * nptl/sem_timedwait.c: ... here.
21914         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
21915         * nptl/sem_trywait.c: ... here.
21916         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
21917         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
21918         * nptl/sem_wait.c: ... here.
21919         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
21920         * nptl/structsem.sym: ... here.
21921         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
21922         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
21923         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
21924         * nptl/unregister-atfork.c: ... here.
21925         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
21926         * nptl/unwindbuf.sym: ... here.
21927         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
21928         * sysdeps/nptl/fork.c: ... here.
21929         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
21930         * sysdeps/nptl/fork.h: ... here.
21931         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
21932         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
21933         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
21934         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
21935         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
21936         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
21937         * sysdeps/unix/sysv/linux/getpid.c: ... here.
21938         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
21939         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
21940         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
21941         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
21942         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
21943         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
21944         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
21945         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
21946         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
21947         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
21948         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
21949         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
21950         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
21951         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
21952         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
21953         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
21954         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
21955         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
21956         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
21957         * sysdeps/unix/sysv/linux/raise.c: ... here.
21958         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
21959         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
21960         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
21961         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
21962         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
21963         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
21964         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
21965         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
21966         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
21967         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
21968         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
21969         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
21970         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
21971         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
21972         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
21974 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21976         * sysdeps/generic/memcopy.h: Add comment for
21977         MEMCPY_OK_FOR_FWD_MEMMOVE.
21979 2014-07-04  Will Newton  <will.newton@linaro.org>
21981         * string/memchr.c: Merge from gnulib.
21982         [_LIBC]: Remove conditionals.
21983         (__ptr_t): Remove define.
21984         (LONG_MAX_32_BITS): Likewise.
21985         (LONG_MAX): Likewise.
21986         (MEMCHR): Use ANSI prototype and optimize algorithm.
21988         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
21990 2014-07-03  Roland McGrath  <roland@hack.frob.com>
21992         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
21993         (lll_futex_timed_wait_bitset): Fix syscall argument count.
21995         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
21996         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
21997         in a bare environment with no <stdlib.h> installed.
21998         * sysdeps/nptl/configure: Regenerated.
22000         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
22002         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
22003         AC_EGREP_CPP for kernel header checks, so they only succeed if
22004         including <linux/version.h> actually works right.
22005         * sysdeps/unix/sysv/linux/configure: Regenerated.
22007         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
22008         value so it's not diagnosed as unused.
22010         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
22011         thing) with "ifeq ($(subdir),rt)".
22013 2014-07-03  Richard Henderson  <rth@redhat.com>
22015         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
22016         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
22017         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
22019         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
22020         (math_force_eval): New.
22022         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
22023         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
22025         * sysdeps/alpha/fpu/s_round.c: Remove file.
22026         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
22028         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
22029         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
22030         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
22031         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
22032         (_dl_start, print_statistics): Likewise.
22033         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
22034         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
22036         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22037         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22038         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22039         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22040         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22041         (HP_SMALL_TIMING_AVAIL): Define.
22042         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22043         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
22044         (HP_SMALL_TIMING_AVAIL): Define.
22045         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22046         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22048         * sysdeps/aarch64/hp-timing.h: New file.
22050         * sysdeps/generic/hp-timing.h: Remove dead comment.
22051         * sysdeps/generic/hp-timing-common.h: New file.
22052         * sysdeps/alpha/hp-timing.h: Include it.
22053         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
22054         * sysdeps/i386/i686/hp-timing.h: Likewise.
22055         * sysdeps/ia64/hp-timing.h: Likewise.
22056         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22057         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22058         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22059         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22060         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
22061         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
22062         (hp_timing_t): New.
22064         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
22065         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
22066         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
22067         * elf/rtld.c (_dl_start_final): Likewise.
22068         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
22069         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22070         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22071         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22072         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22073         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22074         (HP_TIMING_DIFF_INIT): Remove.
22075         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22076         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
22077         (HP_TIMING_DIFF_INIT): Remove.
22078         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22079         * sysdeps/i386/i686/hp-timing.c: Remove file.
22080         * sysdeps/x86_64/hp-timing.c: Remove file.
22081         * sysdeps/ia64/hp-timing.c: Remove file.
22082         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
22083         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
22084         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
22085         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
22087         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
22088         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
22089         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
22090         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22091         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22092         (HP_TIMING_ACCUM): Remove.
22093         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22094         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
22095         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22097         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
22098         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
22099         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
22100         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
22101         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
22102         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
22103         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
22104         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
22106         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
22108 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
22110         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
22112 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22114         Sync up with gettext.
22115         * intl/loadmsgcat.c: Define O_BINARY if not defined.
22116         [_MSC_VER]: Include malloc.h
22117         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
22118         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
22119         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
22120         TEMP_FAILURE_RETRY.  Cast return of alloca.
22121         [!_LIBC] Call gl_rwlock_init.
22122         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
22124 2014-07-02  Roland McGrath  <roland@hack.frob.com>
22126         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
22127         before checking its value.
22129 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22131         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
22133         * debug/memcpy_chk.c: Don't include pagecopy.h.
22134         * debug/mempcpy_chk.c: Likewise.
22135         * string/memcpy.c: Likewise.
22136         * string/memmove.c: Likewise.
22137         * sysdeps/powerpc/memmove.c: Likewise.
22138         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
22139         definition of PAGE_COPY_FWD_MAYBE here...
22140         * sysdeps/generic/pagecopy.h: ... from here.
22141         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
22143 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22144             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22146         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
22147         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
22148         optimizations.
22149         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22150         (__libc_ifunc_impl_list): Likewise.
22151         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
22152         multiarch strcat for PPC64.
22153         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
22154         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
22156 2014-07-02  Roland McGrath  <roland@hack.frob.com>
22158         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
22160 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22162         * intl/loadmsgcat.c: Remove declaration of
22163         get_sysdep_segment_value.
22164         (get_sysdep_segment_value): Use ISO C style.
22165         (_nl_load_domain): Use ISO C style.  Get rid of redundant
22166         semicolon.  Fix typo and formatting in comment.
22167         (_nl_unload_domain): Use ISO C style.
22169         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
22171 2014-07-02  Will Newton  <will.newton@linaro.org>
22173         * malloc/obstack.c: Merge from gnulib master.
22174         [HAVE_CONFIG_H]: Remove conditional code.
22175         [!_LIBC]: Include config.h.
22176         [!ELIDE_CODE]: Don't include inttypes.h, include
22177         stdint.h unconditionally.
22178         (print_and_abort): Mark as _Noreturn.
22179         (_obstack_allocated_p): Mark as __attribute_pure__.
22180         (obstack_free): Rename to __obstack_free.
22181         [!__attribute__]: Remove conditional code.
22182         * malloc/obstack.h: Merge from gnulib master.
22183         [__cplusplus]: Move conditional down.
22184         [!__attribute_pure__]: Define __attribute_pure__ here
22185         if it is not already defined.
22186         (_obstack_memory_used): Mark as __attribute_pure__.
22187         [!__obstack_free]: Define as obstack_free.
22188         [__GNUC__]: Remove check for ancient NeXT gcc.
22190 2014-07-02  Will Newton  <will.newton@linaro.org>
22191             Paul Eggert  <eggert@cs.ucla.edu>
22193         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
22195 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22197         * resolv/gethnamaddr.c: Add comment warning that the file is
22198         not maintained.
22200 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
22202         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
22203         entries.
22205         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
22206         entry for aio_cancel and aio_cancel64.
22207         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
22208         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
22209         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
22210         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
22211         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
22212         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
22213         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
22214         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
22215         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
22216         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
22217         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
22218         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
22219         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
22221 2014-07-01  Roland McGrath  <roland@hack.frob.com>
22223         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
22224         * nptl/pthread_mutex_lock.c: Likewise.
22225         * nptl/pthread_mutex_timedlock.c: Likewise.
22226         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
22228 2014-07-01  Richard henderson  <rth@redhat.com>
22230         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
22231         (__isnan, __isnanl): Remove.
22232         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
22234         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22236 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22238         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22240 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22242         * resolv/nss_dns/dns-host.c (getanswer_r)
22243         [MULTI_PTRS_ARE_ALIASES]: Remove code.
22245 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
22247         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22248         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
22249         undefine.
22250         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
22251         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
22253 2014-07-01  Roland McGrath <roland@hack.frob.com>
22255         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
22256         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
22258         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
22259         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
22261         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
22262         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
22263         ... here.
22264         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
22265         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
22267         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
22268         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
22269         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
22270         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
22272         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
22273         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
22274         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
22275         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
22276         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
22277         Moved ...
22278         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
22279         ... here.
22280         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
22281         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
22282         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
22283         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
22284         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
22285         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
22286         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
22287         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
22288         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
22289         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
22290         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
22291         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
22292         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
22293         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
22294         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
22295         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
22296         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
22297         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
22298         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
22299         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
22300         ... here.
22301         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
22302         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
22303         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
22304         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
22305         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
22306         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
22307         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
22308         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
22310 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
22312         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
22313         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
22314         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
22315         Add sysdep.
22317 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22321 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22323         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22324         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22326         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22328         * sysdeps/arm/libm-test-ulps: Regenerated.
22330 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22331             Roland McGrath <roland@hack.frob.com>
22333         * test-skeleton.c (signal_handler): Kill the whole process group
22334         before killing the child individually.
22335         (main): Report any failure on `setpgid'.
22337 2014-06-30  Roland McGrath  <roland@hack.frob.com>
22339         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
22340         from _TLS_H to _ARM_NPTL_TLS_H.
22341         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
22342         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
22344 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22346         [BZ #16539]
22347         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
22348         (__expm1l): Return argument unchanged when small but not
22349         subnormal.
22351         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
22352         include macro name.
22353         (_FP_UNPACK_RAW_1_P): Likewise.
22354         (_FP_PACK_RAW_1): Likewise.
22355         (_FP_PACK_RAW_1_P): Likewise.
22356         (_FP_MUL_MEAT_1_wide): Likewise.
22357         (_FP_MUL_MEAT_DW_1_hard): Likewise.
22358         (_FP_MUL_MEAT_1_hard): Likewise.
22359         (_FP_DIV_MEAT_1_imm): Likewise.
22360         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
22361         (_FP_DIV_MEAT_1_udiv): Likewise.
22362         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
22363         (_FP_UNPACK_RAW_2): Likewise.
22364         (_FP_UNPACK_RAW_2_P): Likewise.
22365         (_FP_PACK_RAW_2): Likewise.
22366         (_FP_PACK_RAW_2_P): Likewise.
22367         (_FP_MUL_MEAT_DW_2_wide): Likewise.
22368         (_FP_MUL_MEAT_2_wide): Likewise.
22369         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
22370         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22371         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
22372         (_FP_MUL_MEAT_2_gmp): Likewise.
22373         (_FP_DIV_MEAT_2_udiv): Likewise.
22374         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
22375         (_FP_FRAC_SRL_4): Likewise.
22376         (_FP_FRAC_SRST_4): Likewise.
22377         (_FP_FRAC_SRS_4): Likewise.
22378         (_FP_UNPACK_RAW_4): Likewise.
22379         (_FP_UNPACK_RAW_4_P): Likewise.
22380         (_FP_PACK_RAW_4): Likewise.
22381         (_FP_PACK_RAW_4_P): Likewise.
22382         (_FP_MUL_MEAT_DW_4_wide): Likewise.
22383         (_FP_MUL_MEAT_4_wide): Likewise.
22384         (_FP_MUL_MEAT_4_gmp): Likewise.
22385         (umul_ppppmnnn): Likewise.
22386         (_FP_DIV_MEAT_4_udiv): Likewise.
22387         (__FP_FRAC_ADD_4): Likewise.
22388         (__FP_FRAC_SUB_3): Likewise.
22389         (__FP_FRAC_SUB_4): Likewise.
22390         (__FP_FRAC_DEC_3): Likewise.
22391         (__FP_FRAC_DEC_4): Likewise.
22392         (__FP_FRAC_ADDI_4): Likewise.
22393         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
22394         (_FP_FRAC_SRL_8): Likewise.
22395         (_FP_FRAC_SRS_8): Likewise.
22397         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
22398         include macro name.
22399         (FP_UNPACK_RAW_EP): Likewise.
22400         (FP_PACK_RAW_E): Likewise.
22401         (FP_PACK_RAW_EP): Likewise.
22402         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
22403         (_FP_ISSIGNAN): Likewise.
22404         (_FP_ADD_INTERNAL): Likewise.
22405         (_FP_FMA): Likewise.
22406         (_FP_CMP): Likewise.
22407         (_FP_SQRT): Likewise.
22408         (_FP_TO_INT): Likewise.
22409         (_FP_FROM_INT): Likewise.
22410         (FP_EXTEND): Likewise.
22411         (_FP_DIV_MEAT_N_loop): Likewise.
22413 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22415         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
22416         throughout.
22418 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
22420         [BZ #17097]
22421         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
22422         result with correct sign in case of exponents that produce
22423         overflow except for X very close to 1.
22425 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
22427         mktime: merge #if/#ifdef usage from glibc
22428         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
22429         as that works with both Glibc's and Gnulib's style.
22430         See thread starting at Siddhesh Poyarekar's bug report at:
22431         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
22433 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22435         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
22436         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
22437         * sysdeps/tile/tilegx/memmove.c: Remove file.
22439 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
22441         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
22442         abi-name definition.
22443         * scripts/soversions.awk: Do not handle or generate ABI lines.
22444         * shlib-versions: Remove ABI entries.
22445         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
22446         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
22448 2014-06-27  Roland McGrath  <roland@hack.frob.com>
22450         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
22451         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
22452         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
22453         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
22454         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
22455         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
22456         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
22457         Moved ...
22458         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
22459         ... here.
22460         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
22461         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
22462         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
22463         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
22464         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
22465         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
22466         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
22467         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
22468         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
22469         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
22470         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
22471         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
22472         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
22473         Moved ...
22474         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
22475         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
22476         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
22477         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
22478         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
22479         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
22480         Moved ...
22481         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
22482         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
22483         Moved ...
22484         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
22485         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
22486         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
22487         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
22488         Moved ...
22489         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
22490         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
22491         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
22492         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
22493         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
22494         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
22495         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
22496         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
22497         Moved ...
22498         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
22499         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
22500         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
22501         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
22502         Moved ...
22503         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
22504         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
22505         Moved ...
22506         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
22507         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
22508         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
22509         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
22510         Moved ...
22511         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
22512         ... here.
22513         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
22514         Identical file removed.
22515         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
22516         Moved ...
22517         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
22518         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
22519         Identical file removed.
22520         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
22521         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
22522         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
22523         Moved ...
22524         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
22525         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
22526         Identical file removed.
22527         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
22528         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
22529         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
22530         Identical file removed.
22531         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
22532         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
22533         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
22534         Identical file removed.
22535         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
22536         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
22537         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
22538         Identical file removed.
22539         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
22540         Moved ...
22541         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
22542         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
22543         Identical file removed.
22544         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
22545         Moved ...
22546         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
22547         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
22548         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
22549         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
22550         Identical file removed.
22551         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
22552         Moved ...
22553         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
22554         ... here.
22555         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
22556         Identical file removed.
22557         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
22558         Moved ...
22559         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
22560         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
22561         Identical file removed.
22562         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
22563         Moved ...
22564         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
22565         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
22566         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
22567         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
22568         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
22569         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
22570         Moved ...
22571         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
22572         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
22573         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
22575         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
22576         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
22577         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
22578         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
22579         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
22581 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
22583         [BZ #17092]
22584         * nscd/nscd.c (monitor_child): Return exit status of child
22585         instead of return value from wait syscall.
22587 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
22589         * configure.ac (libc_commonpagesize): Remove variable.
22590         (libc_relro_required): Likewise.
22591         (libc_cv_z_relro): Remove configure test.
22592         * configure: Regenerated.
22593         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
22594         variable.
22595         (libc_relro_required): Likewise.
22596         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
22597         (libc_relro_required): Likewise.
22598         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
22599         (libc_relro_required): Likewise.
22600         * sysdeps/arm/preconfigure: Regenerated.
22601         * sysdeps/ia64/preconfigure: Remove file.
22602         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
22603         variable.
22604         (libc_relro_required): Likewise.
22606         [BZ #16561]
22607         [BZ #16562]
22608         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
22609         (__ieee754_yn): Set FE_TONEAREST mode internally and then
22610         recompute overflowing results in original rounding mode.
22611         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
22612         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
22613         recompute overflowing results in original rounding mode.
22614         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
22615         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22616         recompute overflowing results in original rounding mode.
22617         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
22618         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22619         recompute overflowing results in original rounding mode.
22620         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
22621         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22622         recompute overflowing results in original rounding mode.
22623         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
22624         (libc_feholdsetround_ctx): New macro.
22625         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
22626         * sysdeps/i386/fpu/libm-test-ulps: Update.
22627         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
22629 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22631         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
22632         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
22633         corresponding .cpsetup call.
22635 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22637         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
22638         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
22639         * sysdeps/arm/Makefile [$(subdir) = csu]
22640         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
22641         (static-only-routines): Add aeabi_read_tp here.
22642         (shared-only-routines): Add libc-aeabi_read_tp here.
22643         (CFLAGS-libc-start.c): Add -fexceptions here.
22644         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
22645         (sysdep_routines, static-only-routines, shared-only-routines):
22646         Don't add to these here.
22647         (CFLAGS-libc-start.c): Likewise.
22649         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
22650         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22651         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
22652         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22653         * sysdeps/arm/Makefile [$(subdir) = rt]
22654         (librt-sysdep_routines, librt-shared-only-routines):
22655         Append rt-aeabi_unwind_cpp_pr1 here.
22656         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
22657         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
22658         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
22659         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22660         Append nptl-aeabi_unwind_cpp_pr1 here.
22661         (tests): Filter out tst-cleanupx4 here.
22662         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
22663         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
22664         Don't do those here.
22666 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22668         * scripts/list-sources.sh: Do not handle ports specially.
22670 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22672         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
22673         * sysdeps/arm/feupdateenv.c: Likewise.
22675         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
22677 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22679         * manual/texinfo.tex: Update to version 2014-05-05.10 with
22680         trailing whitespace removed.
22681         * scripts/config.guess: Update to version 2014-03-23.
22682         * scripts/config.sub: Update to version 2014-05-01
22683         * scripts/install-sh: Update to version 2013-12-25.23.
22684         * scripts/move-if-change: Update from gnulib.
22686 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22688         * debug/memmove_chk.c: Remove pagecopy.h include.
22690 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
22692         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
22693         identical to gnulib mktime.
22695 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22697         * configure.ac: Do not test for machine being rs6000.  Do not test
22698         for powerpc*-*soft.
22699         * configure: Regenerated.
22701         [BZ #11505]
22702         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
22703         test.
22704         * configure: Regenerated.
22705         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
22706         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
22707         Remove configure test.
22708         * sysdeps/arm/configure: Regenerated.
22709         * sysdeps/nptl/configure.ac: Do not check
22710         libc_cv_asm_cfi_directives.
22711         * sysdeps/nptl/configure: Regenerated.
22712         * sysdeps/x86_64/nptl/configure.ac: Remove file.
22713         * sysdeps/x86_64/nptl/configure: Remove generated file.
22714         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
22715         unconditional.
22716         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
22718 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22720         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
22721         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
22722         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
22723         it is defined.
22725         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
22726         instead of whether it is defined.
22727         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
22728         * sysdeps/hppa/dl-machine.h: Likewise.
22729         * sysdeps/ia64/dl-machine.h: Likewise.
22730         * sysdeps/m68k/dl-machine.h: Likewise.
22731         * sysdeps/microblaze/dl-machine.h: Likewise.
22732         * sysdeps/mips/dl-machine.: Likewise.
22733         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22734         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22735         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22736         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22737         * sysdeps/sh/dl-machine.h: Likewise.
22738         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22739         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22740         * sysdeps/tile/dl-machine.h: Likewise.
22741         * sysdeps/x86_64/dl-machine.h: Likewise.
22743         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
22744         code.
22745         (verify_persistent_db): Likewise.
22747 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
22750         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
22751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
22752         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
22753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22754         Moved ...
22755         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
22756         ... here.
22757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
22758         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
22759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
22760         Identical file removed.
22761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
22762         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
22763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
22764         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
22765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
22766         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
22767         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
22768         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
22769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
22770         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
22771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22772         Moved ...
22773         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
22774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
22775         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
22776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
22777         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
22778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22779         Moved ...
22780         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
22781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
22782         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
22783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
22784         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
22785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22786         Identical file removed.
22787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
22788         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
22789         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
22790         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
22791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22792         Moved ...
22793         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
22794         ... here.
22795         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
22796         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
22797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
22798         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
22799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
22800         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
22801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
22802         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
22803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
22804         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
22805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22806         Moved ...
22807         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
22808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
22809         Moved ...
22810         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
22811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
22812         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
22813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22814         Moved ...
22815         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
22816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
22817         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
22819         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
22820         folded into ...
22821         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
22822         * sysdeps/unix/sysv/linux/s390/Versions
22823         (libpthread: GLIBC_2.19): New version set.
22824         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
22825         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
22826         (librt: GLIBC_2.3.3): New version set.
22827         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
22828         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
22829         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
22830         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
22831         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
22832         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
22833         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
22834         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
22835         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
22836         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
22837         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
22838         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
22839         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
22840         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
22841         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
22842         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
22843         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
22844         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
22845         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
22846         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
22847         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
22848         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
22849         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
22850         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
22851         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
22852         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
22853         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
22854         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
22855         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
22856         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
22857         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
22858         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
22859         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
22860         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
22861         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
22862         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
22863         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
22864         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
22865         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
22866         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
22867         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
22868         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
22869         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
22870         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
22871         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
22873         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
22874         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
22875         (__libc_vfork): Define the function under this name.
22876         [!NOT_IN_libc] (__vfork): Make this an alias.
22877         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
22878         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
22879         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
22880         (__libc_vfork): Define the function under this name.
22881         [!NOT_IN_libc] (__vfork): Make this an alias.
22882         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
22883         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
22884         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
22885         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
22886         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
22887         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22889         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
22890         code that was previously under [RESET_PID].
22891         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
22892         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
22893         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
22895         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
22896         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
22897         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
22898         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
22899         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
22900         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
22901         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
22902         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
22903         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
22904         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
22905         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
22906         Moved ...
22907         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
22908         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
22909         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
22910         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
22911         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
22912         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
22913         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
22914         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
22915         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
22916         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
22917         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
22918         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
22919         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
22920         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
22921         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
22922         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
22923         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
22924         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
22925         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
22926         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
22927         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
22928         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
22929         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
22930         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
22931         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
22932         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
22933         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
22934         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
22935         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
22937 2014-06-25  Roland McGrath  <roland@hack.frob.com>
22939         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
22940         that was previously under [RESET_PID].
22941         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
22943 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
22945         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
22946         not undefine and redefine.
22947         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
22948         [O_CLOEXEC]: Make code unconditional.
22949         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
22950         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
22951         <kernel-features.h>.
22952         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
22953         conditional variable definition.
22954         (shm_open) [O_CLOEXEC]: Make code unconditional.
22955         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
22956         code.
22958         * configure.ac (USE_REGPARMS): Don't define here.
22959         * configure: Regenerated.
22960         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
22961         * sysdeps/i386/configure: Regenerated.
22963         * nptl/createthread.c: Don't include kernel-features.h.
22964         * nptl/pthread_cancel.c: Likewise.
22965         * nptl/pthread_condattr_setclock.c: Likewise.
22966         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
22967         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
22968         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
22969         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
22970         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
22971         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
22972         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22973         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
22974         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22975         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
22976         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
22977         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
22978         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
22979         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
22980         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
22981         * nscd/gai.c: Likewise.
22982         * nss/nss_db/db-open.c: Likewise.
22983         * sysdeps/generic/ldsodefs.h: Likewise.
22984         * sysdeps/sh/nptl/tls.h: Likewise.
22985         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
22986         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
22987         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
22988         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
22989         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
22990         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
22991         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
22992         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22993         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22994         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22995         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22996         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22997         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
22998         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
22999         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
23000         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
23001         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
23002         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
23003         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
23004         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
23005         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
23006         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
23007         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
23008         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
23009         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
23010         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
23011         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
23012         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
23013         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
23014         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
23015         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
23016         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
23017         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
23018         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23019         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23020         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23021         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23022         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
23023         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
23024         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
23025         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23026         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
23027         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
23028         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23029         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
23030         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
23031         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
23032         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
23033         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
23034         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
23035         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
23036         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
23037         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
23038         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23039         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
23040         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23041         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
23042         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
23043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
23045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
23046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
23047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
23048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
23049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
23050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
23051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
23054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
23055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
23056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
23057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
23063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
23064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
23065         * sysdeps/unix/sysv/linux/pread.c: Likewise.
23066         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
23067         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
23068         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
23069         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
23070         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
23071         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
23072         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
23073         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
23074         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
23075         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
23076         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
23077         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
23078         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
23079         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
23080         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
23081         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23082         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
23083         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
23084         * sysdeps/unix/sysv/linux/system.c: Likewise.
23085         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
23086         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
23087         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23088         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23089         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23090         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23091         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23093         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
23094         * configure: Regenerated.
23095         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
23097         * configure.ac (base_machine): Do not set specially for particular
23098         machines here.
23099         * configure: Regenerated.
23100         * sysdeps/powerpc/preconfigure: Move machine and base_machine
23101         settings from configure.ac.
23102         * sysdeps/i386/preconfigure: New file.
23103         * sysdeps/s390/preconfigure: Likewise.
23104         * sysdeps/sh/preconfigure: Likewise.
23105         * sysdeps/sparc/preconfigure: Likewise.
23107 2014-06-25  Roland McGrath  <roland@hack.frob.com>
23109         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
23110         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
23111         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
23112         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
23113         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
23114         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
23115         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
23116         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
23117         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
23118         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
23119         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
23120         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
23121         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
23122         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
23123         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
23124         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
23125         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
23126         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
23127         * sysdeps/sparc/sparc64/Makefile: ... appended here.
23129         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
23130         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
23131         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
23132         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
23133         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
23134         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
23135         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
23136         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
23137         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
23138         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
23139         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
23140         * sysdeps/sparc/sparc32/sem_post.c: ... here.
23141         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
23142         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
23143         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
23144         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
23145         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
23146         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
23147         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
23148         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
23149         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
23150         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
23151         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
23152         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
23153         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
23154         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
23155         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
23156         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
23157         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
23158         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
23159         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
23160         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
23161         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
23162         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
23163         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
23164         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
23165         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
23166         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
23168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
23169         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
23170         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
23171         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
23172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23173         Moved ...
23174         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
23175         ... here.
23176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
23177         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
23178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
23179         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
23180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
23181         Moved ...
23182         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
23183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
23184         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
23185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
23186         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
23187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
23188         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
23189         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23190         Moved ...
23191         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
23192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23193         Moved ...
23194         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
23195         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
23196         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
23197         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23198         Moved ...
23199         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
23200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
23201         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
23202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
23203         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
23204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
23205         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
23206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
23207         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
23208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23209         Moved ...
23210         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
23211         ... here.
23212         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
23213         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
23214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
23215         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
23216         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
23217         Moved ...
23218         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
23219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
23220         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
23221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
23222         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
23223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
23224         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
23225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23226         Moved ...
23227         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
23228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23229         Moved ...
23230         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
23231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
23232         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
23233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23234         Moved ...
23235         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
23236         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
23237         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
23238         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
23239         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
23241 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23243         * timezone/checktab.awk: Update from tzcode 2014e.
23244         * timezone/private.h: Likewise.
23245         * timezone/tzfile.h: Likewise.
23246         * timezone/zdump.c: Likewise.
23247         * timezone/zic.c: Likewise.
23249         * sysdeps/unix/sysv/linux/kernel-features.h
23250         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
23251         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
23252         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
23253         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23254         Remove conditional code.
23256 2014-06-25  Will Newton  <will.newton@linaro.org>
23258         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
23259         (_dl_arm_cap_flags): Add HWCAP2 values.
23260         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
23261         (_DL_HWCAP_COUNT): Increase to 37.
23262         (_DL_HWCAP_LAST): New define.
23263         (_DL_HWCAP2_LAST): New define.
23264         (_dl_procinfo): Add support for printing
23265         AT_HWCAP2 entries.
23266         (_dl_string_hwcap): Use _dl_hwcap_string.
23268 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23272 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23274         * README: Do not mention ports directory.
23276         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
23277         Remove macro.
23278         * sysdeps/unix/sysv/linux/futimes.c: Do not include
23279         <kernel-features.h>.
23280         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
23281         conditional variable definition.
23282         (__futimes): Update comment.
23283         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
23284         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
23286         [BZ #16560]
23287         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
23288         arguments close to 0.
23289         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
23290         Likewise.
23291         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
23292         Likewise.
23293         * math/auto-libm-test-in: Add more tests of exp10.
23294         * math/auto-libm-test-out: Regenerated.
23295         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23297         * sysdeps/unix/sysv/linux/kernel-features.h
23298         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
23299         * sysdeps/unix/sysv/linux/readv.c: Do not include
23300         <kernel-features.h>.
23301         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23302         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23303         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23304         unconditional.
23305         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23306         conditional code.
23307         * sysdeps/unix/sysv/linux/writev.c: Do not include
23308         <kernel-features.h>.
23309         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23310         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23311         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23312         unconditional.
23313         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23314         conditional code.
23316 2014-06-25  Will Newton  <will.newton@linaro.org>
23318         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
23319         comment changes throughout the file.  Remove checks
23320         for HAVE_*_H definitions that are not required.
23321         (__gen_tempname): Call abort if an unknown kind value is
23322         passed.
23324 2014-06-25  Andreas Schwab  <schwab@suse.de>
23326         [BZ #17086]
23327         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
23328         scalbln, scalblnf, scalblnl in libc.
23330 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23332         [BZ #17086]
23333         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
23334         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
23335         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
23337 2014-06-24  Roland McGrath  <roland@hack.frob.com>
23339         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
23340         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
23341         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
23342         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
23343         Update #include.
23344         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
23345         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
23346         Update #include.
23347         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
23348         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
23349         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
23350         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
23351         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
23352         * sysdeps/x86/bits/pthreadtypes.h: ... here.
23353         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
23354         * sysdeps/x86/bits/semaphore.h: ... here.
23355         * sysdeps/x86/nptl/elide.h: Moved ...
23356         * sysdeps/x86/elide.h: ... here.
23357         * sysdeps/x86_64/nptl/Implies: File removed.
23358         * sysdeps/i386/nptl/Implies: File removed.
23360 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
23362         [BZ #16539]
23363         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
23364         return the argument for normal arguments with exponent below -64.
23365         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23366         Likewise.
23367         * math/auto-libm-test-in: Add another test of expm1.
23368         * math/auto-libm-test-out: Regenerated.
23370         [BZ #16287]
23371         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
23372         calling __erfcl for arguments at least 16.
23373         * math/auto-libm-test-in: Add more tests of erf.
23374         * math/auto-libm-test-out: Regenerated.
23376         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
23377         individual architectures.
23378         * sysdeps/unix/sysv/linux/configure: Regenerated.
23379         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
23380         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
23381         * sysdeps/unix/sysv/linux/powerpc/configure.ac
23382         (ldd_rewrite_script): Define variable.
23383         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
23385         file.
23386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
23387         generated file.
23388         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
23389         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
23390         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
23391         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
23392         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
23393         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
23394         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
23395         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
23397 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23399         [BZ #17084]
23400         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
23401         Rename member __data.d to __data.__elision_data.
23403 2014-06-24  Wilco  <wdijkstr@arm.com>
23405         * NEWS: Add 16918 to fixed bug list.
23407 2014-06-24  Wilco  <wdijkstr@arm.com>
23409         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
23411 2014-06-24  Wilco  <wdijkstr@arm.com>
23413         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
23414         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
23415         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
23416         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
23417         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
23418         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
23419         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
23420         Use _FPU_MASK_RM.
23422 2014-06-24  Wilco  <wdijkstr@arm.com>
23424         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
23426 2014-06-24  Wilco  <wdijkstr@arm.com>
23428         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
23429         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
23430         * sysdeps/arm/fesetround.c (fesetround): Remove space.
23431         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
23433 2014-06-24  Wilco  <wdijkstr@arm.com>
23435         [BZ #16918]
23436         * sysdeps/arm/feupdateenv.c (feupdateenv):
23437         Rewrite to reduce FPSCR accesses and fix return value.
23439 2014-06-24  Wilco  <wdijkstr@arm.com>
23441         * sysdeps/arm/fclrexcpt.c (feclearexcept):
23442         Optimize to avoid unnecessary FPSCR writes.
23443         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
23444         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
23445         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
23446         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
23448 2014-06-24  Wilco  <wdijkstr@arm.com>
23450         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
23451         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
23452         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
23453         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
23454         Call libc_fetestexcept_vfp.
23455         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
23456         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
23457         __SOFTFP__ ifdef so that they can be built for softfp.
23459 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23461         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
23462         argument type signed char.
23464         * Makerules (check-abi): Dump diff of symlist if the test
23465         fails.
23467 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23469         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
23470         using abort.
23472         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
23473         Remove unused variable ST.
23475 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
23477         [BZ #16354]
23478         [BZ #17061]
23479         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
23480         small arguments before calling __expm1.
23481         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
23482         small arguments before calling __expm1f.
23483         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
23484         small arguments before calling __expm1l.
23485         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23486         Likewise.
23487         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
23488         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
23489         spurious underflow for some cosh tests.
23490         * math/auto-libm-test-out: Regenerated.
23491         * sysdeps/i386/fpu/libm-test-ulps: Update.
23493         [BZ #17050]
23494         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
23495         (__ieee754_y1): Set errno if return value overflows.
23496         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
23497         (__ieee754_y1f): Set errno if return value overflows.
23498         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
23499         (__ieee754_y1l): Set errno if return value overflows.
23500         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
23501         (__ieee754_y1l): Set errno if return value overflows.
23502         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
23503         * math/auto-libm-test-out: Regenerated.
23505         * math/gen-auto-libm-tests.c: Document use of
23506         ignore-zero-inf-sign.
23507         (input_flag_type): Add value flag_ignore_zero_inf_sign.
23508         (input_flags): Add ignore-zero-inf-sign.
23509         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
23510         * math/gen-libm-test.pl (generate_testfile): Handle
23511         ignore-zero-inf-sign.
23512         * math/auto-libm-test-in: Mark some cpow tests with
23513         ignore-zero-inf-sign and some with xfail-rounding.
23514         * math/auto-libm-test-out: Regenerated.
23515         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
23516         * sysdeps/i386/fpu/libm-test-ulps: Update.
23517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23519         [BZ #16315]
23520         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
23521         overflowing or underflowing operations take place with sign of
23522         result.
23523         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23524         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23525         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
23526         (__ieee754_pow): Recompute overflowing and underflowing results in
23527         original rounding mode.
23528         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
23529         (__powl_helper): Allow negative argument X and scale negated value
23530         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
23531         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
23532         overflowing or underflowing operations take place with sign of
23533         result.
23534         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
23535         Include <math.h>.
23536         * math/auto-libm-test-in: Add more tests of pow.
23537         * math/auto-libm-test-out: Regenerated.
23538         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
23539         (pow_tonearest_test_data): Remove.
23540         (pow_test_tonearest): Likewise.
23541         (pow_towardzero_test_data): Likewise.
23542         (pow_test_towardzero): Likewise.
23543         (pow_downward_test_data): Likewise.
23544         (pow_test_downward): Likewise.
23545         (pow_upward_test_data): Likewise.
23546         (pow_test_upward): Likewise.
23547         (main): Don't call removed functions.
23548         * sysdeps/i386/fpu/libm-test-ulps: Update.
23549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23551 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
23554         Moved ...
23555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
23556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23557         Moved ...
23558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
23559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23560         Moved ...
23561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
23562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23563         Moved ...
23564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
23565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23566         File removed.
23567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23568         File removed.
23569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
23570         File removed.
23571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
23572         File removed.
23573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
23574         File removed.
23575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
23576         File removed.
23577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
23578         File removed.
23579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23580         File removed.
23581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
23582         File removed.
23583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23584         File removed.
23585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
23586         File removed.
23587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
23588         File removed.
23589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
23590         Moved ...
23591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
23592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
23593         Moved ...
23594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
23595         ... here.
23596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
23597         Moved ...
23598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
23599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
23600         Moved ...
23601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
23602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
23603         Moved ...
23604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
23605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
23606         Moved ...
23607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
23608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
23609         Moved ...
23610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
23611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
23612         Moved ...
23613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
23614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
23615         Moved ...
23616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
23617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
23618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
23619         ... here.
23620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
23621         Moved ...
23622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
23623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
23624         Moved ...
23625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23626         ... here.
23627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
23628         Moved ...
23629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23630         ... here.
23631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23632         Moved ...
23633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
23634         ... here.
23635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23636         Moved ...
23637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
23638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23639         Moved ...
23640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
23641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
23642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
23643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23644         Moved ...
23645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
23646         ... here.
23647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23648         Moved ...
23649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
23650         ... here.
23651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23652         Moved ...
23653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
23654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23655         Moved ...
23656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
23657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23658         Moved ...
23659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
23660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23661         Moved ...
23662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
23663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23664         Moved ...
23665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
23666         ... here.
23667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23668         Moved ...
23669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
23670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23671         Moved ...
23672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
23673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23674         Moved ...
23675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
23676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23677         Moved ...
23678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
23679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
23680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
23681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23682         Moved ...
23683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
23684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23685         Moved ...
23686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
23687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23688         Moved ...
23689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
23690         ... here.
23691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23692         Moved ...
23693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
23694         ... here.
23695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23696         Moved ...
23697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
23698         ... here.
23699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23700         Moved ...
23701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
23702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23703         Moved ...
23704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
23705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23706         Moved ...
23707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
23708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23709         Moved ...
23710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
23711         ... here.
23712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23713         Moved ...
23714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
23715         ... here.
23716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23717         Moved ...
23718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
23719         ... here.
23720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23721         Moved ...
23722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
23723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23724         Moved ...
23725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
23727 2014-06-23  Will Newton  <will.newton@linaro.org>
23728             Wilco  <wdijkstr@arm.com>
23730         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
23731         implementation.  Include get-rounding-mode.h.
23732         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
23733         [!libc_feholdsetround_noex_ctx]: Define
23734         libc_feholdsetround_noex_ctx.
23735         [!libc_feholdsetround_noexf_ctx]: Define
23736         libc_feholdsetround_noexf_ctx.
23737         [!libc_feholdsetround_noexl_ctx]: Define
23738         libc_feholdsetround_noexl_ctx.
23739         (libc_feholdsetround_ctx): New function.
23740         (libc_feresetround_ctx): New function.
23741         (libc_feholdsetround_noex_ctx): New function.
23742         (libc_feresetround_noex_ctx): New function.
23744 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23746         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
23747         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
23748         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
23749         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
23750         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
23751         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
23753         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
23754         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
23755         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
23756         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
23757         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
23758         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
23759         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
23760         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
23761         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
23762         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
23763         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
23764         Moved ...
23765         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
23766         ... here.
23767         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
23768         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
23769         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
23770         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
23771         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
23772         Moved ...
23773         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
23774         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
23775         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
23776         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
23777         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
23778         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
23779         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
23780         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
23781         Moved ...
23782         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
23783         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
23784         Moved ...
23785         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
23786         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
23787         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
23788         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
23789         Moved ...
23790         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
23791         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
23792         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
23793         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
23794         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
23795         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
23796         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
23797         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
23798         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
23799         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
23800         Moved ...
23801         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
23802         ... here.
23803         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
23804         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
23805         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
23806         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
23807         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
23808         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
23809         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
23810         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
23811         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
23812         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
23813         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
23814         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
23815         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
23816         Moved ...
23817         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
23818         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
23819         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
23820         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
23821         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
23822         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
23823         Moved ...
23824         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
23825         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
23826         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
23827         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
23828         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
23830         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
23831         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
23832         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
23833         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
23834         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
23835         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
23836         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
23837         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
23838         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
23839         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
23840         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
23841         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
23842         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
23843         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
23844         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
23845         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
23846         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
23847         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
23848         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
23849         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
23850         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
23851         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
23852         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
23853         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
23854         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
23855         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
23856         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
23857         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
23859 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
23861         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
23862         (FALLOC_FL_COLLAPSE_RANGE): New macro.
23863         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
23864         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
23865         (IPV6_PMTUDISC_INTERFACE): Likewise.
23866         (IPV6_PMTUDISC_OMIT): Likewise.
23868 2014-06-23  Andreas Schwab  <schwab@suse.de>
23870         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
23871         Remove unused errout label.
23873 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23875         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
23876         macro: hardware supports Vector Crypto instructions.
23878 2014-06-23  Will Newton  <will.newton@linaro.org>
23880         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
23881         rather than __builtin_expect.
23883         * elf/dl-lookup.c (undefined_msg): Remove variable.
23884         (_dl_lookup_symbol_x): Replace undefined_msg with string
23885         literal.
23887         * elf/dl-lookup.c (do_lookup_unique): New function.
23888         (do_lookup_x): Move STB_GNU_UNIQUE handling code
23889         to a separate function.
23891 2014-06-23  Andreas Schwab  <schwab@suse.de>
23893         [BZ #17079]
23894         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
23895         before reading the next line.
23897 2014-06-23  Will Newton  <will.newton@linaro.org>
23899         * test-skeleton.c (signal_handler): Use printf and %m
23900         rather than perror.  Use printf rather than fprintf to
23901         stderr.  Use puts rather than fputs to stderr.
23902         (main): Likewise.
23904 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
23906         * nscd/nscd.c (thread_info_t): Remove typedef.
23907         (thread_info): Remove variable.
23909 2014-06-21  Allan McRae  <allan@archlinux.org>
23911         * NEWS: Mention CVE-2014-4043.
23913 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23915         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
23916         * nptl/smp.h: ... here.
23918         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
23920         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
23921         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
23922         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
23923         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
23925         * nptl/allocatestack.c: Include <stack-aliasing.h>.
23926         * nptl/stack-aliasing.h: New file.
23927         * sysdeps/i386/i686/stack-aliasing.h: New file.
23928         * sysdeps/i386/i686/nptl/Makefile: File removed.
23929         * sysdeps/x86_64/stack-aliasing.h: New file.
23930         * sysdeps/x86_64/nptl/Makefile
23931         (CFLAGS-pthread_create.c): Variable removed.
23933         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
23934         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
23935         old file.
23936         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
23937         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
23938         old file.
23940 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
23942         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23943         (__ASSUME_SIGFRAME_V2): Remove macro.
23944         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
23945         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
23946         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
23947         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
23948         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
23949         Declare as function.  Remove conditional macro definitions.
23950         (__default_rt_sa_restorer): Likewise.
23951         (__default_sa_restorer_v1): Remove declaration.
23952         (__default_sa_restorer_v2): Likewise.
23953         (__default_rt_sa_restorer_v1): Likewise.
23954         (__default_rt_sa_restorer_v2): Likewise.
23955         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
23956         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
23957         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
23959 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23961         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
23962         (libpthread-routines): Add sysdep.
23963         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
23964         * sysdeps/unix/sysv/linux/sparc/Versions
23965         (libpthread: GLIBC_2.3.3): New version set.
23966         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
23967         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
23968         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
23969         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
23970         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
23971         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
23972         Moved ...
23973         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
23974         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
23975         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
23976         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
23977         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
23978         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
23979         * sysdeps/sparc/nptl/sem_init.c: ... here.
23980         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
23981         * sysdeps/sparc/nptl/sem_post.c: ... here.
23982         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
23983         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
23984         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
23985         * sysdeps/sparc/nptl/sem_wait.c: ... here.
23986         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
23987         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
23988         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
23989         (libpthread-routines): Add cpu_relax.
23990         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
23991         File removed.
23992         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
23993         (librt: GLIBC_2.3.3): New version set.
23994         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
23995         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
23996         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
23997         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
23998         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
23999         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
24000         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
24001         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
24002         Moved ...
24003         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
24004         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
24005         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
24006         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
24007         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
24008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
24009         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
24010         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
24011         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
24012         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
24013         Moved ...
24014         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
24015         Update #include.
24016         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
24017         Moved ...
24018         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
24019         Update #include.
24020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
24021         Moved ...
24022         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
24023         Update #include.
24024         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
24025         Moved ...
24026         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
24027         Update #include.
24028         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
24029         Moved ...
24030         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
24031         Update #include.
24032         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
24033         Moved ...
24034         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
24035         Update #include.
24036         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
24037         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
24038         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
24039         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
24040         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
24041         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
24042         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
24043         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
24044         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
24045         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
24046         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
24047         Moved ...
24048         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
24049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
24050         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
24051         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
24052         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
24054 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24056         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
24057         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
24058         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
24059         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
24060         * nscd/nscd.c: Likewise.
24061         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
24062         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
24063         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
24064         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
24066         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
24067         <kernel-features.h>.
24068         (init_mq_netlink): Remove conditional have_sock_cloexec
24069         definitions.  Remove code conditional on have_sock_cloexec < 0.
24070         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
24071         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
24072         * sysdeps/unix/sysv/linux/opensock.c: Do not include
24073         <kernel-features.h>.
24074         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
24075         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
24077 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
24079         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24080         Add tests for memset_chk and memset.
24082         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
24083         with AVX2_Usable.
24085 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
24087         [BZ #16046]
24088         * elf/tst-dl-iter-static.c: New file.
24089         * elf/Makefile (tests-static): Add tst-dl-iter-static.
24091         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
24092         error.
24094 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24096         * sysdeps/unix/sysv/linux/kernel-features.h
24097         (__ASSUME_F_GETOWN_EX): Remove macro.
24098         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
24099         <kernel-features.h>.
24100         (miss_F_GETOWN_EX): Remove variable or macro.
24101         (do_fcntl): Do not check miss_F_GETOWN_EX.
24102         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
24104         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
24105         Remove macro.
24106         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
24107         [!__ASSUME_AT_RANDOM]: Remove conditional code.
24108         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
24110         * sysdeps/unix/sysv/linux/kernel-features.h
24111         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
24112         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
24113         [ADJ_OFFSET_SS_READ]: Make code unconditional.
24114         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
24116 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
24118         [BZ #17075]
24119         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
24120         Fix calculation of the symbol's value.
24121         * sysdeps/arm/tst-armtlsdescloc.c: New file.
24122         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
24123         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
24124         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
24125         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
24126         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
24127         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
24128         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
24129         (modules-names): Add `tst-armtlsdescmod',
24130         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
24131         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
24132         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24133         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
24134         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
24135         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24136         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
24137         ($(objpfx)tst-armtlsdescloc): New dependency.
24138         ($(objpfx)tst-armtlsdescextnow): Likewise.
24139         ($(objpfx)tst-armtlsdescextlazy): Likewise.
24140         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
24141         TLS scheme support.
24142         * sysdeps/arm/configure: Regenerate.
24144 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24146         * include/fcntl.h (__atfct_seterrno): Remove prototype.
24147         (__atfct_seterrno_2): Likewise.
24148         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
24149         <kernel-features.h>.
24150         (__ASSUME_ATFCTS): Do not undefine and redefine.
24151         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
24152         (__have_atfcts): Remove conditional definition.
24153         (__fxstatat([__NR_fstatat64]: Make code unconditional.
24154         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
24155         unreachable if [__ASSUME_ATFCTS].
24156         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
24157         not undefine and redefine.
24158         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
24159         <kernel-features.h>.
24160         (faccessat) [__NR_faccessat]: Make code unconditional.
24161         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
24162         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
24163         <kernel-features.h>.
24164         (fchmodat) [__NR_fchmodat]: Make code unconditional.
24165         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24166         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
24167         <kernel-features.h>.
24168         (fchownat) [__NR_fchownat]: Make code unconditional.
24169         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
24170         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
24171         <kernel-features.h>.
24172         (futimesat) [__NR_futimesat]: Make code unconditional.
24173         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
24174         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24175         <kernel-features.h>.
24176         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24177         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24178         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24179         <kernel-features.h>.
24180         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
24181         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24182         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
24183         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24184         <kernel-features.h>.
24185         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
24186         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24187         * sysdeps/unix/sysv/linux/linkat.c: Do not include
24188         <kernel-features.h>.
24189         (linkat) [__NR_linkat]: Make code unconditional.
24190         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24191         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
24192         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
24193         <kernel-features.h>.
24194         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
24195         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24196         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
24197         <kernel-features.h>.
24198         (mkdirat) [__NR_mkdirat]: Make code unconditional.
24199         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
24200         * sysdeps/unix/sysv/linux/openat.c: Do not include
24201         <kernel-features.h>.
24202         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
24203         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
24204         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
24205         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
24206         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
24207         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
24208         <kernel-features.h>.
24209         (readlinkat) [__NR_readlinkat]: Make code unconditional.
24210         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
24211         result of INLINE_SYSCALL directly, not via int variable.
24212         * sysdeps/unix/sysv/linux/renameat.c: Do not include
24213         <kernel-features.h>.
24214         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
24215         (renameat) [__NR_renameat]: Make code unconditional.
24216         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
24217         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
24218         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
24219         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
24220         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
24221         (__ASSUME_ATFCTS): Do not undefine and redefine.
24222         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
24223         <kernel-features.h>.
24224         (symlinkat) [__NR_symlinkat]: Make code unconditional.
24225         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24226         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
24227         <kernel-features.h>.
24228         (unlinkat) [__NR_unlinkat]: Make code unconditional.
24229         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24230         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
24231         (__ASSUME_ATFCTS): Do not undefine and redefine.
24232         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24233         <kernel-features.h>.
24234         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24235         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24236         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24237         <kernel-features.h>.
24238         (__xmknodat) [__NR_mknodat]: Make code unconditional.
24239         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24241 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
24243         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
24245 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
24247         [BZ #17069]
24248         * posix/regcomp.c (parse_reg_exp): Deallocate partially
24249         constructed tree before returning error.
24250         * posix/bug-regexp36.c: Expand test case.
24252 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24254         [BZ #6803]
24255         * math/libm-test.inc (scalbln_test_date):
24256         Add errno expectations.
24257         * math/w_scalblnf.c: New File.
24258         Add wrapper which checks for setting errno to ERANGE.
24259         Add weak_alias for corresponding scalbln function.
24260         * math/w_scalbln.c: Likewise.
24261         * math/w_scalblnl.c: Likewise.
24262         * math/Makefile (libm-calls): Add w_scalbln.
24263         * sysdeps/ieee754/flt-32/s_scalblnf.c:
24264         Remove weak_alias for corresponding scalbln function.
24265         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24266         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24267         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24268         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24269         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24270         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24271         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
24272         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24273         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
24274         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
24275         Remove long_double_symbol for scalblnl function in libm, libc.
24276         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
24277         Add wrapper which checks for setting errno to ERANGE.
24278         Add long_double_symbol for scalblnl function in libm, libc.
24279         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
24280         Remove long_double_symbol for scalblnl in libm.
24281         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
24282         Add wrapper which checks for setting errno to ERANGE.
24283         Add long_double_symbol for scalblnl function in libm.
24284         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
24285         Do not use wrapper because of own implementation.
24287 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
24289         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
24290         3 bytes for __pad1 for x32.
24291         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
24293 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
24294             H.J. Lu  <hongjiu.lu@intel.com>
24296         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
24297         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
24298         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24299         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24300         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
24302 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
24304         [BZ #17069]
24305         * posix/regcomp.c (parse_expression): Deallocate partially
24306         constructed tree before returning error.
24307         * posix/Makefile.c (tests): Add bug-regex36.
24308         (generated): Add bug-regex36.mtrace.
24309         (tests-special): Add $(objpfx)bug-regex36-mem.out
24310         (bug-regex36-ENV): New variable.
24311         ($(objpfx)bug-regex36-mem.out): New rule.
24312         * posix/bug-regex36.c: New file.
24314 2014-06-19  Will Newton  <will.newton@linaro.org>
24316         * malloc/malloc.c (systrim): If extra is zero then return
24317         early.
24319 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24321         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
24323 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
24325         * sysdeps/aarch64/strchr.S: New file.
24327 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24329         [BZ #17022]
24330         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
24331         from arguments -2 or below.
24332         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24333         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
24335 2014-06-18  Andreas Schwab  <schwab@suse.de>
24337         [BZ #17062]
24338         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
24339         of a bracket expr not to run off the end of the string.
24340         * posix/Makefile (tests): Add tst-fnmatch3.
24341         * posix/tst-fnmatch3.c: New file.
24343 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24345         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
24346         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24347         [$(cross-compiling) = no]: Likewise.
24348         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24349         [$(cross-compiling) = no]: Likewise.
24351 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24353         [BZ #17031]
24354         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
24355         double, adjusted for any remainder from the high double.
24356         * math/libm-test.inc (nearbyint): Add tests.
24357         (rint): Likewise.
24359 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24361         * nptl/sysdeps/powerpc/Makefile: Moved ...
24362         * sysdeps/powerpc/nptl/Makefile: ... here.
24363         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
24364         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
24365         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
24366         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
24367         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
24368         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
24369         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
24370         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
24371         * nptl/sysdeps/powerpc/tls.h: Moved ...
24372         * sysdeps/powerpc/nptl/tls.h: ... here.
24374 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
24376         [BZ #16681]
24377         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
24378         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
24379         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
24380         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
24381         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
24382         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
24383         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
24384         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
24385         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
24387 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
24389         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24391 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
24393         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
24394         defined operator.
24396         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
24397         $TIMEOUTFACTOR.
24399 2014-06-16  Florian Weimer  <fweimer@redhat.com>
24401         [BZ #17058]
24402         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
24403         non-executed part of the test.
24405 2014-06-16  Andreas Schwab  <schwab@suse.de>
24407         * string/bits/string2.h (strdup, strndup): Update feature guard.
24409 2014-06-14  David S. Miller  <davem@davemloft.net>
24411         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24413 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
24415         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
24416         that was previously under [RESET_PID].
24417         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
24419         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
24420         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
24421         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
24422         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24423         (__libc_vfork): New strong alias.
24424         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
24426 2014-06-14 Andi Kleen  <ak@linux.intel.com>
24428         * sysdeps/generic/elide.h: New file.
24430 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24432         * Makefile (installed-headers): Adjust path of pthread.h header.
24434 2014-06-13  Roland McGrath  <roland@hack.frob.com>
24436         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
24437         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
24438         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
24439         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
24441         * nptl/sysdeps/s390/Makefile: Moved ...
24442         * sysdeps/s390/nptl/Makefile: ... here.
24443         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
24444         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
24445         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
24446         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
24447         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
24448         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
24449         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
24450         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
24451         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
24452         * sysdeps/s390/nptl/pthreaddef.h: ... here.
24453         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
24454         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
24455         * nptl/sysdeps/s390/tls.h: Moved ...
24456         * sysdeps/s390/nptl/tls.h: ... here.
24458         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
24459         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
24461 2014-06-13  David S. Miller  <davem@davemloft.net>
24463         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
24464         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
24465         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
24466         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
24467         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
24468         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
24469         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
24470         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
24471         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
24472         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
24473         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
24474         Remove RESET_PID cpp guards.
24475         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
24476         Remove RESET_PID cpp guards.
24477         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
24479 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
24481         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
24482         __sp to uintptr_t.
24484 2014-06-13  Andi Kleen  <ak@linux.intel.com>
24486         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
24487         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
24488         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
24489         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
24490         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
24491         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
24492         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
24493         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
24494         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
24495         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
24496         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
24497         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
24498         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
24499         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
24500         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
24501         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
24502         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
24503         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
24504         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
24505         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
24507         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
24508         (pthread_rwlock_rdlock): Add elision.
24509         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
24510         (pthread_rwlock_wrlock): Add elision.
24511         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
24512         (pthread_rwlock_trywrlock): Add elision.
24513         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
24514         (pthread_rwlock_tryrdlock): Add elision.
24515         * nptl/pthread_rwlock_unlock.c: Include elide.h.
24516         (pthread_rwlock_tryrdlock): Add elision unlock.
24517         * nptl/sysdeps/pthread/pthread.h:
24518         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
24519         (PTHREAD_RWLOCK_INITIALIZER,
24520         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
24521         Handle new elision field.
24522         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
24523         * sysdeps/arm/nptl/bits/pthreadtypes.h
24524         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24525         * sysdeps/sh/nptl/bits/pthreadtypes.h
24526         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24527         * sysdeps/tile/nptl/bits/pthreadtypes.h
24528         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24529         * sysdeps/a/nptl/bits/pthreadtypes.h
24530         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24531         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
24532         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24533         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
24534         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24535         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
24536         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24537         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
24538         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24539         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
24540         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24541         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
24542         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24543         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
24544         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24545         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
24546         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24547         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
24548         (elision_init): Set try_xbegin to zero when no RTM.
24549         * sysdeps/x86/nptl/bits/pthreadtypes.h
24550         (pthread_rwlock_t): Change __pad1 to __rwelision.
24551         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24553 2014-06-13  Andi Kleen  <ak@linux.intel.com>
24555         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
24556         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
24557         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
24558         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
24560 2014-06-13  Meador Inge  <meadori@codesourcery.com>
24562         [BZ #16996]
24563         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
24564         that the cached result has been set before returning it.
24566 2014-06-12  Roland McGrath  <roland@hack.frob.com>
24568         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
24569         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
24570         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
24571         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
24572         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
24573         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
24575         * nptl/sysdeps/sparc/Makefile: Moved ...
24576         * sysdeps/sparc/nptl/Makefile: ... here.
24577         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
24578         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
24579         * nptl/sysdeps/sparc/tls.h: Moved ...
24580         * sysdeps/sparc/nptl/tls.h: ... here.
24581         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
24582         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
24583         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
24584         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
24585         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
24586         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
24587         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
24588         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
24589         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
24590         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
24591         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
24592         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
24593         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
24594         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
24595         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
24596         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
24597         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
24598         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
24599         Update #include.
24600         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
24601         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
24602         Update #include.
24603         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
24604         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
24605         Update #include.
24606         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
24607         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
24608         Update #include.
24610         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
24612         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
24613         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
24615         * sysdeps/pthread/posix-timer.h: Include <list.h>.
24616         (struct list_links): Type removed.
24617         (struct thread_node, struct timer_node): Replace struct list_links
24618         with struct list_head.
24619         (list_unlink_ip): Likewise.
24620         * sysdeps/pthread/timer_routines.c
24621         (timer_free_list, thread_free_list, thread_active_list): Likewise.
24622         (list_append, list_insbefore): Likewise.
24623         (list_init): Function removed.
24624         (thread_init, init_module): Use INIT_LIST_HEAD instead.
24625         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
24626         * sysdeps/pthread/Makefile: ... here, new file.
24628         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
24629         * sysdeps/nptl/Implies: ... here.
24630         * sysdeps/unix/sysv/linux/Implies: Add nptl.
24631         * nptl/sysdeps/pthread/list.h: Moved ...
24632         * include/list.h: ... here.
24633         * nptl/sysdeps/pthread/createthread.c: Moved ...
24634         * nptl/createthread.c: ... here.
24635         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
24636         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
24637         * nptl/pt-longjmp.c: ... here.
24638         * nptl/sysdeps/pthread/Makefile: Moved ...
24639         * sysdeps/nptl/Makefile: ... here.
24640         * nptl/sysdeps/pthread/Subdirs: Moved ...
24641         * sysdeps/nptl/Subdirs: ... here.
24642         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
24643         * sysdeps/nptl/aio_misc.h: ... here.
24644         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
24645         * sysdeps/nptl/bits/libc-lock.h: ... here.
24646         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
24647         * sysdeps/nptl/bits/libc-lockP.h: ... here.
24648         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
24649         * sysdeps/nptl/bits/stdio-lock.h: ... here.
24650         * nptl/sysdeps/pthread/configure: Moved ...
24651         * sysdeps/nptl/configure: ... here.
24652         * nptl/sysdeps/pthread/configure.ac: Moved ...
24653         * sysdeps/nptl/configure.ac: ... here.
24654         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
24655         * sysdeps/nptl/gai_misc.h: ... here.
24656         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
24657         * sysdeps/nptl/librt-cancellation.c: ... here.
24658         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
24659         * sysdeps/nptl/malloc-machine.h: ... here.
24660         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
24661         * sysdeps/nptl/pthread-functions.h: ... here.
24662         * nptl/sysdeps/pthread/pthread.h: Moved ...
24663         * sysdeps/nptl/pthread.h: ... here.
24664         * nptl/sysdeps/pthread/setxid.h: Moved ...
24665         * sysdeps/nptl/setxid.h: ... here.
24666         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
24667         * sysdeps/nptl/sigfillset.c: ... here.
24668         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
24669         * sysdeps/nptl/tcb-offsets.h: ... here.
24670         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
24671         * sysdeps/nptl/tst-mqueue8x.c: ... here.
24672         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
24673         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
24674         * nptl/sysdeps/pthread/allocalim.h: Moved ...
24675         * sysdeps/pthread/allocalim.h: ... here.
24676         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
24677         * sysdeps/pthread/bits/sigthread.h: ... here.
24678         * nptl/sysdeps/pthread/flockfile.c: Moved ...
24679         * sysdeps/pthread/flockfile.c: ... here.
24680         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
24681         * sysdeps/pthread/ftrylockfile.c: ... here.
24682         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
24683         * sysdeps/pthread/funlockfile.c: ... here.
24684         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
24685         * sysdeps/pthread/posix-timer.h: ... here.
24686         * nptl/sysdeps/pthread/timer_create.c: Moved ...
24687         * sysdeps/pthread/timer_create.c: ... here.
24688         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
24689         * sysdeps/pthread/timer_delete.c: ... here.
24690         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
24691         * sysdeps/pthread/timer_getoverr.c: ... here.
24692         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
24693         * sysdeps/pthread/timer_gettime.c: ... here.
24694         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
24695         * sysdeps/pthread/timer_routines.c: ... here.
24696         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
24697         * sysdeps/pthread/timer_settime.c: ... here.
24698         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
24699         * sysdeps/pthread/tst-timer.c: ... here.
24700         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
24701         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
24703         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
24704         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
24706         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
24707         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
24708         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
24709         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
24710         Update #include target.
24711         * nptl/sysdeps/i386/i686/Makefile: Moved ...
24712         * sysdeps/i386/i686/nptl/Makefile: ... here.
24713         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
24714         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
24715         Update #include target.
24716         * nptl/sysdeps/i386/i686/tls.h: Moved ...
24717         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
24718         * nptl/sysdeps/i386/Makefile: Moved ...
24719         * sysdeps/i386/nptl/Makefile: ... here.
24720         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
24721         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
24722         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
24723         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
24724         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
24725         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
24726         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
24727         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
24728         * sysdeps/i386/nptl/pthreaddef.h: ... here.
24729         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
24730         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
24731         * nptl/sysdeps/i386/tls.h: Moved ...
24732         * sysdeps/i386/nptl/tls.h: ... here.
24734         * sysdeps/sh/Makefile [$(subdir) = csu]
24735         (gen-as-const-headers): Add tcb-offsets.sym.
24736         * nptl/sysdeps/sh/Makefile: File removed.
24737         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
24738         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
24739         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
24740         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
24741         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
24742         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
24743         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
24744         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
24745         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
24746         * sysdeps/sh/nptl/pthreaddef.h: ... here.
24747         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
24748         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
24749         * nptl/sysdeps/sh/tls.h: Moved ...
24750         * sysdeps/sh/nptl/tls.h: ... here.
24751         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
24752         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
24753         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
24754         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
24755         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
24756         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
24757         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
24758         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
24759         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
24760         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
24761         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
24762         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
24763         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
24764         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
24765         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
24766         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
24767         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
24768         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
24769         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
24770         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
24771         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
24772         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
24773         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
24774         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
24775         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
24776         Moved ...
24777         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
24778         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
24779         Moved ...
24780         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
24781         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
24782         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
24783         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
24784         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
24785         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
24786         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
24787         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
24788         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
24789         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
24790         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
24791         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
24792         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
24793         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
24794         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
24795         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
24796         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
24797         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
24798         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
24800 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24802         * posix/spawn_faction_addopen.c: Include string.h.
24804 2014-06-11  Roland McGrath  <roland@hack.frob.com>
24806         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
24807         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
24808         * nptl/sysdeps/x86_64/Makefile: Moved ...
24809         * sysdeps/x86_64/nptl/Makefile: ... here.
24810         * nptl/sysdeps/x86_64/configure: Moved ...
24811         * sysdeps/x86_64/nptl/configure: ... here.
24812         * nptl/sysdeps/x86_64/configure.ac: Moved ...
24813         * sysdeps/x86_64/nptl/configure.ac: ... here.
24814         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
24815         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
24816         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
24817         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
24818         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
24819         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
24820         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
24821         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
24822         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
24823         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
24824         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
24825         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
24826         * nptl/sysdeps/x86_64/tls.h: Moved ...
24827         * sysdeps/x86_64/nptl/tls.h: ... here.
24828         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
24829         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
24830         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
24831         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
24833         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
24835 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24839 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
24841         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
24842         type.
24843         [POSIX] (off_t): Likewise.
24844         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
24845         [POSIX] (S_ISBLK): Require macro.
24846         [POSIX] (S_ISCHR): Likewise.
24847         [POSIX] (S_ISDIR): Likewise.
24848         [POSIX] (S_ISFIFO): Likewise.
24849         [POSIX] (S_ISREG): Likewise.
24850         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
24851         optional-macro.
24852         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
24853         type.
24854         [POSIX] (time_t): Likewise.
24855         [POSIX] (timer_t): Likewise.
24857 2014-06-11  Florian Weimer  <fweimer@redhat.com>
24859         [BZ #17048]
24860         * posix/spawn_int.h (struct __spawn_action): Make the path string
24861         non-const to support deallocation.
24862         * posix/spawn_faction_addopen.c
24863         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
24864         * posix/spawn_faction_destroy.c
24865         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
24866         path in all spawn_do_open actions.
24867         * posix/tst-spawn.c (do_test): Exercise the copy operation in
24868         posix_spawn_file_actions_addopen.
24870 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
24872         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
24873         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
24874         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
24875         conditional code always true.
24876         (__libc_vfork): New alias.
24878 2014-06-11  Roland McGrath  <roland@hack.frob.com>
24880         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24881         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
24883         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
24885         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24886         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
24888         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
24889         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
24891         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24892         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
24894 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24896         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
24897         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
24898         multiarch strcmp for PPC64.
24899         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
24900         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
24901         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
24902         multiarch optimizations.
24903         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24904         (__libc_ifunc_impl_list): Likewise.
24906 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24908         * benchtests/scripts/validate_benchout.py: New script.
24909         * benchtests/Makefile (bench-func): Call it.
24910         * benchtests/scripts/benchout.schema.json: New file.
24912 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
24914         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
24915         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
24916         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
24917         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
24918         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
24919         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
24920         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
24921         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
24922         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
24923         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
24924         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
24925         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
24926         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
24927         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
24928         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
24929         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
24930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
24931         Moved ...
24932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
24933         ... here.
24934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
24935         Moved ...
24936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
24937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
24938         Moved ...
24939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
24940         ... here.
24941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
24942         Moved ...
24943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
24944         ... here.
24945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
24946         Moved ...
24947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
24948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
24949         Moved ...
24950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
24951         ... here.
24952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
24953         Moved ...
24954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
24955         ... here.
24956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
24957         Moved ...
24958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
24959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
24960         Moved ...
24961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
24962         ... here.
24963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
24964         Moved ...
24965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
24966         ... here.
24967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
24968         Moved ...
24969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
24970         ... here.
24971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
24972         Moved ...
24973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
24974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
24975         Moved ...
24976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
24977         ... here.
24978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
24979         Moved ...
24980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
24981         ... here.
24982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
24983         Moved ...
24984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
24985         ... here.
24986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
24987         Moved ...
24988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
24989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
24990         Moved ...
24991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
24992         ... here.
24993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
24994         Moved ...
24995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
24996         ... here.
24997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
24998         Moved ...
24999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
25000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
25001         Moved ...
25002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
25003         ... here.
25004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
25005         Moved ...
25006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
25007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
25008         Moved ...
25009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
25010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
25011         Moved ...
25012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
25013         ... here.
25014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
25015         Moved ...
25016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
25017         ... here.
25018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
25019         Moved ...
25020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
25021         ... here.
25022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
25023         Moved ...
25024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
25025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
25026         Moved ...
25027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
25028         ... here.
25029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
25030         Moved ...
25031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
25032         ... here.
25033         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
25034         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
25035         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
25036         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
25037         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
25038         Moved ...
25039         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
25040         ... here.
25041         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
25042         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
25043         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
25044         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
25045         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
25046         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
25047         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
25048         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
25049         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
25050         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
25051         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
25052         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
25053         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
25054         Moved ...
25055         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
25056         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
25057         Moved ...
25058         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
25059         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
25060         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
25061         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
25062         Moved ...
25063         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
25064         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
25065         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
25066         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
25067         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
25068         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
25069         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
25071 2014-06-10  Wilco  <wdijkstr@arm.com>
25073         * math/test-fenv-return.c: New file.
25074         * math/Makefile: Add new test test-fenv-return.
25076 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
25078         [BZ #17042]
25079         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
25080         when x - 1 is zero.
25081         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
25082         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
25083         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
25084         0.0L for an argument of 1.0L.
25085         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
25086         Likewise.
25087         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
25088         value when x - 1 is zero.
25089         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
25090         * sysdeps/i386/fpu/libm-test-ulps: Update.
25091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25093 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
25095         [BZ #15119]
25096         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
25098 2014-06-09  Roland McGrath  <roland@hack.frob.com>
25100         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
25101         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
25103 2014-06-09  Roland McGrath  <roland@hack.frob.com>
25105         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25106         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
25108         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25109         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
25111         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25112         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
25114         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25115         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
25117         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
25118         if not already defined.
25119         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
25120         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
25121         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
25122         (TLS_INIT_TP): Use it.
25123         (TLS_DEFINE_INIT_TP): New macro.
25124         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
25126 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
25128         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
25129         constant.
25130         [POSIX] (IXANY): Likewise.
25131         [POSIX] (OLCUC): Likewise.
25132         [POSIX || POSIX2008] (CBAUD): Do not allow.
25133         [POSIX || POSIX2008] (DEFECHO): Likewise.
25134         [POSIX || POSIX2008] (ECHOCTL): Likewise.
25135         [POSIX || POSIX2008] (ECHOKE): Likewise.
25136         [POSIX || POSIX2008] (ECHOPRT): Likewise.
25137         [POSIX || POSIX2008] (EXTA): Likewise.
25138         [POSIX || POSIX2008] (EXTB): Likewise.
25139         [POSIX || POSIX2008] (FLUSHO): Likewise.
25140         [POSIX || POSIX2008] (LOBLK): Likewise.
25141         [POSIX || POSIX2008] (PENDIN): Likewise.
25142         [POSIX || POSIX2008] (SWTCH): Likewise.
25143         [POSIX || POSIX2008] (VDISCARD): Likewise.
25144         [POSIX || POSIX2008] (VDSUSP): Likewise.
25145         [POSIX || POSIX2008] (VLNEXT): Likewise.
25146         [POSIX || POSIX2008] (VREPRINT): Likewise.
25147         [POSIX || POSIX2008] (VSTATUS): Likewise.
25148         [POSIX || POSIX2008] (VWERASE): Likewise.
25149         (B*): Change to B[0123456789]*.
25150         * conform/data/time.h-data [POSIX || UNIX98]
25151         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
25152         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25153         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
25154         [POSIX] (tm_*): Do not allow.
25156 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
25158         * Makefile (install): Don't set LANGUAGE.
25159         * Makefile.in (install): Likewise.
25160         * assert/Makefile (test-assert-ENV): Remove variable.
25161         (test-assert-perr-ENV): Likewise.
25162         * elf/Makefile (neededtest4-ENV): Likewise.
25163         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25164         [$(cross-compiling) = no]: Don't set LANGUAGE.
25165         * io/ftwtest-sh (LANG): Remove variable.
25166         * libio/Makefile (tst-widetext-ENV): Likewise.
25167         * manual/install.texi (Running make install): Don't refer to
25168         environment settings for make install.
25169         * INSTALL: Regenerated.
25170         * nptl/tst-tls6.sh: Don't set LANG.
25171         * posix/globtest.sh (LANG): Remove variable.
25172         * string/Makefile (tester-ENV): Likewise.
25173         (inl-tester-ENV): Likewise.
25174         (noinl-tester-ENV): Likewise.
25175         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25176         [$(cross-compiling) = no]: Don't set LANGUAGE.
25177         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
25178         without explicit environment settings.
25180 2014-06-06  Roland McGrath  <roland@hack.frob.com>
25182         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
25183         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
25184         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
25185         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
25187 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
25189         * crypt/crypt-private.h [DOS]: Add some includes taken from the
25190         other files in the crypt directory.
25191         * crypt/crypt.c: Remove duplicate includes.
25192         * crypt/crypt-entry.c: Likewise.
25193         * crypt/crypt_util.c: Likewise.
25195 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
25197         * Makeconfig (run-program-env): New variable.
25198         (run-program-prefix-before-env): Likewise.
25199         (run-program-prefix-after-env): Likewise.
25200         (run-program-prefix): Define in terms of new variables.
25201         (built-program-cmd-before-env): New variable.
25202         (built-program-cmd-after-env): Likewise.
25203         (built-program-cmd): Define in terms of new variables.
25204         (test-program-prefix-before-env): New variable.
25205         (test-program-prefix-after-env): Likewise.
25206         (test-program-prefix): Define in terms of new variables.
25207         (test-program-cmd-before-env): New variable.
25208         (test-program-cmd-after-env): Likewise.
25209         (test-program-cmd): Define in terms of new variables.
25210         * Rules (make-test-out): Use $(run-program-env).
25211         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
25212         (help): Do not mention environment variables.  Mention
25213         --timeoutfactor option.
25214         (timeoutfactor): New variable.
25215         (blacklist_exports): Remove function.
25216         (exports): Remove variable.
25217         (command): Do not include ${exports}.
25218         * manual/install.texi (Configuring and compiling): Do not mention
25219         test wrappers preserving environment variables.  Mention that last
25220         assignment to a variable must take precedence.
25221         * INSTALL: Regenerated.
25222         * benchtests/Makefile (run-bench): Use $(run-program-env).
25223         * catgets/Makefile ($(objpfx)test1.cat): Use
25224         $(built-program-cmd-before-env), $(run-program-env) and
25225         $(built-program-cmd-after-env).
25226         ($(objpfx)test2.cat): Do not specify environment variables
25227         explicitly.
25228         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
25229         $(run-program-env) and $(built-program-cmd-after-env).
25230         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
25231         $(run-program-env) and $(test-program-cmd-after-env).
25232         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
25233         explicitly.
25234         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
25235         run_program_env and test_program_cmd_after_env arguments.
25236         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
25237         * elf/tst-pathopt.sh: Use run_program_env argument.
25238         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
25239         $(test-wrapper-env) and $(run-program-env).
25240         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
25241         run_program_env arguments.
25242         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
25243         * intl/Makefile ($(objpfx)tst-gettext.out): Use
25244         $(test-program-prefix-before-env), $(run-program-env) and
25245         $(test-program-prefix-after-env).
25246         ($(objpfx)tst-gettext2.out): Likewise.
25247         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
25248         run_program_env and test_program_prefix_after_env arguments.
25249         * intl/tst-gettext2.sh: Likewise.
25250         * intl/tst-gettext4.sh: Do not set environment variables
25251         explicitly.
25252         * intl/tst-gettext6.sh: Likewise.
25253         * intl/tst-translit.sh: Likewise.
25254         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
25255         $(test-program-prefix-before-env), $(run-program-env) and
25256         $(test-program-prefix-after-env).
25257         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
25258         run_program_env and test_program_prefix_after_env arguments.
25259         * math/Makefile (run-regen-ulps): Use $(run-program-env).
25260         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
25261         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
25262         explicitly with each use of ${test_wrapper_env}.
25263         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
25264         $(test-program-prefix-before-env), $(run-program-env) and
25265         $(test-program-prefix-after-env).
25266         * posix/tst-getconf.sh: Do not set environment variables
25267         explicitly.
25268         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
25269         run_program_env and test_program_prefix_after_env arguments.
25270         * stdio-common/tst-printf.sh: Do not set environment variables
25271         explicitly.
25272         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
25273         $(test-program-prefix-before-env), $(run-program-env) and
25274         $(test-program-prefix-after-env).
25275         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
25276         run_program_env and test_program_prefix_after_env arguments.
25277         Split $test calls into $test_pre and $test.
25278         * timezone/Makefile (build-testdata): Use
25279         $(built-program-cmd-before-env), $(run-program-env) and
25280         $(built-program-cmd-after-env).
25282 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25284         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
25285         strlen for non SHARED builds.
25287 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25289         * nptl/allocatestack.c (check_list): Inlined function...
25290         (__reclaim_stacks): ... here.
25292 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25294         [BZ #15698]
25295         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
25296         memory overrun.
25298 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
25300         * Rules (make-test-out): Include
25301         LOCPATH=$(common-objpfx)localedata in default environment.
25302         * debug/Makefile (tst-chk1-ENV): Remove variable.
25303         (tst-chk2-ENV): Likewise.
25304         (tst-chk3-ENV): Likewise.
25305         (tst-chk4-ENV): Likewise.
25306         (tst-chk5-ENV): Likewise.
25307         (tst-chk6-ENV): Likewise.
25308         (tst-lfschk1-ENV): Likewise.
25309         (tst-lfschk2-ENV): Likewise.
25310         (tst-lfschk3-ENV): Likewise.
25311         (tst-lfschk4-ENV): Likewise.
25312         (tst-lfschk5-ENV): Likewise.
25313         (tst-lfschk6-ENV): Likewise.
25314         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
25315         (tst-iconv7-ENV): Likewise.
25316         * intl/Makefile (LOCPATH-ENV): Likewise.
25317         (tst-codeset-ENV): Likewise.
25318         (tst-gettext3-ENV): Likewise.
25319         (tst-gettext5-ENV): Likewise.
25320         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
25321         (tst-fopenloc-ENV): Likewise.
25322         (tst-fgetws-ENV): Remove variable.
25323         (tst-ungetwc1-ENV): Likewise.
25324         (tst-ungetwc2-ENV): Likewise.
25325         (bug-ungetwc2-ENV): Likewise.
25326         (tst-swscanf-ENV): Likewise.
25327         (bug-ftell-ENV): Likewise.
25328         (tst-fgetwc-ENV): Likewise.
25329         (tst-fseek-ENV): Likewise.
25330         (tst-ftell-partial-wide-ENV): Likewise.
25331         (tst-ftell-active-handler-ENV): Likewise.
25332         (tst-ftell-append-ENV): Likewise.
25333         * posix/Makefile (tst-fnmatch-ENV): Likewise.
25334         (tst-regexloc-ENV): Likewise.
25335         (bug-regex1-ENV): Likewise.
25336         (tst-regex-ENV): Likewise.
25337         (tst-regex2-ENV): Likewise.
25338         (bug-regex5-ENV): Likewise.
25339         (bug-regex6-ENV): Likewise.
25340         (bug-regex17-ENV): Likewise.
25341         (bug-regex18-ENV): Likewise.
25342         (bug-regex19-ENV): Likewise.
25343         (bug-regex20-ENV): Likewise.
25344         (bug-regex22-ENV): Likewise.
25345         (bug-regex23-ENV): Likewise.
25346         (bug-regex25-ENV): Likewise.
25347         (bug-regex26-ENV): Likewise.
25348         (bug-regex30-ENV): Likewise.
25349         (bug-regex32-ENV): Likewise.
25350         (bug-regex33-ENV): Likewise.
25351         (bug-regex34-ENV): Likewise.
25352         (bug-regex35-ENV): Likewise.
25353         (tst-rxspencer-ENV): Likewise.
25354         (tst-rxspencer-no-utf8-ENV): Likewise.
25355         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
25356         (tst-sscanf-ENV): Likewise.
25357         (tst-swprintf-ENV): Likewise.
25358         (tst-swscanf-ENV): Likewise.
25359         (test-vfprintf-ENV): Likewise.
25360         (scanf13-ENV): Likewise.
25361         (bug14-ENV): Likewise.
25362         (tst-grouping-ENV): Likewise.
25363         * stdlib/Makefile (tst-strtod-ENV): Likewise.
25364         (tst-strtod3-ENV): Likewise.
25365         (tst-strtod4-ENV): Likewise.
25366         (tst-strtod5-ENV): Likewise.
25367         (testmb2-ENV): Likewise./
25368         * string/Makefile (tst-strxfrm-ENV): Likewise.
25369         (tst-strxfrm2-ENV): Likewise.
25370         (bug-strcoll1-ENV): Likewise.
25371         (test-strcasecmp-ENV): Likewise.
25372         (test-strncasecmp-ENV): Likewise.
25373         * time/Makefile (tst-strptime-ENV): Likewise.
25374         (tst-ftime_l-ENV): Likewise.
25375         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
25376         (tst-mbrtowc-ENV): Likewise.
25377         (tst-wcrtomb-ENV): Likewise.
25378         (tst-mbrtowc2-ENV): Likewise.
25379         (tst-c16c32-1-ENV): Likewise.
25380         (tst-mbsnrtowcs-ENV): Likewise.
25382 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25384         * manual/resource.texi (How to get information about the memory
25385         subsystem?): Fix typo.
25386         Reported by Peon de la Parra Ivan <peon@keba.com>
25388 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
25390         [BZ #16882]
25391         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
25392         (pthread_spin_lock): Branch out of spin loop to proper location.
25393         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
25394         (pthread_spin_lock): Likewise.
25396         * nptl/tst-spin4.c: New test.
25397         * nptl/Makefile (tests): Add tst-spin4.
25399 2014-06-03  Andreas Schwab  <schwab@suse.de>
25401         [BZ #15946]
25402         * resolv/res_send.c (send_dg): Reload file descriptor after
25403         calling reopen.
25405 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
25407         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25409 2014-06-03  Richard Henderson  <rth@redhat.com>
25411         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
25412         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
25413         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
25414         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
25415         in the SAVE_PID block.
25416         (__libc_vfork): New alias.
25417         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
25419         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
25420         child in registers, not on the stack.  Remove RESET_PID conditionals.
25421         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
25423 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25425         * sysdeps/aarch64/libm-test-ulps: Regenerate.
25427 2014-06-03  Wilco  <wdijkstr@arm.com>
25429         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
25430         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
25431         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25432         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
25433         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
25434         Likewise.
25436 2014-06-03  Wilco  <wdijkstr@arm.com>
25438         * sysdeps/aarch64/fpu/math_private.h
25439         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
25440         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
25441         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
25442         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25443         Fix declarations.
25445 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25447         * crypt/crypt-private.h: Include ufc-crypt.h.
25448         (__b64_from_24bit): Declare extern.
25449         * crypt/crypt_util.c(__b64_from_24bit): New function.
25450         (b64t): New static const variable.
25451         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
25452         (b64t): Remove variable.
25453         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
25454         * crypt/sha256-crypt.c: Include crypt-private.h.
25455         (b64t): Remove variable.
25456         (__sha256_crypt_r): Remove b64_from_24bit and replace
25457         with __b64_from_24bit.
25458         * crypt/sha512-crypt.c: Likewise.
25460 2014-06-02  Roland McGrath  <roland@hack.frob.com>
25462         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
25463         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
25464         Label the code __libc_vfork rather than __vfork.
25465         [!NOT_IN_libc] (vfork): Define as weak alias.
25466         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
25467         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
25468         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
25470 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25472         * malloc/malloc.c (malloc_info): Fix format specifier for
25473         n_mmaps.
25475 2014-06-02  Wilco  <wdijkstr@arm.com>
25477         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
25478         FPCR write.
25480 2014-06-02  Wilco  <wdijkstr@arm.com>
25482         [BZ #17009]
25483         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
25484         Rewrite to reduce FPCR/FPSR accesses.
25486 2014-06-01  David S. Miller  <davem@davemloft.net>
25488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25490 2014-05-31  David S. Miller  <davem@davemloft.net>
25492         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
25493         to occur in round to nearest mode when |x| >= 2.0
25495 2014-05-30  Richard Henderson  <rth@twiddle.net>
25497         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
25498         (PSEUDO_RET_NOERRNO): Remove.
25499         (ret): Don't redefine.
25500         (ret_NOERRNO): Define in terms of ret.
25501         (ret_ERRVAL): Likewise.
25503         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
25504         use of PSEUDO_RET; perform the error check directly.
25506 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
25508         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
25509         with __int128_t.
25511 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25513         * malloc/malloc (malloc_info): Fix formatting.
25515 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25516             Roland McGrath  <roland@hack.frob.com>
25518         * malloc/malloc (malloc_info): Also print mmapped statistics.
25520 2014-05-30  Roland McGrath  <roland@hack.frob.com>
25522         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
25523         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
25525 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
25527         * malloc/malloc.c (malloc_info): Inline mi_arena.
25529 2014-05-29  Richard Henderson  <rth@twiddle.net>
25531         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
25532         Remove comma before expanding ASM_ARGS_##nr.
25533         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
25534         Make _x0 a strict output; make _x8 a strict input; adjust expansion
25535         of ASM_ARGS_##nr.
25536         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
25537         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
25538         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
25539         (ASM_ARGS_1): Add leading comma.
25541         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
25542         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
25543         to __errno_location.
25544         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
25545         Remove the expected plt for __errno_location.
25547         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25548         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
25549         call to __read_tp.
25551         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25552         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
25553         it and break it down.
25554         (DOCARGS_0, DOCARGS_1): Do nothing.
25555         (DOCARGS_2): Update to store into the new stack frame.
25556         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
25557         (UNDOCARGS_1): Update to restore from the new stack frame.
25558         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
25559         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
25561         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25562         (SINGLE_THREAD_P): New parameter for result regno.
25563         (PSEUDO): Update to match; use cbz instead of beq.
25565         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25566         Use ENTRY to define the _nocancel entry point.  Share the syscall
25567         and syscall error check paths with the cancel path.
25568         (PSEUDO_END): New.
25570         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
25571         whitespace; tabs before and after asm mnemonics.
25573 2014-05-29  Eric Wong  <normalperson@yhbt.net>
25575         [BZ #15132]
25576         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25577         Call fstat64 or stat64 internally, depending on arguments passed.
25578         Replace stat buffer argument with file descriptor argument.
25579         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
25580         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
25581         Pass fd to __internal_statvfs instead of calling fstat64.
25582         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
25583         Pass fd to __internal_statvfs64 instead of calling fstat64.
25584         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
25585         Pass -1 to __internal_statvfs instead of calling stat64.
25586         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
25587         Pass -1 to __internal_statvfs64 instead of calling stat64.
25589 2014-05-28  Roland McGrath  <roland@hack.frob.com>
25591         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
25592         that was previously under [RESET_PID].
25593         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
25595         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
25596         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
25598 2014-05-27  Roland McGrath  <roland@hack.frob.com>
25600         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
25602         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
25603         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
25605 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
25607         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
25609 2014-05-27  Andreas Schwab  <schwab@suse.de>
25611         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
25612         TLS_INIT_TP macro.
25613         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
25614         * elf/rtld.c (init_tls, dl_main): Likewise.
25615         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
25616         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
25617         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
25618         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
25619         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
25620         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
25621         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
25622         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
25623         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
25624         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
25625         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
25626         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
25627         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
25628         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
25629         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
25630         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
25631         * sysdeps/generic/tls.h: Update description.
25633 2014-05-27  Will Newton  <will.newton@linaro.org>
25635         [BZ #16990]
25636         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
25637         and restore r2 rather than just restoring.
25639 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25641         [BZ #16724]
25642         * libio/tst-ftell-append.c: New test case.
25643         * libio/Makefile (tests): Add test case.
25644         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
25645         append mode.
25646         * libio/wfileops.c (do_ftell_wide): Likewise.
25648 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25652         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
25653         ...
25654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
25655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25656         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
25657         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
25658         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
25659         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
25660         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
25661         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
25662         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25663         Moved ...
25664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
25665         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25666         Moved ...
25667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
25668         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
25669         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
25670         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
25671         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
25672         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
25673         ...
25674         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
25675         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
25676         Moved ...
25677         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
25678         here.
25679         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
25680         ...
25681         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
25682         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
25683         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
25685         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
25686         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
25687         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
25688         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
25690         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
25691         merge into ...
25692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
25693         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
25694         ...
25695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
25696         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
25697         ...
25698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
25699         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
25700         Moved ...
25701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
25702         here.
25703         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
25704         Moved ...
25705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
25706         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
25707         Moved ...
25708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
25710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
25711         conditional [RESET_PID].
25712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
25713         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
25714         removed.
25715         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
25716         removed.
25718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
25719         <tcb-offsets.h>.
25720         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25721         (__libc_vfork): New strong alias.
25722         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
25723         removed.
25724         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
25725         Removed.
25727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
25728         <tcb-offsets.h>.
25729         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
25730         (__libc_vfork): New strong alias.
25731         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
25732         removed.
25733         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
25734         removed.
25736 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
25738         * malloc/malloc.c (mi_arena): New function.
25739         (malloc_info): Remove nested function mi_arena. Call non-nosted
25740         function mi_arena.
25742 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25744         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
25745         by insrwi.
25746         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
25747         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
25748         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
25749         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
25750         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
25751         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
25752         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
25754 2014-05-26  Andreas Schwab  <schwab@suse.de>
25756         [BZ #16984]
25757         * locale/programs/repertoire.c (repertoire_read): Add slash
25758         between I18NPATH element and file name.
25759         * locale/programs/locfile.c (locfile_read): Likewise.
25761 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25763         * nptl/pthread_mutexattr_settype.c
25764         (__pthread_mutexattr_settype):
25765         Disable lock elision for PTHREAD_MUTEX_NORMAL.
25767 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25769         * nptl/tst-mutex5 (do_test):
25770         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
25772 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25774         * benchtests/README: Document 'init' directive.
25775         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
25776         BENCH_INIT.
25777         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
25778         (parse_file): Recognize 'init' directive.
25780 2014-05-26  Kyle McMartin  <kyle@redhat.com>
25782         [BZ #16796]
25783         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
25784         alignment of struct pthread.
25786 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25788         [BZ #16878]
25789         * nscd/netgroupcache.c (addgetnetgrentX): Look for
25790         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
25791         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
25792         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
25794 2014-05-25  Richard Henderson  <rth@twiddle.net>
25796         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25797         (SINGLE_THREAD_P_PIC): Remove.
25798         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
25799         (SINGLE_THREAD_P_PIC): Remove.
25801         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
25802         branch to syscall error ...
25803         (PSEUDO): ... here.
25804         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
25805         from __local_syscall_error to .Lsyscall_error.
25806         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
25807         (SYSCALL_ERROR): Update label name.
25809         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25810         Do not use DOARGS/UNDOARGS.
25811         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
25812         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
25813         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
25814         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
25815         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
25817         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
25818         block comment.
25820         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
25821         define if !NOT_IN_libc.
25822         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
25823         define with non-default symbol versions.
25825 2014-05-23  Richard Henderson  <rth@twiddle.net>
25827         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
25828         (vfork, __vfork): Define via compat_symbol.
25830         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
25831         [!HAVE_IFUNC] (vfork_compat): Remove.
25832         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
25834 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
25836         [BZ #16978]
25837         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
25838         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
25839         variable.
25841 2014-05-23  Richard Henderson  <rth@twiddle.net>
25843         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
25844         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
25845         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
25846         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
25848         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
25849         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
25850         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
25851         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
25852         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
25853         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
25854         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
25855         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
25856         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
25857         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
25858         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
25859         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
25860         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
25861         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
25862         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
25863         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
25864         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
25865         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
25866         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
25867         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
25868         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
25869         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
25870         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
25871         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
25872         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
25873         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
25874         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
25875         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
25876         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
25877         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
25878         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
25879         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
25880         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
25881         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
25882         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
25883         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
25884         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
25885         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
25886         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
25887         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
25888         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
25889         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
25890         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
25891         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
25892         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
25893         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
25894         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
25895         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
25896         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
25897         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
25898         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
25899         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
25900         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
25901         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
25902         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
25903         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
25905         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
25906         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
25907         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
25908         before exiting on error.
25909         (__libc_vfork): New strong alias.
25910         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
25911         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
25913         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
25914         that was previously under [RESET_PID].
25915         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
25917         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
25919 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
25921         [BZ #16977]
25922         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
25923         value when x - 1 is zero.
25924         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
25925         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
25926         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
25927         0.0L for an argument of 1.0L.
25928         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
25929         Likewise.
25930         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
25931         value when x - 1 is zero.
25932         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
25933         * sysdeps/i386/fpu/libm-test-ulps: Update.
25934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25936 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25938         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
25939         alphasort and versionsort.
25941 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25943         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
25944         macro.
25945         [copysignf]: Likewise.
25947 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25949         * crypt/md5-crypt.c: Fix formatting.
25951 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25953         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
25954         (b64_from_24bit): New function.
25956 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25958         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
25959         libc_hidden_builtin_def to ifunc.
25960         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
25961         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
25963 2014-05-21  Roland McGrath  <roland@hack.frob.com>
25965         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
25966         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
25968 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
25970         * nscd/Depend (linuxthreads): Remove.
25971         (nptl): Add.
25972         * resolv/Depend (linuxthreads): Remove.
25973         * rt/Depend (linuxthreads): Remove.
25975         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
25976         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
25977         $(common-objpfx)elf/.
25978         (link-libc-before-gnulib): Likewise.
25979         (elfobjdir): Remove variable.
25980         * Makefile (install): Use $(elf-objpfx) instead of
25981         $(common-objpfx)elf/.
25982         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
25983         $(elfobjdir)/.
25984         (link-libc-deps): Likewise.
25985         ($(common-objpfx)libc.so): Likewise.
25986         ($(common-objpfx)linkobj/libc.so): Likewise.
25987         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
25988         instead of $(common-objpfx)elf/.
25989         (symbolic-link-list): Likewise.
25990         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25991         [$(cross-compiling) = no]: Likewise.
25992         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
25993         $(elfobjdir)/.
25994         (static-gnulib-arch): Likewise.
25995         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25996         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
25997         $(common-objpfx)elf/.
25999 2014-05-21  Richard Henderson  <rth@redhat.com>
26001         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26002         (SINGLE_THREAD_P): Use the correct width load.  Fold
26003         into the ldr offset.
26005         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
26006         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
26008 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
26010         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
26011         (libgcc_s_resume): Use __attribute_used__.
26012         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
26013         Likewise.
26015 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26017         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
26018         optimization when used with float constants.
26020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26022 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
26024         [BZ #16915]
26025         * locale/nl_langinfo_l.c: Make direct reference to every
26026         _nl_current_CATEGORY symbol.
26027         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
26028         (tests-static): Add tst-langinfo-static.
26029         (tests-special): Add tst-langinfo-static.out.
26030         ($(objpfx)tst-langinfo.out): Redirect output.
26031         ($(objpfx)tst-langinfo-static.out): New.
26032         * localedata/tst-langinfo.sh: Send output to stdout.
26033         * localedata/tst-langinfo-static.c: New file.
26035         [BZ #16965]
26036         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
26037         when the shift amount is modulo the limb size.
26039 2014-05-20  Richard Henderson  <rth@redhat.com>
26041         [BZ #16967]
26042         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
26043         Change type of sa_flags from unsigned int to int.
26045         [BZ #16966]
26046         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
26048         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
26050 2014-05-20  Will Newton  <will.newton@linaro.org>
26052         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26053         Test the return value of the system call in the nocancel case.
26055 2014-05-20  Will Newton  <will.newton@linaro.org>
26056             Yvan Roux  <yvan.roux@linaro.org>
26058         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
26059         #include of asm/ptrace.h.
26060         (PTRACE_GET_THREAD_AREA): Remove #undef.
26061         (PTRACE_GETHBPREGS): Likewise.
26062         (PTRACE_SETHBPREGS): Likewise.
26063         (struct user_regs_struct): New structure.
26064         (struct user_fpsimd_struct): New structure.
26065         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
26066         #include of asm/ptrace.h and second #include of sys/user.h.
26067         (PTRACE_GET_THREAD_AREA): Remove #undef.
26068         (PTRACE_GETHBPREGS): Likewise.
26069         (PTRACE_SETHBPREGS): Likewise.
26070         (ELF_NGREG): Use new struct user_regs_struct.
26071         (elf_fpregset_t): Use new struct user_fpsimd_struct.
26073 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26075         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
26076         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
26078 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
26080         [BZ #16958]
26081         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
26082         membar to avoid block loads/stores to overlap previous stores.
26084 2014-05-17  Richard Henderson  <rth@redhat.com>
26086         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
26087         Create the __##syscall_name##_nocancel entry point.
26088         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
26089         Remove; let the sysdep-cancel.h code create it.
26091 2014-05-17  David S. Miller  <davem@davemloft.net>
26093         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
26094         Protect with __USE_GNU.
26095         (TIOCSET_TEMPT): Likewise.
26096         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26097         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
26098         these are already provided in bits/ioctl-types.h
26100 2014-05-16  Roland McGrath  <roland@hack.frob.com>
26102         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
26103         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
26105         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
26106         Use wait4 regardless of [__NR_waitpid].
26108 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
26110         PR libgcc/60166
26111         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26112         (_FP_NANSIGN_Q): Set the quiet bit.
26114 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
26116         * benchtests/Makefile
26117         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
26118         not $(common-objpfx)math/libm.so.
26119         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
26120         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
26121         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
26122         $(common-objpfx)dlfcn/libdl.so.
26123         ($(objpfx)tst-audit8): Depend on $(libm), not
26124         $(common-objpfx)math/libm.so.
26125         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
26126         not $(common-objpfx)dlfcn/libdl.so.
26127         * math/Makefile
26128         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26129         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
26130         [$(build-shared) = yes].
26131         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
26132         $(common-objpfx)nptl/libpthread.so.
26133         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
26134         $(common-objpfx)math/libm.so$(libm.so-version) or
26135         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
26136         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
26137         $(common-objpfx)dlfcn/libdl.so.
26138         * setjmp/Makefile (link-libm): Remove variable.
26139         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
26140         * stdio-common/Makefile (link-libm): Remove variable.
26141         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
26142         * stdlib/Makefile (link-libm): Remove variable.
26143         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
26144         ($(objpfx)tst-strtod-round): Likewise.
26145         ($(objpfx)tst-tininess): Likewise.
26146         ($(objpfx)tst-strtod-underflow): Likewise.
26147         ($(objpfx)tst-strtod6): Likewise.
26148         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
26149         $(libdl), not $(common-objpfx)nptl/libpthread.so and
26150         $(common-objpfx)dlfcn/libdl.so.
26152 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26154         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
26155         BSD terminal modes definitions.
26157 2014-05-16  Roland McGrath  <roland@hack.frob.com>
26159         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
26160         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
26162         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
26163         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
26164         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
26165         Don't do #include_next.
26166         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
26167         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
26168         Don't do #include_next.
26169         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
26170         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
26171         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
26172         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
26174 2014-05-16  Allan McRae  <allan@archlinux.org>
26176         * po/sv.po: Update Swedish translation from translation project.
26178         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
26179         in sed expression.
26181 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
26183         [BZ #16917]
26184         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
26185         errno if the TIOCGPTN ioctl fails with an error different than
26186         EINVAL.
26187         * login/tst-ptsname.c: New file.
26188         * login/Makefile (tests): Add tst-ptsname.
26190         [BZ #16943]
26191         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
26192         and prlimit64.
26194 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26196         [BZ #16849]
26197         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
26198         herrno to return EAI_AGAIN.
26200 2014-05-14  Roland McGrath  <roland@hack.frob.com>
26202         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
26203         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
26204         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
26205         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
26206         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
26207         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
26208         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
26209         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
26210         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
26211         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
26212         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
26213         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
26214         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
26215         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
26216         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
26217         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
26218         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
26219         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
26220         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
26221         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
26222         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
26223         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
26224         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
26225         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
26226         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
26227         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
26228         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
26229         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
26230         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
26231         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
26232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
26233         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
26234         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
26235         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
26236         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26237         Moved ...
26238         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
26239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
26240         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
26241         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
26242         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
26243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
26244         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
26245         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
26246         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
26247         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
26248         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
26249         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
26250         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
26251         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
26252         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
26253         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
26254         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
26255         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
26256         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
26257         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
26258         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
26259         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
26260         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
26261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
26262         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
26263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
26264         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
26265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26266         Moved ...
26267         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
26268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
26269         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
26270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
26271         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
26272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
26273         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
26274         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
26275         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
26276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
26277         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
26278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
26279         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
26280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
26281         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
26282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
26283         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
26284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
26285         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
26286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26287         Moved ...
26288         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
26289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
26290         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
26292         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
26293         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
26294         (libpthread-sysdep_routines): Add elision-related stuff here instead.
26295         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
26296         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
26297         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
26298         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
26299         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
26300         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
26301         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
26302         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
26303         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
26304         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
26305         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
26306         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
26307         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
26308         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
26309         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
26310         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
26311         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
26312         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
26313         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
26314         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
26315         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
26316         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
26317         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
26318         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
26319         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
26320         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
26321         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
26322         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
26324         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
26325         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
26327         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
26328         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
26329         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
26330         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
26331         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
26332         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
26333         Moved ...
26334         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
26335         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
26336         Moved ...
26337         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
26338         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
26339         Moved ...
26340         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
26341         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
26342         Moved ...
26343         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
26344         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
26345         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
26346         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
26347         Moved ...
26348         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
26349         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
26350         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
26351         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
26352         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
26353         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
26354         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
26355         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
26356         Moved ...
26357         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
26358         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26359         Moved ...
26360         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26361         ... here.
26362         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
26363         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
26364         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
26365         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
26366         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26367         Moved ...
26368         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26369         ... here.
26370         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
26371         Moved ...
26372         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
26373         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
26374         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
26375         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
26376         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
26377         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
26378         Moved ...
26379         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
26380         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26381         Moved ...
26382         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
26383         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26384         Moved ...
26385         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
26386         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
26387         Moved ...
26388         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
26389         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
26390         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
26391         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
26392         Moved ...
26393         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
26394         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
26395         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
26396         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
26397         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
26398         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
26399         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
26400         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
26401         Moved ...
26402         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
26403         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26404         Moved ...
26405         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26406         ... here.
26407         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
26408         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
26409         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
26410         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
26411         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26412         Moved ...
26413         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26414         ... here.
26415         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
26416         Moved ...
26417         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
26418         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
26419         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
26420         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
26421         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
26422         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
26423         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
26424         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
26425         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
26426         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
26427         Moved ...
26428         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
26429         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
26430         Moved ...
26431         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
26432         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
26433         Moved ...
26434         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
26435         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
26436         Moved ...
26437         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
26438         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
26439         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
26440         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
26441         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
26442         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
26443         Moved ...
26444         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
26445         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
26446         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
26447         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
26448         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
26449         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
26450         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
26451         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
26452         Moved ...
26453         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
26454         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
26455         Moved ...
26456         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
26457         ... here.
26458         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
26459         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
26460         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
26461         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
26462         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
26463         Moved ...
26464         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
26465         ... here.
26466         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
26467         Moved ...
26468         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
26469         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
26470         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
26471         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
26472         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
26473         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
26474         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
26475         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
26476         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
26477         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
26478         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
26480         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
26481         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
26483         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
26484         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
26486         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
26487         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
26488         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
26489         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
26490         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
26491         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
26492         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
26493         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
26494         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
26495         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
26496         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
26497         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
26498         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
26499         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
26500         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
26501         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
26502         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
26503         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
26504         Moved ...
26505         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
26506         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
26507         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
26508         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
26509         Moved ...
26510         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
26511         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
26512         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
26513         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
26514         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
26515         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
26516         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
26517         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
26518         Moved ...
26519         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
26520         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
26521         Moved ...
26522         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
26523         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
26524         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
26525         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
26526         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
26527         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
26528         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
26529         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
26530         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
26531         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
26532         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
26533         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
26534         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
26535         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
26536         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
26537         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
26538         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
26540         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
26541         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
26542         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
26543         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
26544         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
26546         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
26547         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
26548         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
26549         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
26550         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
26551         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
26552         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
26553         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
26554         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
26555         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
26557         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
26558         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
26560         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
26561         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
26562         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
26563         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
26564         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
26565         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
26566         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
26567         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
26568         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
26569         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
26570         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
26571         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
26572         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
26573         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
26574         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
26575         Update #include.
26576         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
26577         Likewise.
26578         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
26579         Likewise.
26580         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
26581         Likewise.
26582         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
26583         Likewise.
26584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
26585         Likewise.
26586         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
26587         Likewise.
26588         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26589         Likewise.
26590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
26591         Likewise.
26592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
26593         Likewise.
26594         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
26595         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
26596         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
26597         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
26598         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
26599         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
26600         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
26601         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
26602         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
26603         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
26604         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
26605         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
26606         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
26607         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
26608         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
26610         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
26611         that was previously under [RESET_PID].
26612         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26613         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
26614         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
26616         * sysdeps/i386/nptl/Implies: New file.
26617         * sysdeps/x86_64/nptl/Implies: New file.
26618         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
26619         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
26620         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
26621         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
26623         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
26624         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26625         (__libc_vfork): New strong alias.
26626         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
26627         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
26629         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
26630         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26631         (__libc_vfork): New strong alias.
26632         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
26633         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
26635         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
26636         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26637         (__libc_vfork): New strong alias.
26638         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
26639         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
26640         * nptl/pt-vfork.c: New file.
26641         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
26642         (libpthread: GLIBC_2.20): New version set (empty).
26644 2014-05-14  Will Newton  <will.newton@linaro.org>
26646         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
26647         rather than #if.
26649 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
26651         [BZ #16564]
26652         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
26653         arguments with exponent 65 or above.
26654         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
26655         arguments 0x1p113L or above.
26656         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
26657         to arguments 0x1p107L or above.
26658         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
26659         positive arguments with exponent 65 or above.
26660         * math/auto-libm-test-in: Add more tests of log1p.
26661         * math/auto-libm-test-out: Regenerated.
26663         [BZ #16928]
26664         * math/s_cacos.c (__cacos): Ensure zero real part of result from
26665         non-finite arguments is +0.
26666         * math/s_cacosf.c (__cacosf): Likewise.
26667         * math/s_cacosl.c (__cacosl): Likewise.
26668         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
26669         * sysdeps/i386/fpu/libm-test-ulps: Update.
26670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26672         [BZ #16927]
26673         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
26674         value.
26675         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
26676         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
26677         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
26678         for explicit high bit of mantissa when testing for argument equal
26679         to 1.
26680         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
26681         * sysdeps/i386/fpu/libm-test-ulps: Update.
26682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26684         [BZ #16516]
26685         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
26686         (__erf): Scale by 16 instead of 8 in potentially underflowing
26687         case.  Ensure exception if result actually underflows.
26688         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
26689         (__erff): Scale by 16 instead of 8 in potentially underflowing
26690         case.  Ensure exception if result actually underflows.
26691         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
26692         (efx8): Remove variable.
26693         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26694         case.  Ensure exception if result actually underflows.
26695         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
26696         (efx8): Remove variable.
26697         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26698         case.  Ensure exception if result actually underflows.
26699         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
26700         (efx8): Remove variable.
26701         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26702         case.  Ensure exception if result actually underflows.
26703         * math/auto-libm-test-in: Add more tests of erf.
26704         * math/auto-libm-test-out: Regenerated.
26706 2014-05-14  Andreas Schwab  <schwab@suse.de>
26708         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
26709         Remove code conditionalized on USE___THREAD.
26711         * config.h.in (HAVE_PT_CHOWN): Define as 0.
26712         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
26713         not definedness.
26715 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
26717         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
26718         Define unconditionally.
26719         (__ASSUME_O_CLOEXEC): Likewise.
26720         (__ASSUME_SOCK_CLOEXEC): Likewise.
26721         (__ASSUME_IN_NONBLOCK): Likewise.
26722         (__ASSUME_PIPE2): Likewise.
26723         (__ASSUME_EVENTFD2): Likewise.
26724         (__ASSUME_SIGNALFD4): Likewise.
26725         (__ASSUME_DUP3): Likewise.
26726         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26727         (__ASSUME_DUP3): Do not define.
26728         (__ASSUME_EVENTFD2): Likewise.
26729         (__ASSUME_IN_NONBLOCK): Likewise.
26730         (__ASSUME_O_CLOEXEC): Likewise.
26731         (__ASSUME_PIPE2): Likewise.
26732         (__ASSUME_SIGNALFD4): Likewise.
26733         (__ASSUME_SOCK_CLOEXEC): Likewise.
26734         (__ASSUME_UTIMES): Undefine.
26735         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26736         (__ASSUME_UTIMES): Do not define.
26737         (__ASSUME_O_CLOEXEC): Likewise.
26738         (__ASSUME_SOCK_CLOEXEC): Likewise.
26739         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
26740         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
26741         0x020621].
26742         (__ASSUME_PIPE2): Likewise.
26743         (__ASSUME_EVENTFD2): Likewise.
26744         (__ASSUME_SIGNALFD4): Likewise.
26745         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
26746         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
26747         Do not define.
26748         (__ASSUME_EVENTFD2): Likewise.
26749         (__ASSUME_SIGNALFD4): Likewise.
26750         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26751         (__ASSUME_32BITUIDS): Likewise.
26752         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26753         (__ASSUME_IPC64): Likewise.
26754         (__ASSUME_ST_INO_64_BIT): Likewise.
26755         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
26756         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
26757         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26758         (__ASSUME_UTIMES): Do not define.
26759         (__ASSUME_PSELECT): Likewise.
26760         (__ASSUME_PPOLL): Likewise.
26761         (__ASSUME_O_CLOEXEC): Likewise.
26762         (__ASSUME_SOCK_CLOEXEC): Likewise.
26763         (__ASSUME_IN_NONBLOCK): Likewise.
26764         (__ASSUME_PIPE2): Likewise.
26765         (__ASSUME_EVENTFD2): Likewise.
26766         (__ASSUME_SIGNALFD4): Likewise.
26767         (__ASSUME_DUP3): Likewise.
26768         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26769         (__ASSUME_UTIMES): Likewise.
26770         (__ASSUME_O_CLOEXEC): Likewise.
26771         (__ASSUME_SOCK_CLOEXEC): Likewise.
26772         (__ASSUME_IN_NONBLOCK): Likewise.
26773         (__ASSUME_PIPE2): Likewise.
26774         (__ASSUME_EVENTFD2): Likewise.
26775         (__ASSUME_SIGNALFD4): Likewise.
26776         (__ASSUME_DUP3): Likewise.
26777         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26778         (__ASSUME_UTIMES): Likewise.
26779         (__ASSUME_O_CLOEXEC): Likewise.
26780         (__ASSUME_SOCK_CLOEXEC): Likewise.
26781         (__ASSUME_IN_NONBLOCK): Likewise.
26782         (__ASSUME_PIPE2): Likewise.
26783         (__ASSUME_EVENTFD2): Likewise.
26784         (__ASSUME_SIGNALFD4): Likewise.
26785         (__ASSUME_DUP3): Likewise.
26786         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
26787         Likewise.
26788         (__ASSUME_UTIMES): Likewise.
26789         (__ASSUME_EVENTFD2): Likewise.
26790         (__ASSUME_SIGNALFD4): Likewise.
26791         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26792         (__ASSUME_O_CLOEXEC): Likewise.
26793         (__ASSUME_SOCK_CLOEXEC): Likewise.
26794         (__ASSUME_IN_NONBLOCK): Likewise.
26795         (__ASSUME_PIPE2): Likewise.
26796         (__ASSUME_EVENTFD2): Likewise.
26797         (__ASSUME_SIGNALFD4): Likewise.
26798         (__ASSUME_DUP3): Likewise.
26799         (__ASSUME_UTIMES): Undefine.
26801         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
26802         feclearexcept.  Remove symbol versioning code.
26803         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
26804         symbol versioning code.
26805         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
26806         symbol versioning code.
26807         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
26808         feupdateenv.  Remove symbol versioning code.
26809         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
26810         fegetexceptflag.  Remove symbol versioning code.
26811         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
26812         fesetexceptflag.  Remove symbol versioning code.
26813         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
26814         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
26815         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
26816         (__posix_fadvise64_l32): Remove prototype.
26817         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
26818         code.
26820 2014-05-13  Roland McGrath  <roland@hack.frob.com>
26822         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
26823         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
26824         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
26825         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
26827 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
26829         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
26830         current working directory
26832 2014-05-13  Roland McGrath  <roland@hack.frob.com>
26834         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
26835         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
26836         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
26837         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
26838         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
26839         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
26840         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
26841         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
26842         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
26843         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
26844         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
26845         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
26846         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
26847         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
26848         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
26849         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
26850         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
26851         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
26852         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
26853         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
26854         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
26855         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
26856         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
26857         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
26858         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
26859         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
26860         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
26861         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
26862         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
26863         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
26864         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
26865         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
26866         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
26867         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
26868         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
26869         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
26870         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
26871         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
26872         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
26873         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
26874         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
26875         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
26877         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
26878         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
26880         * sysdeps/unix/sysv/linux/arm/Makefile
26881         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26882         Add rt-aeabi_unwind_cpp_pr1.
26883         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
26884         Add nptl-aeabi_unwind_cpp_pr1.
26885         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
26886         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
26887         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
26888         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
26889         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
26890         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
26892         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
26893         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
26894         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
26895         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
26897         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
26898         Deconditionalize the code that was previously under [RESET_PID].
26899         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
26901         * sysdeps/generic/exit-thread.h: New file.
26902         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
26903         * include/unistd.h (__exit_thread): Remove declaration.
26904         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
26905         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
26906         * csu/libc-start.c: Include <exit-thread.h>.
26907         (LIBC_START_MAIN): Pass no argument to __exit_thread.
26908         * nptl/pthread_create.c: Include <exit-thread.h>.
26909         (start_thread): Call __exit_thread in place of __exit_thread_inline.
26910         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
26911         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
26912         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
26913         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
26914         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
26915         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
26916         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
26917         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
26918         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
26919         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
26920         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
26921         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
26922         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
26923         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
26924         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
26925         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
26927 2014-05-13  Andreas Schwab  <schwab@suse.de>
26929         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
26931 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
26933         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26934         (__ASSUME_UTIMES): Do not condition on kernel version.
26935         (__ASSUME_PSELECT): Define unconditionally.
26936         (__ASSUME_PPOLL): Likewise.
26937         (__ASSUME_ATFCTS): Likewise.
26938         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
26939         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
26940         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
26941         (__ASSUME_UTIMENSAT): Define unconditionally.
26942         (__ASSUME_PRIVATE_FUTEX): Likewise.
26943         (__ASSUME_FALLOCATE): Likewise.
26944         (__ASSUME_O_CLOEXEC): Likewise.
26945         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
26946         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
26947         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
26948         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
26949         (__ASSUME_IN_NONBLOCK): Likewise.
26950         (__ASSUME_PIPE2): Likewise.
26951         (__ASSUME_EVENTFD2): Likewise.
26952         (__ASSUME_SIGNALFD4): Likewise.
26953         (__ASSUME_DUP3): Likewise.
26954         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26955         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
26956         (__ASSUME_AT_RANDOM): Likewise.
26957         (__ASSUME_PREADV): Likewise.
26958         (__ASSUME_PWRITEV): Likewise.
26959         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
26960         (__ASSUME_F_GETOWN_EX): Define unconditionally.
26961         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
26962         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26963         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
26964         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26965         (__ASSUME_O_CLOEXEC): Define unconditionally.
26966         (__ASSUME_PSELECT): Do not undefine conditionally.
26967         (__ASSUME_PPOLL): Likewise.
26968         (__ASSUME_ATFCTS): Likewise.
26969         (__ASSUME_SET_ROBUST_LIST): Likewise.
26970         (__ASSUME_UTIMENSAT): Likewise.
26971         (__ASSUME_FDATASYNC): Define unconditionally.
26972         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26973         (__ASSUME_SIGFRAME_V2): Likewise.
26974         )__ASSUME_EVENTFD2): Likewise.
26975         (__ASSUME_SIGNALFD4): Likewise.
26976         (__ASSUME_PSELECT): Do not undefine conditionally.
26977         (__ASSUME_PPOLL): Likewise.
26978         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26979         (__ASSUME_PSELECT): Define unconditionally.
26980         (__ASSUME_PPOLL): Likewise.
26981         (__ASSUME_O_CLOEXEC): Likewise.
26982         (__ASSUME_SOCK_CLOEXEC): Likewise.
26983         (__ASSUME_IN_NONBLOCK): Likewise.
26984         (__ASSUME_PIPE2): Likewise.
26985         (__ASSUME_EVENTFD2): Likewise.
26986         (__ASSUME_SIGNALFD4): Likewise.
26987         (__ASSUME_DUP3): Likewise.
26988         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26989         (__ASSUME_O_CLOEXEC): Likewise.
26990         (__ASSUME_SOCK_CLOEXEC): Likewise.
26991         (__ASSUME_IN_NONBLOCK): Likewise.
26992         (__ASSUME_PIPE2): Likewise.
26993         (__ASSUME_EVENTFD2): Likewise.
26994         (__ASSUME_SIGNALFD4): Likewise.
26995         (__ASSUME_DUP3): Likewise.
26996         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26997         (__ASSUME_EVENTFD2): Likewise.
26998         (__ASSUME_SIGNALFD4): Likewise.
26999         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27001 2014-05-12  Andreas Schwab  <schwab@suse.de>
27003         [BZ #16932]
27004         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
27005         (_nss_nis_gethostbyname4_r): Return error if item length is larger
27006         than maximum RPC packet size.
27007         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
27008         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
27009         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
27010         (_nss_nis_getservbyport_r): Likewise.
27012 2014-05-12  Will Newton  <will.newton@linaro.org>
27014         * malloc/Makefile (tests): Add tst-mallopt.
27015         * malloc/tst-mallopt.c: New file.
27017 2014-05-09  Roland McGrath  <roland@hack.frob.com>
27019         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
27020         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
27022 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27024         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
27025         (tst-tlsmod6.so): Likewise.
27027 2014-05-09  Roland McGrath  <roland@hack.frob.com>
27029         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
27031 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
27033         [BZ #16064]
27034         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
27035         and <dl-procinfo.h>.
27036         (__fegetenv): Save SSE state in envp->__eip if supported.
27037         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
27038         envp->__eip if supported.
27039         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
27040         and <dl-procinfo.h>.
27041         (__fesetenv): Always set __eip, __cs_selector, __opcode,
27042         __data_offset and __data_selector in environment to 0.  Set SSE
27043         state if supported.
27044         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27045         test-fenv-sse.
27046         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
27047         -mfpmath=sse.
27048         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
27050 2014-05-09  Will Newton  <will.newton@linaro.org>
27052         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
27053         and libc_relro_required for ARM.
27054         * sysdeps/arm/preconfigure: Regenerate.
27056 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
27057             Stefan Liebler  <stli@linux.vnet.ibm.com>
27059         * config.make.in (enable-lock-elision): New Makefile variable.
27060         * configure.ac: Likewise.
27061         * configure: Regenerate.
27062         * sysdeps/s390/configure.ac:
27063         Add check for gcc transactions support.
27064         * sysdeps/s390/configure: Regenerate.
27065         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
27066         Build elision files if enabled.
27067         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
27068         Add lock elision support for s390.
27069         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
27070         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
27071         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
27072         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
27073         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
27074         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
27075         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
27076         Likewise.
27077         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
27078         Likewise.
27079         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
27080         Likewise.
27081         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
27082         Likewise.
27083         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
27084         (__lll_timedlock_elision, __lll_lock_elision)
27085         (__lll_unlock_elision, __lll_trylock_elision)
27086         (lll_timedlock_elision, lll_lock_elision)
27087         (lll_unlock_elision, lll_trylock_elision): Add.
27088         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27089         (pthread_mutex_t): Add lock elision support for s390.
27091 2014-05-14  Wilco  <wdijkstr@arm.com>
27093         * sysdeps/arm/fclrexcpt.c: Cleanup.
27094         * sysdeps/arm/fedisblxcpt.c: Cleanup.
27095         * sysdeps/arm/feenablxcpt.c: Cleanup.
27096         * sysdeps/arm/fegetenv.c: Cleanup.
27097         * sysdeps/arm/fegetexcept.c: Cleanup.
27098         * sysdeps/arm/fegetround.c: Cleanup.
27099         * sysdeps/arm/feholdexcpt.c: Cleanup.
27100         * sysdeps/arm/fesetenv.c: Cleanup.
27101         * sysdeps/arm/fesetround.c: Cleanup.
27102         * sysdeps/arm/feupdateenv.c: Cleanup.
27103         * sysdeps/arm/fgetexcptflg.c: Cleanup.
27104         * sysdeps/arm/fraiseexcpt.c: Cleanup.
27105         * sysdeps/arm/fsetexcptflg.c: Cleanup.
27106         * sysdeps/arm/ftestexcept.c: Cleanup.
27107         * sysdeps/arm/get-rounding-mode.h: Cleanup.
27108         * sysdeps/arm/setfpucw.c: Cleanup.
27110 2014-05-09  Will Newton  <will.newton@linaro.org>
27112         * sysdeps/arm/armv7/strcmp.S: New file.
27113         * NEWS: Mention addition of ARMv7 optimized strcmp.
27115 2014-05-08  Roland McGrath  <roland@hack.frob.com>
27117         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
27118         look for %.ac rather than %.in.
27120         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
27121         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
27122         * sysdeps/mach/hurd/configure: Regenerated.
27123         * sysdeps/unix/sysv/linux/configure: Regenerated.
27125         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
27127 2014-05-07  Steve Ellcey  <sellcey@mips.com>
27129         [BZ# 16922]
27130         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
27131         (LONG_SUB): Ditto.
27132         (PTR_SUB): Ditto.
27134 2014-05-07  Andreas Schwab  <schwab@suse.de>
27136         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
27137         when skipping over non-matching result from nscd.
27139 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
27141         [BZ #16876]
27142         * nptl/sockperf.c (client): Check socket return value.
27144         [BZ #16877]
27145         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
27146         nscd security class.
27148 2014-05-06  Roland McGrath  <roland@hack.frob.com>
27150         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
27151         * sysdeps/arm/unwind.h: ... here.
27153 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
27155         [BZ# 16916]
27156         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
27157         Define.
27159 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27161         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
27162         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
27163         multiarch strncpy for PPC64.
27164         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
27165         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
27166         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
27167         multiarch optimizations.
27168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27169         (__libc_ifunc_impl_list): Likewise.
27170         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
27171         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
27172         multiarch stpncpy for PPC64.
27173         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
27174         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
27176 2014-05-06  Andreas Schwab  <schwab@suse.de>
27178         [BZ #16912]
27179         * gmon/mcount.c (_MCOUNT_DECL): Use
27180         atomic_compare_and_exchange_bool_acq instead of
27181         catomic_compare_and_exchange_bool_acq.
27183 2014-05-05  Roland McGrath  <roland@hack.frob.com>
27185         * elf/Makefile (others, install-bin): Remove pldd.
27186         (pldd-modules): Variable removed.
27187         ($(objpfx)pldd): Target removed.
27188         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
27189         (others, install-bin): Append pldd here.
27190         ($(objpfx)pldd): New target.
27192         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
27193         to 0, so the first #if test emitted later doesn't see it undefined.
27194         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
27195         * sysdeps/gnu/errlist.c: Regenerated.
27197 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27199         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27200         [libc_hidden_builtin_def]: Define to empty value.
27201         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
27202         [libc_hidden_builtin_def]: Likewise.
27203         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
27204         [libc_hidden_builtin_def]: Likewise.
27205         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
27206         [libc_hidden_builtin_def]: Likewise.
27207         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
27208         __redirect_memcpy and define ifunc as default hidden symbol.
27209         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
27210         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
27212 2014-05-04  Adam Conrad  <adconrad@0c3.net>
27214         * locale/iso-4217.def: Reintroduce XDR currency.
27216 2014-05-04  Allan McRae  <allan@archlinux.org>
27218         * po/eo.po: Update Esperanto translation from translation project.
27220 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
27222         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
27223         and FEATURE_INDEX_MAX to 1.
27224         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
27226 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27228         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
27229         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
27230         * iconvdata/big5.c (ONE_DIRECTION): Define.
27231         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
27232         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
27233         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
27234         * iconvdata/cp932.c (ONE_DIRECTION): Define.
27235         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
27236         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
27237         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
27238         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
27239         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
27240         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
27241         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
27242         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
27243         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
27244         * iconvdata/gbk.c (ONE_DIRECTION): Define.
27245         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
27246         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
27247         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
27248         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
27249         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
27250         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
27251         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
27252         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
27253         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
27254         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
27255         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
27256         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
27257         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
27258         * iconvdata/iso646.c (ONE_DIRECTION): Define.
27259         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
27260         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
27261         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
27262         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
27263         * iconvdata/johab.c (ONE_DIRECTION): Define.
27264         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
27265         * iconvdata/sjis.c (ONE_DIRECTION): Define.
27266         * iconvdata/t.61.c (ONE_DIRECTION): Define.
27267         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
27268         * iconvdata/tscii.c (ONE_DIRECTION): Define.
27269         * iconvdata/uhc.c (ONE_DIRECTION): Define.
27270         * iconvdata/unicode.c (ONE_DIRECTION): Define.
27271         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
27272         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
27273         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
27275 2014-05-01  Roland McGrath  <roland@hack.frob.com>
27277         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
27278         (_IO_JUMPS_OFFSET): Define to 0.
27280         * nptl/sysdeps/pthread/bits/libc-lock.h
27281         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27282         (__libc_lock_define_initialized_recursive): Always define using
27283         initializer.  Modern compilers treat uninitialized (implicit zero) and
27284         explicit zero initializers the same (i.e. put the datum in bss).
27286 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27288         * nscd/nscd-client.h: Include <string.h>.
27290 2014-05-01  David S. Miller  <davem@davemloft.net>
27292         [BZ #16885]
27293         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
27294         multiple zero bytes exist at the end of a string.
27295         Reported by Aurelien Jarno <aurelien@aurel32.net>
27297         * string/test-strcmp.c (check): Add explicit test for situations where
27298         there are multiple zero bytes after the first.
27300 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27302         [BZ #16890]
27303         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
27304         when compiling wprintf.
27305         * stdio-common/tstdiomisc.c (t3): New function.
27306         (main): Call it.
27308 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27310         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
27311         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
27312         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
27313         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
27315 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27317         * stdlib/longlong.h: Updated from GCC.
27319 2014-05-01  Will Newton  <will.newton@linaro.org>
27320             Bernard Ogden  <bernie.ogden@linaro.org>
27322         * NEWS: Update fixed bug list.
27324         [BZ #15119]
27325         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
27327 2014-04-30  David S. Miller  <davem@davemloft.net>
27329         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
27330         (libc_feholdexcept_setround_sparc_ctx): New function.
27331         (libc_fesetenv_sparc_ctx): Likewise.
27332         (libc_feupdateenv_sparc_ctx): Likewise.
27333         (libc_feholdsetround_sparc_ctx): Likewise.
27334         (libc_feholdexcept_setround_ctx): Define.
27335         (libc_feholdexcept_setroundf_ctx): Likewise.
27336         (libc_feholdexcept_setroundl_ctx): Likewise.
27337         (libc_fesetenv_ctx): Likewise.
27338         (libc_fesetenvf_ctx): Likewise.
27339         (libc_fesetenvl_ctx): Likewise.
27340         (libc_feupdateenv_ctx): Likewise.
27341         (libc_feupdateenvf_ctx): Likewise.
27342         (libc_feupdateenvl_ctx): Likewise.
27343         (libc_feresetround_ctx): Likewise.
27344         (libc_feresetroundf_ctx): Likewise.
27345         (libc_feresetroundl_ctx): Likewise.
27346         (libc_feholdsetround_ctx): Likewise.
27347         (libc_feholdsetroundf_ctx): Likewise.
27348         (libc_feholdsetroundl_ctx): Likewise.
27350         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27351         with __USE_GNU instead of XOPEN cpp guards.
27353         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
27354         0.
27356         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27357         with XOPEN cpp guards.
27359 2014-04-30  Julian Brown  <julian@codesourcery.com>
27361         [BZ #16888]
27362         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
27363         handling.
27365 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
27367         [BZ #9894]
27368         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
27369         Change to 2.6.32.
27370         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
27371         * sysdeps/unix/sysv/linux/configure: Regenerated.
27372         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
27373         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
27374         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
27375         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
27376         * README: Update reference to required Linux kernel version.
27377         * manual/install.texi (Linux): Update reference to required Linux
27378         kernel headers version.
27379         * INSTALL: Regenerated.
27381         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
27382         header inclusion.
27383         [POSIX] (limits.h): Likewise.
27384         [POSIX] (math.h): Likewise.
27385         [POSIX] (sys/wait.h): Likewise.
27386         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
27387         function.
27388         [POSIX] (stddef.h): Do not allow header inclusion.
27390 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27392         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
27394 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
27396         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
27397         Return immediately after lll_futex_wake.
27399 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27401         [BZ #16791]
27402         * nscd/nscd-client.h (datahead_init_common): Initialize entire
27403         structure.
27404         (datahead_init_pos): Call datahead_init_common early.
27405         (datahead_init_neg): Likewise.
27407         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
27408         datahead_init_neg): New functions.
27409         * nscd/aicache.c (addhstaiX): Use them.
27410         * nscd/grpcache.c (cache_addgr): Likewise.
27411         * nscd/hstcache.c (cache_addhst): Likewise.
27412         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27413         * nscd/netgroupcache.c (do_notfound): Likewise.
27414         (addgetnetgrentX): Likewise.
27415         (addinnetgrX): Likewise.
27416         * nscd/pwdcache.c (cache_addpw): Likewise.
27417         * nscd/servicescache.c (cache_addserv): Likewise.
27419 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27420             Atsushi Onoe  <atsushi@onoe.org>
27422         [BZ #14308]
27423         [BZ #12994]
27424         [BZ #13651]
27425         * resolv/res_query.c (__libc_res_nsearch): Return if at least
27426         one response is valid.
27427         * resolv/res_send.c (send_dg): Check for validity of other
27428         response if the current response is a referral.
27430 2014-04-29  Steve Ellcey  <sellcey@mips.com>
27432         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
27434 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
27436         [BZ #16823]
27437         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
27438         Always divide by positive zero when computing -Inf result.
27439         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27440         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
27442 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27444         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
27445         FPSCR if value do not change.
27446         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27447         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
27448         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27449         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27450         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
27451         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
27452         function.
27454 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
27456         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
27457         * sysdeps/unix/sysv/linux/hppa: Move directory from
27458         ports/systeps/unix/sysv/linux/hppa.
27459         * README: Update listing for hppa-*-linux-gnu.
27461 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
27463         [BZ #16754]
27464         * manual/stdio.texi (Hook functions): Fix types of stream hook
27465         functions.
27466         [BZ #16854]
27467         * socket/sys/socket.h: Fix typo in comment.
27469 2014-04-28  Wilco  <wdijkstr@arm.com>
27471         * sysdeps/arm/fenv_private.h: New file.
27472         * sysdeps/arm/math_private.h: New file.
27473         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
27475 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
27477         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
27478         with __int128_t.
27479         (La_x86_64_retval): Likewise.
27481 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
27483         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
27484         fpsr if value didn't change.
27485         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
27486         to fpcr if value didn't change.
27487         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
27488         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
27489         fpsr or fpcr if value didn't change.
27490         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
27491         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
27492         fpcr if value didn't change.
27493         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
27494         to fpsr if value didn't change.
27496 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27498         * nptl/tst-sem3.c: Use test-skeleton.c
27499         (main): Rename to do_test.  Use return instead of
27500         exit.
27501         * nptl/tst-sem4.c: Use test-skeleton.c
27502         (main): Rename to do_test.
27504 2014-04-22  David S. Miller  <davem@davemloft.net>
27506         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
27507         (struct sigaction): New struct member __glibc_reserved0, change
27508         type of sa_flags to int.
27510 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
27512         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
27513         (COUNT_LEADING_ZEROS_0): Define for AArch64.
27515 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27517         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
27518         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
27520 2014-04-22  Will Newton  <will.newton@linaro.org>
27521             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
27523         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
27524         (__longjmp): Add longjmp and longjmp_target SystemTap
27525         probes.
27526         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
27527         (__sigsetjmp): Add setjmp SystemTap probe.
27529 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
27531         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
27532         match manual order.
27534 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27536         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
27538         * sysdeps/powerpc/fpu/fenv_private.h
27539         (libc_feholdexcept_setroundl_ctx): Define to
27540         libc_feholdexcept_setround_ppc_ctx.
27541         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
27542         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
27543         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
27544         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
27546 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
27548         * sysdeps/aarch64/math-tests.h: New file.
27550 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
27552         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
27553         New.
27554         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27555         Check and set bit_AVX2_Usable.
27556         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
27557         macro.
27558         (bit_AVX2): Likewise.
27559         (index_AVX2_Usable): Likewise.
27560         (CPUID_AVX2): Likewise.
27561         (HAS_AVX2): Likewise.
27563 2014-04-17  Will Newton  <will.newton@linaro.org>
27565         * manual/setjmp.texi (System V contexts): Add note that
27566         calling setcontext on a context created by a call to a
27567         signal handler is undefined.  Update text to note that
27568         setcontext from a signal handler is possible but not
27569         recommended.
27571         [BZ #16629]
27572         * stdlib/tst-setcontext.c: Include signal.h.
27573         (main): Check that the signal stack before and
27574         after swapcontext is the same.
27576         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
27577         Re-implement to restore registers in user code and avoid
27578         rt_sigreturn system call.
27580 2014-04-17  Wilco  <wdijkstr@arm.com>
27582         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
27583         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
27584         * math/test-fenv.c: Skip exception trap tests on targets which only
27585         support non-stop mode.
27587 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
27588             Wilco Dijkstra  <wilco.dijkstra@arm.com>
27590         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
27591         (libc_feholdsetround_aarch64_ctx)
27592         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
27593         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
27594         (libc_feresetround_ctx, libc_feresetroundf_ctx)
27595         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
27596         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
27597         (libc_feresetround_noexl_ctx): Define.
27599 2014-04-16  Richard Henderson  <rth@redhat.com>
27601         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
27603         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
27604         unwind tables.
27606         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
27607         const from the non-libc, non-ldso copy.
27609         * sysdeps/alpha/libm-test-ulps: Regenerate.
27611 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
27612             Wilco Dijkstra  <wilco.dijkstra@arm.com>
27614         * sysdeps/aarch64/fpu/math_private.h: New file.
27616 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27618         * sysdeps/aarch64/libm-test-ulps: Regenerate.
27620 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
27622         [BZ #16275]
27623         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
27624         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
27625         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
27626         Intel MPX bound registers before _dl_profile_fixup.
27627         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
27628         registers after _dl_profile_fixup.  Save and restore bound
27629         registers bnd0/bnd1 when calling _dl_call_pltexit.
27630         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
27631         (LR_BND_OFFSET): Likewise.
27632         (LRV_BND0_OFFSET): Likewise.
27633         (LRV_BND1_OFFSET): Likewise.
27635 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27637         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
27638         to...
27639         * sysdeps/mach/hurd/i386/tls.h: ... here.
27640         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
27641         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
27642         fields.
27644 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27646         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
27648 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27650         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27652 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27654         [BZ #14770]
27655         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
27656         * sysdeps/s390/configure: Regenerate.
27658         [BZ #16824]
27659         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
27660         Set round-to-nearest internally to reduce error accumulation.
27662 2014-04-16  Alan Modra  <amodra@gmail.com>
27664         [BZ #16740]
27665         [BZ #16619]
27666         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
27667         * math/libm-test.inc (frexp_test_data): Add tests.
27668         * NEWS: Update fixed bug list.
27670 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27672         * benchtests/Makefile: Depend on libraries in build directory.
27673         (bench-math): Separate out math tests.
27674         (bench-pthread): Separate out pthread tests.
27675         (bench): Include math and pthread tests.
27677 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
27679         [BZ #16831]
27680         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
27681         _dl_debug_initialize.
27683         * configure.ac: Remove SELinux header check.
27684         * configure: Regenerate.
27685         * nscd/selinux.c (perms): Array of const char* to permission names.
27686         (nscd_request_avc_has_perm): Call security_deny_unknown to find
27687         default policy. Call string_to_security_class and string_to_av_perm to
27688         translate strings. Enforce default policy and call avs_has_perm with
27689         results of translated strings.
27691 2014-04-13  David S. Miller  <davem@davemloft.net>
27693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27695 2014-04-12  Allan McRae  <allan@archlinux.org>
27697         [BZ #16838]
27698         * manual/string.texi (Collation Functions): Fix qsort argument
27699         order in example.
27700         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
27702 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
27704         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
27705         Make the test a no-op if there are no exceptions defined.
27707 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27709         * elf/Makefile (tests): make tst-dlopen-aout conditional on
27710         enable-hardcoded-path-in-tests
27712 2014-04-11  Will Newton  <will.newton@linaro.org>
27714         * benchtests/Makefile (extra-objs): Add json-lib.o.
27715         (bench-func): Tidy up JSON output.
27716         * benchtests/bench-skeleton.c: Include json-lib.h.
27717         (main): Use JSON library functions to do output of
27718         benchmark results.
27719         * benchtests/bench-timing-type.c (main): Output the
27720         timing type simply, leaving formatting to the user.
27721         * benchtests/json-lib.c: New file.
27722         * benchtests/json-lib.h: Likewise.
27724 2014-04-11  Torvald Riegel  <triegel@redhat.com>
27726         [BZ #15215]
27727         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
27728         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
27729         memory barriers.  Add comments.
27730         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
27731         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
27732         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
27733         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
27734         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
27735         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
27737 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27739         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
27740         * sysdeps/s390/s390-64/configure.ac: ... this ...
27741         * sysdeps/s390/configure.ac: ... to here.
27742         * sysdeps/s390/s390-32/configure: Delete file.
27743         * sysdeps/s390/s390-64/configure: Delete file.
27744         * sysdeps/s390/configure: Regenerate.
27746 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
27748         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
27750 2014-04-11  Will Newton  <will.newton@linaro.org>
27752         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
27753         to zero if it is not defined elsewhere.  (mtrim): Test
27754         the value of MALLOC_DEBUG with #if rather than #ifdef.
27756 2014-04-10 Torvald Riegel  <triegel@redhat.com>
27758         * benchtests/pthread_once-inputs: New file.
27759         * benchtests/pthread_once-source.c: New file.
27760         * benchtests/README: Update documentation.
27762 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
27763             H.J. Lu  <hongjiu.lu@intel.com>
27765         [BZ #16275]
27766         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
27767         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
27768         * sysdeps/x86_64/configure: Regenerated.
27769         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
27770         macro.
27771         (REGISTER_SAVE_RAX): Likewise.
27772         (REGISTER_SAVE_RCX): Likewise.
27773         (REGISTER_SAVE_RDX): Likewise.
27774         (REGISTER_SAVE_RSI): Likewise.
27775         (REGISTER_SAVE_RDI): Likewise.
27776         (REGISTER_SAVE_R8): Likewise.
27777         (REGISTER_SAVE_R9): Likewise.
27778         (REGISTER_SAVE_BND0): Likewise.
27779         (REGISTER_SAVE_BND1): Likewise.
27780         (REGISTER_SAVE_BND2): Likewise.
27781         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
27782         bound registers when calling _dl_fixup.
27784 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27786         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
27787         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
27788         of its definition.
27789         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
27790         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
27791         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
27792         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
27793         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
27794         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
27795         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
27797 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
27799         [BZ #15514]
27800         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
27801         pathconf(_PC_NAME_MAX).
27803 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27805         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
27806         Remove macro usage.
27807         (__PTHREAD_SPINS): Move definition to ...
27808         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27809         (__PTHREAD_SPINS): ... here.
27810         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27811         (__PTHREAD_SPIN): Likewise.
27812         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
27813         (__PTHREAD_SPIN): Likewise.
27814         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
27815         (__PTHREAD_SPIN): Likewise.
27816         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
27817         (__PTHREAD_SPIN): Likewise.
27818         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27819         (__PTHREAD_SPIN): Likewise.
27820         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27821         (__PTHREAD_SPIN): Likewise.
27822         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
27823         (__PTHREAD_SPIN): Likewise.
27824         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27825         (__PTHREAD_SPIN): Likewise.
27826         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27827         (__PTHREAD_SPIN): Likewise.
27828         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27829         (__PTHREAD_SPIN): Likewise.
27830         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27831         (__PTHREAD_SPIN): Likewise.
27832         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
27833         (__PTHREAD_SPIN): Likewise.
27835         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
27836         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
27837         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
27838         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
27839         imply folder.
27840         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
27841         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
27842         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
27843         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
27844         correct imply path.
27845         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
27846         strlen symbol for non multi-arch builds.
27847         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
27848         missing hidden_def and weak_alias.
27850 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
27852         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
27854 2014-04-07  Will Newton  <will.newton@linaro.org>
27856         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
27857         and contents.  [!_LIBC] Remove #ifndef and contents.
27858         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
27859         * string/memccpy.c (__memccpy): Use ANSI prototype.
27860         * string/memfrob.c (memfrob): Likewise.
27861         * string/strcoll.c (STRCOLL): Likewise.
27862         * string/strlen.c (strlen): Likewise.
27863         * string/strtok.c (STRTOK): Likewise.
27864         * string/strcat.c: Remove unused #include of memcopy.h.
27865         (strcat): Use ANSI prototype.
27866         * string/strchr.c: Remove unused #include of memcopy.h.
27867         (strchr): Use ANSI prototype.
27868         * string/strcmp.c: Remove unused #include of memcopy.h.
27869         (strcmp): Use ANSI prototype.
27870         * string/strcpy.c: Remove unused #include of memcopy.h.
27871         (strcpy): Use ANSI prototype.
27873 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27875         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
27876         * config.make.in (config-extra-cppflags): Set it from
27877         libc_extra_cppflags.
27878         * configure.ac (libc_extra_cflags): Make it accumulate over
27879         configure fragments.
27880         (libc_extra_cppflags): New flag.
27881         * configure. Regenerate.
27882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27883         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
27884         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
27885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
27887         [BZ #16815]
27888         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
27889         result for FE_DOWNWARD rounding mode.
27890         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
27891         Likewise.
27892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27894 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
27896         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
27897         in function argument name.
27899 2014-04-03  David Svoboda  <svoboda@cert.org>
27901         [BZ #5666]
27902         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
27903         explicitly.
27905 2014-04-03  Roland McGrath  <roland@hack.frob.com>
27907         * elf/dl-unmap-segments.h: New file.
27908         * sysdeps/generic/ldsodefs.h
27909         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
27910         * elf/dl-close.c: Include <dl-unmap-segments.h>.
27911         * elf/dl-fptr.c: Likewise.
27912         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
27913         * sysdeps/aarch64/tlsdesc.c: Likewise.
27914         * sysdeps/arm/tlsdesc.c: Likewise.
27915         * sysdeps/i386/tlsdesc.c: Likewise.
27916         * sysdeps/tile/dl-runtime.c: Likewise.
27917         * sysdeps/x86_64/tlsdesc.c: Likewise.
27918         * elf/dl-load.h: New file.
27919         * elf/dl-load.c: Include it.
27920         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
27921         Macros moved to dl-load.h.
27922         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
27923         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
27924         Use _dl_unmap_segments in place of __munmap.
27925         Break out segment-mapping loop into ...
27926         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
27928 2014-04-03  Will Newton  <will.newton@linaro.org>
27930         * elf/dl-lookup.c (do_lookup_x): Remove comment
27931         referring to nested function and move variable
27932         declarations down to before first use.
27934 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
27936         [BZ #16799]
27937         [BZ #16800]
27938         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
27939         with 0 numerator.
27940         * math/s_catanf.c (__catanf): Likewise.
27941         * math/s_catanh.c (__catanh): Likewise.
27942         * math/s_catanhf.c (__catanhf): Likewise.
27943         * math/s_catanhl.c (__catanhl): Likewise.
27944         * math/s_catanl.c (__catanl): Likewise.
27945         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
27946         by positive zero when computing -Inf result.
27947         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
27948         (catanh_test): Likewise.
27949         * sysdeps/i386/fpu/libm-test-ulps: Update.
27950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27952         [BZ #16789]
27953         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
27954         instead of using underflowing value in computing result.
27955         * math/s_clog10.c (__clog10): Likewise.
27956         * math/s_clog10f.c (__clog10f): Likewise.
27957         * math/s_clog10l.c (__clog10l): Likewise.
27958         * math/s_clogf.c (__clogf): Likewise.
27959         * math/s_clogl.c (__clogl): Likewise.
27960         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
27961         (clog10_test): Likewise.
27962         * sysdeps/i386/fpu/libm-test-ulps: Update.
27963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27965 2014-04-02  Alan Modra  <amodra@gmail.com>
27967         [BZ #16739]
27968         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
27969         output when value is near a power of two.  Use int64_t for lx and
27970         remove casts.  Use decimal rather than hex exponent constants.
27971         Don't use long double multiplication when double will suffice.
27972         * math/libm-test.inc (nextafter_test_data): Add tests.
27973         * NEWS: Add 16739 and 16786 to bug list.
27975         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
27977         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
27979 2014-04-01  Will Newton  <will.newton@linaro.org>
27981         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
27982         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
27984 2014-04-01  Florian Weimer  <fweimer@redhat.com>
27986         [BZ #13347]
27987         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
27988         * nptl/tst-setuid2.c: New file.
27989         * nptl/Makefile (xtests): Add tst-setuid2.
27991 2014-04-01  Alan Modra  <amodra@gmail.com>
27993         [BZ #16786]
27994         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
27996 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
27998         [BZ #6803]
27999         [BZ #6804]
28000         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
28001         set errno as appropriate.
28002         * math/w_scalbf.c (__scalbf): Likewise.
28003         * math/w_scalbl.c (__scalbl): Likewise.
28004         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
28005         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
28006         * math/libm-test.inc (scalb_test_data): Add errno expectations.
28007         Add more NaN tests.
28009         [BZ #16349]
28010         * math/w_atan2.c: Include <errno.h>.
28011         (__atan2): Set errno for result underflowing to zero.
28012         * math/w_atan2f.c: Include <errno.h>.
28013         (__atan2f): Set errno for result underflowing to zero.
28014         * math/w_atan2l.c: Include <errno.h>.
28015         (__atan2l): Set errno for result underflowing to zero.
28016         * math/auto-libm-test-in: Don't allow missing errno for some atan2
28017         tests.
28018         * math/auto-libm-test-out: Regenerated.
28020 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28022         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28023         Encode instruction correctly in little endian.
28024         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28025         Likewise.
28026         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28027         Likewise.
28028         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28029         Likewise.
28030         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28031         Likewise.
28033 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
28035         [BZ #9894]
28036         * sysdeps/unix/sysv/linux/kernel-features.h
28037         [__sparc__ && !__arch64__ && !__sparc_v9__]
28038         (__ASSUME_SET_ROBUST_LIST): Do not define.
28039         [__sparc__ && !__arch64__ && !__sparc_v9__]
28040         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28041         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
28042         Likewise.
28043         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28044         (__ASSUME_FUTEX_LOCK_PI): Undefine.
28045         (__ASSUME_REQUEUE_PI): Likewise.
28046         (__ASSUME_SET_ROBUST_LIST): Likewise.
28047         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28048         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
28049         Undefine.
28050         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28051         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
28052         Likewise.
28053         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
28054         Likewise.
28055         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
28056         Likewise.
28057         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28058         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
28059         Undefine.
28060         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
28061         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
28062         Likewise.
28064         [BZ #16648]
28065         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28066         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
28067         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
28069 2014-03-31  Will Newton  <will.newton@linaro.org>
28071         * benchtests/Makefile (bench): Add ffs and ffsll to list
28072         of tests.
28073         * benchtests/ffs-inputs: New file.
28074         * benchtests/ffsll-inputs: Likewise.
28076 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
28078         [BZ #16770]
28079         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
28080         too large before casting to int.
28081         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
28082         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
28083         * math/libm-test.inc (scalb_test_data): Add more tests.
28085 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28087         * benchtests/Makefile (DETAILED_OPT): New make option.
28088         (bench-func): Run benchmark program with -d if DETAILED_OPT is
28089         set.
28090         * benchtests/bench-skeleton.c: Include stdbool.h.
28091         (main): Store and print timings per input.
28092         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
28093         member to each argument value.
28094         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
28095         (_print_arg_data): Initialize per-input timing to 0.
28097         * benchtests/Makefile (timing-type): New binary.
28098         (bench-clean): Also remove bench-timing-type.
28099         (bench): New target for timing-type.
28100         (bench-func): Print output in JSON format.
28101         * benchtests/bench-skeleton.c (main): Print output in JSON
28102         format.
28103         * benchtests/bench-timing-type.c: New file.
28104         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
28105         (TIMING_PRINT_STATS): Remove.
28106         * benchtests/scripts/bench.py (_print_arg_data): Store variant
28107         name separately.
28109         * benchtests/bench-modf.c: Remove.
28110         * benchtests/modf-inputs: New inputs file.
28112 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
28114         [BZ #16362]
28115         * math/s_clog10.c (M_PI_LOG10E): New macro.
28116         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
28117         imaginary parts are 0.
28118         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
28119         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
28120         imaginary parts are 0.
28121         * math/s_clog10l.c (M_PI_LOG10El): New macro.
28122         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
28123         imaginary parts are 0.
28124         * math/libm-test.inc (clog10_test_data): Update expected results
28125         for when real and imaginary parts are 0.
28127 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
28129         * elf/dl-load.c: Finish conversion of __builtin_expect into
28130         __glibc_{un}likely.
28132 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
28134         [BZ #16348]
28135         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
28136         1+x for argument with exponent below -67.
28137         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
28138         Likewise.
28139         * math/auto-libm-test-in: Add more tests of exp.
28140         * math/auto-libm-test-out: Regenerated.
28142 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28144         [BZ #16759]
28145         * inet/getnetgrent_r.c (get_nonempty_val): New function.
28146         (nscd_getnetgrent): Use it.
28148         [BZ #16760]
28149         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
28150         of stpcpy.
28152 2014-03-27  Andi Kleen  <ak@linux.intel.com>
28154         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
28155         (lll_robust_lock, lll_cond_lock, lll_timedlock)
28156         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
28157         (lll_robust_unlock): Remove out of line section. Use cfi
28158         intrinsics.
28159         (LLL_STUB_UNWIND_INFO*): Remove.
28160         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
28161         (lll_robust_lock, lll_cond_lock, lll_timedlock)
28162         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
28163         (lll_robust_unlock): Remove out of line section. Use cfi
28164         intrinsics.
28165         (LLL_STUB_UNWIND_INFO*): Remove.
28167 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28169         [BZ #16758]
28170         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
28171         blank values.
28173 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
28175         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
28177 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
28179         [BZ #16198]
28180         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
28181         fnstenv.
28182         * math/test-fenv-preserve.c: New file.
28183         * math/Makefile (tests): Add test-fenv-preserve.
28185 2014-03-26  Will Newton <will.newton@linaro.org>
28187         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
28189 2014-03-25  Roland McGrath  <roland@hack.frob.com>
28191         * scripts/versionlist.awk: Partition the version sets and emit all
28192         GLIBC_* (sorted) before all others (sorted).
28194 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28196         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
28197         GLIBC_2.2.5 version.
28199 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28201         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
28202         calls.
28204         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
28205         previous change.
28207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28209 2014-03-25  Andreas Schwab  <schwab@suse.de>
28211         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
28212         label to be used after in6ailist is initialized.
28214 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28216         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28217         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28219 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28221         [BZ #16357]
28222         [BZ #16599]
28223         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
28224         min_plus_half.
28225         (fp_formats): Update initializers.
28226         (init_fp_formats): Initialize new field.
28227         (output_for_one_input_case): Allow underflow for results up to
28228         min_plus_half.
28229         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
28230         * math/auto-libm-test-in: Don't mark some underflows from asin and
28231         atanh as spurious.
28232         * math/auto-libm-test-out: Regenerated.
28233         * sysdeps/i386/fpu/libm-test-ulps: Update.
28234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28236 2014-03-25  Andreas Schwab  <schwab@suse.de>
28238         * libio/Makefile (tst-ftell-partial-wide-ENV)
28239         (tst-ftell-active-handler-ENV): Define.
28241 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
28243         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
28245 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28247         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
28249 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28251         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
28252         * sysdeps/x86_64/fpu/multiarch/e_exp.c
28253         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28255 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28257         [BZ #16634]
28258         * elf/dl-load.c (open_verify): Add mode parameter.
28259         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
28260         (open_path): Change from boolean 'secure' to complete flag 'mode'
28261         (_dl_map_object): Adjust.
28262         * elf/Makefile (tests): Add tst-dlopen-aout.
28263         * elf/tst-dlopen-aout.c: New test.
28265 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
28267         [BZ #16714]
28268         * sysdeps/unix/sysv/linux/s390/bits/stat.h
28269         (struct stat): Rename member pad0 to __glibc_reserved0.
28271         [BZ #16712]
28272         * sysdeps/s390/s390-32/bits/wordsize.h
28273         (__WORDSIZE32_SIZE_ULONG): New define.
28274         * sysdeps/s390/s390-64/bits/wordsize.h
28275         (__WORDSIZE32_SIZE_ULONG): Likewise.
28276         * sysdeps/generic/stdint.h (SIZE_MAX):
28277         Define as UL if __WORDSIZE32_SIZE_ULONG.
28279         [BZ #16713]
28280         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
28281         (__glibc_reserved0): New variable.
28282         (sa_flags): Change type to int.
28284         * posix/Makefile (before-compile): Use += before-compile instead
28285         of a :=.
28287         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28288         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28290 2014-03-20  Andreas Schwab  <schwab@suse.de>
28292         [BZ #16743]
28293         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
28294         non-matching result from nscd.
28296 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28298         * scripts/bench.py: Moved to ...
28299         * benchtests/scripts/bench.py: ... here.
28300         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
28302 2014-03-24  Andreas Schwab  <schwab@suse.de>
28304         [BZ #16002]
28305         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
28306         alloca_account and account alloca use for struct in6ailist.
28308 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28310         [BZ #16284]
28311         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
28312         rounding mode to recompute results that overflow to infinity or
28313         underflow to zero.
28314         * math/auto-libm-test-in: Don't mark tests as expected to fail for
28315         bug 16284.
28316         * math/auto-libm-test-out: Regenerated.
28317         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
28318         (ccosh_test): Likewise.
28319         (csin_test_data): Use plus_oflow.
28320         (csin_test): Use ALL_RM_TEST.
28321         (csinh_test_data): Use plus_oflow.
28322         (csinh_test): Use ALL_RM_TEST.
28323         * sysdeps/i386/fpu/libm-test-ulps: Update.
28324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28326 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
28328         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
28329         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
28330         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
28332         [BZ #16731]
28333         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
28334         when x - 1 is zero.
28335         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
28336         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
28337         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
28338         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
28339         argument is 1.
28340         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
28341         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
28342         zero.
28343         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
28344         * sysdeps/i386/fpu/libm-test-ulps: Update.
28345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28347 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28349         * scripts/bench.pl: Remove file.
28350         * scripts/bench.py: New benchmark script.
28351         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
28352         * benchtests/README: Mention python dependency.
28353         * scripts/pylintrc: New file.
28354         * scripts/pylint: New file.
28356         * bits/mathdef.h: Use #ifdef instead of #if.
28357         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
28358         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28359         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
28360         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28361         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
28362         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28364 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28365             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28367         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
28368         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
28369         and strpbrk-ppc64 objects.
28370         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28371         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
28372         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
28373         multiarch strpbrk for POWER7.
28374         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
28375         multiarch strpbrk for PPC64.
28376         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
28377         ifunc selector.
28378         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
28379         strpbrk for POWER7.
28381 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28383         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
28384         (atan_test): Likewise.
28385         (atanh_test_data): Use NO_TEST_INLINE for two tests.
28386         (atanh_test): Use ALL_RM_TEST.
28387         (atan2_test_data): Likewise.
28388         (cabs_test): Likewise.
28389         (cacosh_test): Likewise.
28390         (carg_test): Likewise.
28391         (casin_test): Likewise.
28392         (casinh_test): Likewise.
28393         (cbrt_test): Likewise.
28394         (csqrt_test): Likewise.
28395         (erf_test): Likewise.
28396         (erfc_test): Likewise.
28397         (pow10_test): Likewise.
28398         (exp2_test): Likewise.
28399         (hypot_test): Likewise.
28400         (j0_test): Likewise.
28401         (j1_test): Likewise.
28402         (lgamma_test): Likewise.
28403         (gamma_test): Likewise.
28404         (sincos_test): Likewise.
28405         (tanh_test): Likewise.
28406         (y0_test): Likewise.
28407         (y1_test): Likewise.
28408         * sysdeps/i386/fpu/libm-test-ulps: Update.
28409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28411 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28413         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
28414         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
28415         and strcspn-ppc64 objects.
28416         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28417         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
28418         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
28419         multiarch strcspn for POWER7.
28420         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
28421         multiarch strcspn for PPC64.
28422         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
28423         ifunc selector.
28424         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
28425         strcspn for POWER7.
28427 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28429         * math/gen-libm-test.pl (generate_testfile): Expect only function
28430         name as argument to AUTO_TESTS_* and pass results for all rounding
28431         modes to parse_args.
28432         (parse_auto_input): Separate inputs of automatic tests from
28433         outputs before storing in %auto_tests.
28434         * math/libm-test.inc (acos_test_data): Update call to
28435         AUTO_TESTS_f_f.
28436         (acos_test): Use ALL_RM_TEST.
28437         (acos_tonearest_test_data): Remove.
28438         (acos_test_tonearest): Likewise.
28439         (acos_towardzero_test_data): Likewise.
28440         (acos_test_towardzero): Likewise.
28441         (acos_downward_test_data): Likewise.
28442         (acos_test_downward): Likewise.
28443         (acos_upward_test_data): Likewise.
28444         (acos_test_upward): Likewise.
28445         (acosh_test_data): Update call to AUTO_TESTS_f_f.
28446         (asin_test_data): Likewise.
28447         (asin_test): Use ALL_RM_TEST.
28448         (asin_tonearest_test_data): Remove.
28449         (asin_test_tonearest): Likewise.
28450         (asin_towardzero_test_data): Likewise.
28451         (asin_test_towardzero): Likewise.
28452         (asin_downward_test_data): Likewise.
28453         (asin_test_downward): Likewise.
28454         (asin_upward_test_data): Likewise.
28455         (asin_test_upward): Likewise.
28456         (asinh_test_data): Update call to AUTO_TESTS_f_f.
28457         (atan_test_data): Likewise.
28458         (atanh_test_data): Likewise.
28459         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
28460         (cabs_test_data): Update call to AUTO_TESTS_c_f.
28461         (carg_test_data): Likewise.
28462         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
28463         (ccos_test_data): Update call to AUTO_TESTS_c_c.
28464         (ccosh_test_data): Likewise.
28465         (cexp_test_data): Likewise.
28466         (clog_test_data): Likewise.
28467         (clog10_test_data): Likewise.
28468         (cos_test_data): Update call to AUTO_TESTS_f_f.
28469         (cos_test): Use ALL_RM_TEST.
28470         (cos_tonearest_test_data): Remove.
28471         (cos_test_tonearest): Likewise.
28472         (cos_towardzero_test_data): Likewise.
28473         (cos_test_towardzero): Likewise.
28474         (cos_downward_test_data): Likewise.
28475         (cos_test_downward): Likewise.
28476         (cos_upward_test_data): Likewise.
28477         (cos_test_upward): Likewise.
28478         (cosh_test_data): Update call to AUTO_TESTS_f_f.
28479         (cosh_test): Use ALL_RM_TEST.
28480         (cosh_tonearest_test_data): Remove.
28481         (cosh_test_tonearest): Likewise.
28482         (cosh_towardzero_test_data): Likewise.
28483         (cosh_test_towardzero): Likewise.
28484         (cosh_downward_test_data): Likewise.
28485         (cosh_test_downward): Likewise.
28486         (cosh_upward_test_data): Likewise.
28487         (cosh_test_upward): Likewise.
28488         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
28489         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
28490         (ctan_test_data): Likewise.
28491         (ctan_test): Use ALL_RM_TEST.
28492         (ctan_tonearest_test_data): Remove.
28493         (ctan_test_tonearest): Likewise.
28494         (ctan_towardzero_test_data): Likewise.
28495         (ctan_test_towardzero): Likewise.
28496         (ctan_downward_test_data): Likewise.
28497         (ctan_test_downward): Likewise.
28498         (ctan_upward_test_data): Likewise.
28499         (ctan_test_upward): Likewise.
28500         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
28501         (ctanh_test): Use ALL_RM_TEST.
28502         (ctanh_tonearest_test_data): Remove.
28503         (ctanh_test_tonearest): Likewise.
28504         (ctanh_towardzero_test_data): Likewise.
28505         (ctanh_test_towardzero): Likewise.
28506         (ctanh_downward_test_data): Likewise.
28507         (ctanh_test_downward): Likewise.
28508         (ctanh_upward_test_data): Likewise.
28509         (ctanh_test_upward): Likewise.
28510         (erf_test_data): Update call to AUTO_TESTS_f_f.
28511         (erfc_test_data): Likewise.
28512         (exp_test_data): Likewise.
28513         (exp_test): Use ALL_RM_TEST.
28514         (exp_tonearest_test_data): Remove.
28515         (exp_test_tonearest): Likewise.
28516         (exp_towardzero_test_data): Likewise.
28517         (exp_test_towardzero): Likewise.
28518         (exp_downward_test_data): Likewise.
28519         (exp_test_downward): Likewise.
28520         (exp_upward_test_data): Likewise.
28521         (exp_test_upward): Likewise.
28522         (exp10_test_data): Update call to AUTO_TESTS_f_f.
28523         (exp10_test): Use ALL_RM_TEST.
28524         (exp10_tonearest_test_data): Remove.
28525         (exp10_test_tonearest): Likewise.
28526         (exp10_towardzero_test_data): Likewise.
28527         (exp10_test_towardzero): Likewise.
28528         (exp10_downward_test_data): Likewise.
28529         (exp10_test_downward): Likewise.
28530         (exp10_upward_test_data): Likewise.
28531         (exp10_test_upward): Likewise.
28532         (exp2_test_data): Update call to AUTO_TESTS_f_f.
28533         (expm1_test_data): Likewise.
28534         (expm1_test): Use ALL_RM_TEST.
28535         (expm1_tonearest_test_data): Remove.
28536         (expm1_test_tonearest): Likewise.
28537         (expm1_towardzero_test_data): Likewise.
28538         (expm1_test_towardzero): Likewise.
28539         (expm1_downward_test_data): Likewise.
28540         (expm1_test_downward): Likewise.
28541         (expm1_upward_test_data): Likewise.
28542         (expm1_test_upward): Likewise.
28543         (fma_test_data): Update call to AUTO_TESTS_fff_f.
28544         (fma_test): Use ALL_RM_TEST.
28545         (fma_towardzero_test_data): Remove.
28546         (fma_test_towardzero): Likewise.
28547         (fma_downward_test_data): Likewise.
28548         (fma_test_downward): Likewise.
28549         (fma_upward_test_data): Likewise.
28550         (fma_test_upward): Likewise.
28551         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
28552         (j0_test_data): Update call to AUTO_TESTS_f_f.
28553         (j1_test_data): Likewise.
28554         (jn_test_data): Update call to AUTO_TESTS_if_f.
28555         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
28556         (log_test_data): Update call to AUTO_TESTS_f_f.
28557         (log10_test_data): Likewise.
28558         (log1p_test_data): Likewise.
28559         (log2_test_data): Likewise.
28560         (pow_test_data): Update call to AUTO_TESTS_ff_f.
28561         (pow_tonearest_test_data): Likewise.
28562         (sin_test_data): Update call to AUTO_TESTS_f_f.
28563         (sin_test): Use ALL_RM_TEST.
28564         (sin_tonearest_test_data): Remove.
28565         (sin_test_tonearest): Likewise.
28566         (sin_towardzero_test_data): Likewise.
28567         (sin_test_towardzero): Likewise.
28568         (sin_downward_test_data): Likewise.
28569         (sin_test_downward): Likewise.
28570         (sin_upward_test_data): Likewise.
28571         (sin_test_upward): Likewise.
28572         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
28573         (sinh_test_data): Update call to AUTO_TESTS_f_f.
28574         (sinh_test): Use ALL_RM_TEST.
28575         (sinh_tonearest_test_data): Remove.
28576         (sinh_test_tonearest): Likewise.
28577         (sinh_towardzero_test_data): Likewise.
28578         (sinh_test_towardzero): Likewise.
28579         (sinh_downward_test_data): Likewise.
28580         (sinh_test_downward): Likewise.
28581         (sinh_upward_test_data): Likewise.
28582         (sinh_test_upward): Likewise.
28583         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
28584         (sqrt_test): Use ALL_RM_TEST.
28585         (sqrt_tonearest_test_data): Remove.
28586         (sqrt_test_tonearest): Likewise.
28587         (sqrt_towardzero_test_data): Likewise.
28588         (sqrt_test_towardzero): Likewise.
28589         (sqrt_downward_test_data): Likewise.
28590         (sqrt_test_downward): Likewise.
28591         (sqrt_upward_test_data): Likewise.
28592         (sqrt_test_upward): Likewise.
28593         (tan_test_data): Update call to AUTO_TESTS_f_f.
28594         (tan_test): Use ALL_RM_TEST.
28595         (tan_tonearest_test_data): Remove.
28596         (tan_test_tonearest): Likewise.
28597         (tan_towardzero_test_data): Likewise.
28598         (tan_test_towardzero): Likewise.
28599         (tan_downward_test_data): Likewise.
28600         (tan_test_downward): Likewise.
28601         (tan_upward_test_data): Likewise.
28602         (tan_test_upward): Likewise.
28603         (tanh_test_data): Update call to AUTO_TESTS_f_f.
28604         (tgamma_test_data): Likewise.
28605         (y0_test_data): Likewise.
28606         (y1_test_data): Likewise.
28607         (yn_test_data): Update call to AUTO_TESTS_if_f.
28608         (main): Do not call removed functions.
28610 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
28612         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
28613         (ldexp_test_data): Remove.
28614         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
28615         scalbn_test_data.
28616         (scalb_test): Use ALL_RM_TEST.
28618 2014-03-19  Andreas Schwab  <schwab@suse.de>
28620         * nscd/nscd.service: Also invalidate netgroup cache on reload.
28622 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
28624         [BZ #16649]
28625         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28626         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
28627         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
28628         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28629         (__ASSUME_PREADV): Undefine.
28630         (__ASSUME_PWRITEV): Likewise.
28632 2014-03-18  Roland McGrath  <roland@hack.frob.com>
28634         * bits/mman-linux.h: Add comment about non-Linux use.
28635         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
28636         bits/mman-linux.h resting place.
28638         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
28639         * bits/mman-linux.h: ... here.
28641 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28643         * conform/conformtest.pl: Add standard definition when calling C
28644         preprocessor on data files.
28645         (checknamespace): Remove unused variable.
28647 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
28649         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
28650         minus_oflow, plus_uflow and minus_uflow in expected results.
28651         * math/libm-test.inc (scalbn_test_data): Add more tests of
28652         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
28653         minus_uflow.
28654         (scalbn_test): Use ALL_RM_TEST.
28655         (scalbln_test_data): Add more tests of negative arguments.  Use
28656         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
28657         (scalbln_test): Use ALL_RM_TEST.
28659 2014-03-18  Roland McGrath  <roland@hack.frob.com>
28661         * scripts/abilist.awk: Ignore symbols marked with .hidden.
28663 2014-03-18  Will Newton  <will.newton@linaro.org>
28665         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
28666         inaccurate comment.
28668 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
28670         * Makerules [!subdir] (check-abi): Exit with error status if a
28671         test failed.
28673 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
28675         * math/libm-test.inc (nearbyint_test_data): Include all tests used
28676         for rint.  Include results for all rounding modes.
28677         (nearbyint_test): Use ALL_RM_TEST.
28678         (rint_test_data): Include all tests used for nearbyint.
28680 2014-03-17  Will Newton  <will.newton@linaro.org>
28682         * nptl/sysdeps/pthread/pthread.h: Revert previous
28683         change.
28685         * sysdeps/generic/ldsodefs.h: Revert previous
28686         change.
28688         * libio/genops.c: Revert previous change.
28689         * libio/libioP.h: Likewise.
28690         * stdio-common/vfprintf.c: Likewise.
28692         * sysdeps/generic/math_private.h: Revert previous
28693         change.
28695         * sysdeps/generic/math_private.h: Check whether
28696         HAVE_RM_CTX is defined with #ifdef rather
28697         than #if.
28699         * argp/argp-fmtstream.h: Check whether
28700         __STRICT_ANSI__ is defined with #ifdef rather
28701         than #if.
28702         * argp/argp.h: Likewise.
28704         * libio/genops.c: Check whether
28705         _IO_JUMPS_OFFSET is defined with #ifdef rather
28706         than #if.
28707         * libio/libioP.h: Likewise.
28708         * stdio-common/vfprintf.c: Likewise.
28710         * sysdeps/generic/ldsodefs.h: Check whether
28711         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
28712         than #if.
28714         * nptl/sysdeps/pthread/pthread.h: Check
28715         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
28716         its value.
28718 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28720         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
28721         setting O_APPEND.
28722         * libio/tst-ftell-active-handler.c (do_append_test): Add a
28723         test case.
28725         [BZ #16680]
28726         * libio/fileops.c (_IO_file_open): Seek to end of file but
28727         don't cache the offset.
28728         (get_file_offset): Remove function.
28729         (do_ftell): Use cached offset when available.
28730         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
28731         don't cache the offset.
28732         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
28733         case.
28734         (do_one_test): Call it.
28735         (do_ftell_test): Fix up expected old offset for a+ mode.
28736         * libio/wfileops.c (do_ftell_wide): Used cached offset when
28737         available.
28739         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
28740         up test status with function return status.
28741         (do_write_test): Likewise.
28742         (do_append_test): Likewise.
28744         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
28745         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
28746         Remove.
28748 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
28750         * math/gen-libm-test.pl (parse_args): Handle results specified for
28751         each rounding mode separately.
28752         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
28753         tests and results from lrint_tonearest_test_data,
28754         lrint_towardzero_test_data, lrint_downward_test_data and
28755         lrint_upward_test_data.
28756         (lrint_test): Use ALL_RM_TEST.
28757         (lrint_tonearest_test_data): Remove.
28758         (lrint_test_tonearest): Likewise.
28759         (lrint_towardzero_test_data): Likewise.
28760         (lrint_test_towardzero): Likewise.
28761         (lrint_downward_test_data): Likewise.
28762         (lrint_test_downward): Likewise.
28763         (lrint_upward_test_data): Likewise.
28764         (lrint_test_upward): Likewise.
28765         (llrint_test_data): Merge in per-rounding-mode tests and results
28766         from llrint_tonearest_test_data, llrint_towardzero_test_data,
28767         llrint_downward_test_data and llrint_upward_test_data.
28768         (llrint_test): Use ALL_RM_TEST.
28769         (llrint_tonearest_test_data): Remove.
28770         (llrint_test_tonearest): Likewise.
28771         (llrint_towardzero_test_data): Likewise.
28772         (llrint_test_towardzero): Likewise.
28773         (llrint_downward_test_data): Likewise.
28774         (llrint_test_downward): Likewise.
28775         (llrint_upward_test_data): Likewise.
28776         (llrint_test_upward): Likewise.
28777         (rint_test_data): Merge in per-rounding-mode tests and results
28778         from rint_tonearest_test_data, rint_towardzero_test_data,
28779         rint_downward_test_data and rint_upward_test_data.  Add
28780         per-rounding-mode results for tests not in those arrays.
28781         (rint_test): Use ALL_RM_TEST.
28782         (rint_tonearest_test_data): Remove.
28783         (rint_test_tonearest): Likewise.
28784         (rint_towardzero_test_data): Likewise.
28785         (rint_test_towardzero): Likewise.
28786         (rint_downward_test_data): Likewise.
28787         (rint_test_downward): Likewise.
28788         (rint_upward_test_data): Likewise.
28789         (rint_test_upward): Likewise.
28790         (main): Don't call removed functions.
28792 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28794         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
28795         "Compiled on ..." crapola.  It is anti-useful.
28797 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
28799         * scripts/evaluate-test.sh: Handle fourth argument to determine
28800         whether test run should stop on failure.
28801         * Makeconfig (stop-on-test-failure): New variable.
28802         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
28803         $(stop-on-test-failure).
28804         * Makefile (tests): Give a summary of results from testing and
28805         exit with failure status if they include an ERROR or FAIL.
28806         (xtests): Likewise.
28807         * manual/install.texi (Configuring and compiling): Mention
28808         stop-on-test-failure=y.
28809         * INSTALL: Regenerated.
28811 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28813         * scripts/versionlist.awk: New file.
28814         * Makerules [$(build-shared) = yes]
28815         (postclean-generated): Add Versions.def, not Versions.def.v and
28816         Versions.def.v.i.
28817         ($(common-objpfx)Versions.def.v.i): Target removed.
28818         ($(common-objpfx)Versions.def): New target.
28819         ($(common-objpfx)Versions.all): Depend on that rather that
28820         $(common-objpfx)Versions.def.v.
28821         * Versions.def: File removed.
28823         * Makeconfig (+gccwarn): Add -Wundef.
28824         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
28825         a dl-sysdep.h breaking its contract.
28826         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
28827         * include/stackinfo.h: New file.
28828         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
28829         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
28830         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
28831         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
28832         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
28833         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
28834         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28835         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28836         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28837         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28838         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28839         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
28840         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28841         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28842         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28844 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28846         [BZ #16707]
28847         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
28848         implementation.
28849         * math/libm-test.inc (round_test_data): Add more tests.
28851         [BZ #16706]
28852         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
28853         implementation.
28854         * math/libm-test.inc (nearbyint_test_data): Add more tests.
28856         [BZ #16701]
28857         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
28858         implementation.
28859         * math/libm-test.inc (ceil_test_data): Add more tests.
28861         * math/libm-test.inc (trunc_test_data): Add more tests related to
28862         BZ#16414.
28864 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28866         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
28867         with #if rather than #ifdef.
28868         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
28870 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
28872         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
28873         first.  Disable AVX-512 GCC support if assembler doesn't support
28874         it.
28875         * sysdeps/x86_64/configure: Regenerated.
28877 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
28879         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
28880         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
28881         (__old_pthread_attr_setstack): Likewise.
28882         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
28883         [!_STACK_GROWS_DOWN]: Likewise.
28885 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
28887         * config.make.in (have-bash2): Delete.
28888         * configure.ac (libc_cv_have_bash2): Delete.
28889         * configure: Regenerate.
28890         * elf/Makefile (common-ldd-rewrite): Rename to ...
28891         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
28892         (sh-ldd-rewrite): Delete.
28893         (bash-ldd-rewrite): Delete.
28894         (have-bash2): Delete checks.
28895         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
28896         ldd-rewrite.
28898         * config.make.in (have-ksh): Delete.
28899         (KSH): Delete.
28900         * configure.ac (libc_cv_have_ksh): Delete.
28901         * configure: Regenerate.
28903         * elf/Makefile: Delete $(have-ksh) check.
28904         ($(objpfx)sotruss): Change KSH to BASH.
28905         * elf/sotruss.ksh: Rename to ...
28906         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
28907         function style to match POSIX.  Drop ksh vim mode setting.
28909         * manual/time.texi (Specifying the Time Zone with TZ): Change
28910         Tuesday to Thursday.
28912         * debug/tst-longjmp_chk2.c: Update header comment.
28913         (stackoverflow_handler): Add comment.  Call assert on pass value.
28915 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
28917         [BZ #16194]
28918         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
28919         (HAVE_AVX512_ASM_SUPPORT): Likewise.
28920         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
28921         (La_x86_64_vector): Add zmm.
28922         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
28923         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
28924         ($(objpfx)tst-audit10): New target.
28925         ($(objpfx)tst-audit10.out): Likewise.
28926         (tst-audit10-ENV): New.
28927         (AVX512-CFLAGS): Likewise.
28928         (CFLAGS-tst-audit10.c): Likewise.
28929         (CFLAGS-tst-auditmod10a.c): Likewise.
28930         (CFLAGS-tst-auditmod10b.c): Likewise.
28931         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
28932         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
28933         * sysdeps/x86_64/configure: Regenerated.
28934         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
28935         AVX-512 zmm register support.
28936         (_dl_x86_64_save_sse): Likewise.
28937         (_dl_x86_64_restore_sse): Likewise.
28938         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
28939         size vector registers.
28940         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
28941         (ZMM_SIZE): Likewise.
28942         * sysdeps/x86_64/tst-audit10.c: New file.
28943         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
28944         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
28946 2014-03-13  Roland McGrath  <roland@hack.frob.com>
28948         * configure.ac (HAVE_EHDR_START): New check.
28949         * configure: Regenerated.
28950         * config.h.in (HAVE_EHDR_START): New #undef.
28951         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
28952         assuming the lowest-addressed segment maps the start of the file.
28954 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
28956         * INSTALL: Regenerated.
28958 2014-03-13  Will Newton  <will.newton@linaro.org>
28960         * manual/setjmp.texi (System V contexts): Improve
28961         clarity and grammar of documentation.
28963 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
28965         [BZ #16381]
28966         * elf/Makefile (tests): Add tst-pie2.
28967         (tests-pie): Add tst-pie2.
28968         * elf/tst-pie2.c: New file.
28969         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
28970         for ET_EXEC.
28971         * elf/rtld.c (map_doit): Load executable as lt_executable.
28972         (dl_main): Likewise.
28974 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
28976         [BZ #16642]
28977         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28978         (__ASSUME_PSELECT): Undefine.
28980 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28982         [BZ #16689]
28983         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
28984         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
28985         static build.
28986         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
28987         selector for static builds.
28989 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28991         [BZ #16695]
28992         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
28993         key in the buffer.
28995 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28997         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
28998         IFUNC selector for static builds.
29000 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
29002         * sysdeps/mips/math_private.h [__mips_hard_float]
29003         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
29004         libc_feresetround_mips_ctx.
29005         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
29006         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
29007         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
29009         [BZ #16677]
29010         * math/s_nextafter.c (__nextafter): Do not return value from
29011         overflowing computation.
29012         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
29013         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
29014         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
29015         Likewise.
29016         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
29017         Likewise.
29018         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
29019         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
29021 2014-03-11  Roland McGrath  <roland@hack.frob.com>
29023         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
29024         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
29025         Move sfi_sp use from the load-multiple (that no longer sets sp) to
29026         the new mov targetting sp.
29028 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29030         [BZ #16683]
29031         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
29032         Define it for static builds as well.
29033         (NO_BZERO_IMPL): Likewise.
29035 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29037         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
29038         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
29039         multiarch strspn for PPC64.
29040         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
29041         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
29042         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29043         (__libc_ifunc_impl_list): Likewise.
29044         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
29045         multiarch optimizations
29046         * string/strspn.c (strspn): Using macro to redefine symbol name.
29048 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29049             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29051         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
29052         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
29053         multiarch strncat for PPC64.
29054         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
29055         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
29056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29057         (__libc_ifunc_impl_list): Likewise.
29058         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
29059         multiarch optimizations
29061 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29063         [BZ #16639]
29064         * nscd/nscd.service: Make service type forking.
29066 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29068         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
29069         sign in non default rounding modes.
29070         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
29072 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
29074         * math/libm-test.inc (ALL_RM_TEST): New macro.
29075         (ceil_test): Use ALL_RM_TEST.
29076         (cimag_test): Likewise.
29077         (conj_test): Likewise.
29078         (copysign_test): Likewise.
29079         (cproj_test): Likewise.
29080         (creal_test): Likewise.
29081         (fabs_test): Likewise.
29082         (floor_test): Likewise.
29083         (fmax_test): Likewise.
29084         (fmin_test): Likewise.
29085         (fmod_test): Likewise.
29086         (fpclassify_test): Likewise.
29087         (frexp_test): Likewise.
29088         (ilogb_test): Likewise.
29089         (isfinite_test): Likewise.
29090         (finite_test): Likewise.
29091         (isgreater_test): Likewise.
29092         (isgreaterequal_test): Likewise.
29093         (isinf_test): Likewise.
29094         (isless_test): Likewise.
29095         (islessequal_test): Likewise.
29096         (islessgreater_test): Likewise.
29097         (isnan_test): Likewise.
29098         (isnormal_test): Likewise.
29099         (issignaling_test): Likewise.
29100         (isunordered_test): Likewise.
29101         (logb_test): Likewise.
29102         (logb_downward_test_data): Remove.
29103         (logb_test_downward): Likewise.
29104         (lround_test): Use ALL_RM_TEST.
29105         (llround_test): Likewise.
29106         (modf_test): Likewise.
29107         (nexttoward_test): Likewise.
29108         (remainder_test): Likewise.
29109         (drem_test): Likewise.
29110         (remainder_tonearest_test_data): Likewise.
29111         (remainder_test_tonearest): Likewise.
29112         (drem_test_tonearest): Likewise.
29113         (remainder_towardzero_test_data): Likewise.
29114         (remainder_test_towardzero): Likewise.
29115         (drem_test_towardzero): Likewise.
29116         (remainder_downward_test_data): Likewise.
29117         (remainder_test_downward): Likewise.
29118         (drem_test_downward): Likewise.
29119         (remainder_upward_test_data): Likewise.
29120         (remainder_test_upward): Likewise.
29121         (drem_test_upward): Likewise.
29122         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
29123         (round_test): Use ALL_RM_TEST.
29124         (signbit_test): Likewise.
29125         (trunc_test): Likewise.
29126         (significand_test): Likewise.
29127         (main): Don't call removed functions.
29129 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
29131         [BZ #16674]
29132         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
29133         || __USE_XOPEN2K8].
29134         (ILL_ILLOPN): Likewise.
29135         (ILL_ILLADR): Likewise.
29136         (ILL_ILLTRP): Likewise.
29137         (ILL_PRVOPC): Likewise.
29138         (ILL_PRVREG): Likewise.
29139         (ILL_COPROC): Likewise.
29140         (ILL_BADSTK): Likewise.
29141         (FPE_INTDIV): Likewise.
29142         (FPE_INTOVF): Likewise.
29143         (FPE_FLTDIV): Likewise.
29144         (FPE_FLTOVF): Likewise.
29145         (FPE_FLTUND): Likewise.
29146         (FPE_FLTRES): Likewise.
29147         (FPE_FLTINV): Likewise.
29148         (FPE_FLTSUB): Likewise.
29149         (SEGV_MAPERR): Likewise.
29150         (SEGV_ACCERR): Likewise.
29151         (BUS_ADRALN): Likewise.
29152         (BUS_ADRERR): Likewise.
29153         (BUS_OBJERR): Likewise.
29154         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29155         (TRAP_TRACE): Likewise.
29156         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29157         __USE_XOPEN2K8].
29158         (CLD_KILLED): Likewise.
29159         (CLD_DUMPED): Likewise.
29160         (CLD_TRAPPED): Likewise.
29161         (CLD_STOPPED): Likewise.
29162         (CLD_CONTINUED): Likewise.
29163         (POLL_IN): Likewise.
29164         (POLL_OUT): Likewise.
29165         (POLL_MSG): Likewise.
29166         (POLL_ERR): Likewise.
29167         (POLL_PRI): Likewise.
29168         (POLL_HUP): Likewise.
29169         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
29170         Likewise.
29171         (ILL_ILLOPN): Likewise.
29172         (ILL_ILLADR): Likewise.
29173         (ILL_ILLTRP): Likewise.
29174         (ILL_PRVOPC): Likewise.
29175         (ILL_PRVREG): Likewise.
29176         (ILL_COPROC): Likewise.
29177         (ILL_BADSTK): Likewise.
29178         (FPE_INTDIV): Likewise.
29179         (FPE_INTOVF): Likewise.
29180         (FPE_FLTDIV): Likewise.
29181         (FPE_FLTOVF): Likewise.
29182         (FPE_FLTUND): Likewise.
29183         (FPE_FLTRES): Likewise.
29184         (FPE_FLTINV): Likewise.
29185         (FPE_FLTSUB): Likewise.
29186         (SEGV_MAPERR): Likewise.
29187         (SEGV_ACCERR): Likewise.
29188         (BUS_ADRALN): Likewise.
29189         (BUS_ADRERR): Likewise.
29190         (BUS_OBJERR): Likewise.
29191         (BUS_MCEERR_AR): Likewise.
29192         (BUS_MCEERR_AO): Likewise.
29193         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29194         (TRAP_TRACE): Likewise.
29195         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29196         __USE_XOPEN2K8].
29197         (CLD_KILLED): Likewise.
29198         (CLD_DUMPED): Likewise.
29199         (CLD_TRAPPED): Likewise.
29200         (CLD_STOPPED): Likewise.
29201         (CLD_CONTINUED): Likewise.
29202         (POLL_IN): Likewise.
29203         (POLL_OUT): Likewise.
29204         (POLL_MSG): Likewise.
29205         (POLL_ERR): Likewise.
29206         (POLL_PRI): Likewise.
29207         (POLL_HUP): Likewise.
29208         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
29209         (ILL_ILLOPN): Likewise.
29210         (ILL_ILLADR): Likewise.
29211         (ILL_ILLTRP): Likewise.
29212         (ILL_PRVOPC): Likewise.
29213         (ILL_PRVREG): Likewise.
29214         (ILL_COPROC): Likewise.
29215         (ILL_BADSTK): Likewise.
29216         (FPE_INTDIV): Likewise.
29217         (FPE_INTOVF): Likewise.
29218         (FPE_FLTDIV): Likewise.
29219         (FPE_FLTOVF): Likewise.
29220         (FPE_FLTUND): Likewise.
29221         (FPE_FLTRES): Likewise.
29222         (FPE_FLTINV): Likewise.
29223         (FPE_FLTSUB): Likewise.
29224         (SEGV_MAPERR): Likewise.
29225         (SEGV_ACCERR): Likewise.
29226         (BUS_ADRALN): Likewise.
29227         (BUS_ADRERR): Likewise.
29228         (BUS_OBJERR): Likewise.
29229         (BUS_MCEERR_AR): Likewise.
29230         (BUS_MCEERR_AO): Likewise.
29231         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29232         (TRAP_TRACE): Likewise.
29233         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29234         __USE_XOPEN2K8].
29235         (CLD_KILLED): Likewise.
29236         (CLD_DUMPED): Likewise.
29237         (CLD_TRAPPED): Likewise.
29238         (CLD_STOPPED): Likewise.
29239         (CLD_CONTINUED): Likewise.
29240         (POLL_IN): Likewise.
29241         (POLL_OUT): Likewise.
29242         (POLL_MSG): Likewise.
29243         (POLL_ERR): Likewise.
29244         (POLL_PRI): Likewise.
29245         (POLL_HUP): Likewise.
29246         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
29247         Likewise.
29248         (ILL_ILLOPN): Likewise.
29249         (ILL_ILLADR): Likewise.
29250         (ILL_ILLTRP): Likewise.
29251         (ILL_PRVOPC): Likewise.
29252         (ILL_PRVREG): Likewise.
29253         (ILL_COPROC): Likewise.
29254         (ILL_BADSTK): Likewise.
29255         (ILL_BADIADDR): Likewise.
29256         (ILL_BREAK): Likewise.
29257         (FPE_INTDIV): Likewise.
29258         (FPE_INTOVF): Likewise.
29259         (FPE_FLTDIV): Likewise.
29260         (FPE_FLTOVF): Likewise.
29261         (FPE_FLTUND): Likewise.
29262         (FPE_FLTRES): Likewise.
29263         (FPE_FLTINV): Likewise.
29264         (FPE_FLTSUB): Likewise.
29265         (FPE_DECOVF): Likewise.
29266         (FPE_DECDIV): Likewise.
29267         (FPE_DECERR): Likewise.
29268         (FPE_INVASC): Likewise.
29269         (FPE_INVDEC): Likewise.
29270         (SEGV_MAPERR): Likewise.
29271         (SEGV_ACCERR): Likewise.
29272         (SEGV_PSTKOVF): Likewise.
29273         (BUS_ADRALN): Likewise.
29274         (BUS_ADRERR): Likewise.
29275         (BUS_OBJERR): Likewise.
29276         (BUS_MCEERR_AR): Likewise.
29277         (BUS_MCEERR_AO): Likewise.
29278         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29279         (TRAP_TRACE): Likewise.
29280         (TRAP_BRANCH): Likewise.
29281         (TRAP_HWBKPT): Likewise.
29282         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29283         __USE_XOPEN2K8].
29284         (CLD_KILLED): Likewise.
29285         (CLD_DUMPED): Likewise.
29286         (CLD_TRAPPED): Likewise.
29287         (CLD_STOPPED): Likewise.
29288         (CLD_CONTINUED): Likewise.
29289         (POLL_IN): Likewise.
29290         (POLL_OUT): Likewise.
29291         (POLL_MSG): Likewise.
29292         (POLL_ERR): Likewise.
29293         (POLL_PRI): Likewise.
29294         (POLL_HUP): Likewise.
29295         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
29296         (ILL_ILLOPN): Likewise.
29297         (ILL_ILLADR): Likewise.
29298         (ILL_ILLTRP): Likewise.
29299         (ILL_PRVOPC): Likewise.
29300         (ILL_PRVREG): Likewise.
29301         (ILL_COPROC): Likewise.
29302         (ILL_BADSTK): Likewise.
29303         (FPE_INTDIV): Likewise.
29304         (FPE_INTOVF): Likewise.
29305         (FPE_FLTDIV): Likewise.
29306         (FPE_FLTOVF): Likewise.
29307         (FPE_FLTUND): Likewise.
29308         (FPE_FLTRES): Likewise.
29309         (FPE_FLTINV): Likewise.
29310         (FPE_FLTSUB): Likewise.
29311         (SEGV_MAPERR): Likewise.
29312         (SEGV_ACCERR): Likewise.
29313         (BUS_ADRALN): Likewise.
29314         (BUS_ADRERR): Likewise.
29315         (BUS_OBJERR): Likewise.
29316         (BUS_MCEERR_AR): Likewise.
29317         (BUS_MCEERR_AO): Likewise.
29318         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29319         (TRAP_TRACE): Likewise.
29320         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29321         __USE_XOPEN2K8].
29322         (CLD_KILLED): Likewise.
29323         (CLD_DUMPED): Likewise.
29324         (CLD_TRAPPED): Likewise.
29325         (CLD_STOPPED): Likewise.
29326         (CLD_CONTINUED): Likewise.
29327         (POLL_IN): Likewise.
29328         (POLL_OUT): Likewise.
29329         (POLL_MSG): Likewise.
29330         (POLL_ERR): Likewise.
29331         (POLL_PRI): Likewise.
29332         (POLL_HUP): Likewise.
29333         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
29334         (ILL_ILLOPN): Likewise.
29335         (ILL_ILLADR): Likewise.
29336         (ILL_ILLTRP): Likewise.
29337         (ILL_PRVOPC): Likewise.
29338         (ILL_PRVREG): Likewise.
29339         (ILL_COPROC): Likewise.
29340         (ILL_BADSTK): Likewise.
29341         (FPE_INTDIV): Likewise.
29342         (FPE_INTOVF): Likewise.
29343         (FPE_FLTDIV): Likewise.
29344         (FPE_FLTOVF): Likewise.
29345         (FPE_FLTUND): Likewise.
29346         (FPE_FLTRES): Likewise.
29347         (FPE_FLTINV): Likewise.
29348         (FPE_FLTSUB): Likewise.
29349         (SEGV_MAPERR): Likewise.
29350         (SEGV_ACCERR): Likewise.
29351         (BUS_ADRALN): Likewise.
29352         (BUS_ADRERR): Likewise.
29353         (BUS_OBJERR): Likewise.
29354         (BUS_MCEERR_AR): Likewise.
29355         (BUS_MCEERR_AO): Likewise.
29356         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29357         (TRAP_TRACE): Likewise.
29358         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29359         __USE_XOPEN2K8].
29360         (CLD_KILLED): Likewise.
29361         (CLD_DUMPED): Likewise.
29362         (CLD_TRAPPED): Likewise.
29363         (CLD_STOPPED): Likewise.
29364         (CLD_CONTINUED): Likewise.
29365         (POLL_IN): Likewise.
29366         (POLL_OUT): Likewise.
29367         (POLL_MSG): Likewise.
29368         (POLL_ERR): Likewise.
29369         (POLL_PRI): Likewise.
29370         (POLL_HUP): Likewise.
29371         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
29372         (ILL_ILLOPN): Likewise.
29373         (ILL_ILLADR): Likewise.
29374         (ILL_ILLTRP): Likewise.
29375         (ILL_PRVOPC): Likewise.
29376         (ILL_PRVREG): Likewise.
29377         (ILL_COPROC): Likewise.
29378         (ILL_BADSTK): Likewise.
29379         (FPE_INTDIV): Likewise.
29380         (FPE_INTOVF): Likewise.
29381         (FPE_FLTDIV): Likewise.
29382         (FPE_FLTOVF): Likewise.
29383         (FPE_FLTUND): Likewise.
29384         (FPE_FLTRES): Likewise.
29385         (FPE_FLTINV): Likewise.
29386         (FPE_FLTSUB): Likewise.
29387         (SEGV_MAPERR): Likewise.
29388         (SEGV_ACCERR): Likewise.
29389         (BUS_ADRALN): Likewise.
29390         (BUS_ADRERR): Likewise.
29391         (BUS_OBJERR): Likewise.
29392         (BUS_MCEERR_AR): Likewise.
29393         (BUS_MCEERR_AO): Likewise.
29394         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29395         (TRAP_TRACE): Likewise.
29396         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29397         __USE_XOPEN2K8].
29398         (CLD_KILLED): Likewise.
29399         (CLD_DUMPED): Likewise.
29400         (CLD_TRAPPED): Likewise.
29401         (CLD_STOPPED): Likewise.
29402         (CLD_CONTINUED): Likewise.
29403         (POLL_IN): Likewise.
29404         (POLL_OUT): Likewise.
29405         (POLL_MSG): Likewise.
29406         (POLL_ERR): Likewise.
29407         (POLL_PRI): Likewise.
29408         (POLL_HUP): Likewise.
29409         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
29410         (ILL_ILLOPN): Likewise.
29411         (ILL_ILLADR): Likewise.
29412         (ILL_ILLTRP): Likewise.
29413         (ILL_PRVOPC): Likewise.
29414         (ILL_PRVREG): Likewise.
29415         (ILL_COPROC): Likewise.
29416         (ILL_BADSTK): Likewise.
29417         (ILL_DBLFLT): Likewise.
29418         (ILL_HARDWALL): Likewise.
29419         (FPE_INTDIV): Likewise.
29420         (FPE_INTOVF): Likewise.
29421         (FPE_FLTDIV): Likewise.
29422         (FPE_FLTOVF): Likewise.
29423         (FPE_FLTUND): Likewise.
29424         (FPE_FLTRES): Likewise.
29425         (FPE_FLTINV): Likewise.
29426         (FPE_FLTSUB): Likewise.
29427         (SEGV_MAPERR): Likewise.
29428         (SEGV_ACCERR): Likewise.
29429         (BUS_ADRALN): Likewise.
29430         (BUS_ADRERR): Likewise.
29431         (BUS_OBJERR): Likewise.
29432         (BUS_MCEERR_AR): Likewise.
29433         (BUS_MCEERR_AO): Likewise.
29434         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29435         (TRAP_TRACE): Likewise.
29436         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29437         __USE_XOPEN2K8].
29438         (CLD_KILLED): Likewise.
29439         (CLD_DUMPED): Likewise.
29440         (CLD_TRAPPED): Likewise.
29441         (CLD_STOPPED): Likewise.
29442         (CLD_CONTINUED): Likewise.
29443         (POLL_IN): Likewise.
29444         (POLL_OUT): Likewise.
29445         (POLL_MSG): Likewise.
29446         (POLL_ERR): Likewise.
29447         (POLL_PRI): Likewise.
29448         (POLL_HUP): Likewise.
29449         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
29450         (ILL_ILLOPN): Likewise.
29451         (ILL_ILLADR): Likewise.
29452         (ILL_ILLTRP): Likewise.
29453         (ILL_PRVOPC): Likewise.
29454         (ILL_PRVREG): Likewise.
29455         (ILL_COPROC): Likewise.
29456         (ILL_BADSTK): Likewise.
29457         (FPE_INTDIV): Likewise.
29458         (FPE_INTOVF): Likewise.
29459         (FPE_FLTDIV): Likewise.
29460         (FPE_FLTOVF): Likewise.
29461         (FPE_FLTUND): Likewise.
29462         (FPE_FLTRES): Likewise.
29463         (FPE_FLTINV): Likewise.
29464         (FPE_FLTSUB): Likewise.
29465         (SEGV_MAPERR): Likewise.
29466         (SEGV_ACCERR): Likewise.
29467         (BUS_ADRALN): Likewise.
29468         (BUS_ADRERR): Likewise.
29469         (BUS_OBJERR): Likewise.
29470         (BUS_MCEERR_AR): Likewise.
29471         (BUS_MCEERR_AO): Likewise.
29472         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29473         (TRAP_TRACE): Likewise.
29474         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29475         __USE_XOPEN2K8].
29476         (CLD_KILLED): Likewise.
29477         (CLD_DUMPED): Likewise.
29478         (CLD_TRAPPED): Likewise.
29479         (CLD_STOPPED): Likewise.
29480         (CLD_CONTINUED): Likewise.
29481         (POLL_IN): Likewise.
29482         (POLL_OUT): Likewise.
29483         (POLL_MSG): Likewise.
29484         (POLL_ERR): Likewise.
29485         (POLL_PRI): Likewise.
29486         (POLL_HUP): Likewise.
29487         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
29488         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
29490         [BZ #16670]
29491         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
29492         before #include of <time.h>.
29493         [!__USE_XOPEN2K] (__need_timespec): Likewise.
29494         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
29495         (test-xfail-UNIX98/sched.h/conform): Likewise.
29497 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29499         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
29500         error absence of trapping exception support.
29501         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29503 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
29505         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
29506         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
29507         * timezone/Makefile (testdata): Move definition above include of
29508         Rules.
29509         (test-zones): New variable.
29510         (tests-special): Add zone files.
29511         (build-testdata): Use $(evaluate-test).
29513         * elf/Makefile (tests-special): Rename tests to end with .out.
29514         ($(objpfx)noload-mem): Likewise.
29515         ($(objpfx)tst-leaks1-mem): Likewise.
29516         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
29517         * iconv/Makefile (xtests-special): Change test-iconvconfig to
29518         $(objpfx)test-iconvconfig.out.
29519         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
29520         set -e inside subshell and redirect output to file.
29521         * iconvdata/Makefile (generated): Rename tests to end with .out.
29522         Correct type.
29523         (tests-special): Rename tests to end with .out.
29524         ($(objpfx)mtrace-tst-loading): Likewise.
29525         * intl/Makefile (generated): Likewise.
29526         (tests-special): Likewise.
29527         ($(objpfx)mtrace-tst-gettext): Likewise.
29528         * misc/Makefile (generated): Likewise.
29529         (tests-special): Likewise.
29530         ($(objpfx)tst-error1-mem): Likewise.
29531         * nptl/Makefile (tests-special): Likewise.
29532         ($(objpfx)tst-stack3-mem): Likewise.
29533         (generated): Likewise.
29534         * posix/Makefile (generated): Likewise.
29535         (tests-special): Likewise.
29536         (xtests-special): Likewise.
29537         ($(objpfx)tst-fnmatch-mem): Likewise.
29538         ($(objpfx)bug-regex2-mem): Likewise.
29539         ($(objpfx)bug-regex14-mem): Likewise.
29540         ($(objpfx)bug-regex21-mem): Likewise.
29541         ($(objpfx)bug-regex31-mem): Likewise.
29542         ($(objpfx)tst-vfork3-mem): Likewise.
29543         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
29544         ($(objpfx)tst-pcre-mem): Likewise.
29545         ($(objpfx)tst-boost-mem): Likewise.
29546         ($(objpfx)bug-ga2-mem): Likewise.
29547         ($(objpfx)bug-glob2-mem): Likewise.
29548         * resolv/Makefile (generate): Likewise.
29549         (tests-special): Likewise.
29550         (xtests-special): Likewise.
29551         (generated): Likewise.
29552         ($(objpfx)mtrace-tst-leaks): Likewise.
29553         ($(objpfx)mtrace-tst-leaks2): Likewise.
29555         * scripts/merge-test-results.sh: New file.
29556         * Makefile (tests-special-notdir): New variable.
29557         (tests): Run merge-test-results.sh.
29558         (xtests): Likewise.
29559         * Rules (tests-special-notdir): New variable.
29560         (xtests-special-notdir): Likewise.
29561         (tests): Run merge-test-results.sh
29562         (xtests): Likewise.
29564         * Makeconfig (test-xfail-name): New variable.
29565         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
29566         compute variable name for expected failures.
29567         * conform/Makefile (conformtest-headers-data): New variable.
29568         (conformtest-standards): Likewise.
29569         (conformtest-headers-ISO): Likewise.
29570         (conformtest-headers-ISO99): Likewise.
29571         (conformtest-headers-ISO11): Likewise.
29572         (conformtest-headers-POSIX): Likewise.
29573         (conformtest-headers-XPG3): Likewise.
29574         (conformtest-headers-XPG4): Likewise.
29575         (conformtest-headers-UNIX98): Likewise.
29576         (conformtest-headers-XOPEN2K): Likewise.
29577         (conformtest-headers-POSIX2008): Likewise.
29578         (conformtest-headers-XOPEN2K8): Likewise.
29579         (conformtest-header-list-base): Likewise.
29580         (conformtest-header-list-tests): Likewise.
29581         (conformtest-header-base): Likewise.
29582         (conformtest-header-tests): Likewise.
29583         (tests-special): Add $(conformtest-header-list-tests).  If
29584         [$(fast-check) && !$(cross-compiling)], add
29585         $(conformtest-header-tests) instead of
29586         $(objpfx)run-conformtest.out.
29587         (generated): Add $(conformtest-header-list-base).  If
29588         [$(fast-check) && !$(cross-compiling)], add
29589         $(conformtest-header-base).  Remove previous setting.
29590         ($(conformtest-header-list-tests)): New target.
29591         (test-xfail-run-conformtest): Remove variable.
29592         ($(objpfx)run-conformtest.out): Remove target.
29593         (test-xfail-ISO11/complex.h/conform): New variable.
29594         (test-xfail-ISO11/stdalign.h/conform): Likewise.
29595         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
29596         (test-xfail-XPG3/varargs.h/conform): Likewise.
29597         (test-xfail-XPG4/varargs.h/conform): Likewise.
29598         (test-xfail-UNIX98/varargs.h/conform): Likewise.
29599         (test-xfail-XPG4/ndbm.h/conform): Likewise.
29600         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
29601         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
29602         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
29603         (test-xfail-XPG3/fcntl.h/conform): Likewise.
29604         (test-xfail-XPG3/ftw.h/conform): Likewise.
29605         (test-xfail-XPG3/grp.h/conform): Likewise.
29606         (test-xfail-XPG3/langinfo.h/conform): Likewise.
29607         (test-xfail-XPG3/limits.h/conform): Likewise.
29608         (test-xfail-XPG3/pwd.h/conform): Likewise.
29609         (test-xfail-XPG3/search.h/conform): Likewise.
29610         (test-xfail-XPG3/signal.h/conform): Likewise.
29611         (test-xfail-XPG3/stdio.h/conform): Likewise.
29612         (test-xfail-XPG3/stdlib.h/conform): Likewise.
29613         (test-xfail-XPG3/string.h/conform): Likewise.
29614         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
29615         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
29616         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
29617         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
29618         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
29619         (test-xfail-XPG3/sys/types.h/conform): Likewise.
29620         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
29621         (test-xfail-XPG3/termios.h/conform): Likewise.
29622         (test-xfail-XPG3/time.h/conform): Likewise.
29623         (test-xfail-XPG3/unistd.h/conform): Likewise.
29624         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
29625         (test-xfail-XPG4/fcntl.h/conform): Likewise.
29626         (test-xfail-XPG4/langinfo.h/conform): Likewise.
29627         (test-xfail-XPG4/netdb.h/conform): Likewise.
29628         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
29629         (test-xfail-XPG4/signal.h/conform): Likewise.
29630         (test-xfail-XPG4/stdio.h/conform): Likewise.
29631         (test-xfail-XPG4/stdlib.h/conform): Likewise.
29632         (test-xfail-XPG4/stropts.h/conform): Likewise.
29633         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
29634         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
29635         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
29636         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
29637         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
29638         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
29639         (test-xfail-XPG4/sys/time.h/conform): Likewise.
29640         (test-xfail-XPG4/sys/types.h/conform): Likewise.
29641         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
29642         (test-xfail-XPG4/termios.h/conform): Likewise.
29643         (test-xfail-XPG4/ucontext.h/conform): Likewise.
29644         (test-xfail-XPG4/unistd.h/conform): Likewise.
29645         (test-xfail-XPG4/utmpx.h/conform): Likewise.
29646         (test-xfail-POSIX/sched.h/conform): Likewise.
29647         (test-xfail-POSIX/signal.h/conform): Likewise.
29648         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
29649         (test-xfail-POSIX/tar.h/conform): Likewise.
29650         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
29651         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
29652         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
29653         (test-xfail-UNIX98/netdb.h/conform): Likewise.
29654         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
29655         (test-xfail-UNIX98/sched.h/conform): Likewise.
29656         (test-xfail-UNIX98/signal.h/conform): Likewise.
29657         (test-xfail-UNIX98/stdio.h/conform): Likewise.
29658         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
29659         (test-xfail-UNIX98/stropts.h/conform): Likewise.
29660         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
29661         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
29662         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
29663         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
29664         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
29665         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
29666         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29667         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29668         (test-xfail-UNIX98/unistd.h/conform): Likewise.
29669         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
29670         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
29671         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
29672         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
29673         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
29674         (test-xfail-XOPEN2K/math.h/conform): Likewise.
29675         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
29676         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
29677         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
29678         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
29679         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29680         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
29681         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
29682         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
29683         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
29684         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
29685         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
29686         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
29687         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
29688         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29689         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
29690         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
29691         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29692         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
29693         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
29694         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
29695         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
29696         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
29697         (test-xfail-POSIX2008/signal.h/conform): Likewise.
29698         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
29699         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
29700         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29701         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
29702         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
29703         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
29704         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
29705         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
29706         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
29707         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29708         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
29709         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
29710         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
29711         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
29712         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
29713         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
29714         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
29715         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
29716         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
29717         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29718         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
29719         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
29720         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
29721         (conformtest-cc-flags): Likewise.
29722         ($(conformtest-header-tests): New target.
29723         * conform/check-header-lists.sh: New file.
29724         * conform/run-conformtest.sh: Remove.
29726         * conform/conformtest.pl: Allow ' and \ in values given for
29727         constants.
29728         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
29729         inclusion.
29730         [POSIX] (sys/types.h): Likewise.
29731         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
29732         inclusion.
29733         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
29734         inclusion.
29735         * conform/data/signal.h-data (SIGIO): Remove expectation.
29736         [XPG3] (SIGBUS): Do not expect.
29737         [POSIX || XPG3] (SIGPOLL): Likewise.
29738         [POSIX || XPG3] (SIGPROF): Likewise.
29739         [POSIX || XPG3] (SIGSYS): Likewise.
29740         [XPG3] (SIGTRAP): Likewise.
29741         [POSIX || XPG3] (SIGURG): Likewise.
29742         [POSIX || XPG3] (SIGVTALRM): Likewise.
29743         [POSIX || XPG3] (SIGXCPU): Likewise.
29744         [POSIX || XPG3] (SIGXFSZ): Likewise.
29745         [POSIX] (SA_SIGINFO): Expect.
29746         [XPG3] (siginfo_t): Do not expect type or contents.
29747         [POSIX] (si_pid): Do not expect element.
29748         [POSIX] (si_uid): Likewise.
29749         [POSIX] (si_addr): Likewise.
29750         [POSIX] (si_status): Likewise.
29751         [POSIX] (si_band): Likewise.
29752         [XPG4] (si_value): Likewise.
29753         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
29754         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
29755         [POSIX || XPG3] (ILL_ILLADR): Likewise.
29756         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
29757         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
29758         [POSIX || XPG3] (ILL_PRVREG): Likewise.
29759         [POSIX || XPG3] (ILL_COPROC): Likewise.
29760         [POSIX || XPG3] (ILL_BADSTK): Likewise.
29761         [POSIX || XPG3] (FPE_INTDIV): Likewise.
29762         [POSIX || XPG3] (FPE_INTOVF): Likewise.
29763         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
29764         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
29765         [POSIX || XPG3] (FPE_FLTUND): Likewise.
29766         [POSIX || XPG3] (FPE_FLTRES): Likewise.
29767         [POSIX || XPG3] (FPE_FLTINV): Likewise.
29768         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
29769         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
29770         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
29771         [POSIX || XPG3] (BUS_ADRALN): Likewise.
29772         [POSIX || XPG3] (BUS_ADRERR): Likewise.
29773         [POSIX || XPG3] (BUS_OBJERR): Likewise.
29774         [POSIX || XPG3] (CLD_EXITED): Likewise.
29775         [POSIX || XPG3] (CLD_KILLED): Likewise.
29776         [POSIX || XPG3] (CLD_DUMPED): Likewise.
29777         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
29778         [POSIX || XPG3] (CLD_STOPPED): Likewise.
29779         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
29780         [POSIX || XPG3] (POLL_IN): Likewise.
29781         [POSIX || XPG3] (POLL_OUT): Likewise.
29782         [POSIX || XPG3] (POLL_MSG): Likewise.
29783         [POSIX || XPG3] (POLL_ERR): Likewise.
29784         [POSIX || XPG3] (POLL_PRI): Likewise.
29785         [POSIX || XPG3] (POLL_HUP): Likewise.
29786         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
29787         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
29788         (SIG*): Do not allow.
29789         [XPG3] (si_*): Likewise.
29790         [XPG3] (SI_*): Likewise.
29791         [XPG3 || XPG4] (sigev_*): Likewise.
29792         [XPG3 || XPG4] (SIGEV_*): Likewise.
29793         [XPG3 || XPG4] (sival_*): Likewise.
29794         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
29795         [POSIX || XPG3] (BUS_*): Likewise.
29796         [POSIX || XPG3] (CLD_*): Likewise.
29797         [POSIX || XPG3] (FPE_*): Likewise.
29798         [POSIX || XPG3] (ILL_*): Likewise.
29799         [POSIX || XPG3] (POLL_*): Likewise.
29800         [POSIX || XPG3] (SEGV_*): Likewise.
29801         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
29802         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
29803         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
29804         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
29805         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
29806         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
29807         Specify type and value.
29808         (TVERSLEN): Likewise.
29809         (REGTYPE): Likewise.
29810         (AREGTYPE): Likewise.
29811         (LNKTYPE): Likewise.
29812         (SYMTYPE): Likewise.
29813         (CHRTYPE): Likewise.
29814         (BLKTYPE): Likewise.
29815         (DIRTYPE): Likewise.
29816         (FIFOTYPE): Likewise.
29817         (CONTTYPE): Likewise.
29818         (TSUID): Likewise.
29819         (TSGID): Likewise.
29820         (TSVTX): Likewise.
29821         (TUREAD): Likewise.
29822         (TUWRITE): Likewise.
29823         (TUEXEC): Likewise.
29824         (TGREAD): Likewise.
29825         (TGWRITE): Likewise.
29826         (TGEXEC): Likewise.
29827         (TOREAD): Likewise.
29828         (TOWRITE): Likewise.
29829         (TOEXEC): Likewise.
29830         [POSIX] (TSVTX): Expect constant.
29832 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
29834         * Makefile (tests): Change dependencies to ....
29835         (tests-special): ... additions to this variable.
29836         (tests): Depend on $(tests-special).
29837         * Makerules (check-abi-list): New variable.
29838         (check-abi): Depend on $(check-abi-list).
29839         [$(subdir) = elf] (tests-special): Add
29840         $(objpfx)check-abi-libc.out.
29841         [$(build-shared) = yes && subdir] (tests-special): Add
29842         $(check-abi-list).
29843         [$(build-shared) = yes && subdir] (tests): Do not depend on
29844         check-abi.
29845         * Rules (tests): Depend on $(tests-special).
29846         (xtests): Depend on $(xtests-special).
29847         * catgets/Makefile (tests): Change dependencies to ....
29848         (tests-special): ... additions to this variable.
29849         * conform/Makefile (tests): Change dependencies to ....
29850         (tests-special): ... additions to this variable.
29851         * elf/Makefile (tests): Change dependencies to ....
29852         (tests-special): ... additions to this variable.
29853         * grp/Makefile (tests): Change dependencies to ....
29854         (tests-special): ... additions to this variable.
29855         * iconv/Makefile (xtests): Change dependencies to ....
29856         (xtests-special): ... additions to this variable.
29857         * iconvdata/Makefile (tests): Change dependencies to ....
29858         (tests-special): ... additions to this variable.
29859         * intl/Makefile (tests): Change dependencies to ....
29860         (tests-special): ... additions to this variable.  Also add
29861         $(objpfx)tst-gettext.out.
29862         * io/Makefile (tests): Change dependencies to ....
29863         (tests-special): ... additions to this variable.
29864         * libio/Makefile (tests): Change dependencies to ....
29865         (tests-special): ... additions to this variable.
29866         * malloc/Makefile (tests): Change dependencies to ....
29867         (tests-special): ... additions to this variable.
29868         * misc/Makefile (tests): Change dependencies to ....
29869         (tests-special): ... additions to this variable.
29870         * nptl/Makefile (tests): Change dependencies to ....
29871         (tests-special): ... additions to this variable.
29872         * nptl_db/Makefile (tests): Change dependencies to ....
29873         (tests-special): ... additions to this variable.
29874         * posix/Makefile (tests): Change dependencies to ....
29875         (tests-special): ... additions to this variable.
29876         (xtests): Change dependencies to ....
29877         (xtests-special): ... additions to this variable.
29878         * resolv/Makefile (tests): Change dependencies to ....
29879         (tests-special): ... additions to this variable.
29880         (xtests): Change dependencies to ....
29881         (xtests-special): ... additions to this variable.
29882         * stdio-common/Makefile (tests): Change dependencies to ....
29883         (tests-special): ... additions to this variable.
29884         (do-tst-unbputc): Remove target.
29885         (do-tst-printf): Likewise.
29886         * stdlib/Makefile (tests): Change dependencies to ....
29887         (tests-special): ... additions to this variable.
29888         * string/Makefile (tests): Change dependencies to ....
29889         (tests-special): ... additions to this variable.
29890         * sysdeps/x86/Makefile (tests): Change dependencies to ....
29891         (tests-special): ... additions to this variable.
29893         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
29894         whole file.
29895         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
29896         whole file.
29897         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
29898         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
29900         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
29901         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
29902         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
29903         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
29904         * conform/data/libgen.h-data [XPG3]: Likewise.
29905         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
29906         * conform/data/ndbm.h-data [XPG3]: Likewise.
29907         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29908         * conform/data/netdb.h-data [XPG3]: Likewise.
29909         * conform/data/netinet/in.h-data [XPG3]: Likewise.
29910         * conform/data/poll.h-data [XPG3]: Likewise.
29911         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29912         * conform/data/strings.h-data [XPG3]: Likewise.
29913         * conform/data/stropts.h-data [XPG3]: Likewise.
29914         * conform/data/sys/mman.h-data [XPG3]: Likewise.
29915         * conform/data/sys/resource.h-data [XPG3]: Likewise.
29916         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
29917         Likewise.
29918         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
29919         * conform/data/sys/time.h-data [XPG3]: Likewise.
29920         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
29921         * conform/data/sys/uio.h-data [XPG3]: Likewise.
29922         * conform/data/sys/un.h-data [XPG3]: Likewise.
29923         * conform/data/syslog.h-data [XPG3]: Likewise.
29924         * conform/data/ucontext.h-data [XPG3]: Likewise.
29925         * conform/data/utmpx.h-data [XPG3]: Likewise.
29926         * conform/data/varargs.h-data [UNIX98]: Enable file.
29928         * manual/Makefile (INSTALL_INFO): Remove variable setting.
29930         * math/libm-test.inc (struct test_f_f_data): Move expected results
29931         into structure for each rounding mode.
29932         (struct test_ff_f_data): Likewise.
29933         (struct test_ff_f_data_nexttoward): Likewise.
29934         (struct test_fi_f_data): Likewise.
29935         (struct test_fl_f_data): Likewise.
29936         (struct test_if_f_data): Likewise.
29937         (struct test_fff_f_data): Likewise.
29938         (struct test_c_f_data): Likewise.
29939         (struct test_f_f1_data): Likewise.
29940         (struct test_fF_f1_data): Likewise.
29941         (struct test_ffI_f1_data): Likewise.
29942         (struct test_c_c_data): Likewise.
29943         (struct test_cc_c_data): Likewise.
29944         (struct test_f_i_data): Likewise.
29945         (struct test_ff_i_data): Likewise.
29946         (struct test_f_l_data): Likewise.
29947         (struct test_f_L_data): Likewise.
29948         (struct test_fFF_11_data): Likewise.
29949         (RM_): New macro.
29950         (RM_FE_DOWNWARD): Likewise.
29951         (RM_FE_TONEAREST): Likewise.
29952         (RM_FE_TOWARDZERO): Likewise.
29953         (RM_FE_UPWARD): Likewise.
29954         (RUN_TEST_LOOP_f_f): Update references to expected results.
29955         (RUN_TEST_LOOP_2_f): Likewise.
29956         (RUN_TEST_LOOP_fff_f): Likewise.
29957         (RUN_TEST_LOOP_c_f): Likewise.
29958         (RUN_TEST_LOOP_f_f1): Likewise.
29959         (RUN_TEST_LOOP_fF_f1): Likewise.
29960         (RUN_TEST_LOOP_fI_f1): Likewise.
29961         (RUN_TEST_LOOP_ffI_f1): Likewise.
29962         (RUN_TEST_LOOP_c_c): Likewise.
29963         (RUN_TEST_LOOP_cc_c): Likewise.
29964         (RUN_TEST_LOOP_f_i): Likewise.
29965         (RUN_TEST_LOOP_f_i_tg): Likewise.
29966         (RUN_TEST_LOOP_ff_i_tg): Likewise.
29967         (RUN_TEST_LOOP_f_b): Likewise.
29968         (RUN_TEST_LOOP_f_b_tg): Likewise.
29969         (RUN_TEST_LOOP_f_l): Likewise.
29970         (RUN_TEST_LOOP_f_L): Likewise.
29971         (RUN_TEST_LOOP_fFF_11): Likewise.
29972         * math/gen-libm-test.pl (parse_args): Output four copies of
29973         expected results for each test.
29975         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29976         (__ASSUME_UTIMES): Remove.
29977         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29978         (__ASSUME_UTIMES): Likewise.
29980         * math/gen-auto-libm-tests.c: Update comment on output format.
29981         (output_for_one_input_case): Generate before-rounding and
29982         after-rounding information as conditions on output flags not
29983         floating-point format.
29984         * math/auto-libm-test-out: Regenerated.
29985         * math/gen-libm-test.pl (cond_value): New function.
29986         (or_cond_value): Use cond_value.
29987         (generate_testfile): Handle conditional exceptions.
29989 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
29991         * math/libm-test.inc (max_valid_error): New variable.
29992         (init_max_error): Take new argument specifying whether function
29993         results are exactly determined.  Set max_valid_error and bound
29994         other variables for errors based on this argument.
29995         (set_max_error): Do not record results above max_valid_error.
29996         (check_float_internal): Only accept errors of up to 0.5ulps if
29997         also at most max_valid_error.
29998         (START): Take new argument EXACT and pass it to init_max_error.
29999         (acos_test): Update call to START.
30000         (acos_test_tonearest): Likewise.
30001         (acos_test_towardzero): Likewise.
30002         (acos_test_downward): Likewise.
30003         (acos_test_upward): Likewise.
30004         (acosh_test): Likewise.
30005         (asin_test): Likewise.
30006         (asin_test_tonearest): Likewise.
30007         (asin_test_towardzero): Likewise.
30008         (asin_test_downward): Likewise.
30009         (asin_test_upward): Likewise.
30010         (asinh_test): Likewise.
30011         (atan_test): Likewise.
30012         (atanh_test): Likewise.
30013         (atan2_test): Likewise.
30014         (cabs_test): Likewise.
30015         (cacos_test): Likewise.
30016         (cacosh_test): Likewise.
30017         (carg_test): Likewise.
30018         (casin_test): Likewise.
30019         (casinh_test): Likewise.
30020         (catan_test): Likewise.
30021         (catanh_test): Likewise.
30022         (cbrt_test): Likewise.
30023         (ccos_test): Likewise.
30024         (ccosh_test): Likewise.
30025         (ceil_test): Likewise.
30026         (cexp_test): Likewise.
30027         (cimag_test): Likewise.
30028         (clog_test): Likewise.
30029         (clog10_test): Likewise.
30030         (conj_test): Likewise.
30031         (copysign_test): Likewise.
30032         (cos_test): Likewise.
30033         (cos_test_tonearest): Likewise.
30034         (cos_test_towardzero): Likewise.
30035         (cos_test_downward): Likewise.
30036         (cos_test_upward): Likewise.
30037         (cosh_test): Likewise.
30038         (cosh_test_tonearest): Likewise.
30039         (cosh_test_towardzero): Likewise.
30040         (cosh_test_downward): Likewise.
30041         (cosh_test_upward): Likewise.
30042         (cpow_test): Likewise.
30043         (cproj_test): Likewise.
30044         (creal_test): Likewise.
30045         (csin_test): Likewise.
30046         (csinh_test): Likewise.
30047         (csqrt_test): Likewise.
30048         (ctan_test): Likewise.
30049         (ctan_test_tonearest): Likewise.
30050         (ctan_test_towardzero): Likewise.
30051         (ctan_test_downward): Likewise.
30052         (ctan_test_upward): Likewise.
30053         (ctanh_test): Likewise.
30054         (ctanh_test_tonearest): Likewise.
30055         (ctanh_test_towardzero): Likewise.
30056         (ctanh_test_downward): Likewise.
30057         (ctanh_test_upward): Likewise.
30058         (erf_test): Likewise.
30059         (erfc_test): Likewise.
30060         (exp_test): Likewise.
30061         (exp_test_tonearest): Likewise.
30062         (exp_test_towardzero): Likewise.
30063         (exp_test_downward): Likewise.
30064         (exp_test_upward): Likewise.
30065         (exp10_test): Likewise.
30066         (exp10_test_tonearest): Likewise.
30067         (exp10_test_towardzero): Likewise.
30068         (exp10_test_downward): Likewise.
30069         (exp10_test_upward): Likewise.
30070         (pow10_test): Likewise.
30071         (exp2_test): Likewise.
30072         (expm1_test): Likewise.
30073         (expm1_test_tonearest): Likewise.
30074         (expm1_test_towardzero): Likewise.
30075         (expm1_test_downward): Likewise.
30076         (expm1_test_upward): Likewise.
30077         (fabs_test): Likewise.
30078         (fdim_test): Likewise.
30079         (floor_test): Likewise.
30080         (fma_test): Likewise.
30081         (fma_test_towardzero): Likewise.
30082         (fma_test_downward): Likewise.
30083         (fma_test_upward): Likewise.
30084         (fmax_test): Likewise.
30085         (fmin_test): Likewise.
30086         (fmod_test): Likewise.
30087         (fpclassify_test): Likewise.
30088         (frexp_test): Likewise.
30089         (hypot_test): Likewise.
30090         (ilogb_test): Likewise.
30091         (isfinite_test): Likewise.
30092         (finite_test): Likewise.
30093         (isgreater_test): Likewise.
30094         (isgreaterequal_test): Likewise.
30095         (isinf_test): Likewise.
30096         (isless_test): Likewise.
30097         (islessequal_test): Likewise.
30098         (islessgreater_test): Likewise.
30099         (isnan_test): Likewise.
30100         (isnormal_test): Likewise.
30101         (issignaling_test): Likewise.
30102         (isunordered_test): Likewise.
30103         (j0_test): Likewise.
30104         (j1_test): Likewise.
30105         (jn_test): Likewise.
30106         (ldexp_test): Likewise.
30107         (lgamma_test): Likewise.
30108         (gamma_test): Likewise.
30109         (lrint_test): Likewise.
30110         (lrint_test_tonearest): Likewise.
30111         (lrint_test_towardzero): Likewise.
30112         (lrint_test_downward): Likewise.
30113         (lrint_test_upward): Likewise.
30114         (llrint_test): Likewise.
30115         (llrint_test_tonearest): Likewise.
30116         (llrint_test_towardzero): Likewise.
30117         (llrint_test_downward): Likewise.
30118         (llrint_test_upward): Likewise.
30119         (log_test): Likewise.
30120         (log10_test): Likewise.
30121         (log1p_test): Likewise.
30122         (log2_test): Likewise.
30123         (logb_test): Likewise.
30124         (logb_test_downward): Likewise.
30125         (lround_test): Likewise.
30126         (llround_test): Likewise.
30127         (modf_test): Likewise.
30128         (nearbyint_test): Likewise.
30129         (nextafter_test): Likewise.
30130         (nexttoward_test): Likewise.
30131         (pow_test): Likewise.
30132         (pow_test_tonearest): Likewise.
30133         (pow_test_towardzero): Likewise.
30134         (pow_test_downward): Likewise.
30135         (pow_test_upward): Likewise.
30136         (remainder_test): Likewise.
30137         (drem_test): Likewise.
30138         (remainder_test_tonearest): Likewise.
30139         (drem_test_tonearest): Likewise.
30140         (remainder_test_towardzero): Likewise.
30141         (drem_test_towardzero): Likewise.
30142         (remainder_test_downward): Likewise.
30143         (drem_test_downward): Likewise.
30144         (remainder_test_upward): Likewise.
30145         (drem_test_upward): Likewise.
30146         (remquo_test): Likewise.
30147         (rint_test): Likewise.
30148         (rint_test_tonearest): Likewise.
30149         (rint_test_towardzero): Likewise.
30150         (rint_test_downward): Likewise.
30151         (rint_test_upward): Likewise.
30152         (round_test): Likewise.
30153         (scalb_test): Likewise.
30154         (scalbn_test): Likewise.
30155         (scalbln_test): Likewise.
30156         (signbit_test): Likewise.
30157         (sin_test): Likewise.
30158         (sin_test_tonearest): Likewise.
30159         (sin_test_towardzero): Likewise.
30160         (sin_test_downward): Likewise.
30161         (sin_test_upward): Likewise.
30162         (sincos_test): Likewise.
30163         (sinh_test): Likewise.
30164         (sinh_test_tonearest): Likewise.
30165         (sinh_test_towardzero): Likewise.
30166         (sinh_test_downward): Likewise.
30167         (sinh_test_upward): Likewise.
30168         (sqrt_test): Likewise.
30169         (sqrt_test_tonearest): Likewise.
30170         (sqrt_test_towardzero): Likewise.
30171         (sqrt_test_downward): Likewise.
30172         (sqrt_test_upward): Likewise.
30173         (tan_test): Likewise.
30174         (tan_test_tonearest): Likewise.
30175         (tan_test_towardzero): Likewise.
30176         (tan_test_downward): Likewise.
30177         (tan_test_upward): Likewise.
30178         (tanh_test): Likewise.
30179         (tgamma_test): Likewise.
30180         (trunc_test): Likewise.
30181         (y0_test): Likewise.
30182         (y1_test): Likewise.
30183         (yn_test): Likewise.
30184         (significand_test): Likewise.
30186         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
30187         individual tests in comment.
30188         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
30189         (prev_max_error): New variable.
30190         (prev_real_max_error): Likewise.
30191         (prev_imag_max_error): Likewise.
30192         (compare_ulp_data): Don't refer to test names in comment.
30193         (find_test_ulps): Remove function.
30194         (find_function_ulps): Likewise.
30195         (find_complex_function_ulps): Likewise.
30196         (init_max_error): Take function name as argument.  Look up ulps
30197         for that function.
30198         (print_ulps): Remove function.
30199         (print_max_error): Use prev_max_error instead of calling
30200         find_function_ulps.
30201         (print_complex_max_error): Use prev_real_max_error and
30202         prev_imag_max_error instead of calling find_complex_function_ulps.
30203         (check_float_internal): Take max_ulp parameter instead of calling
30204         find_test_ulps.  Don't call print_ulps.
30205         (check_float): Update call to check_float_internal.
30206         (check_complex): Update calls to check_float_internal.
30207         (START): Pass argument to init_max_error.
30208         * math/gen-libm-test.pl (%results): Don't include "kind"
30209         information.
30210         (parse_ulps): Don't handle ulps of individual tests.
30211         (print_ulps_file): Likewise.
30212         (output_ulps): Likewise.
30213         * math/README.libm-test: Update.
30214         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
30215         individual tests.
30216         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
30217         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30218         * sysdeps/arm/libm-test-ulps: Likewise.
30219         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30220         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
30221         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
30222         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
30223         * sysdeps/microblaze/libm-test-ulps: Likewise.
30224         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30225         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30226         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30227         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30228         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30229         * sysdeps/sh/libm-test-ulps: Likewise.
30230         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30231         * sysdeps/tile/libm-test-ulps: Likewise.
30232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30234 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
30236         * math/libm-test.inc (print_complex_max_error): Check separately
30237         whether real and imaginary errors are within allowed range and
30238         pass 0 to print_complex_function_ulps instead of value within
30239         allowed range.
30241 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30243         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
30244         formatting.
30245         (get_handles_fopen): Likewise.
30246         (do_write_test): Likewise.
30248         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
30250         * libio/fileops.c (do_ftell): Use cached offset when
30251         available.
30252         * libio/iofwide.c (do_ftell_wide): Likewise.
30253         * libio/iofdopen.c (_IO_new_fdopen): Don't use
30254         _IO_file_attach.
30255         * libio/wfileops.c (_IO_fwide): Don't cache offset.
30257         [BZ #16532]
30258         * libio/libioP.h (get_file_offset): New function.
30259         * libio/fileops.c (get_file_offset): Likewise.
30260         (do_ftell): Likewise.
30261         (_IO_new_file_seekoff): Split out ftell logic.
30262         * libio/wfileops.c (do_ftell_wide): Likewise.
30263         (_IO_wfile_seekoff): Split out ftell logic.
30264         * libio/tst-ftell-active-handler.c: New test case.
30265         * libio/Makefile (tests): Add it.
30267 2014-03-03  Roland McGrath  <roland@hack.frob.com>
30269         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
30270         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
30272 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30274         [BZ #16639]
30275         * nscd/connections.c (nscd_init): Call do_exit.
30276         (start_threads): Call do_exit and notify_parent.
30277         (begin_drop_privileges): Call do_exit.
30278         (finish_drop_privileges): Likewise.
30279         * nscd/selinux.c (preserve_capabilities): Likewise.
30280         (install_real_capabilities): Likewise.
30281         (nscd_selinux_enabled): Likewise.
30282         (avc_create_thread): Likewise.
30283         (avc_alloc_lock): Likewise.
30284         (nscd_avc_init): Likewise.
30285         * nscd/nscd.c (parent_fd): New static variable.
30286         (main): Create a pipe between parent and child processes.
30287         Skip closing parent_fd.
30288         (monitor_child): New function.
30289         (do_exit): Likewise.
30290         (notify_parent): Likewise.
30291         * nscd/nscd.h (notify_parent): Likewise.
30292         (do_exit): Likewise.
30294 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
30296         * malloc/malloc.c (__libc_calloc): Revert last change.
30298 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30302 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30304         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
30305         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
30306         implementation.
30307         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30308         (__libc_ifunc_impl_list): Likewise.
30309         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
30310         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
30311         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
30312         * string/strrchr.c: Define STRRCHR.
30314 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
30316         * benchtest/bench-strtok.c (simple_strtok): Delete.
30317         (strtok_string): Use as benchmark.
30318         * string/strtok (STRTOK): New macro.
30320 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
30322         * manual/threads.texi: Add header and standard comments to all
30323         functions.
30325         * elf/dl-lookup.c (check_match): New function.
30326         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
30327         (do_lookup_x): Remove nested function check_match. Use non-nested
30328         function check_match.
30330 2014-02-28  Roland McGrath  <roland@hack.frob.com>
30332         * csu/Makefile (generated, before-compile): Use += rather than =.
30333         * catgets/Makefile (generated, generated-dirs): Likewise.
30334         * debug/Makefile (generated): Likewise.
30335         * dlfcn/Makefile (generated): Likewise.
30336         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
30337         * iconvdata/Makefile (before-compile, generated): Likewise.
30338         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
30339         * libio/Makefile (generated): Likewise.
30340         * malloc/Makefile (generated): Likewise.
30341         * manual/Makefile (generated, generated-dirs): Likewise.
30342         * misc/Makefile (generated): Likewise.
30343         * posix/Makefile (generated): Likewise.
30344         * resolv/Makefile (generated): Likewise.
30345         * sunrpc/Makefile (generated, generated-dirs): Likewise.
30346         * timezone/Makefile (generated, generated-dirs): Likewise.
30348         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
30350 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30352         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
30353         power8 implementation.
30354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
30355         file: POWER8 llround ifunc implementation.
30356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
30357         (__lllround): Add POWER8 implementation.
30358         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
30359         POWER8 llround implementation.
30361         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
30362         power8 implementation.
30363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
30364         file: POWER8 llrint ifunc implementation.
30365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
30366         Add POWER8 implementation.
30367         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
30368         POWER8 llrint implementation.
30370         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
30371         power8 implementation.
30372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
30373         file: POWER8 finite ifunc implementation.
30374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
30375         Add POWER8 implementation.
30376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
30377         Likewise.
30378         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
30379         POWER8 finite implementation.
30380         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
30382         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
30383         power8 implementation.
30384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
30385         file: POWER8 isinf ifunc implementation.
30386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
30387         POWER8 implementation.
30388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
30389         Likewise.
30390         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
30391         isinf implementation.
30392         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
30394         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
30395         (INIT_ARCH): Add hwcap2 initialization.
30396         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
30397         power8 implementation.
30398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
30399         file: POWER8 isnan ifunc implementation.
30400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
30401         POWER8 implementation.
30402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
30403         Likewise.
30404         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
30405         isnan implementation.
30406         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
30408 2014-02-27  Joey Ye  <joey.ye@arm.com>
30410         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
30411         (_FP_NANFRAC_Q): Set to zero.
30413 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30415         [BZ #16623]
30416         * math/auto-libm-test-in: New test inputs.
30417         * math/auto-libm-test-out: Regenerate.
30418         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
30419         and DA.
30420         (__cos): Likewise.
30421         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30423 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
30425         * scripts/evaluate-test.sh: Take new argument indicating whether
30426         failure is expected.
30427         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
30428         indicating whether failure is expected.
30429         * conform/Makefile (test-xfail-run-conformtest): New variable.
30430         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
30431         level.
30432         * posix/Makefile (test-xfail-annexc): New variable.
30433         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
30435 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
30437         * argp/Makefile: Include Makeconfig immediately after defining
30438         subdir.
30439         * assert/Makefile: Likewise.
30440         * benchtests/Makefile: Likewise.
30441         * catgets/Makefile: Likewise.
30442         * conform/Makefile: Likewise.
30443         * crypt/Makefile: Likewise.
30444         * csu/Makefile: Likewise.
30445         (all): Remove target.
30446         * ctype/Makefile: Include Makeconfig immediately after defining
30447         subdir.
30448         * debug/Makefile: Likewise.
30449         * dirent/Makefile: Likewise.
30450         * dlfcn/Makefile: Likewise.
30451         * gmon/Makefile: Likewise.
30452         * gnulib/Makefile: Likewise.
30453         * grp/Makefile: Likewise.
30454         * gshadow/Makefile: Likewise.
30455         * hesiod/Makefile: Likewise.
30456         * hurd/Makefile: Likewise.
30457         (all): Remove target.
30458         * iconvdata/Makefile: Include Makeconfig immediately after
30459         defining subdir.
30460         * inet/Makefile: Likewise.
30461         * intl/Makefile: Likewise.
30462         * io/Makefile: Likewise.
30463         * libio/Makefile: Likewise.
30464         (all): Remove target.
30465         * locale/Makefile: Include Makeconfig immediately after defining
30466         subdir.
30467         * login/Makefile: Likewise.
30468         * mach/Makefile: Likewise.
30469         (all): Remove target.
30470         * malloc/Makefile: Include Makeconfig immediately after defining
30471         subdir.
30472         (all): Remove target.
30473         * manual/Makefile: Include Makeconfig immediately after defining
30474         subdir.
30475         * math/Makefile: Likewise.
30476         * misc/Makefile: Likewise.
30477         * nis/Makefile: Likewise.
30478         * nss/Makefile: Likewise.
30479         * po/Makefile: Likewise.
30480         (all): Remove target.
30481         * posix/Makefile: Include Makeconfig immediately after defining
30482         subdir.
30483         * pwd/Makefile: Likewise.
30484         * resolv/Makefile: Likewise.
30485         * resource/Makefile: Likewise.
30486         * rt/Makefile: Likewise.
30487         * setjmp/Makefile: Likewise.
30488         * shadow/Makefile: Likewise.
30489         * signal/Makefile: Likewise.
30490         * socket/Makefile: Likewise.
30491         * soft-fp/Makefile: Likewise.
30492         * stdio-common/Makefile: Likewise.
30493         * stdlib/Makefile: Likewise.
30494         * streams/Makefile: Likewise.
30495         * string/Makefile: Likewise.
30496         * sunrpc/Makefile: Likewise.
30497         (all): Remove target.
30498         * sysvipc/Makefile: Include Makeconfig immediately after defining
30499         subdir.
30500         * termios/Makefile: Likewise.
30501         * time/Makefile: Likewise.
30502         * timezone/Makefile: Likewise.
30503         (all): Remove target.
30504         * wcsmbs/Makefile: Include Makeconfig immediately after defining
30505         subdir.
30506         * wctype/Makefile: Likewise.
30508 2014-02-26  Steve Ellcey  <sellcey@mips.com>
30510         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
30511         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
30512         (libc_feholdexcept_setround_mips): Ditto.
30513         (libc_feholdsetround): New.
30514         (libc_feholdsetroundf): New.
30515         (libc_feholdsetroundl): New.
30516         (libc_feupdateenv_test_mips): New.
30517         (libc_feupdateenv_test): New.
30518         (libc_feupdateenv_testf): New.
30519         (libc_feupdateenv_testl): New.
30520         (libc_feresetround): New.
30521         (libc_feresetroundf): New.
30522         (libc_feresetroundl): New.
30523         (libc_fetestexcept_mips): New.
30524         (libc_fetestexcept): New.
30525         (libc_fetestexceptf): New.
30526         (libc_fetestexceptl): New.
30527         (HAVE_RM_CTX): New.
30528         (libc_feholdexcept_setround_mips_ctx): New.
30529         (libc_feholdexcept_setround_ctx): New.
30530         (libc_feholdexcept_setroundf_ctx): New.
30531         (libc_feholdexcept_setroundl_ctx): New.
30532         (libc_fesetenv_mips_ctx): New.
30533         (libc_fesetenv_ctx): New.
30534         (libc_fesetenv_ctxf): New.
30535         (libc_fesetenv_ctxl): New.
30536         (libc_feupdateenv_mips_ctx): New.
30537         (libc_feupdateenv_ctx): New.
30538         (libc_feupdateenvf_ctx): New.
30539         (libc_feupdateenvl_ctx): New.
30540         (libc_feholdsetround_mips_ctx): New.
30541         (libc_feholdsetround_ctx): New.
30542         (libc_feholdsetroundf_ctx): New.
30543         (libc_feholdsetroundl_ctx): New.
30544         (libc_feresetround_mips_ctx): New.
30545         (libc_feresetround_ctx): New.
30546         (libc_feresetroundf_ctx): New.
30547         (libc_feresetroundl_ctx): New.
30549 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
30551         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
30553         * manual/ipc.texi: New file.
30554         * manual/Makefile (chapters): Add ipc.
30555         * manual/job.texi: Add "Inter-Process Communication" to next.
30556         * manual/process.texi: Add "Inter-Process Communication" to prev.
30558 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30562 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
30564         * malloc/malloc.c (__libc_calloc): Simplify implementation.
30566         * manual/arith.texi: Fix spaces after sentences.
30567         * manual/charset.texi: Likewise.
30568         * manual/errno.texi: Likewise.
30569         * manual/install.texi: Likewise.
30570         * manual/llio.texi: Likewise.
30571         * manual/locale.texi: Likewise.
30572         * manual/maint.texi: Likewise.
30573         * manual/math.texi: Likewise.
30574         * manual/memory.texi: Likewise.
30575         * manual/message.texi: Likewise.
30576         * manual/probes.texi: Likewise.
30577         * manual/resource.texi: Likewise.
30578         * manual/signal.texi: Likewise.
30579         * manual/socket.texi: Likewise.
30580         * manual/stdio.texi: Likewise.
30581         * manual/string.texi: Likewise.
30582         * manual/time.texi: Likewise.
30583         * manual/users.texi: Likewise.
30585 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
30587         [BZ #16632]
30588         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
30589         _DEFAULT_SOURCE is defined.
30591 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
30592             Carlos O'Donell  <carlos@redhat.com>
30594         [BZ #16613]
30595         * elf/dl-tls.c (_dl_count_modids): New function.
30596         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
30597         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
30598         audit library and increment generation counter.
30599         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
30600         * elf/tst-audit9.c: New file.
30601         * elf/tst-auditmod9a.c: New file.
30602         * elf/tst-auditmod9b.c: New file.
30603         * elf/Makefile: Add rules to build and run tst-audit9.
30605 2014-02-25  Florian Weimer  <fweimer@redhat.com>
30607         [BZ #15347]
30608         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
30610 2014-02-25  Will Newton  <will.newton@linaro.org>
30612         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
30613         (__longjmp): Restore sp and lr before restoring callee
30614         saved registers.  Add longjmp and longjmp_target
30615         SystemTap probe point.
30616         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
30617         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
30618         Define to zero to match jmpbuf layout.
30619         * sysdeps/arm/setjmp.S: Include stap-probe.h.
30620         (__sigsetjmp): Save sp and lr before saving callee
30621         saved registers.  Add setjmp SystemTap probe point.
30623 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30625         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30627 2014-02-24  Andreas Schwab  <schwab@suse.de>
30629         [BZ #15804]
30630         * elf/pldd.c (wait_for_ptrace_stop): New function.
30631         (main): Call it after attaching.
30633 2014-02-22  Roland McGrath  <roland@hack.frob.com>
30635         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
30636         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
30637         Versions files is now verboten.
30638         * hurd/Versions (libc: GLIBC_2.0):
30639         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
30640         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
30641         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
30642         * mach/Versions: Likewise.
30644         * csu/Versions: Remove unused %include.
30645         * resolv/Versions: Likewise.
30647 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
30649         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
30650         ($(objpfx)check-local-headers.out): Likewise.
30651         ($(objpfx)begin-end-check.out): Likewise.
30652         * Makerules (check-abi-%.out): Likewise.
30653         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
30654         ($(objpfx)test2.cat): Likewise.
30655         ($(objpfx)de/libc.cat): Likewise.
30656         ($(objpfx)test-gencat.out): Likewise.
30657         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
30658         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
30659         ($(objpfx)noload-mem): Likewise.
30660         ($(objpfx)tst-pathopt.out): Likewise.
30661         ($(objpfx)tst-rtld-load-self.out): Likewise.
30662         ($(objpfx)tst-array1-cmp.out): Likewise.
30663         ($(objpfx)tst-array1-static-cmp.out): Likewise.
30664         ($(objpfx)tst-array2-cmp.out): Likewise.
30665         ($(objpfx)tst-array3-cmp.out): Likewise.
30666         ($(objpfx)tst-array4-cmp.out): Likewise.
30667         ($(objpfx)tst-array5-cmp.out): Likewise.
30668         ($(objpfx)tst-array5-static-cmp.out): Likewise.
30669         ($(objpfx)check-textrel.out): Likewise.
30670         ($(objpfx)check-execstack.out): Likewise.
30671         ($(objpfx)check-localplt.out): Likewise.
30672         ($(objpfx)order2-cmp.out): Likewise.
30673         ($(objpfx)tst-leaks1-mem): Likewise.
30674         ($(objpfx)tst-leaks1-static-mem): Likewise.
30675         ($(objpfx)tst-initorder-cmp.out): Likewise.
30676         ($(objpfx)tst-initorder2-cmp.out): Likewise.
30677         ($(objpfx)tst-unused-dep.out): Likewise.
30678         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
30679         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
30680         * iconv/Makefile (test-iconvconfig): Likewise.
30681         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
30682         ($(objpfx)iconv-test.out): Likewise.
30683         ($(objpfx)tst-tables.out): Likewise.
30684         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
30685         ($(objpfx)tst-gettext.out): Likewise.
30686         ($(objpfx)tst-translit.out): Likewise.
30687         ($(objpfx)tst-gettext2.out): Likewise.
30688         ($(objpfx)tst-gettext4.out): Likewise.
30689         ($(objpfx)tst-gettext6.out): Likewise.
30690         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
30691         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
30692         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
30693         ($(objpfx)tst-fopenloc-mem.out): Likewise.
30694         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
30695         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
30696         * posix/Makefile ($(objpfx)globtest.out): Likewise.
30697         ($(objpfx)wordexp-tst.out): Likewise.
30698         ($(objpfx)annexc.out): Likewise.
30699         ($(objpfx)tst-fnmatch-mem): Likewise.
30700         ($(objpfx)bug-regex2-mem): Likewise.
30701         ($(objpfx)bug-regex14-mem): Likewise.
30702         ($(objpfx)bug-regex21-mem): Likewise.
30703         ($(objpfx)bug-regex31-mem): Likewise.
30704         ($(objpfx)tst-vfork3-mem): Likewise.
30705         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30706         ($(objpfx)tst-pcre-mem): Likewise.
30707         ($(objpfx)tst-boost-mem): Likewise.
30708         ($(objpfx)tst-getconf.out): Likewise.
30709         ($(objpfx)bug-ga2-mem): Likewise.
30710         ($(objpfx)bug-glob2-mem): Likewise.
30711         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
30712         ($(objpfx)mtrace-tst-leaks2): Likewise.
30713         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
30714         ($(objpfx)tst-printf.out): Likewise.
30715         ($(objpfx)tst-setvbuf1.out): Likewise.
30716         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
30717         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
30718         ($(objpfx)tst-fmtmsg.out): Likewise.
30719         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
30720         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
30722         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
30723         * bits/sigaction.h [__USE_MISC]: Likewise.
30724         * bits/waitstatus.h: Update #endif comments.
30725         * ctype/ctype.h: Likewise.
30726         * dirent/dirent.h: Likewise.
30727         [__USE_MISC]: Remove redundant conditionals.
30728         * grp/grp.h: Update #endif comments.
30729         [__USE_GNU]: Remove redundant conditionals.
30730         [__USE_MISC]: Likewise.
30731         * inet/netinet/in.h [__USE_GNU]: Likewise.
30732         * io/sys/stat.h [__USE_MISC]: Likewise.
30733         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
30734         * libio/bits/stdio.h: Update #endif comments.
30735         [__USE_MISC]: Remove redundant conditionals.
30736         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
30737         * libio/stdio.h: Update #endif comments.
30738         [__USE_MISC]: Remove redundant conditionals.
30739         * math/bits/math-finite.h [__USE_MISC]: Likewise.
30740         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
30741         * math/math.h: Update #else and #endif comments.
30742         [__USE_MISC]: Remove redundant conditionals.
30743         * misc/sys/uio.h: Update #endif comments.
30744         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
30745         * posix/glob.h [__USE_MISC]: Likewise.
30746         * posix/sys/types.h: Update #endif comments.
30747         [__USE_MISC]: Remove redundant conditionals.
30748         * posix/sys/wait.h: Update #endif comments.
30749         [__USE_MISC]: Remove redundant conditionals.
30750         * posix/unistd.h: Update #endif comments.
30751         [__USE_MISC]: Remove redundant conditionals.
30752         * pwd/pwd.h [__USE_GNU]: Likewise.
30753         [__USE_MISC]: Likewise.
30754         * resolv/netdb.h [__USE_GNU]: Likewise.
30755         * signal/signal.h: Update #endif comments.
30756         [__USE_MISC]: Remove redundant conditionals.
30757         * stdlib/stdlib.h: Update #else and #endif comments.
30758         [__USE_MISC]: Remove redundant conditionals.
30759         [__USE_GNU]: Likewise.
30760         * string/bits/string2.h [__USE_MISC]: Likewise.
30761         * string/string.h: Update #endif comments.
30762         [__USE_MISC]: Remove redundant conditionals.
30763         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
30764         Likewise.
30765         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
30766         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
30767         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
30768         Likewise.
30769         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
30770         Likewise.
30771         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
30772         comments.
30773         [__USE_MISC]: Remove redundant conditionals.
30774         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
30775         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
30776         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
30777         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
30778         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
30779         Likewise.
30780         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
30781         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
30782         Likewise.
30783         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
30784         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
30785         Likewise.
30786         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
30787         Likewise.
30788         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
30789         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
30790         Likewise.
30791         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
30792         Likewise.
30793         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
30794         * sysdeps/x86/bits/string.h: Update #endif comments.
30795         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
30796         conditionals.
30797         * time/sys/time.h: Update #endif comments.
30798         * time/time.h: Likewise.
30799         [__USE_MISC]: Remove redundant conditionals.
30801 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
30803         [BZ #16600]
30804         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
30806 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
30808         * Versions.def (librt): Add GLIBC_2.17.
30810 2014-02-21  Adam Conrad  <adconrad@0c3.net>
30812         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
30813         synonym for _SYS_AUXV_H to allow direct inclusion.
30814         * sysdeps/sparc/bits/hwcap.h: Likewise.
30815         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
30816         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
30817         * sysdeps/sparc/sysdep.h: Likewise.
30819 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30821         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
30823 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30825         * benchtests/bench-strrchr.c: Print length instead of position.
30827 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
30829         [BZ #16611]
30830         * sysdeps/unix/sysv/linux/kernel-features.h
30831         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
30832         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
30833         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
30834         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
30835         Likewise.
30836         [__i386__ || __powerpc__ || __sh__ || __sparc__]
30837         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30838         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
30839         (__ASSUME_SENDMMSG): Define instead of using previous
30840         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
30841         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30842         (__ASSUME_SENDMMSG_SYSCALL): Define.
30843         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30844         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
30845         Likewise.
30846         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30847         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30848         Likewise.
30849         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30850         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30851         Likewise.
30852         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
30853         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30854         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30855         [__ASSUME_SENDMMSG]: Change conditionals to
30856         [__ASSUME_SENDMMSG_SOCKETCALL].
30857         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30858         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
30859         Define.
30860         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30861         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
30862         Likewise.
30863         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
30864         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30865         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30866         [!__ASSUME_SENDMMSG]: Change conditional to
30867         [!__ASSUME_SENDMMSG_SOCKETCALL].
30868         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30869         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30870         Define.
30872         [BZ #16610]
30873         * sysdeps/unix/sysv/linux/kernel-features.h
30874         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
30875         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
30876         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
30877         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
30878         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30879         [__i386__ || __sparc__]
30880         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30881         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
30882         (__ASSUME_RECVMMSG): Define instead of using previous
30883         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
30884         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30885         (__ASSUME_RECVMMSG_SYSCALL): Define.
30886         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30887         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30888         Likewise.
30889         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30890         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30891         Likewise.
30892         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30893         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30894         Likewise.
30895         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
30896         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
30897         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
30898         [__ASSUME_RECVMMSG]: Change condition to
30899         [__ASSUME_RECVMMSG_SOCKETCALL].
30900         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30901         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30902         Define.
30903         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30904         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30905         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30906         Likewise.
30907         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
30908         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
30909         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
30910         [!__ASSUME_RECVMMSG]: Change condition to
30911         [!__ASSUME_RECVMMSG_SOCKETCALL].
30912         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30913         (__ASSUME_RECVMMSG_SYSCALL): Define.
30915         [BZ #16609]
30916         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
30917         __powerpc__ || __s390__ || __sh__ || __sparc__]
30918         (__ASSUME_SOCKETCALL): Define.
30919         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
30920         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
30921         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
30922         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
30923         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30924         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30925         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
30926         (__ASSUME_ACCEPT4): Define instead of using previous
30927         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
30928         __powerpc__ || __sparc__ || __s390__)] condition.
30929         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30930         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30931         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
30932         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30933         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30934         [!__ASSUME_ACCEPT4]: Change condition to
30935         [!__ASSUME_ACCEPT4_SOCKETCALL].
30936         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30937         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
30938         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
30939         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30940         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
30941         __ASSUME_ACCEPT4_SYSCALL.
30942         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
30943         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
30944         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30945         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
30946         __ASSUME_ACCEPT4_SYSCALL.
30947         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
30948         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30949         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30950         [__ASSUME_ACCEPT4]: Change condition to
30951         [__ASSUME_ACCEPT4_SOCKETCALL].
30952         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30953         (__ASSUME_SOCKETCALL): Define.
30954         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
30955         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30956         (__ASSUME_SOCKETCALL): Define.
30957         (__ASSUME_ACCEPT4): Remove.
30958         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
30959         Define.
30960         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30961         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
30962         Likewise.
30963         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30964         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30966         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
30967         macro.
30968         (HWCAP_ARM_LPAE): Likewise.
30969         (HWCAP_ARM_EVTSTRM): Likewise.
30970         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
30971         Add vpfd32, lpae and evtstrm.
30972         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
30973         Increase to 22.
30975 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
30977         * math/auto-libm-test-in: Add tests of clog10.
30978         * math/auto-libm-test-out: Regenerated.
30979         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
30980         * sysdeps/i386/fpu/libm-test-ulps: Update.
30981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30983 2014-02-18  Andreas Schwab  <schwab@suse.de>
30985         [BZ #16574]
30986         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
30987         Store non-zero if the second buffer was newly allocated.
30988         (send_dg): Likewise.
30989         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
30990         to send_vc and send_dg.
30991         (res_nsend): Pass NULL for ansp2_malloced.
30992         * resolv/res_query.c (__libc_res_nquery): Add parameter
30993         answerp2_malloced and pass it down to __libc_res_nsend.
30994         (res_nquery): Pass additional NULL to __libc_res_nquery.
30995         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
30996         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
30997         second answer buffer if answerp2_malloced was set.
30998         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
30999         (__libc_res_nquerydomain): Add parameter
31000         answerp2_malloced and pass it down to __libc_res_nquery.
31001         (res_nquerydomain): Pass additional NULL to
31002         __libc_res_nquerydomain.
31003         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
31004         additional NULL to __libc_res_nsend and __libc_res_nquery.
31005         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
31006         additional NULL to __libc_res_nsearch.
31007         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
31008         parameter of __libc_res_nsearch to check for separately allocated
31009         second buffer.
31010         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
31011         __libc_res_nquery.
31012         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
31013         additional NULL to __libc_res_nquery.
31014         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
31015         __libc_res_nsearch.
31016         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
31017         * include/resolv.h: Update prototypes of __libc_res_nquery,
31018         __libc_res_nsearch, __libc_res_nsend.
31020 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
31022         * math/auto-libm-test-in: Add tests of fma.
31023         * math/auto-libm-test-out: Regenerated.
31024         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
31025         (fma_towardzero_test_data): Likewise.
31026         (fma_downward_test_data): Likewise.
31027         (fma_upward_test_data): Likewise.
31028         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
31029         mpc_mode.
31030         (rounding_modes): Add values for new field.
31031         (func_calc_method): Add value mpfr_fff_f.
31032         (func_calc_desc): Add mpfr_fff_f union field.
31033         (test_function): Add field exact_args.
31034         (FUNC): Add macro argument EXACT_ARGS.
31035         (FUNC_mpfr_f_f): Update call to FUNC.
31036         (FUNC_mpfr_f_f): Likewise.
31037         (FUNC_mpfr_ff_f): Likewise.
31038         (FUNC_mpfr_if_f): Likewise.
31039         (FUNC_mpc_c_f): Likewise.
31040         (FUNC_mpc_c_c): Likewise.
31041         (test_functions): Add fma.  Update calls to FUNC.
31042         (handle_input_arg): Add argument exact_args.
31043         (add_test): Update call to handle_input_arg.
31044         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
31045         (output_for_one_input_case): Update call to calc_generic_results.
31046         Recalculate exact zero results in each rounding mode.
31048         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
31049         non-negative before setting low bit.
31050         * math/auto-libm-test-in: Mark one asin test possibly having
31051         spurious underflow.
31052         * math/auto-libm-test-out: Regenerated.
31053         * sysdeps/i386/fpu/libm-test-ulps: Update.
31054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31056 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
31058         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
31059         * sysdeps/unix/sysv/linux/microblaze: Move directory from
31060         ports/sysdeps/unix/sysv/linux/microblaze.
31061         * README: Add missing listing for microblaze*-*-linux-gnu.
31063 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
31065         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
31066         duplicate code
31068 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
31070         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
31071         * sysdeps/unix/sysv/linux/ia64: Move directory from
31072         ports/sysdeps/unix/sysv/linux/ia64.
31073         * README: Update listing for ia64-*-linux-gnu.
31075 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
31076             Joseph Myers  <joseph@codesourcery.com>
31078         * Makeconfig (test-name): New variable.
31079         (evaluate-test): Likewise.
31080         * Makerules (do-test-clean): Remove .test-result files.
31081         (common-mostlyclean): Likewise.
31082         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
31083         * scripts/evaluate-test.sh: New file.
31085 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
31087         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
31088         separate $(objpfx)tst-fopenloc-cmp.out and
31089         $(objpfx)tst-fopenloc-mem.out targets.
31090         (tests): Update dependencies.
31091         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
31092         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
31093         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
31094         (tst-rxspencer-no-utf8-ARGS): New variable.
31095         (tst-rxspencer-no-utf8-ENV): Likewise.
31096         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
31097         instead of $(objpfx)tst-rxspencer-mem.
31098         ($(objpfx)tst-rxspencer-mem): Change target to
31099         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
31100         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
31101         * posix/tst-rxspencer-no-utf8.c: New file.
31103         * elf/Makefile ($(objpfx)order.out): Remove rule.
31104         [$(run-built-tests) = yes] (tests): Depend on
31105         $(objpfx)order-cmp.out.
31106         ($(objpfx)order-cmp.out): New rule.
31107         [$(run-built-tests) = yes] (tests): Depend on
31108         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
31109         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
31110         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
31111         $(objpfx)tst-array5-static-cmp.out.
31112         ($(objpfx)tst-array1.out): Remove rule.
31113         ($(objpfx)tst-array1-cmp.out): New rule.
31114         ($(objpfx)tst-array1-static.out): Remove rule.
31115         ($(objpfx)tst-array1-static-cmp.out): New rule.
31116         ($(objpfx)tst-array2.out): Remove rule.
31117         ($(objpfx)tst-array2-cmp.out): New rule.
31118         ($(objpfx)tst-array3.out): Remove rule.
31119         ($(objpfx)tst-array3-cmp.out): New rule.
31120         ($(objpfx)tst-array4.out): Remove rule.
31121         ($(objpfx)tst-array4-cmp.out): New rule.
31122         ($(objpfx)tst-array5.out): Remove rule.
31123         ($(objpfx)tst-array5-cmp.out): New rule.
31124         ($(objpfx)tst-array5-static.out): Remove rule.
31125         ($(objpfx)tst-array5-static-cmp.out): New rule.
31126         [$(run-built-tests) = yes] (tests): Depend on
31127         $(objpfx)order2-cmp.out.
31128         ($(objpfx)order2.out): Remove rule.
31129         ($(objpfx)order2-cmp.out): New rule.
31130         ($(objpfx)tst-initorder.out): Remove rule.
31131         [$(run-built-tests) = yes] (tests): Depend on
31132         $(objpfx)tst-initorder-cmp.out.
31133         ($(objpfx)tst-initorder-cmp.out): New rule.
31134         ($(objpfx)tst-initorder2.out): Remove rule.
31135         [$(run-built-tests) = yes] (tests): Depend on
31136         $(objpfx)tst-initorder2-cmp.out.
31137         ($(objpfx)tst-initorder2-cmp.out): New rule.
31138         [$(run-built-tests) = yes] (tests): Depend on
31139         $(objpfx)tst-unused-dep-cmp.out.
31140         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
31141         ($(objpfx)tst-unused-dep-cmp.out): New rule.
31142         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
31143         on $(objpfx)tst-setvbuf1-cmp.out.
31144         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
31145         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
31146         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
31147         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
31148         ($(objpfx)tst-svc.out): Remove rule.
31149         ($(objpfx)tst-svc-cmp.out): New rule.
31151 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
31153         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
31154         * ctype/ctype.h [__USE_MISC]: Likewise.
31155         * dirent/dirent.h [__USE_MISC]: Likewise.
31156         * grp/grp.h [__USE_MISC]: Likewise.
31157         * io/fcntl.h [__USE_MISC]: Likewise.
31158         * io/sys/stat.h [__USE_MISC]: Likewise.
31159         * libio/stdio.h [__USE_MISC]: Likewise.
31160         * posix/unistd.h [__USE_MISC]: Likewise.
31161         * pwd/pwd.h [__USE_MISC]: Likewise.
31162         * stdlib.h [__USE_MISC]: Likewise.
31163         * string/bits/string2.h [__USE_MISC]: Likewise.
31164         * string/string.h [__USE_MISC]: Likewise.
31165         * time/time.h [__USE_MISC]: Likewise.
31167 2014-02-13  Andreas Schwab  <schwab@suse.de>
31169         [BZ #16574]
31170         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
31171         second answer buffer if it was separately allocated.
31173 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
31175         * sysdeps/mips/math-tests.h: Include <features.h>.
31176         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31177         (ROUNDING_TESTS_long_double): Do not define.
31178         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31179         (EXCEPTION_TESTS_long_double): Likewise.
31180         * sysdeps/mips/mips64/libm-test-ulps: Update.
31182         * include/features.h (__USE_BSD): Remove macro definitions.
31183         (__USE_SVID): Likewise.
31184         (_BSD_SOURCE): Likewise.
31185         (_SVID_SOURCE): Likewise.
31186         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
31187         from definition of _DEFAULT_SOURCE.
31188         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
31189         [_DEFAULT_SOURCE].
31190         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
31191         * bits/mman.h [__USE_BSD]: Likewise.
31192         * bits/termios.h [__USE_BSD]: Likewise.
31193         * bits/waitstatus.h [__USE_BSD]: Likewise.
31194         * ctype/ctype.h [__USE_SVID]: Likewise.
31195         * dirent/dirent.h [__USE_BSD]: Likewise.
31196         * grp/grp.h [__USE_SVID]: Likewise.
31197         [__USE_BSD]: Likewise.
31198         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
31199         * io/fcntl.h [__USE_BSD]: Likewise.
31200         * io/ftw.h [__USE_BSD]: Likewise.
31201         * io/sys/stat.h [__USE_BSD]: Likewise.
31202         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
31203         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
31204         * libio/stdio.h [__USE_SVID]: Likewise.
31205         [__USE_BSD]: Likewise.
31206         * math/math.h [__USE_SVID]: Likewise.
31207         [__USE_BSD]: Likewise.
31208         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
31209         * misc/bits/syslog.h [__USE_BSD]: Likewise.
31210         * misc/search.h [__USE_SVID]: Likewise.
31211         * misc/sys/mman.h [__USE_BSD]: Likewise.
31212         * misc/sys/syslog.h [__USE_BSD]: Likewise.
31213         * misc/sys/uio.h [__USE_BSD]: Likewise.
31214         * posix/bits/unistd.h [__USE_BSD]: Likewise.
31215         * posix/glob.h [__USE_BSD]: Likewise.
31216         * posix/regex.h [__USE_BSD]: Likewise.
31217         * posix/sys/types.h [__USE_BSD]: Likewise.
31218         [__USE_SVID]: Likewise.
31219         * posix/sys/utsname.h [__USE_SVID]: Likewise.
31220         * posix/sys/wait.h [__USE_BSD]: Likewise.
31221         [__USE_SVID]: Likewise.
31222         * posix/unistd.h [__USE_BSD]: Likewise.
31223         [__USE_SVID]: Likewise.
31224         * pwd/pwd.h [__USE_SVID]: Likewise.
31225         * resolv/netdb.h [__USE_BSD]: Likewise.
31226         * setjmp/setjmp.h [__USE_BSD]: Likewise.
31227         * signal/signal.h [__USE_BSD]: Likewise.
31228         [__USE_SVID]: Likewise.
31229         * socket/sys/socket.h [__USE_BSD]: Likewise.
31230         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
31231         * stdlib/stdlib.h [__USE_BSD]: Likewise.
31232         [__USE_SVID]: Likewise.
31233         * string/bits/string2.h [__USE_BSD]: Likewise.
31234         [__USE_SVID]: Likewise.
31235         * string/bits/string3.h [__USE_BSD]: Likewise.
31236         * string/endian.h [__USE_BSD]: Likewise.
31237         * string/string.h [__USE_SVID]: Likewise.
31238         [__USE_BSD]: Likewise.
31239         * string/strings.h [__USE_BSD]: Likewise.
31240         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
31241         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
31242         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
31243         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
31244         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
31245         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
31246         Likewise.
31247         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
31248         Likewise.
31249         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
31250         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
31251         Likewise.
31252         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
31253         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
31254         Likewise.
31255         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
31256         Likewise.
31257         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
31258         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
31259         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
31260         Likewise.
31261         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
31262         Likewise.
31263         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
31264         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
31265         * termios/termios.h [__USE_BSD]: Likewise.
31266         * time/sys/time.h [__USE_BSD]: Likewise.
31267         * time/time.h [__USE_BSD]: Likewise.
31268         [__USE_SVID]: Likewise.
31270         * Makefile (subdir_targets): Remove subdir_lint.out.
31272         * stdio-common/Makefile (do-tst-unbputc): Remove target.
31273         (do-tst-printf): Likewise.
31274         (tests): Depend directly on $(objpfx)tst-unbputc.out and
31275         $(objpfx)tst-printf.out.
31277         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
31279         * Makerules (check-abi-%): Change target to
31280         $(objpfx)check-abi-%.out.
31281         (check-abi target): Update dependencies.
31282         (check-abi-pattern variable): Redirect output of diff to $@.
31283         (check-abi variable): Likewise.
31284         * elf/Makefile (check-abi): Update dependencies.
31286         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
31287         unused.
31288         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
31289         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
31290         subnormal range.
31291         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
31292         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
31293         value has largest subnormal exponent.
31294         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
31295         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
31296         * sysdeps/aarch64/soft-fp/sfp-machine.h
31297         (_FP_TININESS_AFTER_ROUNDING): New macro.
31298         * sysdeps/alpha/soft-fp/sfp-machine.h
31299         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31300         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31301         Likewise.
31302         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
31303         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31304         * sysdeps/mips/soft-fp/sfp-machine.h
31305         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31306         * sysdeps/powerpc/soft-fp/sfp-machine.h
31307         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31308         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31309         Likewise.
31310         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31311         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31312         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31313         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31314         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31315         Likewise.
31317 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
31319         [BZ #16545]
31320         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
31321         model 1.
31323 2014-02-12  Richard Henderson  <rth@redhat.com>
31325         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
31326         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
31327         * sysdeps/unix/sysv/linux/alpha: Move directory from
31328         ports/sysdeps/unix/sysv/linux/alpha.
31329         * README: Update listing for alpha-*-linux-gnu.
31331 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
31333         * include/features.h: Update comment documenting feature test
31334         macros.
31335         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
31336         _DEFAULT_SOURCE.
31337         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
31338         (_SVID_SOURCE): Likewise.
31339         (_DEFAULT_SOURCE): Update description of default features.
31340         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
31341         with _GNU_SOURCE.
31342         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
31343         (S_ISVTX): Likewise.
31344         * manual/math.texi (Mathematical Constants): Likewise.
31345         * manual/signal.texi (Interrupted Primitives): Likewise.
31346         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
31347         * math/test-matherr.c (_SVID_SOURCE): Do not define.
31348         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
31349         Don't refer to _SVID_SOURCE in warning text.
31351         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31353         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
31354         already defined.
31355         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
31356         * sysdeps/mips/dl-lookup.c: Remove.
31357         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
31359 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31361         [BZ #16447]
31362         * math/auto-libm-test-in: Add testcase for expl.
31363         * math/auto-libm-test-out: Regenerate.
31364         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
31365         calculation of unsafe.
31366         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
31368 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31370         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
31371         * sysdeps/unix/sysv/linux/aarch64: Move directory from
31372         ports/sysdeps/unix/sysv/linux/aarch64.
31373         * README: Update listing for aarch64*-*-linux-gnu.
31375 2014-02-11  Will Newton  <will.newton@linaro.org>
31377         * manual/probes.texi (Mathematical Function Probes): Use
31378         "triggered" instead of "hit".
31380         * manual/probes.texi (Internal Probes): Add documentation
31381         of setjmp, longjmp and longjmp_target probes.
31383         * include/stap-probe.h: Add comment about probe argument
31384         format.
31386         * malloc/mtrace.c (attribute_hidden): Remove unused macro
31387         definition.  (tr_where, tr_freehook, tr_mallochook,
31388         tr_reallochook, tr_memalignhook): Use ANSI protoype.
31390 2014-02-11  David S. Miller  <davem@davemloft.net>
31392         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
31393         processing int_tests.
31395 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
31397         * sysdeps/mips: Move directory from ports/sysdeps/mips.
31398         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
31399         * sysdeps/unix/sysv/linux/mips: Move directory from
31400         ports/sysdeps/unix/sysv/linux/mips.
31401         * README: Update listing for mips-*-linux-gnu and
31402         mips64-*-linux-gnu.
31404 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
31406         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
31407         * sysdeps/unix/sysv/linux/m68k: Move directory from
31408         ports/sysdeps/unix/sysv/linux/m68k.
31409         * README: Update listing for m68k-*-linux-gnu.
31411 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
31413         * sysdeps/tile: Move directory from ports/sysdeps/tile.
31414         * sysdeps/unix/sysv/linux/generic: Move directory from
31415         ports/sysdeps/unix/sysv/linux/generic.
31416         * sysdeps/unix/sysv/linux/tile: Move directory from
31417         ports/sysdeps/unix/sysv/linux/tile.
31418         * README: Update listing for tile*-*-linux-gnu.
31420 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
31422         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
31423         __builtin_expect.
31424         * benchtests/bench-memmem.c (simple_memmem): Likewise.
31425         * catgets/open_catalog.c (__open_catalog): Likewise.
31426         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
31427         * debug/confstr_chk.c: Likewise.
31428         * debug/fread_chk.c (__fread_chk): Likewise.
31429         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
31430         * debug/getgroups_chk.c: Likewise.
31431         * debug/mbsnrtowcs_chk.c: Likewise.
31432         * debug/mbsrtowcs_chk.c: Likewise.
31433         * debug/mbstowcs_chk.c: Likewise.
31434         * debug/memcpy_chk.c: Likewise.
31435         * debug/memmove_chk.c: Likewise.
31436         * debug/mempcpy_chk.c: Likewise.
31437         * debug/memset_chk.c: Likewise.
31438         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31439         * debug/strcat_chk.c (__strcat_chk): Likewise.
31440         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
31441         * debug/strncat_chk.c (__strncat_chk): Likewise.
31442         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
31443         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
31444         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
31445         * debug/wcpncpy_chk.c: Likewise.
31446         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31447         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
31448         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
31449         * debug/wcsncpy_chk.c: Likewise.
31450         * debug/wcsnrtombs_chk.c: Likewise.
31451         * debug/wcsrtombs_chk.c: Likewise.
31452         * debug/wcstombs_chk.c: Likewise.
31453         * debug/wmemcpy_chk.c: Likewise.
31454         * debug/wmemmove_chk.c: Likewise.
31455         * debug/wmempcpy_chk.c: Likewise.
31456         * debug/wmemset_chk.c: Likewise.
31457         * dirent/scandirat.c (SCANDIRAT): Likewise.
31458         * dlfcn/dladdr1.c (dladdr1): Likewise.
31459         * dlfcn/dladdr.c (dladdr): Likewise.
31460         * dlfcn/dlclose.c (dlclose_doit): Likewise.
31461         * dlfcn/dlerror.c (__dlerror): Likewise.
31462         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
31463         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
31464         * dlfcn/dlopen.c (dlopen_doit): Likewise.
31465         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
31466         * dlfcn/dlsym.c (dlsym_doit): Likewise.
31467         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
31468         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
31469         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
31470         Likewise.
31471         * elf/dl-conflict.c: Likewise.
31472         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31473         * elf/dl-dst.h: Likewise.
31474         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
31475         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
31476         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31477         * elf/dl-init.c (call_init, _dl_init): Likewise.
31478         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
31479         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
31480         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
31481         Likewise.
31482         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
31483         Likewise.
31484         * elf/dl-minimal.c (__libc_memalign): Likewise.
31485         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
31486         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31487         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
31488         * elf/dl-sym.c (do_sym): Likewise.
31489         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
31490         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
31491         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
31492         * elf/dl-writev.h (_dl_writev): Likewise.
31493         * elf/ldconfig.c (search_dir): Likewise.
31494         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
31495         (dl_main): Likewise.
31496         * elf/setup-vdso.h (setup_vdso): Likewise.
31497         * grp/compat-initgroups.c (compat_call): Likewise.
31498         * grp/fgetgrent.c (fgetgrent): Likewise.
31499         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
31500         * grp/putgrent.c (putgrent): Likewise.
31501         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31502         Likewise.
31503         * hurd/hurdinit.c: Likewise.
31504         * iconvdata/8bit-gap.c (struct): Likewise.
31505         * iconvdata/ansi_x3.110.c : Likewise.
31506         * iconvdata/big5.c : Likewise.
31507         * iconvdata/big5hkscs.c : Likewise.
31508         * iconvdata/cp1255.c: Likewise.
31509         * iconvdata/cp1258.c : Likewise.
31510         * iconvdata/cp932.c : Likewise.
31511         * iconvdata/euc-cn.c: Likewise.
31512         * iconvdata/euc-jisx0213.c : Likewise.
31513         * iconvdata/euc-jp.c: Likewise.
31514         * iconvdata/euc-jp-ms.c : Likewise.
31515         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
31516         * iconvdata/gb18030.c : Likewise.
31517         * iconvdata/gbbig5.c (const): Likewise.
31518         * iconvdata/gbgbk.c: Likewise.
31519         * iconvdata/gbk.c : Likewise.
31520         * iconvdata/ibm1364.c : Likewise.
31521         * iconvdata/ibm930.c : Likewise.
31522         * iconvdata/ibm932.c: Likewise.
31523         * iconvdata/ibm933.c : Likewise.
31524         * iconvdata/ibm935.c : Likewise.
31525         * iconvdata/ibm937.c : Likewise.
31526         * iconvdata/ibm939.c : Likewise.
31527         * iconvdata/ibm943.c: Likewise.
31528         * iconvdata/iso_11548-1.c: Likewise.
31529         * iconvdata/iso-2022-cn.c : Likewise.
31530         * iconvdata/iso-2022-cn-ext.c : Likewise.
31531         * iconvdata/iso-2022-jp-3.c: Likewise.
31532         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
31533         * iconvdata/iso-2022-kr.c : Likewise.
31534         * iconvdata/iso646.c (gconv_end): Likewise.
31535         * iconvdata/iso_6937-2.c : Likewise.
31536         * iconvdata/iso_6937.c : Likewise.
31537         * iconvdata/iso8859-1.c: Likewise.
31538         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
31539         * iconvdata/shift_jisx0213.c : Likewise.
31540         * iconvdata/sjis.c : Likewise.
31541         * iconvdata/t.61.c : Likewise.
31542         * iconvdata/tcvn5712-1.c : Likewise.
31543         * iconvdata/tscii.c: Likewise.
31544         * iconvdata/uhc.c : Likewise.
31545         * iconvdata/unicode.c (gconv_end): Likewise.
31546         * iconvdata/utf-16.c (gconv_end): Likewise.
31547         * iconvdata/utf-32.c (gconv_end): Likewise.
31548         * iconvdata/utf-7.c (base64): Likewise.
31549         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31550         * iconv/gconv_close.c (__gconv_close): Likewise.
31551         * iconv/gconv_open.c (__gconv_open): Likewise.
31552         * iconv/gconv_simple.c (internal_ucs4_loop_single)
31553         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
31554         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
31555         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
31556         (ucs4le_internal_loop_single): Likewise.
31557         * iconv/iconv.c (iconv): Likewise.
31558         * iconv/iconv_close.c: Likewise.
31559         * iconv/loop.c (SINGLE): Likewise.
31560         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
31561         * include/atomic.h: Likewise.
31562         * inet/inet6_option.c (option_alloc): Likewise.
31563         * intl/bindtextdom.c (set_binding_values): Likewise.
31564         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
31565         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
31566         * intl/localealias.c (read_alias_file): Likewise.
31567         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
31568         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
31569         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
31570         * libio/fmemopen.c (fmemopen): Likewise.
31571         * libio/iofgets.c (_IO_fgets): Likewise.
31572         * libio/iofgets_u.c (fgets_unlocked): Likewise.
31573         * libio/iofgetws.c (fgetws): Likewise.
31574         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
31575         * libio/iogetdelim.c (_IO_getdelim): Likewise.
31576         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
31577         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
31578         * locale/findlocale.c (_nl_find_locale): Likewise.
31579         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31580         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
31581         Likewise.
31582         * locale/setlocale.c (setlocale): Likewise.
31583         * login/programs/pt_chown.c (main): Likewise.
31584         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
31585         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
31586         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
31587         (mmap, mmap64, mremap, munmap): Likewise.
31588         * math/e_exp2l.c: Likewise.
31589         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
31590         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
31591         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
31592         * math/s_catan.c (__catan): Likewise.
31593         * math/s_catanf.c (__catanf): Likewise.
31594         * math/s_catanh.c (__catanh): Likewise.
31595         * math/s_catanhf.c (__catanhf): Likewise.
31596         * math/s_catanhl.c (__catanhl): Likewise.
31597         * math/s_catanl.c (__catanl): Likewise.
31598         * math/s_ccosh.c (__ccosh): Likewise.
31599         * math/s_ccoshf.c (__ccoshf): Likewise.
31600         * math/s_ccoshl.c (__ccoshl): Likewise.
31601         * math/s_cexp.c (__cexp): Likewise.
31602         * math/s_cexpf.c (__cexpf): Likewise.
31603         * math/s_cexpl.c (__cexpl): Likewise.
31604         * math/s_clog10.c (__clog10): Likewise.
31605         * math/s_clog10f.c (__clog10f): Likewise.
31606         * math/s_clog10l.c (__clog10l): Likewise.
31607         * math/s_clog.c (__clog): Likewise.
31608         * math/s_clogf.c (__clogf): Likewise.
31609         * math/s_clogl.c (__clogl): Likewise.
31610         * math/s_csin.c (__csin): Likewise.
31611         * math/s_csinf.c (__csinf): Likewise.
31612         * math/s_csinh.c (__csinh): Likewise.
31613         * math/s_csinhf.c (__csinhf): Likewise.
31614         * math/s_csinhl.c (__csinhl): Likewise.
31615         * math/s_csinl.c (__csinl): Likewise.
31616         * math/s_csqrt.c (__csqrt): Likewise.
31617         * math/s_csqrtf.c (__csqrtf): Likewise.
31618         * math/s_csqrtl.c (__csqrtl): Likewise.
31619         * math/s_ctan.c (__ctan): Likewise.
31620         * math/s_ctanf.c (__ctanf): Likewise.
31621         * math/s_ctanh.c (__ctanh): Likewise.
31622         * math/s_ctanhf.c (__ctanhf): Likewise.
31623         * math/s_ctanhl.c (__ctanhl): Likewise.
31624         * math/s_ctanl.c (__ctanl): Likewise.
31625         * math/w_pow.c: Likewise.
31626         * math/w_powf.c: Likewise.
31627         * math/w_powl.c: Likewise.
31628         * math/w_scalb.c (sysv_scalb): Likewise.
31629         * math/w_scalbf.c (sysv_scalbf): Likewise.
31630         * math/w_scalbl.c (sysv_scalbl): Likewise.
31631         * misc/error.c (error_tail): Likewise.
31632         * misc/pselect.c (__pselect): Likewise.
31633         * nis/nis_callback.c (__nis_create_callback): Likewise.
31634         * nis/nis_call.c (__nisfind_server): Likewise.
31635         * nis/nis_creategroup.c (nis_creategroup): Likewise.
31636         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
31637         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
31638         * nis/nis_getservlist.c (nis_getservlist): Likewise.
31639         * nis/nis_lookup.c (nis_lookup): Likewise.
31640         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
31641         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
31642         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
31643         * nis/nis_xdr.c (xdr_endpoint): Likewise.
31644         * nis/nss_compat/compat-grp.c (getgrent_next_file)
31645         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
31646         * nis/nss_compat/compat-initgroups.c (add_group)
31647         (internal_getgrent_r): Likewise.
31648         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
31649         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
31650         * nis/nss_compat/compat-spwd.c (getspent_next_file)
31651         (internal_getspnam_r): Likewise.
31652         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
31653         (_nss_nis_getaliasbyname_r): Likewise.
31654         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
31655         (_nss_nis_getntohost_r): Likewise.
31656         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
31657         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
31658         (_nss_nis_getgrgid_r): Likewise.
31659         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
31660         (internal_nis_gethostent_r, internal_gethostbyname2_r)
31661         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
31662         (_nss_nis_gethostbyname4_r): Likewise.
31663         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
31664         (initgroups_netid): Likewise.
31665         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
31666         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
31667         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
31668         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
31669         (_nss_nis_getprotobynumber_r): Likewise.
31670         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
31671         (_nss_nis_getsecretkey): Likewise.
31672         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
31673         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
31674         (_nss_nis_getpwuid_r): Likewise.
31675         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
31676         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
31677         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
31678         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
31679         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
31680         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
31681         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
31682         Likewise.
31683         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
31684         (_nss_nisplus_getntohost_r): Likewise.
31685         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
31686         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
31687         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
31688         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
31689         Likewise.
31690         * nis/nss_nisplus/nisplus-initgroups.c
31691         (_nss_nisplus_initgroups_dyn): Likewise.
31692         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
31693         (_nss_nisplus_getnetbyaddr_r): Likewise.
31694         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
31695         (_nss_nisplus_getprotobynumber_r): Likewise.
31696         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
31697         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
31698         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
31699         Likewise.
31700         * nis/nss_nisplus/nisplus-service.c
31701         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
31702         (_nss_nisplus_getservbyport_r): Likewise.
31703         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
31704         (_nss_nisplus_getspnam_r): Likewise.
31705         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
31706         Likewise.
31707         * nscd/aicache.c (addhstaiX): Likewise.
31708         * nscd/cache.c (cache_search, prune_cache): Likewise.
31709         * nscd/connections.c (register_traced_file, send_ro_fd)
31710         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
31711         (main_loop_epoll): Likewise.
31712         * nscd/grpcache.c (addgrbyX): Likewise.
31713         * nscd/hstcache.c (addhstbyX): Likewise.
31714         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31715         * nscd/mem.c (gc, mempool_alloc): Likewise.
31716         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
31717         (addinnetgrX): Likewise.
31718         * nscd/nscd-client.h (__nscd_acquire_maplock)
31719         (__nscd_drop_map_ref): Likewise.
31720         * nscd/nscd_getai.c (__nscd_getai): Likewise.
31721         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31722         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
31723         Likewise.
31724         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31725         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31726         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
31727         (__nscd_get_map_ref): Likewise.
31728         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31729         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
31730         Likewise.
31731         * nscd/pwdcache.c (addpwbyX): Likewise.
31732         * nscd/selinux.c (preserve_capabilities): Likewise.
31733         * nscd/servicescache.c (addservbyX): Likewise.
31734         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
31735         * posix/fnmatch.c (fnmatch): Likewise.
31736         * posix/getopt.c (_getopt_internal_r): Likewise.
31737         * posix/glob.c (glob, glob_in_dir): Likewise.
31738         * posix/wordexp.c (exec_comm_child): Likewise.
31739         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
31740         (getanswer_r, gaih_getanswer_slice): Likewise.
31741         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
31742         * resolv/res_init.c: Likewise.
31743         * resolv/res_mkquery.c (res_nmkquery): Likewise.
31744         * resolv/res_query.c (__libc_res_nquery): Likewise.
31745         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
31746         Likewise.
31747         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
31748         * stdio-common/perror.c (perror): Likewise.
31749         * stdio-common/printf_fp.c (___printf_fp): Likewise.
31750         * stdio-common/tmpnam.c (tmpnam): Likewise.
31751         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31752         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31753         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
31754         Likewise.
31755         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
31756         * stdlib/putenv.c (putenv): Likewise.
31757         * stdlib/setenv.c (__add_to_environ): Likewise.
31758         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31759         * stdlib/strtol_l.c (INTERNAL): Likewise.
31760         * string/memmem.c (memmem): Likewise.
31761         * string/strerror.c (strerror): Likewise.
31762         * string/strnlen.c (__strnlen): Likewise.
31763         * string/test-memmem.c (simple_memmem): Likewise.
31764         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
31765         * sunrpc/pm_getport.c (__get_socket): Likewise.
31766         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
31767         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
31768         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
31769         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
31770         Likewise.
31771         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
31772         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31773         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31774         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
31775         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31776         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
31777         Likewise.
31778         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
31779         Likewise.
31780         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31781         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31782         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31783         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31784         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
31785         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
31786         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
31787         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
31788         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31789         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
31790         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31791         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
31792         Likewise.
31793         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
31794         Likewise.
31795         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
31796         Likewise.
31797         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
31798         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31799         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
31800         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
31801         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
31802         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
31803         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31804         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
31805         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
31806         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
31807         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
31808         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31809         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31810         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
31811         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31812         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31813         Likewise.
31814         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
31815         Likewise.
31816         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
31817         Likewise.
31818         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
31819         Likewise.
31820         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31821         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31822         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
31823         Likewise.
31824         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
31825         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
31826         * sysdeps/posix/opendir.c (__opendirat): Likewise.
31827         * sysdeps/posix/sleep.c: Likewise.
31828         * sysdeps/posix/tempname.c: Likewise.
31829         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
31830         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31831         Likewise.
31832         * sysdeps/powerpc/powerpc32/dl-machine.h
31833         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
31834         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
31835         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31836         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
31837         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
31838         Likewise.
31839         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
31840         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
31841         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31842         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
31843         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31844         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
31845         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
31846         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
31847         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31848         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
31849         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
31850         (elf_machine_lazy_rel): Likewise.
31851         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31852         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
31853         (elf_machine_lazy_rel): Likewise.
31854         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
31855         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
31856         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
31857         * sysdeps/unix/grantpt.c (grantpt): Likewise.
31858         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
31859         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
31860         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31861         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31862         Likewise.
31863         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
31864         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
31865         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
31866         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
31867         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31868         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31869         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
31870         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
31871         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
31872         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31873         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31874         Likewise.
31875         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
31876         (__posix_fallocate64_l64): Likewise.
31877         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
31878         (posix_fallocate): Likewise.
31879         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
31880         Likewise.
31881         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31882         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
31883         (getifaddrs_internal): Likewise.
31884         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
31885         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
31886         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
31887         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
31888         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31889         (__posix_fallocate64_l64): Likewise.
31890         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31891         Likewise.
31892         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
31893         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
31894         (__get_clockfreq): Likewise.
31895         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
31896         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
31897         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
31898         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31899         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31900         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
31901         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
31902         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
31903         Likewise.
31904         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
31905         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
31906         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31907         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
31908         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31909         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
31910         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
31911         Likewise.
31912         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31913         (posix_fallocate): Likewise.
31914         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31915         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
31916         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
31917         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
31918         (elf_machine_rela, elf_machine_rela_relative)
31919         (elf_machine_lazy_rel): Likewise.
31920         * time/asctime.c (asctime_internal): Likewise.
31921         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
31922         * time/tzset.c (__tzset_parse_tz): Likewise.
31923         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31924         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31925         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
31926         * wcsmbs/wcsmbsload.h: Likewise.
31928         [BZ #15894]
31929         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
31931         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
31932         (arena_get2): Remove THREAD_STATS conditionals.
31933         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
31934         (__malloc_stats, int): Likewise.
31936 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
31938         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
31939         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
31941         * manual/setjmp.texi: Fix typos/grammar errors.
31943         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
31944         Only return early when n is <= 0.  Delete unused return statement.
31946         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
31947         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
31948         * debug/tst-longjmp_chk3.c: New file.
31950         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
31951         (test_main): Replace code with set_fortify_handler call.
31952         * debug/test-strcpy_chk.c: Likewise.
31953         * debug/tst-chk1.c: Likewise.
31954         * debug/tst-longjmp_chk.c: Likewise.
31955         * test-skeleton.c: Include fcntl.h & paths.h
31956         (set_fortify_handler): Define.
31958         * debug/tst-longjmp_chk.c: Add header comment and include
31959         ../test-skeleton.c.
31960         (do_test): Mark static.
31961         (TEST_FUNCTION): Define.
31963         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
31964         (IP_PMTUDISC_INTERFACE): Likewise.
31965         (IP_MULTICAST_IF): Likewise.
31966         (IP_MULTICAST_TTL): Likewise.
31967         (IP_MULTICAST_LOOP): Likewise.
31968         (IP_ADD_MEMBERSHIP): Likewise.
31969         (IP_DROP_MEMBERSHIP): Likewise.
31970         (IP_UNBLOCK_SOURCE): Likewise.
31971         (IP_BLOCK_SOURCE): Likewise.
31972         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
31973         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
31974         (IP_MSFILTER): Likewise.
31975         (MCAST_JOIN_GROUP): Likewise.
31976         (MCAST_BLOCK_SOURCE): Likewise.
31977         (MCAST_UNBLOCK_SOURCE): Likewise.
31978         (MCAST_LEAVE_GROUP): Likewise.
31979         (MCAST_JOIN_SOURCE_GROUP): Likewise.
31980         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
31981         (MCAST_MSFILTER): Likewise.
31982         (IP_MULTICAST_ALL): Likewise.
31983         (IP_UNICAST_IF): Likewise.
31985         * timezone/Makefile: Delete $(have-ksh) check.
31986         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
31987         * timezone/tzselect.ksh: Add +x mode bits.
31989         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
31990         (ANON_INODE_FS_MAGIC): Likewise.
31991         (BDEVFS_MAGIC): Likewise.
31992         (BINFMTFS_MAGIC): Likewise.
31993         (BTRFS_TEST_MAGIC): Likewise.
31994         (CRAMFS_MAGIC_WEND): Likewise.
31995         (DEBUGFS_MAGIC): Likewise.
31996         (ECRYPTFS_SUPER_MAGIC): Likewise.
31997         (EXT3_SUPER_MAGIC): Likewise.
31998         (EXT4_SUPER_MAGIC): Likewise.
31999         (FUTEXFS_SUPER_MAGIC): Likewise.
32000         (HOSTFS_SUPER_MAGIC): Likewise.
32001         (HUGETLBFS_MAGIC): Likewise.
32002         (MINIX3_SUPER_MAGIC): Likewise.
32003         (MTD_INODE_FS_MAGIC): Likewise.
32004         (NILFS_SUPER_MAGIC): Likewise.
32005         (OPENPROM_SUPER_MAGIC): Likewise.
32006         (PIPEFS_MAGIC): Likewise.
32007         (PSTOREFS_MAGIC): Likewise.
32008         (QNX6_SUPER_MAGIC): Likewise.
32009         (RAMFS_MAGIC): Likewise.
32010         (REISERFS_SUPER_MAGIC_STRING): Likewise.
32011         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
32012         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
32013         (SECURITYFS_MAGIC): Likewise.
32014         (SELINUX_MAGIC): Likewise.
32015         (SMACK_MAGIC): Likewise.
32016         (SOCKFS_MAGIC): Likewise.
32017         (SQUASHFS_MAGIC): Likewise.
32018         (STACK_END_MAGIC): Likewise.
32019         (TMPFS_MAGIC): Likewise.
32020         (USBDEVICE_SUPER_MAGIC): Likewise.
32021         (V9FS_MAGIC): Likewise.
32022         (XENFS_SUPER_MAGIC): Likewise.
32023         (CRAMFS_MAGIC): Fix typo in comment.
32024         (EXT2_SUPER_MAGIC): Update comment.
32025         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
32027 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
32029         * sysdeps/arm: Move directory from ports/sysdeps/arm.
32030         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
32031         * sysdeps/unix/sysv/linux/arm: Move directory from
32032         ports/sysdeps/unix/sysv/linux/arm.
32033         * README: Update listing for arm-*-linux-gnueabi.
32035         * README: Remove mention of am33.
32037 2014-02-07  Roland McGrath  <roland@hack.frob.com>
32039         * bits/sigset.h (__sigemptyset): Use a statement expression rather
32040         than the comma operator, to avoid "rhs of comma has no effect"
32041         compiler warnings.
32042         (__sigfillset, __sigandset, __sigorset): Likewise.
32043         * include/signal.h (__sigemptyset): Likewise.
32044         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
32046 2014-02-07  Allan McRae  <allan@archlinux.org>
32048         * version.h (RELEASE): Set to "development".
32049         (VERSION): Set to "2.19.90"
32050         * NEWS: Add 2.20 section.
32052 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
32054         [BZ #16529]
32055         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
32057 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32059         * manual/contrib.texi: Update entry for Carlos O'Donell,
32060         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
32062 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
32064         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
32066         * sysdeps/unix/sysv/linux/kernel-features.h
32067         [__LINUX_KERNEL_VERSION >= 0x020621]
32068         (__ASSUME_PROC_PID_TASK_COMM): Define.
32070 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32072         [BZ #16398]
32073         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
32074         conversion when destination buffer does not have enough space.
32075         * libio/tst-ftell-partial-wide.c: New test case.
32076         * libio/Makefile (tests): Add tst-ftell-partial-wide.
32078         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
32079         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
32080         Leonard and Allan McRae.
32082 2014-02-04  David S. Miller  <davem@davemloft.net>
32084         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
32085         32-bit.
32087 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32090         New file
32091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
32092         New file
32093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
32094         New file.
32095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
32096         New file.
32097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
32098         New file.
32099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32100         New file.
32101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32102         New file.
32103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32104         New file.
32105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32106         New file.
32107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32108         New file.
32109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32110         New file.
32111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32112         New file.
32113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32114         New file.
32116 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32118         * nptl/shlib-versions: Change powerpc*le start to 2.17.
32119         * shlib-versions: Likewise.
32121 2014-02-04  Roland McGrath  <roland@hack.frob.com>
32122             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32124         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
32125         (abilist-pattern): New variable, set to %-le.abilist.
32127         * Makerules (abilist-pattern): New variable.
32128         (vpath): Use $(abilist-pattern) in place of %.abilist.
32129         (check-abi-% pattern rule): Likewise.
32130         (check-abi, update-abi): Likewise.
32132 2014-02-04  Eric Wong  <normalperson@yhbt.net>
32134         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32136 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
32138         * manual/startup.texi: Add next, previous, and top entries for
32139         the `Program Arguments' and `Environment Variables' nodes.
32141 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
32143         * manual/macros.texi: Add comments before MTASC-safety macros.
32145         * manual/users.texi: Document MTASC-safety properties.
32147         * manual/threads.texi (pthread_key_create, pthread_key_delete)
32148         (pthread_getspecific, pthread_setspecific): Format with
32149         @deftypefun, and add @safety note.
32150         * manual/signal.texi: Move comments that analyze the above
32151         functions to their home place.
32153 2014-02-03  Allan McRae  <allan@archlinux.org>
32155         * po/sl.po: Update Slovenian translation from translation project.
32157 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
32159         * manual/time.texi (timegm): Add missing blank after @c.
32160         Reported by Joseph Myers <joseph@codesourcery.com>.
32162 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
32164         * manual/check-safety.sh: New.
32165         * manual/Makefile ($(objpfx)stamp-summary): Run it.
32167         * manual/terminal.texi: Document MTASC-safety properties.
32169         * manual/filesys.texi: Document MTASC-safety properties.
32171         * manual/errno.texi: Document MTASC-safety properties.
32173         * manual/intro.texi: Document safety identifiers and
32174         conditionals.
32176         * manual/string.texi (wcstok): Fix prototype.
32177         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
32179         * manual/time.texi: Document MTASC-safety properties.
32181         * manual/string.texi: Document MTASC-safety properties.
32183         * manual/threads.texi: Document MTASC-safety properties.
32185         * manual/stdio.texi: Document MTASC-safety properties.
32187         * manual/syslog.texi: Document MTASC-safety properties.
32189         * manual/sysinfo.texi: Document MTASC-safety properties.
32191         * manual/startup.texi: Document MTASC-safety properties.
32193         * manual/socket.texi: Document MTASC-safety properties.
32195         * manual/signal.texi: Document MTASC-safety properties.
32197 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
32199         * manual/setjmp.texi: Document MTASC-safety properties.
32201         * manual/search.texi: Document MTASC-safety properties.
32203         * manual/resource.texi: Document MTASC-safety properties.
32205         * manual/process.texi: Document MTASC-safety properties.
32207         * manual/platform.texi: Document MTASC-safety properties.
32209         * manual/pipe.texi: Document MTASC-safety properties.
32211         * manual/pattern.texi: Document MTASC-safety properties.
32213         * manual/message.texi: Document MTASC-safety properties.
32215         [BZ #12751]
32216         * manual/memory.texi: Document MTASC-safety properties.
32218         * manual/math.texi: Document MTASC-safety properties.
32220         * manual/locale.texi: Document MTASC-safety properties.
32222         * manual/llio.texi: Document MTASC-safety properties.
32224         * manual/libdl.texi: New.
32226         * manual/lang.texi: Document MTASC-safety properties.
32228         * manual/job.texi: Document MTASC-safety properties.
32230         * manual/getopt.texi: Document MTASC-safety properties.
32232         * manual/ctype.texi: Document MTASC-safety properties.
32234 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
32236         [BZ #16046]
32237         * csu/libc-tls.c (static_map): Remove variable.
32238         (__libc_setup_tls): Use main executable's link map for TLS data.
32239         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
32240         casing for LM_ID_BASE and GL(dl_nns).
32241         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
32242         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
32243         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
32244         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
32245         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
32246         member.
32247         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
32248         l_phnum members.
32250 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
32252         * manual/debug.texi: Document MTASC-safety properties.
32254 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
32256         [BZ #16510]
32257         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
32258         of __x86_64__ when disabling x87 inline functions.
32260 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
32262         * manual/charset.texi: Document MTASC-safety properties.
32264         * manual/crypt.texi: Document MTASC-safety properties.
32266         * manual/conf.texi: Document MTASC-safety properties.
32268         * manual/arith.texi: Document MTASC-safety properties.
32270         * manual/argp.texi: Document MTASC-safety properties.
32272         * manual/macros.texi: Introduce macros to document multi
32273         thread, asynchronous signal and asynchronous cancellation
32274         safety properties.
32275         * manual/intro.texi: Introduce the properties themselves.
32277 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32279         * sysdeps/sh/sh4/Makefile: New file.
32281 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
32283         * math/gen-libm-test.pl ($srcdir): New variable.
32284         ($auto_input): Use it.
32286 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32288         [BZ #16506]
32289         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
32290         access beyond array bounds when parsing netgroups file.
32292         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
32293         the old buffer before realloc.
32295 2014-01-27  Allan McRae  <allan@archlinux.org>
32297         * po/fr.po: Update French translation from translation project.
32299 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32301         * sysdeps/sh/libm-test-ulps: Regenerate.
32303 2014-01-24  David S. Miller  <davem@davemloft.net>
32305         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
32307 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32309         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
32310         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
32312 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32314         [BZ #16474]
32315         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
32316         string pointers after reallocation.
32318 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32320         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
32321         __SH4A__ instead of __SH_FPU_ANY__.
32323 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32325         * sysdeps/sh/fpu_control.h: New file.
32326         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
32327         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
32328         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
32329         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
32330         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
32331         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
32332         * sysdeps/sh/sys/ucontext.h: Remove.
32333         * sysdeps/sh/sys: Remove directory.
32335 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32337         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
32338         s390/sys/ucontext.h.
32339         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
32340         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
32342 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
32344         [BZ #15605]
32345         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
32347 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32349         [BZ#16431]
32350         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
32351         Adjust the vDSO correctly for internal calls.
32352         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
32354 2014-01-20  Allan McRae  <allan@archlinux.org>
32356         * po/ca.po: Update Catalan translation from translation project.
32358 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
32360         * sysdeps/s390/sotruss-lib.c: New file.
32362 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32364         [BZ#16430]
32365         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
32366         (__GI___gettimeofday): Alias for a different internal symbol to avoid
32367         local calls issues by not having a PLT stub required for IFUNC calls.
32368         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
32370 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
32372         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
32373         * math/test-fpucw-static.c: Likewise.
32375 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32377         [BZ #16453]
32378         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
32380 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32382         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
32383         implementation for powerpc.
32385 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
32387         [BZ #14782]
32388         * sysdeps/posix/system.c (__libc_system): Do not enable
32389         asynchronous cancellation.
32391 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32393         [BZ #16427]
32394         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
32395         handling only for numbers special also in the IEEE case.
32397 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32399         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32401 2014-01-11  Allan McRae  <allan@archlinux.org>
32403         * po/bg.po: Update Bulgarian translation from translation project.
32405         * po/de.po: Update German translation from translation project.
32407 2014-01-10  Roland McGrath  <roland@hack.frob.com>
32409         * sysdeps/generic/gcc-compat.h: New file.
32411 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32413         * benchtests/asin-inputs: Correct slow inputs.
32414         * benchtests/acos-inputs: Likewise.
32416 2014-01-10  Allan McRae  <allan@archlinux.org>
32418         * po:sv.po: Update Swedish translation from translation project.
32420         * po/vi.po: Update Vietnamese translation from translation project.
32422         * po/eo.po: Update Esperanto translation from translation project.
32424         * po/cs.po: Update Czech translation from translation project.
32426         * po/nl.po: Update Dutch translation from translation project.
32428         * po/pl.po: Update Polish translation from translation project.
32430         * po/ru.po: Update Russian translation from translation project.
32432         * po/uk.po: Update Ukrainian translation from translation project.
32434 2014-01-08  Brooks Moses  <bmoses@google.com>
32436         * elf/dl-load.c: Fix comment typo.
32438 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
32440         * po/header.pot: Rename to...
32441         * po/pot.header: ... this.
32442         * po/Makefile: Use pot.header.
32444 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
32445             Maxim Kuvyrkov  <maxim@kugelworks.com>
32447         [BZ #16394]
32448         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
32449         SRC and DEST against LEN.
32451 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32453         [BZ #16414]
32454         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
32455         implementation.
32456         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
32458 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32462 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
32464         [BZ #16408]
32465         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
32466         for large positive arguments.
32468 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
32470         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32472         * math/auto-libm-test-in: Mark various tests with
32473         xfail-rounding:ldbl-128ibm.
32474         * math/auto-libm-test-out: Regenerated.
32476         [BZ #16407]
32477         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32478         Increase overflow threshold.
32480 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
32482         [BZ #14286]
32483         * stdio-common/vfprintf.c: Check for integer overflow.
32485 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32487         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
32488         the first argument and return value of __tls_get_addr_internal.
32490 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32492         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
32493         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
32495 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32497         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
32498         * sysdeps/s390/rtld-global-offsets.sym: New file.
32499         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
32500         GLIBC_2.19 symbol.
32501         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
32502         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
32503         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
32504         ... this.
32505         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
32506         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
32507         ... this.
32508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32509         Regenerate.
32510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32511         Regenerate.
32512         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
32513         halfs of GPRs for high_gprs contexts.
32514         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
32515         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
32516         field.
32517         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
32518         uc_flags field.
32519         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
32520         64 bit versions:
32521         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
32522         for high GPRs (uc_high_gprs) and for future extensions
32523         (__reserved).
32524         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
32525         for future extensions (__reserved).
32526         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
32527         64 bit versions:
32528         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
32529         SC_HIGHGPRS offset definition.
32530         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
32531         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
32533         * Versions.def: Add GLIBC_2.19 for libpthread.
32534         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
32535         siglongjmp for libpthread with GLIBC_2.19 symver.
32536         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
32537         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
32538         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
32539         * sysdeps/s390/__longjmp.c: New file.
32540         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
32541         * sysdeps/s390/longjmp.c: New file.
32542         * sysdeps/s390/setjmp.S: New file.
32543         * sysdeps/s390/sigjmp.S: New file.
32544         * sysdeps/s390/v1-longjmp.c: New file.
32545         * sysdeps/s390/v1-setjmp.h: New file.
32546         * sysdeps/s390/v1-sigjmp.c: New file.
32547         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
32548         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
32549         GLIBC_2.19 version.
32550         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
32551         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
32552         versioned symbols for ____longjmp_chk.
32553         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
32554         Likewise.
32555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32556         Regenerate.
32557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32558         Regenerate.
32559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32560         Regenerate.
32561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32562         Regenerate.
32563         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
32564         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
32565         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
32566         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
32567         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
32568         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
32569         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
32570         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
32571         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
32572         * sysdeps/s390/rtld-__longjmp.c: New file.
32573         * sysdeps/s390/rtld-setjmp.S: New file.
32575 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
32577         [BZ #16400]
32578         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32579         Return -__logl (x) for small positive arguments without evaluating
32580         a polynomial.
32582 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
32584         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
32585         Rename to ...
32586         (__ptrace_peeksiginfo_args): ... this.
32587         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32588         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32589         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32591 2014-01-06  Allan McRae  <allan@archlinux.org>
32593         * inet/netinet/in.h: Fix typo in comment.
32595 2014-01-05  Andreas Jaeger  <aj@suse.de>
32597         * sysdeps/i386/fpu/libm-test-ulps: Update.
32599 2014-01-05  Allan McRae  <allan@archlinux.org>
32601         * po/libc.pot: Regenerated.
32603         * malloc/memusagestat.c: Fix gettext call formatting.
32605 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
32607         * nscd/nscd.c: Improve usage() output.
32609 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
32611         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
32612         * sysdeps/unix/sysv/linux/configure: Regenerated.
32613         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
32614         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
32616 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
32618         [BZ #16390]
32619         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32620         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
32622 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32624         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
32625         extra tokens at end of #undef directive.
32626         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
32627         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
32628         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32630 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
32632         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32634         * math/auto-libm-test-in: Mark various tests with
32635         xfail-rounding:ldbl-128ibm.
32636         * math/auto-libm-test-out: Regenerated.
32638 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
32640         [BZ #16386]
32641         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
32642         numbers with subnormal high part when calculating exponent.
32644         [BZ #16385]
32645         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
32646         fabs.
32648         [BZ #16384]
32649         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
32650         M_LN2l.
32651         (__ieee754_acoshl): Use __log1pl not __log1p.
32653 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
32655         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
32656         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
32657         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
32658         (grow_heap, heap_trim, _int_new_arena, get_free_list)
32659         (reused_arena, arena_get2): Convert to GNU style.
32660         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
32661         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
32662         (memalign_check, __malloc_set_state): Likewise.
32663         * malloc/mallocbug.c (main): Likewise.
32664         * malloc/malloc.c (__malloc_assert, malloc_init_state)
32665         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
32666         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
32667         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
32668         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
32669         (__posix_memalign, malloc_info): Likewise.
32670         * malloc/malloc.h: Likewise.
32671         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
32672         (mallochook, memalignhook, reallochook, mabort): Likewise.
32673         * malloc/mcheck.h: Likewise.
32674         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
32675         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
32676         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
32677         * malloc/morecore.c (__default_morecore): Likewise.
32678         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
32679         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
32680         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
32681         (print_and_abort): Likewise.
32682         * malloc/obstack.h: Likewise.
32683         * malloc/set-freeres.c (__libc_freeres): Likewise.
32684         * malloc/tst-mallocstate.c (main): Likewise.
32685         * malloc/tst-mtrace.c (main): Likewise.
32686         * malloc/tst-realloc.c (do_test): Likewise.
32688 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32690         [BZ #16366]
32691         * nscd/netgroupcache.c (do_notfound): New function.
32692         (addgetnetgrentX): Use it.
32694         [BZ # 16365]
32695         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
32696         NSS_STATUS_NOTFOUND.
32698 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
32700         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32703 2014-01-01  Allan McRae  <allan@archlinux.org>
32705         * scripts/update-copyrights: Update configure input file suffix.
32707         * NEWS: Update copyright year.
32708         * catgets/gencat.c: Likewise.
32709         * csu/version.c: Likewise.
32710         * debug/catchsegv.sh: Likewise.
32711         * debug/pcprofiledump.c: Likewise.
32712         * debug/xtrace.sh: Likewise.
32713         * elf/ldconfig.c: Likewise.
32714         * elf/ldd.bash.in: Likewise.
32715         * elf/pldd.c: Likewise.
32716         * elf/sotruss.ksh: Likewise.
32717         * elf/sprof.c: Likewise.
32718         * iconv/iconv_prog.c: Likewise.
32719         * iconv/iconvconfig.c: Likewise.
32720         * locale/programs/locale.c: Likewise.
32721         * locale/programs/localedef.c: Likewise.
32722         * login/programs/pt_chown.c: Likewise.
32723         * malloc/memusage.sh: Likewise.
32724         * malloc/memusagestat.c: Likewise.
32725         * malloc/mtrace.pl: Likewise.
32726         * manual/libc.texinfo: Likewise.
32727         * nscd/nscd.c: Likewise.
32728         * nss/getent.c: Likewise.
32729         * nss/makedb.c: Likewise.
32730         * posix/getconf.c: Likewise.
32731         * scripts/test-installation.pl: Likewise.
32733         * All files with FSF copyright notices: Update copyright dates
32734         using scripts/update-copyrights.
32735         * intl/plural.c: Regenerated.
32736         * locale/programs/charmap-kw.h: Likewise.
32737         * locale/programs/locfile-kw.h: Likewise.
32739 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
32741         * sysdeps/unix/sysv/linux/configure: Regenerated.
32742         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
32743         the linux/fanotify.h header.
32744         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
32745         HAVE_LINUX_FANOTIFY_H is defined.
32747 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32749         * benchtests/cos-inputs: New inputs.
32750         * benchtests/sin-inputs: Likewise.
32752         * benchtests/atan-inputs: New inputs. Fix name of multiple
32753         precision fallback inputs.
32755         * benchtests/atanh-inputs: New inputs.
32756         * benchtests/tanh-inputs: Likewise.
32758         * benchtests/acosh-inputs: New inputs.
32759         * benchtests/asinh-inputs: Likewise.
32761         * benchtests/cosh-inputs: New inputs.
32762         * benchtests/sinh-inputs: Likewise.
32764         * benchtests/acos-inputs: Add more inputs.
32765         * benchtests/asin-inputs: Likewise.
32767 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
32769         [BZ #16375]
32770         * manual/arith.texi: Fix spelling.
32771         * manual/charset.texi: Likewise.
32772         * manual/errno.texi: Likewise.
32773         * manual/filesys.texi: Likewise.
32774         * manual/lang.texi: Likewise.
32775         * manual/llio.texi: Likewise.
32776         * manual/locale.texi: Likewise.
32777         * manual/message.texi: Likewise.
32778         * manual/resource.texi: Likewise.
32779         * manual/search.texi: Likewise.
32780         * manual/setjmp.texi: Likewise.
32781         * manual/stdio.texi: Likewise.
32782         * manual/string.texi: Likewise.
32783         * manual/sysinfo.texi: Likewise.
32784         * manual/time.texi: Likewise.
32786 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
32788         * po/sl.po: New file.
32790 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
32792         * .gitignore: Add core/.gdbinit/.gdb_history.
32794 2013-12-27  Allan McRae  <allan@archlinux.org>
32796         [BZ #16369]
32797         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
32798         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
32800 2013-12-24  Brooks Moses  <bmoses@google.com>
32802         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
32803         all compilers that claim C++98 compliance, not just GCC.
32804         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
32805         Likewise.
32807 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
32809         * NEWS: Restore accidentally deleted bug-fix entries.
32811 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
32812             Ondřej Bílka  <neleai@seznam.cz>
32814         [BZ #15073]
32815         * malloc/malloc.c (_int_free): Perform sanity check only if we
32816         have_lock.
32818 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
32820         [BZ #12986]
32821         * manual/stdio.texi (String Input Conversions): Clarify that character
32822         classes are not supported.
32824 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32828 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
32830         [BZ #16337]
32831         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32832         Calculate results for small negative arguments directly rather
32833         than using reflection formula with special underflow handling.
32835         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
32836         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
32837         sysdeps/unix/bsd/bsd4.4/syscalls.list.
32838         (fchflags): Likewise.
32839         (revoke): Likewise.
32840         (setlogin): Likewise.
32841         (sigaltstack): Likewise.
32842         (wait4): Likewise.
32843         (sigblock): Remove.
32844         (sigsetmask): Likewise.
32845         (wait3): Likewise.
32846         (waitpid): Likewise.
32847         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
32848         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
32849         file.
32850         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
32851         * sysdeps/unix/bsd/Makefile: ... here.
32852         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
32853         * sysdeps/unix/bsd/Versions: ... here.
32854         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
32855         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
32856         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
32857         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
32858         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
32859         * sysdeps/unix/bsd/sigblock.c: ... here.
32860         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
32861         * sysdeps/unix/bsd/sigsetmask.c: ... here.
32862         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
32863         * sysdeps/unix/bsd/sigvec.c: ... here.
32864         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
32865         * sysdeps/unix/bsd/tcdrain.c: ... here.
32866         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
32867         * sysdeps/unix/bsd/tcgetattr.c: ... here.
32868         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
32869         * sysdeps/unix/bsd/tcsetattr.c: ... here.
32870         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
32871         * sysdeps/unix/bsd/wait.c: ... here.
32872         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
32873         * sysdeps/unix/bsd/wait3.c: ... here.
32874         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
32875         * sysdeps/unix/bsd/waitpid.c: ... here.
32877 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
32879         [BZ #16356]
32880         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
32881         round-to-nearest for [!USE_AS_EXPM1L].
32882         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
32883         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
32884         more tests of exp and exp10.  Expect some exp10 tests to miss
32885         exceptions or fail in directed rounding modes.
32886         * math/auto-libm-test-out: Regenerated.
32887         * math/libm-test.inc (exp10_tonearest_test_data): New array.
32888         (exp10_test_tonearest): New function.
32889         (exp10_towardzero_test_data): New array.
32890         (exp10_test_towardzero): New function.
32891         (exp10_downward_test_data): New array.
32892         (exp10_test_downward): New function.
32893         (exp10_upward_test_data): New array.
32894         (exp10_test_upward): New function.
32895         (main): Call the new functions.
32896         * sysdeps/i386/fpu/libm-test-ulps: Update.
32897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32899 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
32901         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32902         asinh, atan, atan2, atanh, cbrt, cos and cosh.
32903         * math/auto-libm-test-out: Regenerated.
32904         * math/libm-test.inc (acosh_test_data): Add more tests.
32905         (atanh_test_data): Likewise.
32906         (ceil_test_data): Likewise.
32907         (copysign_test_data): Likewise.
32908         * sysdeps/i386/fpu/libm-test-ulps: Update.
32909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32911         * timezone/checktab.awk: Update from tzcode 2013i.
32912         * timezone/private.h: Likewise.
32913         * timezone/scheck.c: Likewise.
32914         * timezone/tzfile.h: Likewise.
32915         * timezone/tzselect.ksh: Likewise.
32916         * timezone/zdump.c: Likewise.
32917         * timezone/zic.c: Likewise.
32919         * math/auto-libm-test-in: Add tests of cpow.
32920         * math/auto-libm-test-out: Regenerated.
32921         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
32922         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32923         mpc_cc_c.
32924         (func_calc_desc): Add mpc_cc_c union field.
32925         (test_functions): Add cpow.
32926         (special_fill_2pi): New function.
32927         (special_real_inputs): Add 2pi.
32928         (calc_generic_results): Handle mpc_cc_c.
32929         * sysdeps/i386/fpu/libm-test-ulps: Update.
32930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32932         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
32933         csqrt, ctan and ctanh.
32934         * math/auto-libm-test-out: Regenerated.
32935         * math/libm-test.inc (TEST_COND_x86_64): New macro.
32936         (TEST_COND_x86): Likewise.
32937         (ccos_test_data): Use AUTO_TESTS_c_c.
32938         (ccosh_test_data): Likewise.
32939         (cexp_test_data): Likewise.
32940         (clog_test_data): Likewise.
32941         (csqrt_test_data): Likewise.
32942         (ctan_test_data): Likewise.
32943         (ctan_tonearest_test_data): Likewise.
32944         (ctan_towardzero_test_data): Likewise.
32945         (ctan_downward_test_data): Likewise.
32946         (ctan_upward_test_data): Likewise.
32947         (ctanh_test_data): Likewise.
32948         (ctanh_tonearest_test_data): Likewise.
32949         (ctanh_towardzero_test_data): Likewise.
32950         (ctanh_downward_test_data): Likewise.
32951         (ctanh_upward_test_data): Likewise.
32952         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32953         mpc_c_c.
32954         (func_calc_desc): Add mpc_c_c union field.
32955         (FUNC_mpc_c_c): New macro.
32956         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
32957         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
32958         ctanh.
32959         (special_fill_min_subnorm_p120): New function.
32960         (special_real_inputs): Add min_subnorm_p120.
32961         (calc_generic_results): Handle mpc_c_c.
32962         * sysdeps/i386/fpu/libm-test-ulps: Update.
32963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32965 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32967         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
32968         (do_sin_slow): New functions.
32969         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
32970         (cslow2, csloww1, csloww2): Use the new functions.
32972         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
32973         Use M to change sign of result instead of X.  Assume X is
32974         positive.
32975         (csloww1): Likewise.
32976         (__sin): Adjust.
32977         (__cos): Adjust.
32979         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
32980         arguments A and DA.
32981         (__sin): Adjust.
32982         (__cos): Likewise.
32984         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
32985         (__cos): Likewise.
32986         (sloww1): Don't adjust sign of DX.
32987         (csloww1): Likewise.
32988         (sloww2): Use X directly and don't adjust sign of DX.
32989         (csloww2): Likewise.
32991 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32993         * math/auto-libm-test-in: Add tests of cabs and carg.
32994         * math/auto-libm-test-out: Regenerated.
32995         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
32996         (carg_test_data): Likewise.
32997         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32998         mpc_c_f.
32999         (func_calc_desc): Add mpc_c_f union field.
33000         (test_functions): Add cabs and carg.
33001         (calc_generic_results): Handle mpc_c_f.
33003         * sysdeps/powerpc/powerpc32/libgcc-compat.S
33004         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
33005         as a macro and a compat symbol.
33006         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
33007         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
33008         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
33009         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
33010         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
33011         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
33012         not use .hidden.
33013         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
33014         Likewise.
33015         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
33016         Likewise.
33017         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
33018         Likewise.
33019         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
33020         Likewise.
33021         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
33022         Likewise.
33023         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
33024         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
33025         from GLIBC_2.3.2.
33027 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33031 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33033         * manual/texinfo.tex: Update to version 2013-11-26.10 with
33034         trailing whitespace removed.
33035         * scripts/config.guess: Update to version 2013-11-29.
33036         * scripts/config.sub: Update to version 2013-10-01.
33038         * math/auto-libm-test-in: Add tests of sincos.
33039         * math/auto-libm-test-out: Regenerated.
33040         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
33041         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33042         mpfr_f_11.
33043         (func_calc_desc): Add mpfr_f_11 union field.
33044         (test_functions): Add sincos.
33045         (calc_generic_results): Handle mpfr_f_11.
33046         * sysdeps/i386/fpu/libm-test-ulps: Update.
33047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33049 2013-12-19  Andreas Schwab  <schwab@suse.de>
33051         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
33052         CALL_MCOUNT.
33053         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33054         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
33055         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
33057 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33059         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
33060         * sysdeps/i386/fpu/libm-test-ulps: Update.
33061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33063         [BZ #16293]
33064         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
33065         round-to-nearest mode when using frndint.
33066         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
33067         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33068         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33069         Likewise.
33070         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
33071         sinh test to fail.
33072         * math/auto-libm-test-out: Regenerated.
33073         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
33074         (TEST_COND_x86): Likewise.
33075         (expm1_tonearest_test_data): New array.
33076         (expm1_test_tonearest): New function.
33077         (expm1_towardzero_test_data): New array.
33078         (expm1_test_towardzero): New function.
33079         (expm1_downward_test_data): New array.
33080         (expm1_test_downward): New function.
33081         (expm1_upward_test_data): New array.
33082         (expm1_test_upward): New function.
33083         (main): Run the new test functions.
33084         * sysdeps/i386/fpu/libm-test-ulps: Update.
33085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33087         * include/features.h: Update comment documenting feature test
33088         macros.  Mention _DEFAULT_SOURCE in comment.
33089         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
33090         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
33091         _BSD_SOURCE and _SVID_SOURCE.
33092         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
33093         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
33094         !_SVID_SOURCE]: Likewise.
33095         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33096         (__USE_POSIX_IMPLICITLY): Define.
33097         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33098         (_POSIX_SOURCE): Undefine and redefine.
33099         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33100         (_POSIX_C_SOURCE): Likewise.
33101         * manual/creature.texi (_DEFAULT_SOURCE): Document.
33102         (Feature Test Macros): Update documentation of default features.
33104 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33106         * benchtests/Makefile: Add bench-strtok.
33107         * benchtests/bench-strtok.c: New file: strtok benchtest.
33109 2013-12-19  Allan McRae  <allan@archlinux.org>
33111         * manual/install.texi: Suppress menu for plain text output.
33112         * INSTALL: Regenerated.
33114 2013-12-18  Brooks Moses  <bmoses@google.com>
33116         [BZ #15846]
33117         * misc/getauxval.c: Include errno.h.
33118         (__getauxval): Set errno to ENOENT if the requested type is not
33119         found.
33120         * misc/sys/auxv.h (getauxval): Document that it may set errno;
33121         don't declare with __attribute_const__.
33122         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
33123         * manual/startup.texi: Document that getauxval sets errno.
33125 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
33127         * math/auto-libm-test-in: Add tests of jn and yn.
33128         * math/auto-libm-test-out: Regenerated.
33129         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
33130         (yn_test_data): Likewise.
33131         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33132         mpfr_if_f.
33133         (func_calc_desc): Add mpfr_if_f union field.
33134         (FUNC_mpfr_if_f): New macro.
33135         (test_functions): Add jn and yn.
33136         (calc_generic_results): Assert type of second input for
33137         mpfr_ff_f.  Handle mpfr_if_f.
33138         (output_for_one_input_case): Disable all checking for arguments
33139         fitting floating-point types in case of an integer argument.
33140         * sysdeps/i386/fpu/libm-test-ulps: Update.
33141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33144         Don't expect fegetround reference in libm.so.
33146 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33148         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
33149         $(config-cflags-nofma).
33151 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
33153         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
33154         * math/auto-libm-test-out: Regenerated.
33156         [BZ #16338]
33157         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
33158         to determine exponent and adjust argument to have exponent of -1.
33159         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
33160         log2.
33161         * math/auto-libm-test-out: Regenerated.
33162         * sysdeps/i386/fpu/libm-test-ulps: Update.
33163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33165 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
33167         * manual/probes.texi: Remove cases when per-thread arenas are
33168         disabled.
33170 2013-12-18  Andreas Schwab  <schwab@suse.de>
33172         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
33173         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
33174         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
33175         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
33176         * sysdeps/i386/i686/multiarch/Makefile: Update.
33177         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
33179 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33181         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
33182         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
33184 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
33186         [BZ #15968]
33187         Support TZ transition times < 00:00:00.
33188         This is needed for version-3 tz-format files; it supports time
33189         stamps past 2037 for America/Godthab (the only entry in the tz
33190         database for which this change is relevant).
33191         * manual/time.texi (TZ Variable): Document transition times
33192         from -167:59:59 through -00:00:01.
33193         * time/tzset.c (tz_rule): Time of day is now signed.
33194         (__tzset_parse_tz): Parse negative time of day.
33196         Document TZ transition times >= 25:00:00.
33197         * manual/time.texi (TZ Variable): Document transition times from
33198         25:00:00 through 167:59:59.  These are already supported, and this
33199         support will help with version-3 tz-format files.
33201         * manual/time.texi (TZ Variable): Modernize North America example
33202         to reflect current (i.e., 2007-and-later) daylight saving rules.
33204         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
33206 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33208         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
33209         * sysdeps/unix/bsd/bits/stat.h: Likewise.
33210         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
33211         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33212         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
33213         * sysdeps/unix/bsd/bsdstat.h: Likewise.
33214         * sysdeps/unix/bsd/clock.c: Likewise.
33215         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
33216         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
33217         * sysdeps/unix/bsd/init-posix.c: Likewise.
33218         * sysdeps/unix/bsd/poll.c: Likewise.
33219         * sysdeps/unix/bsd/ptsname.c: Likewise.
33220         * sysdeps/unix/bsd/seekdir.c: Likewise.
33221         * sysdeps/unix/bsd/setegid.c: Likewise.
33222         * sysdeps/unix/bsd/seteuid.c: Likewise.
33223         * sysdeps/unix/bsd/setgid.c: Likewise.
33224         * sysdeps/unix/bsd/setrgid.c: Likewise.
33225         * sysdeps/unix/bsd/setruid.c: Likewise.
33226         * sysdeps/unix/bsd/setsid.c: Likewise.
33227         * sysdeps/unix/bsd/setuid.c: Likewise.
33228         * sysdeps/unix/bsd/sigaction.c: Likewise.
33229         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
33230         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
33231         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
33232         * sysdeps/unix/bsd/telldir.c: Likewise.
33233         * sysdeps/unix/bsd/times.c: Likewise.
33234         * sysdeps/unix/bsd/usleep.c: Likewise.
33236         * misc/Makefile (install-lib): Remove libbsd-compat.a.
33237         ($(objpfx)libbsd-compat.a): Remove rule.
33239         * include/features.h (__FAVOR_BSD): Do not define.
33240         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
33241         features conflicting with POSIX.
33242         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
33243         (_BSD_SOURCE): Remove description of not being a subset of other
33244         feature test macros.
33245         * manual/job.texi (getpgrp): Do not document BSD version.
33246         (getpgid): Do not document by reference to BSD getpgrp.
33247         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
33248         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
33249         * signal/signal.h [__FAVOR_BSD]: Likewise.
33250         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
33251         instead of making contents conditional on [__FAVOR_BSD].
33252         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
33254 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33258 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33260         [BZ #16314]
33261         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
33262         values below 2**-450, not 2**-500.
33263         * math/auto-libm-test-in: Don't allow spurious underflow from
33264         hypot.
33265         * math/auto-libm-test-out: Regenerated.
33267         [BZ #16316]
33268         [BZ #16330]
33269         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
33270         values of ha and hb and sort them after adjusting subnormal
33271         arguments.
33272         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33273         Likewise.
33274         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
33275         values of ea and eb and sort them after adjusting subnormal
33276         arguments.
33277         * math/auto-libm-test-in: Do not expect some hypot tests of
33278         subnormals to fail.  Add more hypot tests.
33279         * math/auto-libm-test-out: Regenerated.
33281 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33283         [BZ #13304]
33284         * sysdeps/sh/s_fma.c: New file.
33285         * sysdeps/sh/s_fmaf.c: New file.
33286         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
33287         version.
33288         * sysdeps/sh/Implies: Add sh/soft-fp.
33290 2013-12-16  Roland McGrath  <roland@hack.frob.com>
33292         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
33293         level of indirection to members `objname', `errstring', `malloced'.
33294         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
33295         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
33296         it as the __longjmp argument (just pass 1 instead).
33297         (_dl_catch_error): Initialize C with argument pointers and address of
33298         volatile local ERRCODE rather than copying values out of C at return.
33300 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
33302         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
33303         * math/auto-libm-test-out: Regenerated.
33304         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
33305         (hypot_test_data): Likewise.
33306         (pow_test_data): Likewise.
33307         (pow_tonearest_test_data): Likewise.
33308         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33309         mpfr_ff_f.
33310         (func_calc_desc): Add mpfr_ff_f union field.
33311         (FUNC_mpfr_ff_f): New macro.
33312         (test_functions): Add atan2, hypot and pow.
33313         (special_fill_min): New function.
33314         (special_fill_minus_min): Likewise.
33315         (special_fill_min_subnorm): Likewise.
33316         (special_fill_minus_min_subnorm): Likewise.
33317         (special_real_inputs): Add min, -min, min_subnorm and
33318         -min_subnorm.
33319         (calc_generic_results): Handle mpfr_ff_f.
33320         * sysdeps/i386/fpu/libm-test-ulps: Update.
33321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33323 2013-12-16  Will Newton  <will.newton@linaro.org>
33325         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
33326         (Aligned Memory Blocks): Add documentation for aligned_alloc
33327         and suggest it as an alternative to posix_memalign.
33328         (Hooks for Malloc): Document __memalign_hook is also called
33329         for aligned_alloc.  (Summary of Malloc): Add summary for
33330         aligned alloc.  Document __memalign_hook is also called
33331         for aligned_alloc.
33333 2013-12-16  Will Newton  <will.newton@linaro.org>
33335         * manual/memory.texi (Malloc Examples): Clarify default
33336         alignment documentation.  Suggest posix_memalign rather
33337         than memalign or valloc.
33338         (Aligned Memory Blocks): Remove suggestion to use memalign
33339         or valloc.  Remove obsolete comment about BSD.
33340         Document memalign errno values and mark the function obsolete.
33341         Document posix_memalign returned error codes.  Mark valloc
33342         as obsolete.  (Hooks for Malloc): __memalign_hook is also
33343         called for posix_memalign and valloc.
33344         (Summary of Malloc): Add posix_memalign to function summary.
33345         __memalign_hook is also called for posix_memalign and valloc.
33347 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33349         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
33350         TAYLOR_SIN.
33351         (__sin): Adjust.
33352         (__cos): Likewise.
33353         (sloww): Use mynumber union.  Expand ternary operator into
33354         if-else statements.
33355         (cslow): use mynumber union.
33357 2013-12-16  Allan McRae  <allan@archlinux.org>
33359         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
33360         * configure: Regenerated.
33362         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
33364         [BZ #14120]
33365         * configure.ac: Added --enable-maintainer-mode. Check for
33366         autoconf when enabled.
33367         * configure: Regenerated.
33369         * nscd/nscd.service: New file.
33370         * nscd/nscd.tmpfiles: New file.
33372 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
33374         [BZ #12100]
33375         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
33376         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
33377         * sysdeps/x86_64/multiarch/strstr.c: ... here.
33378         (strstr): Add __strstr_sse2_unaligned ifunc.
33379         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
33380         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
33381         (strcasestr): Remove __strcasestr_sse42 ifunc.
33382         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
33383         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33384         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33386 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33388         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
33389         * sysdeps/sh/bits/fenv.h: ... here.
33390         * sysdeps/sh/sh4/fpu/bits: Remove directory.
33392 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33394         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
33396         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
33397         hypotf multiarch implementations.
33398         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
33399         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
33400         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
33401         multiarch hypot for PPC64.
33402         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
33403         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
33404         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
33405         multiarch hypotf for PPC64.
33407         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
33408         modff multiarch implementations.
33409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
33410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
33411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
33412         multiarch modf for PPC64.
33413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
33414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
33415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
33416         multiarch modff for PPC64.
33418         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
33419         and logl multiarch implementations.
33420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
33421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
33422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
33423         multiarch logb for PPC64.
33424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
33425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
33426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
33427         multiarch logb for PPC64.
33428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
33429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
33430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
33431         multiarch logb for PPC64.
33433         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
33434         isinff multiarch implementation.
33435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
33436         file.
33437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
33438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
33439         multiarch isinf for PPC64.
33440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
33441         file.
33442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
33443         multiarch isinff for PPC64.
33445         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
33446         finitef multiarch implementation.
33447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
33448         file.
33449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
33450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
33451         multiarch finite for PPC64.
33452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
33453         file.
33454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
33455         multiarch finitef for PPC64.
33457         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
33458         lrint multiarch implementation.
33459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
33460         file.
33461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
33462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
33463         multiarch llrint for PPC64.
33464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
33465         multiarch lrint for PPC64.
33467         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
33468         copysignf multiarch implementation.
33469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
33470         file.
33471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
33472         file.
33473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
33474         multiarch copysign for PPC64.
33475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
33476         multiarch copysignf for PPC64.
33478         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
33479         multiarch implementation.
33480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
33481         file.
33482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
33483         file.
33484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
33485         file.
33486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
33487         file.
33488         multiarch llround for PPC64.
33489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
33490         multiarch trunc for PPC64.
33491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
33492         multiarch truncf for PPC64.
33494         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
33495         multiarch implementation.
33496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
33497         file.
33498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
33499         file.
33500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
33501         file.
33502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
33503         file.
33504         multiarch llround for PPC64.
33505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
33506         multiarch round for PPC64.
33507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
33508         multiarch roundf for PPC64.
33510         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
33511         multiarch implementation.
33512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
33513         file.
33514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
33515         file.
33516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
33517         file.
33518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
33519         file.
33520         multiarch llround for PPC64.
33521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
33522         multiarch floor for PPC64.
33523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
33524         multiarch floorf for PPC64.
33526         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
33527         multiarch implementation.
33528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
33529         file.
33530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
33531         file.
33532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
33533         file.
33534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
33535         file.
33536         multiarch llround for PPC64.
33537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
33538         multiarch ceil for PPC64.
33539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
33540         multiarch ceilf for PPC64.
33542         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33543         multiarch implementation.
33544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
33545         file.
33546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
33547         file.
33548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
33549         file.
33550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
33551         multiarch llround for PPC64.
33552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
33553         multiarch lround for PPC64.
33555         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33556         multiarch implementation.
33557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
33558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
33559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
33560         file.
33561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
33562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
33563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
33564         multiarch isnan for PPC64.
33565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
33566         multiarch isnanf for PPC64.
33568         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
33569         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
33570         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
33571         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
33572         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
33573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
33575         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
33576         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33577         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33578         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33580         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
33581         multiarch implementations.
33582         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33583         (__libc_ifunc_impl_list): Likewise.
33584         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33585         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
33586         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
33587         multiarch stpcpy for PPC64.
33589         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
33590         multiarch implementations.
33591         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33592         (__libc_ifunc_impl_list): Likewise.
33593         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
33594         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
33595         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
33596         multiarch strcpy for PPC64.
33598         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
33599         redefine function name.
33600         (_wordcopy_fwd_dest_aligned): Likewise.
33601         (_wordcopy_bwd_aligned): Likewise.
33602         (_wordcopy_bwd_dest_aligned): Likewise.
33603         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
33604         multiarch implementations.
33605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33606         (__libc_ifunc_impl_list): Likewise.
33607         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
33608         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
33609         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
33610         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
33611         multiarch wcscpy for PPC64.
33613         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
33614         multiarch implementations.
33615         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33616         (__libc_ifunc_impl_list): Likewise.
33617         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
33618         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
33619         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
33620         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
33621         multiarch wcscpy for PPC64.
33623         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
33624         multiarch implementations.
33625         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33626         (__libc_ifunc_impl_list): Likewise.
33627         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
33628         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
33629         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
33630         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
33631         multiarch wcsrchr for PPC64.
33633         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
33634         multiarch implementations.
33635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33636         (__libc_ifunc_impl_list): Likewise.
33637         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
33638         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
33639         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
33640         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
33641         multiarch wcschr for PPC64.
33643         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
33644         multiarch implementations.
33645         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33646         (__libc_ifunc_impl_list): Likewise.
33647         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
33648         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
33649         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
33650         multiarch strchrnul for PPC64.
33652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
33653         implementations.
33654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33655         (__libc_ifunc_impl_list): Likewise.
33656         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
33657         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
33658         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
33659         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
33660         strchr for PPC64.
33662         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
33663         implementations.
33664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33665         (__libc_ifunc_impl_list): Likewise.
33666         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
33667         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
33668         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
33669         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
33670         strncmp for PPC64.
33672         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
33673         multiarch implementations.
33674         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33675         (__libc_ifunc_impl_list): Likewise.
33676         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
33677         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
33678         strncasecmp for PPC64.
33679         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
33680         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
33681         multiarch strncasecmp_l for PPC64.
33683         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
33684         multiarch implementations.
33685         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33686         (__libc_ifunc_impl_list): Likewise.
33687         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
33688         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
33689         multiarch strcasecmp for PPC64.
33690         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
33691         file.
33692         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
33693         multiarch strcasecmp_l for PPC64.
33695         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
33696         implementations.
33697         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33698         (__libc_ifunc_impl_list): Likewise.
33699         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
33700         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
33701         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
33702         strnlen for PPC64.
33704         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
33705         implementations.
33706         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33707         (__libc_ifunc_impl_list): Likewise.
33708         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
33709         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
33710         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
33711         strlen for PPC64.
33713         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
33714         implementations.
33715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33716         (__libc_ifunc_impl_list): Likewise.
33717         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
33718         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
33719         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
33720         rawmemrchr for PPC64.
33722         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
33723         implementation.
33724         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33725         (__libc_ifunc_impl_list): Likewise.
33726         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
33727         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
33728         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
33729         memrchr for PPC64.
33731         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
33732         implementation.
33733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33734         (__libc_ifunc_impl_list): Likewise.
33735         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
33736         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
33737         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
33738         memchr for PPC64.
33740         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
33741         implementation.
33742         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33743         (__libc_ifunc_impl_list): Likewise.
33744         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
33745         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
33746         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
33747         mempcpy for PPC64.
33749         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
33750         avoid cretion of __bzero symbol.
33751         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
33752         Likewise.
33753         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
33754         Likewise.
33755         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
33756         Likewise.
33757         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
33758         multiarch implementations.
33759         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33760         (__libc_ifunc_impl_list): Likewise.
33761         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
33762         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
33763         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
33764         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
33765         bzero for PPC32.
33766         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
33767         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
33768         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
33769         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
33770         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
33771         memset for PPC64.
33772         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
33774         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
33775         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
33776         implementations.
33777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33778         (__libc_ifunc_impl_list): Likewise.
33779         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
33780         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
33781         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
33782         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
33783         memcmp for PPC64.
33785         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
33786         multiarch for POWER/PPC64.
33787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
33788         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
33789         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
33790         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
33791         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
33792         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
33793         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
33794         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
33795         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
33796         memcpy for PPC64.
33798         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
33799         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
33800         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
33801         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
33802         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
33803         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
33804         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
33805         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
33806         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
33807         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
33808         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
33809         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
33810         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
33811         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
33812         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
33813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
33814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
33815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
33816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
33817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
33818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
33819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
33821 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33823         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
33825 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33827         * benchtests/Makefile (bench): Add exp2 and log2.
33828         (LDLIBS-bench-exp2): Add -lm.
33829         (LDLIBS-bench-log2): Likewise.
33830         * benchtests/exp2-inputs: New inputs file.
33831         * benchtests/log2-inputs: New inputs file.
33832         * benchtests/log-inputs: Add new inputs.
33833         * benchtests/tan-inputs: Likewise.
33835 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33837         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
33838         definition...
33839         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
33840         (csloww2): ... from here.
33842         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
33843         instead of structures.
33844         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
33845         (POLYNOMIAL): Likewise.
33846         (TAYLOR_SLOW): Likewise.
33847         (__sin): Likewise.
33848         (__cos): Likewise.
33849         (slow1): Likewise.
33850         (slow2): Likewise.
33851         (sloww): Likewise.
33852         (sloww1); Likewise.
33853         (sloww2): Likewise.
33854         (bsloww1): Likewise.
33855         (bsloww2): Likewise.
33856         (cslow2): Likewise.
33857         (csloww): Likewise.
33858         (csloww1): Likewise.
33859         (csloww2): Likewise.
33861 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
33863         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
33864         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
33865         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
33866         * malloc/hooks.c (realloc_check): Likewise.
33868         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
33869         * malloc/arena.c: Remove PER_THREAD conditional.
33870         [!PER_THREAD]: Remove code.
33871         (ptmalloc_unlock_all2): Likewise.
33872         (ptmalloc_init): Likewise.
33873         (_int_new_arena): Likewise.
33874         (arena_get2): Likewise.
33875         * malloc/hooks.c (__malloc_get_state): Likewise.
33876         (__malloc_set_state): Likewise.
33877         * malloc/malloc.c: Likewise.
33878         (struct malloc_state): Likewise.
33879         (struct malloc_par): Likewise.
33880         (__libc_realloc): Likewise.
33881         (__libc_mallopt): Likewise.
33883 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33885         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
33887 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
33889         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
33890         macro to a function.  Check for zero perturb_byte.
33891         (_int_malloc, _int_free): Remove zero perturb_byte checks.
33893         * malloc/malloc.c: (force_reg): Remove.
33894         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
33895         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
33896         force_reg by atomic_forced_read.
33897         * malloc/arena.c (ptmalloc_init): Likewise.
33898         * malloc/hooks.c (top_check): Likewise.
33900 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33902         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33904 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
33906         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33908 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
33910         * math/auto-libm-test-in: Add tests of lgamma.
33911         * math/auto-libm-test-out: Regenerated.
33912         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
33913         (M_LOG_2_SQRT_PIl): Likewise.
33914         (lgamma_test_data): Use AUTO_TESTS_f_f1.
33915         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33916         mpfr_f_f1.
33917         (func_calc_desc): Add mpfr_f_f1 union field.
33918         (ARGS1): New macro.
33919         (ARGS2): Likewise.
33920         (ARGS3): Likewise.
33921         (ARGS4): Likewise.
33922         (RET1): Likewise.
33923         (RET2): Likewise.
33924         (CALC): Likewise.
33925         (FUNC): Likewise.
33926         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
33927         (test_functions): Add lgamma.
33928         (calc_generic_results): Handle mpfr_f_f1.
33929         * sysdeps/i386/fpu/libm-test-ulps: Update.
33930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33932 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33934         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
33935         __mpn_add_n for PowerPC64/POWER7.
33936         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
33937         __mpn_sub_n for PowerPC64/POWER7.
33939         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
33940         __mpn_addmul_1 for PowerPC64.
33941         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
33942         __mpn_submul_1 for PowerPC64.
33943         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
33944         for PowerPC64.
33945         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
33946         for PowerPC64.
33948 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
33950         [BZ #15089]
33951         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
33953 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33955         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
33957         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
33958         add multiarch folders.
33959         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
33960         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
33961         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
33962         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
33963         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
33964         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
33965         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
33966         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
33967         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
33968         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
33969         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
33970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
33971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
33972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
33973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
33974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
33975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
33977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
33978         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
33979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
33980         New file.
33981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
33982         New file.
33983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
33984         multiarch __ieee754_hypot for PowerPC32.
33985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
33986         New file.
33987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
33988         New file.
33989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
33990         multiarch __ieee754_hypotf for PowerPC32.
33992         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
33993         long_double_symbol only if __logbl is defined.
33994         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
33995         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
33996         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
33997         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
33998         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
33999         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
34000         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
34001         path for implementation.
34002         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
34003         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
34004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
34005         logb, and logbl multiarch implementations for PowerPC32.
34006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
34007         file.
34008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
34009         file.
34010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
34011         multiarch logb for PowerPC32.
34012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
34013         file.
34014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
34015         file.
34016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
34017         multiarch logbf for PowerPC32.
34018         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
34019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
34020         file.
34021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
34022         multiarch logbl implementation for PowerPC32.
34024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
34025         and modff multiarch implementations.
34026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
34027         New file.
34028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
34029         New file.
34030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
34031         multiarch modf for PowerPC32.
34032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
34033         New file.
34034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
34035         New file.
34036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
34037         multiarch modff for PowerPC32.
34039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
34040         and lrintf multiarch implementations.
34041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
34042         New file.
34043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
34044         New file.
34045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
34046         multiarch lrint for PowerPC32.
34047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
34048         file: multiarch lrintf for PowerPC32.
34050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
34051         and lroundf multiarch implementations.
34052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
34053         New file.
34054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
34055         New file.
34056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
34057         New file.
34058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
34059         multiarch lround for PowerPC32.
34060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
34061         file: multiarch lroundf for PowerPC32.
34063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
34064         copysign and copysignf multiarch implementations.
34065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
34066         New file.
34067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
34068         New file.
34069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
34070         file: multiarch copysign for PowerPC32.
34071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
34072         file: multiarch copysignf for PowerPC32.
34074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
34075         and truncf multiarch implementations.
34076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
34077         New file.
34078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
34079         file.
34080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
34081         multiarch trunc for PowerPC32.
34082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
34083         New file.
34084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
34085         New file.
34086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
34087         multiarch truncf for PowerPC32.
34089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
34090         and roundf multiarch implementations.
34091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
34092         New file.
34093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
34094         file.
34095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
34096         multiarch round for PowerPC32.
34097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
34098         New file.
34099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
34100         New file.
34101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
34102         multiarch roundf for PowerPC32.
34104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
34105         and floorf multiarch implementations.
34106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
34107         New file.
34108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
34109         file.
34110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
34111         multiarch floor for PowerPC32.
34112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
34113         New file.
34114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
34115         New file.
34116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
34117         multiarch floorf for PowerPC32.
34119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
34120         and ceilf multiarch implementations.
34121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
34122         New file.
34123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
34124         file.
34125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
34126         multiarch ceil for PowerPC32.
34127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
34128         New file.
34129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
34130         file.
34131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
34132         multiarch ceilf for PowerPC32.
34134         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
34135         is defined.
34136         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
34137         FINITEF is defined.
34138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
34139         and finitef multiarch implementations.
34140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
34141         New file.
34142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
34143         file.
34144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
34145         multiarch finite for PowerPC32.
34146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
34147         New file.
34148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
34149         file: multiarch finitef for PowerPC32.
34151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
34152         and isinff multiarch implementations.
34153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
34154         file.
34155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
34156         file.
34157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
34158         multiarch isinf for PowerPC32.
34159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
34160         New file.
34161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
34162         multiarch isinff for PowerPC32.
34164         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
34165         alias when __isnan is defined.
34166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
34167         and isnanf multiarch implementations.
34168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
34169         file.
34170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
34171         file.
34172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
34173         file.
34174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
34175         file.
34176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
34177         multiarch isnan for PowerPC32.
34178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
34179         New file.
34180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
34181         New file.
34182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
34183         multiarch isnanf for PowerPC32.
34185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
34186         and sqrtf multiarch implementations.
34187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
34188         file.
34189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
34190         file.
34191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
34192         multiarch sqrt for PowerPC32.
34193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
34194         file.
34195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
34196         file.
34197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
34198         multiarch sqrtf for PowerPC32.
34200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
34201         and llroundf multiarch implementations.
34202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
34203         New file.
34204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
34205         New file.
34206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
34207         New file.
34208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
34209         file: multiarch llround for PowerPC32.
34210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
34211         file: multiarch llroundf for PowerPC32.
34213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
34214         multiarch PowerPC32 fpu implementations.
34215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
34216         New file.
34217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
34218         New file.
34219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
34220         multiarch llrint for PowerPC32.
34221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
34222         New file.
34223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
34224         New file.
34225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
34226         file.
34228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
34230         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
34231         file.
34232         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
34233         file.
34234         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
34235         file.
34236         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
34237         multiarch wordcopy for PPC32.
34238         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34239         wordcopy objects.
34240         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34241         (__libc_ifunc_impl_list): Likewise.
34242         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
34243         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
34244         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
34245         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
34246         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
34247         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
34249         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
34250         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
34251         file.
34252         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
34253         file.
34254         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
34255         file.
34256         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
34257         multiarch wcscpy for PPC32.
34258         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34259         multiarch objects.
34260         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34261         (__libc_ifunc_impl_list): Likewise.
34262         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34263         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34264         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
34265         sysdeps/powerpc/power6/wcscpy.c.
34267         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
34268         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
34269         file.
34270         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
34271         file.
34272         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
34273         file.
34274         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
34275         multiarch wcsrchr for PPC32.
34276         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34277         multiarch objects.
34278         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34279         (__libc_ifunc_impl_list): Likewise.
34280         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34281         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34282         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
34283         sysdeps/powerpc/power6/wcsrchr.c.
34285         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
34286         file.
34287         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
34288         file.
34289         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
34290         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
34291         multiarch wcschr for PPc32.
34292         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34293         multiarch objects.
34294         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34295         (__libc_ifunc_impl_list): Likewise.
34296         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
34297         * sysdeps/powerpc/power6/wcschr.c: ... to here.
34298         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
34299         sysdeps/powerpc/power6/wcschr.c.
34301         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
34302         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
34303         file.
34304         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
34305         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
34306         file: multiarch strchr for PPC32.
34307         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
34308         multiarch objects.
34309         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34310         (__libc_ifunc_impl_list): Likewise.
34312         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
34313         name.
34314         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
34315         file.
34316         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
34317         file.
34318         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
34319         multiarch strchrnul for PPC32.
34320         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
34321         multiarch objects.
34322         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34323         (__libc_ifunc_impl_list): Likewise.
34325         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
34326         file.
34327         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
34328         multiarch strncasecmp for PPC32.
34329         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
34330         file.
34331         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
34332         multiarch strncasecmp_l for PPC32.
34333         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
34334         strncasecmp multiarch objects.
34335         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34336         (__libc_ifunc_impl_list): Likewise.
34338         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
34339         file.
34340         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
34341         multiarch strncasecmp for PPC32.
34342         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34343         New file.
34344         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
34345         multiarch strcasecmp_l for PPC32.
34346         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
34347         multiarch objects.
34348         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34349         (__libc_ifunc_impl_list): Likewise.
34351         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
34352         file.
34353         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
34354         file.
34355         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
34356         multiarch strncmp for PPC32.
34357         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
34358         multiarch objects.
34359         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34360         (__libc_ifunc_impl_list): Likewise.
34362         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
34363         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
34364         file.
34365         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
34366         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
34367         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
34368         multiarch objects.
34369         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34370         (__libc_ifunc_impl_list): Likewise.
34372         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
34373         file.
34374         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
34375         file.
34376         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
34377         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
34378         multiarch objects.
34379         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34380         (__libc_ifunc_impl_list): Likewise.
34382         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
34383         file.
34384         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
34385         file.
34386         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
34387         multiarch rawmemchr for PPC32.
34388         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
34389         multiarch objects.
34390         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34391         (__libc_ifunc_impl_list): Likewise.
34393         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
34394         file.
34395         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
34396         file.
34397         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
34398         file: memrchr multiarch for PPC32.
34399         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
34400         multiarch objects.
34401         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34402         (__libc_ifunc_impl_list): Likewise.
34404         * string/memchr.c (__memchr): Using macro to redefine symbol name.
34405         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
34406         file.
34407         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
34408         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
34409         multiarch memchr for PPC32.
34410         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
34411         multiarch objects.
34412         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34413         (__libc_ifunc_impl_list): Likewise.
34415         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
34416         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
34417         file.
34418         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
34419         file.
34420         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
34421         file: multiarch mempcpy for PPC32.
34422         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
34423         multiarch objects.
34424         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34425         (__libc_ifunc_impl_list): Likewise.
34427         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
34428         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
34429         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
34430         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
34431         multiarch bzero for PPC32.
34432         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
34433         file.
34434         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
34435         file.
34436         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
34437         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
34438         file: multiarch memset for PPC32.
34439         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
34440         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
34441         memset multiarch objects.
34442         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34443         (__libc_ifunc_impl_list): Likewise.
34445         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
34446         file.
34447         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
34448         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
34449         memcmp for PPC32.
34450         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
34451         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
34452         multiarch objects.
34453         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34454         (__libc_ifunc_impl_list): Likewise.
34456         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
34457         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
34458         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
34459         file.
34460         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
34461         file.
34462         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
34463         file.
34464         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
34465         multiarch memcpy for PPC32.
34466         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
34467         multiarch objects.
34468         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34469         (__libc_ifunc_impl_list): Likewise.
34471         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
34472         support multiarch for POWER/PPC32.
34473         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
34474         Likewise.
34475         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
34476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
34477         Implies file to make multiarch folder appers before the fpu and
34478         default folder for power4 configuration.
34480 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34482         * scripts/bench.pl: Append volatile keyword to type.
34484 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34486         * sysdeps/sh/sotruss-lib.c: New file.
34487         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
34489 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34493 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
34495         [BZ #6810]
34496         * math/w_tgamma.c: Include <errno.h>.
34497         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
34498         * math/w_tgammaf.c: Include <errno.h>.
34499         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
34500         * math/w_tgammal.c: Include <errno.h>.
34501         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
34502         * math/auto-libm-test-in: Do not allow missing errno on tgamma
34503         underflow.  Add more tgamma tests.
34504         * math/auto-libm-test-out: Regenerated.
34505         * sysdeps/i386/fpu/libm-test-ulps: Update.
34506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34508         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
34509         sin, sinh, tan, tanh, tgamma, y0 and y1.
34510         * math/auto-libm-test-out: Regenerated.
34511         * math/libm-test.inc (TEST_COND_x86_64): New macro.
34512         (TEST_COND_x86): Likewise.
34513         (M_E2l): Remove macro.
34514         (M_E3l): Likewise.
34515         (M_2_SQRT_PIl): Likewise.
34516         (M_SQRT_PIl): Likewise.
34517         (M_1_DIV_El): Likewise.
34518         (log_test_data): Use AUTO_TESTS_f_f.
34519         (log10_test_data): Likewise.
34520         (log1p_test_data): Likewise.
34521         (log2_test_data): Likewise.
34522         (sin_test_data): Likewise.
34523         (sin_tonearest_test_data): Likewise.
34524         (sin_towardzero_test_data): Likewise.
34525         (sin_downward_test_data): Likewise.
34526         (sin_upward_test_data): Likewise.
34527         (sinh_test_data): Likewise.
34528         (sinh_tonearest_test_data): Likewise.
34529         (sinh_towardzero_test_data): Likewise.
34530         (sinh_downward_test_data): Likewise.
34531         (sinh_upward_test_data): Likewise.
34532         (tan_test_data): Likewise.
34533         (tan_tonearest_test_data): Likewise.
34534         (tan_towardzero_test_data): Likewise.
34535         (tan_downward_test_data): Likewise.
34536         (tan_upward_test_data): Likewise.
34537         (tanh_test_data): Likewise.
34538         (tgamma_test_data): Likewise.
34539         (y0_test_data): Likewise.
34540         (y1_test_data): Likewise.
34541         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
34542         (special_real_inputs): Add pi/4.
34543         * sysdeps/i386/fpu/libm-test-ulps: Update.
34544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34546 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34548         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
34549         "longjmp_target" static probes.
34550         (__longjmp): Rename to __longjmp_symbol.
34551         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34552         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
34553         on which longjmp to generate.
34554         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34555         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
34556         probe.
34557         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34558         (__sigjmp_save): Rename to __sigjmp_save_symbol.
34559         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34560         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
34561         and __sigjmp_save_symbol based on which sigsetjmp to generated.
34562         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
34563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
34564         __longjmp_symbol based on which __longjmp to generate.
34565         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
34566         probe.
34567         (setjmp): Rename to setjmp_symbol.
34568         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34569         (_setjmp): Rename to _setjmp_symbol.
34570         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34571         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
34572         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
34573         which setjmp to generate.
34574         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
34575         "longjmp_target" static probes.
34577 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34579         * benchtests/README: Add note about output arguments.
34580         * benchtests/bench-sincos.c: Remove file.
34581         * benchtests/sincos-inputs: New file.
34582         * scripts/bench.pl: Identify output arguments and define
34583         static variables for them.
34585         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
34587         [BZ #15941]
34588         * Makefile (INSTALL): Add install-plain.texi as the primary
34589         dependency.
34590         * manual/install-plain.texi: New file.
34591         * manual/install.texi: Include node directive only for
34592         non-plaintext output.
34594 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
34596         * stdlib/longlong.h: Update from GCC.
34598         [BZ #6807]
34599         [BZ #15901]
34600         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
34601         * math/w_j0f.c (y0f): Likewise.
34602         * math/w_j0l.c (__y0l): Likewise.
34603         * math/w_j1.c (y1): Likewise.
34604         * math/w_j1f.c (y1f): Likewise.
34605         * math/w_j1l.c (__y1l): Likewise
34606         * math/w_jn.c (yn): Likewise.
34607         * math/w_jnf.c (ynf): Likewise.
34608         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
34609         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
34610         value for Bessel function domain errors outside _SVID_ mode.
34611         Adjust sign of return value for yn (negative integer, 0).
34612         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
34613         by zero in return for negative x and set sign appropriately for
34614         negative n.
34615         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
34616         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34617         * math/libm-test.inc (y0_test_data): Add more tests and adjust
34618         expectations in error cases.
34619         (y1_test_data): Likewise.
34620         (yn_test_data): Likewise.
34621         * sysdeps/i386/fpu/libm-test-ulps: Update.
34622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34624 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34626         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
34627         "64" to "64-v1".  Add "64-v2".
34628         (abi-64-options): Rename to ...
34629         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
34630         (abi-64-condition): Rename to ...
34631         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
34632         (abi-64-ld-soname): Rename to ...
34633         (abi-64-v1-ld-soname): ... this.
34634         (abi-64-v2-options): Define.
34635         (abi-64-v2-condition): Likewise.
34636         (abi-64-v2-ld-soname): Likewise.
34637         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
34638         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
34639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
34640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
34641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
34643 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34644             Alan Modra  <amodra@gmail.com>
34646         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
34647         New versions for use with the ELFv2 ABI.
34648         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
34649         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
34650         declaration.
34651         (struct La_ppc64v2_retval): Likewise.
34652         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
34653         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
34654         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
34655         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
34656         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
34657         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34658         Do not save or restore CR.
34659         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
34660         (_dl_profile_resolve): Do no save or restore CR.  Support extended
34661         return values for ELFv2 ABI.  Fix location of FPR return registers.
34662         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
34663         updated values for _CALL_ELF == 2.
34664         (La_regs, La_retval, int_retval): Likewise.
34666 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34668         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
34669         (FRAME_MIN_SIZE_PARM): Likewise.
34670         (FRAME_BACKCHAIN): Likewise.
34671         (FRAME_CR_SAVE): Likewise.
34672         (FRAME_LR_SAVE): Likewise.
34673         (FRAME_TOC_SAVE): Likewise.
34674         (FRAME_PARM_SAVE): Likewise.
34675         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
34676         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
34677         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
34678         (call_mcount_parm_offset): New macro.
34679         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
34680         (PROF): Use symbolic stack frame offsets.
34681         (TAIL_CALL_SYSCALL_ERROR): Likewise.
34682         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
34683         Redefine in terms of FRAME_MIN_SIZE.
34684         (_dl_runtime_resolve): Use symbolic stack frame offsets.
34685         (_dl_profile_resolve): Likewise.  Update comment.
34686         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
34687         symbols stack frame offsets.
34688         (__sigsetjmp): Likewise.
34689         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
34690         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
34691         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
34692         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
34694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
34695         (FRAME_BACKCHAIN): Remove.
34696         (FRAME_CR_SAVE): Likewise.
34697         (FRAME_LR_SAVE): Likewise.
34698         (FRAME_COMPILER_DW): Likewise.
34699         (FRAME_LINKER_DW): Likewise.
34700         (FRAME_TOC_SAVE): Likewise.
34701         (FRAME_PARM_SAVE): Likewise.
34702         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
34703         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
34704         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
34705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
34706         (CHECK_SP): Use symbolic stack frame offsets.
34707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
34708         zone" instead of caller's parameter save area for temp storage.
34709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34710         Likewise.  Also, use symbolic stack frame offsets.
34711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
34712         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
34713         our own stack frame instead of the caller's.
34714         (__socket): Use symbolic stack frame offsets.
34716 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34717             Alan Modra  <amodra@gmail.com>
34719         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
34720         Define.
34721         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
34722         (PPC64_LOCAL_ENTRY_OFFSET): Define.
34723         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
34724         New function.
34725         (elf_machine_fixup_plt): Call it.
34726         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
34727         reloc arguments.
34728         (elf_machine_rela): Update call to elf_machine_plt_conflict.
34729         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
34730         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
34731         r2 before calling target.
34733 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34734             Alan Modra  <amodra@gmail.com>
34736         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
34737         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
34738         versions of macros to support ELFv2 ABI.
34739         (LOCALENTRY): New macro.
34740         (ENTRY, EALIGN): Use it.
34741         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
34742         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
34743         fall through into ENTRY entry point.
34744         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
34745         Only define if _CALL_ELF != 2.
34747         (elf_machine_matches_host): Verify ABI version matches.
34748         (RTLD_START): Use LOCALENTRY.
34749         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
34750         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
34751         (PLT_ENTRY_WORDS): New macro.
34752         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
34753         (elf_machine_runtime_setup): Support ELFv2 ABI.
34754         (elf_machine_fixup_plt): Likewise.
34755         (elf_machine_plt_conflict): Likewise.
34756         (resolve_ifunc): Likewise.
34757         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34758         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
34759         Likewise.
34760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
34761         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
34762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34763         (makecontext): Support ELFv2 ABI.
34764         * elf/elf.h (EF_PPC64_ABI): Define.
34766 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34768         * sysdeps/powerpc/powerpc64/sysdep.h
34769         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
34770         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
34771         (ENTRY) [ASSEMBLER]: ... but instead here ...
34772         (EALIGN) [ASSEMBLER]: ... and here.
34773         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
34774         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
34775         (ENTRY_2) [!ASSEMBLER]: Use it.
34776         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
34777         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
34778         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
34779         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
34780         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
34781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
34782         Use PPC64_LOAD_FUNCPTR.
34784         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
34786 2013-12-04  Alan Modra  <amodra@gmail.com>
34788         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
34789         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
34790         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
34791         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
34793         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
34794         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
34795         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
34796         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
34797         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
34798         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
34800 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34803         (__makecontext): Fix incorrect CFI when backtracing out of
34804         context created via makecontext.
34805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
34806         (__setcontext): Fix incorrect CFI during switch to new context.
34807         (__novec_setcontext): Likewise.
34809 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
34811         [BZ #4772]
34812         * time/strptime_l.c (__strptime_internal): Allow modifiers
34813         in strptime.
34814         * time/tst-strptime.c (day_tests): Add testcase.
34816 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34818         * scripts/bench.pl: Skip over blank lines.
34820 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
34822         [BZ #926]
34823         * manual/time.texi (Calendar Time): Clarify what timezone functions
34824         use.
34826 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34830 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
34832         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
34833         implementation.
34834         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
34835         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
34836         * debug/memset_chk.c (__memset_chk): Likewise.
34837         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
34838         * debug/strncpy_chk.c: Likewise.
34840 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34842         [BZ #15268]
34843         [BZ #15425]
34844         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
34845         (__ieee754_exp): For possibly underflowing results, check size of
34846         result and force underflow exception if required.
34847         * math/auto-libm-test-in: Add more tests of exp.
34848         * math/auto-libm-test-out: Regenerated.
34849         * sysdeps/i386/fpu/libm-test-ulps: Update.
34850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34852         [BZ #16283]
34853         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
34854         * math/w_exp2f.c (__exp2f): Likewise.
34855         * math/w_exp2l.c (__exp2l): Likewise.
34856         * math/auto-libm-test-in: Do not allow missing errno on exp2
34857         underflow.
34858         * math/auto-libm-test-out: Regenerated.
34860 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
34862         [BZ #16274]
34863         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
34864         handle filename validation.
34865         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
34866         (do_open): Delete.
34868 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34870         [BZ #6786]
34871         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
34872         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
34873         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
34874         <float.h>.
34875         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
34876         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
34877         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34878         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
34879         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34880         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
34881         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34882         * math/auto-libm-test-in: Don't allow missing errno from erfc.
34883         Add more erfc tests.
34884         * math/auto-libm-test-out: Regenerated.
34885         * sysdeps/i386/fpu/libm-test-ulps: Update.
34886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34888         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
34889         exp2, expm1, j0 and j1.
34890         * math/auto-libm-test-out: Regenerated.
34891         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
34892         (erfc_test_data): Likewise.
34893         (exp_test_data): Likewise.
34894         (exp_tonearest_test_data): Likewise.
34895         (exp_towardzero_test_data): Likewise.
34896         (exp_downward_test_data): Likewise.
34897         (exp_upward_test_data): Likewise.
34898         (exp10_test_data): Likewise.
34899         (exp2_test_data): Likewise.
34900         (expm1_test_data): Likewise.
34901         (j0_test_data): Likewise.
34902         (j1_test_data): Likewise.
34903         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
34904         (input_flag_type): Add flag_xfail_rounding.
34905         (input_flags): Add xfail-rounding.
34906         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
34907         (output_for_one_input_case): Handle flag_xfail_rounding.
34908         * sysdeps/i386/fpu/libm-test-ulps: Update.
34909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34911 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
34913         [BZ #16289]
34914         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
34915         division by 0.
34917 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34919         [BZ #16195]
34920         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
34921         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
34922         (STAP_PROBE0): New macro.
34923         (STAP_PROBE1): Likewise.
34924         (STAP_PROBE2): Likewise.
34925         (STAP_PROBE3): Likewise.
34926         (STAP_PROBE4): Likewise.
34928 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
34930         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
34932 2013-12-02  Steve Ellcey  <sellcey@mips.com>
34934         * benchtests/Makefile (bench): Add sqrt.
34935         (LDLIBS-bench-sqrt): New.
34936         * benchtests/sqrt-input: New.
34938 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
34940         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
34941         (GAIH_EAI): Likewise.
34942         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
34943         (gaih_inet): Likewise.
34944         (getaddrinfo): Don't use GAIH_EAI.
34946         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
34947         (struct gaih): Remove definition.
34949 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34951         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
34952         Use HERRNOP directly.
34954 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34958 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
34960         * math/gen-auto-libm-tests.c (test_functions): Add more
34961         single-argument functions.
34962         (special_fill_pi_2): New function.
34963         (special_fill_minus_pi_2): Likewise.
34964         (special_fill_pi_6): Likewise.
34965         (special_fill_minus_pi_6): Likewise.
34966         (special_fill_pi_3): Likewise.
34967         (special_fill_2pi_3): Likewise.
34968         (special_fill_e): Likewise.
34969         (special_fill_1_e): Likewise.
34970         (special_fill_e_minus_1): Likewise.
34971         (special_real_inputs): Add more special inputs.
34972         (output_for_one_input_case): Do not require ERANGE on underflow to
34973         zero if round-to-nearest result does not underflow to zero, unless
34974         exact results required.
34975         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
34976         atan, atanh, cbrt, cos and cosh.
34977         * math/auto-libm-test-out: Regenerated.
34978         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
34979         (acos_tonearest_test_data): Likewise.
34980         (acos_towardzero_test_data): Likewise.
34981         (acos_downward_test_data): Likewise.
34982         (acos_upward_test_data): Likewise.
34983         (acosh_test_data): Likewise.
34984         (asin_test_data): Likewise.
34985         (asin_tonearest_test_data): Likewise.
34986         (asin_towardzero_test_data): Likewise.
34987         (asin_upward_test_data): Likewise.
34988         (asinh_test_data): Likewise.
34989         (atan_test_data): Likewise.
34990         (atanh_test_data): Likewise.
34991         (cbrt_test_data): Likewise.
34992         (cos_test_data): Likewise.
34993         (cos_tonearest_test_data): Likewise.
34994         (cos_towardzero_test_data): Likewise.
34995         (cos_downward_test_data): Likewise.
34996         (cos_upward_test_data): Likewise.
34997         (cosh_test_data): Likewise.
34998         (cosh_tonearest_test_data): Likewise.
34999         (cosh_towardzero_test_data): Likewise.
35000         (cosh_downward_test_data): Likewise.
35001         (cosh_upward_test_data): Likewise.
35002         * sysdeps/i386/fpu/libm-test-ulps: Update.
35003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35005 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
35007         [BZ #6787]
35008         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
35009         * math/w_exp10f.c (__exp10f): Likewise.
35010         * math/w_exp10l.c (__exp10l): Likewise.
35011         * math/libm-test.inc (exp10_test_data): Add more tests and expect
35012         errno settings in existing tests.
35014         [BZ #14032]
35015         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
35016         precision control set to double precision.
35017         * sysdeps/i386/fpu/w_sqrt.c: New file.
35018         * math/auto-libm-test-in: Add more tests.
35019         * math/auto-libm-test-out: Update.
35021         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
35022         (sqrt_test_tonearest): New function.
35023         (sqrt_towardzero_test_data): New variable.
35024         (sqrt_test_towardzero): New function.
35025         (sqrt_downward_test_data): New variable.
35026         (sqrt_test_downward): New function.
35027         (sqrt_upward_test_data): New variable.
35028         (sqrt_test_upward): New function.
35029         (main): Call the new functions.
35031         * math/gen-auto-libm-tests.c: New file.
35032         * math/auto-libm-test-in: Likewise.
35033         * math/auto-libm-test-out: New generated file.
35034         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
35035         variables.
35036         (%beautify): Add generated representations of zero.
35037         (top level): Set $auto_input and call parse_auto_input.
35038         (beautify): Remove trailing "f" from hex float constants.
35039         (parse_args): Handle XFAIL_TEST.
35040         (convert_condition): New function.
35041         (or_value): Likewise.
35042         (or_cond_value): Likewise.
35043         (generate_testfile): Handle AUTO_TESTS_* lines.
35044         (parse_auto_input): New function.
35045         * math/libm-test.inc (XFAIL_TEST): New macro.
35046         (ERRNO_UNCHANGED): Update value.
35047         (ERRNO_EDOM): Likewise.
35048         (ERRNO_ERANGE): Likewise.
35049         (IGNORE_RESULT): Likewise.
35050         (TEST_COND_flt_32): New macro.
35051         (TEST_COND_dbl_64): Likewise.
35052         (TEST_COND_ldbl_96_intel): Likewise.
35053         (TEST_COND_ldbl_96_m68k): Likewise.
35054         (TEST_COND_ldbl_128): Likewise.
35055         (TEST_COND_ldbl_128ibm): Likewise.
35056         (TEST_COND_long32): Likewise.
35057         (TEST_COND_long64): Likewise.
35058         (TEST_COND_before_rounding): Likewise.
35059         (TEST_COND_after_rounding): Likewise.
35060         (enable_test): Handle XFAIL_TEST flag.
35061         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
35062         with finite results.
35063         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
35064         auto-libm-test-out.
35066 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35067             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35069         [BZ #16214]
35070         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
35071         __tls_get_addr_internal instead of __tls_get_offset in order to
35072         avoid GOT pointer dependency.  Make rtld export
35073         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
35074         __tls_get_addr since we are a __tls_get_offset platform.
35075         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
35076         GOT pointer being set up before.
35077         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
35079 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
35081         * manual/math.texi (Errors in Math Functions): Document accuracy
35082         goals.
35084         [BZ #15004]
35085         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
35086         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
35087         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35088         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35089         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35090         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35091         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35092         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35093         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35094         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35095         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35096         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35097         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35098         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35099         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35100         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35102         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
35103         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
35104         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
35105         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
35106         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
35107         Likewise.
35108         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
35109         Likewise.
35110         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
35111         Likewise.
35112         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
35113         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
35114         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
35115         atomic-feupdateenv and flt-rounds.
35116         * sysdeps/powerpc/nofpu/Versions (libc): Add
35117         __atomic_feholdexcept, __atomic_feclearexcept,
35118         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
35119         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
35120         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
35121         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
35122         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
35123         here.
35124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
35125         Update.
35127         * manual/arith.texi (FP Exceptions): Document that exceptions may
35128         not be raised when matherr is used.
35129         (Math Error Reporting): Document overflow in directed rounding
35130         modes.  Document that errno may not be set when finite values are
35131         returned on overflow.  Document intent to set errno on underflow
35132         only for underflow to zero.
35134         [BZ #16271]
35135         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
35136         round-to-nearest then adjust result for other rounding modes.
35137         * include/fenv.h (fegetround): Use libm_hidden_proto.
35138         * math/fegetround.c (fegetround): Use libm_hidden_def.
35139         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35140         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35141         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35142         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35143         Likewise.
35144         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
35145         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35146         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35147         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
35149 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35151         [BZ #16077]
35152         * nss/Versions (libnss_files): Add
35153         _nss_files_gethostbyname3_r.
35154         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
35155         New function.
35156         (HOST_DB_LOOKUP): Remove macro.
35157         (_nss_files_gethostbyname_r): Implement function without the
35158         HOST_DB_LOOKUP macro.
35159         (_nss_files_gethostbyname2_r): Likewise.
35161 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
35163         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
35165 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
35167         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
35168         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
35169         warning.
35171 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35173         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
35174         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
35175         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
35176         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35177         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
35178         __fe_nomask_env_priv and attribute_hidden.
35179         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
35180         (libc_feupdateenv_test_ppc): Likewise.
35181         (libc_feresetround_ppc): Likewise.
35182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35183         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
35184         compat_symbol macro.
35185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35186         (__fe_nomask_env): Likewise.
35187         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
35189 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35191         * string/Makefile: Remove ifunc tests.
35192         * string/test-string.h: Define TEST_IFUNC.
35193         * string/test-bcopy-ifunc.c: Remove.
35194         * string/test-bzero-ifunc.c: Likewise.
35195         * string/test-memccpy-ifunc.c: Likewise.
35196         * string/test-memchr-ifunc.c: Likewise.
35197         * string/test-memcmp-ifunc.c: Likewise.
35198         * string/test-memcpy-ifunc.c: Likewise.
35199         * string/test-memmem-ifunc.c: Likewise.
35200         * string/test-memmove-ifunc.c: Likewise.
35201         * string/test-mempcpy-ifunc.c: Likewise.
35202         * string/test-memrchr-ifunc.c: Likewise.
35203         * string/test-memset-ifunc.c: Likewise.
35204         * string/test-rawmemchr-ifunc.c: Likewise.
35205         * string/test-stpcpy-ifunc.c: Likewise.
35206         * string/test-stpncpy-ifunc.c: Likewise.
35207         * string/test-strcasecmp-ifunc.c: Likewise.
35208         * string/test-strcasestr-ifunc.c: Likewise.
35209         * string/test-strcat-ifunc.c: Likewise.
35210         * string/test-strchr-ifunc.c: Likewise.
35211         * string/test-strchrnul-ifunc.c: Likewise.
35212         * string/test-strcmp-ifunc.c: Likewise.
35213         * string/test-strcpy-ifunc.c: Likewise.
35214         * string/test-strcspn-ifunc.c: Likewise.
35215         * string/test-strlen-ifunc.c: Likewise.
35216         * string/test-strncasecmp-ifunc.c: Likewise.
35217         * string/test-strncat-ifunc.c: Likewise.
35218         * string/test-strncmp-ifunc.c: Likewise.
35219         * string/test-strncpy-ifunc.c: Likewise.
35220         * string/test-strnlen-ifunc.c: Likewise.
35221         * string/test-strpbrk-ifunc.c: Likewise.
35222         * string/test-strrchr-ifunc.c: Likewise.
35223         * string/test-strspn-ifunc.c: Likewise.
35224         * string/test-strstr-ifunc.c: Likewise.
35226 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35228         * benchtests/Makefile: Remove ifunc tests.
35229         * benchtests/bench-string.h: Define TEST_IFUNC.
35230         * benchtests/bench-bcopy-ifunc.c: Remove.
35231         * benchtests/bench-bzero-ifunc.c: Likewise.
35232         * benchtests/bench-memccpy-ifunc.c: Likewise.
35233         * benchtests/bench-memchr-ifunc.c: Likewise.
35234         * benchtests/bench-memcmp-ifunc.c: Likewise.
35235         * benchtests/bench-memcpy-ifunc.c: Likewise.
35236         * benchtests/bench-memmem-ifunc.c: Likewise.
35237         * benchtests/bench-memmove-ifunc.c: Likewise.
35238         * benchtests/bench-mempcpy-ifunc.c: Likewise.
35239         * benchtests/bench-memrchr-ifunc.c: Likewise.
35240         * benchtests/bench-memset-ifunc.c: Likewise.
35241         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
35242         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
35243         * benchtests/bench-stpcpy-ifunc.c: Likewise.
35244         * benchtests/bench-stpncpy-ifunc.c: Likewise.
35245         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
35246         * benchtests/bench-strcasestr-ifunc.c: Likewise.
35247         * benchtests/bench-strcat-ifunc.c: Likewise.
35248         * benchtests/bench-strchr-ifunc.c: Likewise.
35249         * benchtests/bench-strchrnul-ifunc.c: Likewise.
35250         * benchtests/bench-strcmp-ifunc.c: Likewise.
35251         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
35252         * benchtests/bench-strcpy-ifunc.c: Likewise.
35253         * benchtests/bench-strcspn-ifunc.c: Likewise.
35254         * benchtests/bench-strlen-ifunc.c: Likewise.
35255         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
35256         * benchtests/bench-strncat-ifunc.c: Likewise.
35257         * benchtests/bench-strncmp-ifunc.c: Likewise.
35258         * benchtests/bench-strncpy-ifunc.c: Likewise.
35259         * benchtests/bench-strnlen-ifunc.c: Likewise.
35260         * benchtests/bench-strpbrk-ifunc.c: Likewise.
35261         * benchtests/bench-strrchr-ifunc.c: Likewise.
35262         * benchtests/bench-strsep-ifunc.c: Likewise.
35263         * benchtests/bench-strspn-ifunc.c: Likewise.
35264         * benchtests/bench-strstr-ifunc.c: Likewise.
35266 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35268         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
35270 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35272         * resolv/netdb.h: Use __glibc_reserved instead __unused.
35273         * rt/aio.h: Likewise.
35274         * sysdeps/gnu/bits/utmp.h: Likewise.
35275         * sysdeps/gnu/bits/utmpx.h: Likewise.
35276         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35277         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
35278         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
35279         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
35280         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
35281         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
35282         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
35283         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
35284         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
35285         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
35286         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
35287         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
35288         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
35289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
35290         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35291         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
35292         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
35293         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
35294         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
35295         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
35296         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
35297         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
35298         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
35299         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35300         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
35301         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35302         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
35303         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
35304         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
35305         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
35306         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
35307         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
35308         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
35309         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35310         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
35311         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
35312         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
35313         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
35314         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
35315         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
35316         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
35317         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
35319 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
35321         [BZ #16245]
35322         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
35323         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
35325 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
35327         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
35328         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35329         Likewise.
35331 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35333         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
35334         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
35335         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
35336         (__fesetround): Remove define.
35337         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
35338         rounding and exceptions handling.
35339         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
35340         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
35341         (__fe_nomask_env): Likewise.
35342         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
35343         __fegetround instead of fegetround.
35344         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
35345         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
35347 2013-11-21  Roland McGrath  <roland@hack.frob.com>
35349         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
35350         it's there.
35352         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
35354 2013-11-21  Meador Inge  <meadori@codesourcery.com>
35356         [BZ #11157]
35357         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
35358         (encrypt_r): Likewise.
35359         * malloc/obstack.h (obstack_free): Likewise.
35360         * posix/unistd.h (encrypt): Likewise.
35362 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
35364         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
35365         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
35366         DL_CALL_DT_FINI() that call the functions directly.
35367         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
35368         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
35369         * elf/dl-fini.c: Likewise.
35371 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
35373         * malloc/hooks.c (memalign_check): Add alignment rounding.
35374         * malloc/malloc.c (_mid_memalign): New function.
35375         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
35376         Implement by calling _mid_memalign.
35377         * manual/probes.texi (Memory Allocation Probes): Remove
35378         memory_valloc_retry and memory_pvalloc_retry.
35380 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35382         * locale/programs/locarchive.c (open_archive): Add const
35383         qualifier to ARCHIVEFNAME and copy default fname to
35384         DEFAULT_FNAME.
35386         [BZ #15601]
35387         * libio/tst-widetext.input: Rename Oriya to Odia.
35388         * locale/iso-639.def: Likewise.
35390         * manual/probes.texi (Mathematical Function Probes): Add
35391         documentation for sin, cos, asin and acos probes.
35392         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
35393         (__sin32): Add slowasin probe.
35394         (__cos32): Add slowacos probe.
35395         (__mpsin): Add slowsin probe.
35396         (__mpcos): Add slowcos probe.
35398 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
35400         [BZ #15483]
35401         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
35402         thread-local __sim_exceptions_thread and global
35403         __sim_exceptions_global.
35404         (__sim_disabled_exceptions): Change to thread-local
35405         __sim_disabled_exceptions_thread and global
35406         __sim_disabled_exceptions_global.
35407         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35408         and global __sim_round_mode_global.
35409         (__simulate_exceptions): Use thread-local floating-point state and
35410         set global state from it as needed.
35411         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
35412         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
35413         __sim_round_mode_thread.
35414         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
35415         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
35416         and global __sim_exceptions_global.
35417         (__sim_disabled_exceptions): Change to thread-local
35418         __sim_disabled_exceptions_thread and global
35419         __sim_disabled_exceptions_global.
35420         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35421         and global __sim_round_mode_global.
35422         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
35423         (SIM_SET_GLOBAL): Likewise.
35424         * sysdeps/powerpc/soft-fp/sfp-machine.h
35425         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
35426         __sim_round_mode_thread.
35427         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
35428         __sim_disabled_exceptions_thread.
35429         (__sim_exceptions): Change to __sim_exceptions_thread.
35430         (__sim_disabled_exceptions): Change to
35431         __sim_disabled_exceptions_thread.
35432         (__sim_round_mode): Change to __sim_round_mode_thread.
35433         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
35434         thread-local floating-point state and set global state from it as
35435         needed.
35436         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
35437         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
35438         (__sim_disabled_exceptions): Remove extern declaration.
35439         (feenableexcept): Use thread-local floating-point state and set
35440         global state from it as needed.
35441         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
35442         extern declaration.
35443         (__sim_disabled_exceptions): Likewise.
35444         (__sim_round_mode): Likewise.
35445         (__fegetenv): Use thread-local floating-point state.
35446         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
35447         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35448         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
35449         floating-point state and set global state from it as needed.
35450         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
35451         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35452         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
35453         Likewise.
35454         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35455         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
35456         Likewise.
35457         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
35458         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
35459         Use __sim_round_mode_thread.
35460         * math/test-fenv-tls.c: New file.
35461         * math/Makefile (tests): Add test-fenv-tls.
35462         ($(objpfx)test-fenv-tls): Depend on
35463         $(common-objpfx)nptl/libpthread.so.
35465 2013-11-19  Andreas Schwab  <schwab@suse.de>
35467         * locale/programs/locale.c (show_info): Decode wordarray elements.
35468         * locale/categories.def (LC_MONETARY): Add element for
35469         _NL_MONETARY_CRNCYSTR.
35470         * locale/C-monetary.c (conversion_rate): New variable.
35471         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
35472         element.
35474 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
35476         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
35477         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
35479 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
35481         * elf/Makefile (tst-auxv): New test.
35482         * elf/tst-auxv.c: New
35483         * elf/rtld.c (dl_main): Adjust AT_EXECFN
35485 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
35487         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
35488         (hidden_proto): Caller changed.
35489         (hidden_tls_proto): New macro.
35490         (libc_hidden_tls_proto): Likewise.
35491         (rtld_hidden_tls_proto): Likewise.
35492         (libm_hidden_tls_proto): Likewise.
35493         (libresolv_hidden_tls_proto): Likewise.
35494         (librt_hidden_tls_proto): Likewise.
35495         (libdl_hidden_tls_proto): Likewise.
35496         (libnss_files_hidden_tls_proto): Likewise.
35497         (libnsl_hidden_tls_proto): Likewise.
35498         (libnss_nisplus_hidden_tls_proto): Likewise.
35499         (libutil_hidden_tls_proto): Likewise.
35501 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
35503         [BZ #10253]
35504         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
35505         (decompose_rpath): Defer expansion to fillin_rpath.
35506         (_dl_init_paths): Pass linkmap to fillin_rpath.
35508 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35510         * benchtests/Makefile: Add strsep.
35511         * benchtests/bench-strsep.c: New file: strsep benchtest.
35512         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
35514 2013-11-18  Andreas Schwab  <schwab@suse.de>
35516         * locale/programs/locale.c (show_info) [case byte]: Check for
35517         '\377' instead of '\177'.
35518         * locale/C-monetary.c (not_available): Always use "\377".
35519         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
35520         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
35521         detect unavailable sign_posn locale elements.
35522         * locale/localeconv.c (__localeconv): For grouping and
35523         mon_grouping handle "\177" and "\377" like no grouping.
35524         (INT_ELEM): New macro.  Use it to set all numeric members.
35525         * locale/programs/ld-monetary.c (monetary_read)
35526         <tok_mon_grouping>: Normalize single -1 to the empty string.
35527         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
35528         Likewise.
35530 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
35532         [BZ #16055]
35533         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
35534         when we match (nil).
35535         * stdio-common/tst-sscanf.c (struct test): Add testcase.
35537 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
35539         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
35540         (NO_TEST_INLINE): Update value.
35541         (ERRNO_UNCHANGED): Likewise.
35542         (ERRNO_EDOM): Likewise.
35543         (ERRNO_ERANGE): Likewise.
35544         (IGNORE_RESULT): Likewise.
35545         (check_float_internal): Check signs of NaN results if
35546         TEST_NAN_SIGN used.
35547         (check_complex): Pass TEST_NAN_SIGN flag through to second
35548         check_float_internal call.
35549         (copysign_test_data): Add tests with quiet NaNs as second
35550         argument.  Use TEST_NAN_SIGN.
35551         (fabs_test_data): Add test of negative quiet NaN argument.  Use
35552         TEST_NAN_SIGN.
35553         (signbit_test_data): Add tests of quiet NaN argument.
35554         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
35556         * math/gen-libm-test.pl (show_exceptions): Take extra argument
35557         $ignore_result.
35558         (parse_args): Handle function results specified as IGNORE.
35559         * math/libm-test.inc (IGNORE_RESULT): New macro.
35560         (check_float_internal): Do not check numerical result if flag
35561         IGNORE_RESULT set.
35562         (check_complex): Pass through IGNORE_RESULT to second
35563         check_float_internal call.
35564         (check_int): Do not check numerical result if flag IGNORE_RESULT
35565         set.
35566         (check_long): Likewise.
35567         (check_bool): Likewise.
35568         (check_longlong): Likewise.
35569         (lrint_test_data): Add tests of infinite and NaN arguments.
35570         (lrint_tonearest_test_data): Likewise.
35571         (lrint_towardzero_test_data): Likewise.
35572         (lrint_downward_test_data): Likewise.
35573         (lrint_upward_test_data): Likewise.
35574         (llrint_test_data): Likewise.
35575         (llrint_tonearest_test_data): Likewise.
35576         (llrint_towardzero_test_data): Likewise.
35577         (llrint_downward_test_data): Likewise.
35578         (llrint_upward_test_data): Likewise.
35579         (lround_test_data): Likewise.
35580         (llround_test_data): Likewise.
35582         * math/libm-test.inc (NO_TEST_INLINE): New macro.
35583         (ERRNO_UNCHANGED): Update value.
35584         (ERRNO_EDOM): Likewise.
35585         (ERRNO_ERANGE): Likewise.
35586         (NO_TEST_INLINE_FLOAT): New macro.
35587         (NO_TEST_INLINE_DOUBLE): Likewise.
35588         (enable_test): New function.
35589         (RUN_TEST_f_f): Check enable_test before running test.
35590         (RUN_TEST_2_f): Likewise.
35591         (RUN_TEST_fff_f): Likewise.
35592         (RUN_TEST_c_f): Likewise.
35593         (RUN_TEST_f_f1): Likewise.
35594         (RUN_TEST_fF_f1): Likewise.
35595         (RUN_TEST_fI_f1): Likewise.
35596         (RUN_TEST_ffI_f1): Likewise.
35597         (RUN_TEST_c_c): Likewise.
35598         (RUN_TEST_cc_c): Likewise.
35599         (RUN_TEST_f_i): Likewise.
35600         (RUN_TEST_f_i_tg): Likewise.
35601         (RUN_TEST_ff_i_tg): Likewise.
35602         (RUN_TEST_f_b): Likewise.
35603         (RUN_TEST_f_b_tg): Likewise.
35604         (RUN_TEST_f_l): Likewise.
35605         (RUN_TEST_f_L): Likewise.
35606         (RUN_TEST_fFF_11): Likewise.
35607         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
35608         conditionals.
35609         (cosh_test_data): Likewise.
35610         (exp_test_data): Likewise.
35611         (expm1_test_data): Likewise.
35612         (hypot_test_data): Likewise.
35613         (pow_test_data): Likewise.
35614         (sinh_test_data): Likewise.
35615         (tanh_test_data): Likewise.
35616         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
35617         flags argument.
35619         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
35620         tests with quiet NaN input and output.
35621         (acosh_test_data): Likewise.
35622         (asin_test_data): Likewise.
35623         (asinh_test_data): Likewise.
35624         (atan_test_data): Likewise.
35625         (atanh_test_data): Likewise.
35626         (atan2_test_data): Likewise.
35627         (cbrt_test_data): Likewise.
35628         (cos_test_data): Likewise.
35629         (cosh_test_data): Likewise.
35630         (erf_test_data): Likewise.
35631         (erfc_test_data): Likewise.
35632         (exp_test_data): Likewise.
35633         (exp10_test_data): Likewise.
35634         (exp2_test_data): Likewise.
35635         (expm1_test_data): Likewise.
35636         (hypot_test_data): Likewise.
35637         (j0_test_data): Likewise.
35638         (j1_test_data): Likewise.
35639         (jn_test_data): Likewise.
35640         (lgamma_test_data): Likewise.
35641         (log_test_data): Likewise.
35642         (log10_test_data): Likewise.
35643         (log1p_test_data): Likewise.
35644         (log2_test_data): Likewise.
35645         (pow_test_data): Likewise.
35646         (scalb_test_data): Likewise.
35647         (sin_test_data): Likewise.
35648         (sincos_test_data): Likewise.
35649         (sinh_test_data): Likewise.
35650         (tan_test_data): Likewise.
35651         (tanh_test_data): Likewise.
35652         (tgamma_test_data): Likewise.
35653         (y0_test_data): Likewise.
35654         (y1_test_data): Likewise.
35655         (yn_test_data): Likewise.
35657         [BZ #16167]
35658         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
35659         argument being NaN and avoid computations with second argument in
35660         that case.
35661         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35662         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
35663         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35665 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
35667         * locale/iso-639.def: Add Chitwani Tharu (the).
35669 2013-11-14  Andreas Schwab  <schwab@suse.de>
35671         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
35672         word instead of empty string.
35674 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35677         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
35678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35679         (__fe_nomask_env): Likewise.
35681 2013-11-13  Steve Ellcey  <sellcey@mips.com>
35683         * benchtests/bench-timing.h: Include time.h.
35685 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
35687         [BZ #15997]
35688         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
35689         to 3.4.0 for x32.
35690         * sysdeps/unix/sysv/linux/configure: Regenerated.
35692 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
35694         [BZ #16151]
35695         * stdlib/strtod_l.c (round_and_return): Do not consider
35696         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
35697         exponent one less than half the least subnormal exponent.
35698         * stdlib/test-strtod-round-data: Add more tests.
35699         * stdlib/tst-strtod-round.c (tests): Regenerated.
35701 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35703         [BZ #14143]
35704         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
35705         (__fe_mask_env): Likewise.
35706         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
35707         libm_hidden_proto and add function prototype.
35708         (__fe_mask_env): Add function prototype.
35709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35710         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
35711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35712         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
35713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35714         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
35716 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35718         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
35719         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
35721 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35723         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
35724         of htab_find_slot().
35726 2013-11-11  David S. Miller  <davem@davemloft.net>
35728         [BZ #16150]
35729         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
35730         symbol in the non-vis3 case in static builds.
35731         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
35732         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
35733         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
35734         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
35736 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
35738         [BZ #387]
35739         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
35740         it is empty.
35742 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35744         * benchtests/Makefile: Add bench-strtod.
35745         * benchtests/bench-strtod.c: New file: strtod benchtest
35747 2013-11-11  Andreas Schwab  <schwab@suse.de>
35749         [BZ #16153]
35750         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
35751         terminating NUL in key length.
35753 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35755         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
35756         Add artificial ODP entry for vDSO symbol for PPC64.
35757         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
35758         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
35760 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
35762         [BZ #15374]
35763         * nss/getent.c (services_keys): Recognize services starting with digit.
35765 2013-11-06  David S. Miller  <davem@davemloft.net>
35767         [BZ #15985]
35768         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
35769         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
35771 2013-11-06  Will Newton  <will.newton@linaro.org>
35773         * manual/memory.texi (Malloc Examples): Remove register
35774         keyword from examples.
35776 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
35778         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
35780 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
35782         [BZ #6981]
35783         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
35784         depending on [__GCC_IEC_559 > 0].
35785         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
35786         depending on [__GCC_IEC_559_COMPLEX > 0].
35788 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
35790         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
35791         to iso-639.def.
35793 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
35795         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
35797 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
35799         [BZ #16112]
35800         * malloc/malloc (malloc_info): Do not handle first bin as
35801         special case.
35803 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
35805         * locale/iso-639.def: Add Central Nahuatl (nhn).
35807 2013-11-01  Bruno Haible  <bruno@clisp.org>
35809         [BZ #7003]
35810         * manual/math.texi (BSD Random): Specify range upper bound as
35811         in POSIX.
35813 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
35815         * locale/iso-639.def: Add Meadow Mari (mhr).
35817 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
35819         [BZ #14752], [BZ #15763]
35820         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
35821         Validate name.
35822         * rt/tst_shm.c: Add test for escaping directory.
35824 2013-10-31  Andreas Schwab  <schwab@suse.de>
35826         [BZ #15917]
35827         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
35828         followed by 'x' as part of digit sequence.
35829         * stdio-common/tst-sscanf.c (double_tests2): New tests.
35831 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
35833         [BZ #16037]
35834         * configure.ac: allow GNU Make 4.0 and greater.
35835         * configure: Regenerated.
35837 2013-10-30  Will Newton  <will.newton@linaro.org>
35839         [BZ #16038]
35840         * malloc/hooks.c (memalign_check): Limit alignment to the
35841         maximum representable power of two.
35842         * malloc/malloc.c (__libc_memalign): Likewise.
35843         * malloc/tst-memalign.c (do_test): Add test for very
35844         large alignment values.
35845         * malloc/tst-posix_memalign.c (do_test): Likewise.
35847 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35849         [BZ #11087]
35850         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
35851         (munmap_chunk): Likewise.
35852         (mremap_chunk): Likewise.
35854 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35856         [BZ #15799]
35857         * stdlib/div.c (div): Remove obsolete code.
35858         * stdlib/ldiv.c (ldiv): Likewise.
35859         * stdlib/lldiv.c (lldiv): Likewise.
35861 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35863         [BZ #16071]
35864         * nss/nss_files/files-XXX.c (get_contents_ret): New
35865         enumerator.
35866         (get_contents): New function.
35867         (internal_getent): Use it.  Expand size of LINEBUFLEN.
35869 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
35871         * configure.in: Moved to ...
35872         * configure.ac: ... here. Change reference to configure.in
35873         to configure.ac.
35874         * sysdeps/arm/preconfigure.ac: ... here.
35875         configure.in to configure.ac.
35876         * sysdeps/gnu/configure.in: Moved to ...
35877         * sysdeps/gnu/configure.ac: ... here.
35878         * sysdeps/i386/configure.in: Moved to ...
35879         * sysdeps/i386/configure.ac: ... here.
35880         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
35881         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
35882         * sysdeps/mach/configure.in: Moved to ...
35883         * sysdeps/mach/configure.ac: ... here.
35884         * sysdeps/mach/hurd/configure.in: Moved to ...
35885         * sysdeps/mach/hurd/configure.ac: ... here.
35886         * sysdeps/powerpc/configure.in: Moved to ...
35887         * sysdeps/powerpc/configure.ac: ... here.
35888         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
35889         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
35890         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
35891         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
35892         * sysdeps/s390/s390-32/configure.in: Moved to ...
35893         * sysdeps/s390/s390-32/configure.ac: ... here.
35894         * sysdeps/s390/s390-64/configure.in: Moved to ...
35895         * sysdeps/s390/s390-64/configure.ac: ... here.
35896         * sysdeps/sh/configure.in: Moved to ...
35897         * sysdeps/sh/configure.ac: ... here.
35898         * sysdeps/sparc/configure.in: Moved to ...
35899         * sysdeps/sparc/configure.ac: ... here.
35900         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
35901         * sysdeps/unix/sysv/linux/configure.ac: ... here.
35902         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
35903         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
35904         * sysdeps/x86_64/configure.in: Moved to ...
35905         * sysdeps/x86_64/configure.ac: ... here.
35906         * sysdeps/x86_64/preconfigure.in: Moved to ...
35907         * sysdeps/x86_64/preconfigure.ac: ... here.
35908         * aclocal.m4: Change reference to configure.in to configure.ac.
35909         * config.h.in: Likewise.
35910         * manual/install.texi: Likewise.
35911         * manual/maint.texi: Likewise.
35912         * Makefile: Likewise.
35913         * malloc/Makefile: Likewise.
35914         * nscd/Makefile: Likewise.
35915         * Makeconfig: Change reference to configure.in and
35916         preconfigure.in to configure.ac and preconfigure.ac
35917         respectively.
35918         * INSTALL: Regenerated.
35919         * configure: Likewise.
35920         * sysdeps/gnu/configure: Likewise.
35921         * sysdeps/i386/configure: Likewise.
35922         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
35923         * sysdeps/mach/configure: Likewise.
35924         * sysdeps/mach/hurd/configure: Likewise.
35925         * sysdeps/powerpc/configure: Likewise.
35926         * sysdeps/powerpc/powerpc32/configure: Likewise.
35927         * sysdeps/powerpc/powerpc64/configure: Likewise.
35928         * sysdeps/s390/s390-32/configure: Likewise.
35929         * sysdeps/s390/s390-64/configure: Likewise.
35930         * sysdeps/sh/configure: Likewise.
35931         * sysdeps/sparc/configure: Likewise.
35932         * sysdeps/unix/sysv/linux/configure: Likewise.
35933         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
35934         * sysdeps/x86_64/configure: Likewise.
35935         * sysdeps/x86_64/preconfigure: Likewise.
35937 2013-10-29  Andreas Schwab  <schwab@suse.de>
35939         * stdio-common/Makefile (tst-swscanf-ENV): Define.
35941 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35943         * benchtests/pow-inputs: Add new inputs.
35945         * benchtests/exp-inputs: Add new inputs.
35947         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
35948         conditional check for return value.
35949         (__cos32): Likewise.
35951 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35953         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
35954         to provide a boost for large inputs with word alignment.
35955         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
35956         implementation based on optimized PPC64 strcpy.
35957         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
35958         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
35959         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
35960         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
35962 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35964         [BZ #2801]
35965         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
35967 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35969         [BZ #14876]
35970         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
35971         * time/tst-strptime.c (day_tests): Add testcase.
35973 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35975         [BZ #14029]
35976         * manual/pattern.texi: Acknowledge that fnmatch can fail.
35978 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
35980         [BZ #16074]
35981         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
35982         MAP_FAILED on error.
35984 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35986         [BZ #16072]
35987         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
35988         heap for large requests.
35990 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
35992         [BZ #9954]
35993         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
35994         result if the result has no associated interface.
35995         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
35996         interface for all 127.X.Y.Z addresses.
35998 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
36000         * locale/iso-639.def: Add Ligurian (lij)
36002 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
36004         [BZ #15825]
36005         * sunrpc/rpc_main.c: Document rpcgen -5.
36007 2013-10-19  Michael Stahl  <mstahl@redhat.com>
36009         * elf/rtld.c (do_preload): Print the reason why preloading failed.
36011 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
36013         [BZ #10278]
36014         * posix/glob.c: Match only directories when trailing slash is present.
36015         * posix/tst-gnuglob.c (my_opendir): Do not open files.
36016         (main): Add testcase.
36018 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
36020         [BZ #15670]
36021         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
36023 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
36025         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
36026         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
36027         AUTH_DES and cindex for FIPS 140-2.
36028         (DES Encryption): Add cindex FIPS 46-3.
36030         * locale/locarchive.h (struct locarhandle): Add fname.
36031         * locale/programs/localedef.c (main): Pass ARGV[remaining]
36032         if an optional argument was specified to --list-archive,
36033         otherwise NULL.
36034         * locale/programs/locarchive.c (show_archive_content): Take new
36035         argument fname and pass it via ah.fname to open_archive.
36036         * locale/programs/localedef.h: Update decl.
36037         (open_archive): If AH->fname is non-null, open that file
36038         rather than the default file name, and don't ignore ENOENT.
36039         (create_archive): Set AH.fname to NULL.
36040         (delete_locales_from_archive): Likewise.
36041         (add_locales_to_archive): Likewise.
36042         * locale/programs/locfile.c (write_all_categories): Likewise.
36044 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
36045             Aldy Hernandez  <aldyh@redhat.com>
36047         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
36048         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
36049         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
36050         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
36051         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
36052         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
36053         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
36054         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
36055         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
36056         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
36057         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
36058         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
36059         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
36060         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
36061         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
36062         Likewise.
36063         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
36064         Likewise.
36065         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
36066         Likewise.
36067         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
36068         Likewise.
36069         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
36070         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
36071         Likewise.
36072         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
36073         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
36074         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
36075         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
36076         Likewise.
36077         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
36078         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
36079         * sysdeps/powerpc/preconfigure: Likewise.
36080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
36081         Likewise.
36082         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
36083         Replace contents of file by #include of <fenv_libc.h>.
36084         * sysdeps/powerpc/soft-fp/sfp-machine.h
36085         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
36086         and <sys/prctl.h>.
36087         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
36088         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
36089         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
36090         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
36091         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
36092         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
36093         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
36094         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
36095         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
36096         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
36097         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
36098         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
36099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36100         Allow copysignl PLT reference to be missing.
36102 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
36103             Joseph Myers  <joseph@codesourcery.com
36105         [BZ #15948]
36106         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
36107         single character.
36108         (add_to_tablewc): Assert sequence of wide characters is nonempty.
36110 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36112         * elf/tst-tls-dlinfo.c: Don't include tls.h.
36113         * elf/tst-tls1.c: Likewise.
36114         * elf/tst-tls10.h: Likewise.
36115         * elf/tst-tls14.c: Likewise.
36116         * elf/tst-tls2.c: Likewise.
36117         * elf/tst-tls3.c: Likewise.
36118         * elf/tst-tls4.c: Likewise.
36119         * elf/tst-tls5.c: Likewise.
36120         * elf/tst-tls6.c: Likewise.
36121         * elf/tst-tls7.c: Likewise.
36122         * elf/tst-tls8.c: Likewise.
36123         * elf/tst-tls9.c: Likewise.
36124         * elf/tst-tlsmod1.c: Likewise.
36125         * elf/tst-tlsmod13.c: Likewise.
36126         * elf/tst-tlsmod13a.c: Likewise.
36127         * elf/tst-tlsmod14a.c: Likewise.
36128         * elf/tst-tlsmod16a.c: Likewise.
36129         * elf/tst-tlsmod16b.c: Likewise.
36130         * elf/tst-tlsmod2.c: Likewise.
36131         * elf/tst-tlsmod3.c: Likewise.
36132         * elf/tst-tlsmod4.c: Likewise.
36133         * elf/tst-tlsmod5.c: Likewise.
36134         * elf/tst-tlsmod6.c: Likewise.
36136 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
36138         [BZ #12486]
36139         * malloc/malloc.c: remove checks for statistics.
36141 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
36143         [BZ #15277]
36144         * inet/inet_net.c (inet_network): Detect additional invalid strings.
36145         * inet/tst-network.c: Add testcase.
36147 2013-10-17  Andreas Schwab  <schwab@suse.de>
36149         [BZ #15218]
36150         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
36151         to determine canonical name.
36153 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
36155         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
36156         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
36157         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36158         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36159         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36160         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36161         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36162         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36163         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36164         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36165         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36166         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36167         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36168         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36169         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36170         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36171         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36172         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36173         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36174         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36175         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36176         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36177         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36178         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
36179         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
36180         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36181         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36182         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
36183         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36184         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
36185         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36186         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36187         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36188         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36189         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36190         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36191         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36192         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36193         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36194         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36195         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36196         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36197         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36198         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36199         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36200         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36201         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36202         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36203         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36204         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36205         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36206         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36207         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36208         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36209         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36210         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36211         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36212         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36214 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
36216         [BZ #16041]
36217         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
36218         make result into a quiet NaN.
36220 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
36222         * soft-fp/adddf3.c: Fix horizontal whitespace.
36223         * soft-fp/addsf3.c: Likewise.
36224         * soft-fp/addtf3.c: Likewise.
36225         * soft-fp/divdf3.c: Likewise.
36226         * soft-fp/divsf3.c: Likewise.
36227         * soft-fp/divtf3.c: Likewise.
36228         * soft-fp/double.h: Likewise.
36229         * soft-fp/eqdf2.c: Likewise.
36230         * soft-fp/eqsf2.c: Likewise.
36231         * soft-fp/eqtf2.c: Likewise.
36232         * soft-fp/extenddftf2.c: Likewise.
36233         * soft-fp/extended.h: Likewise.
36234         * soft-fp/extendsfdf2.c: Likewise.
36235         * soft-fp/extendsftf2.c: Likewise.
36236         * soft-fp/extendxftf2.c: Likewise.
36237         * soft-fp/fixdfdi.c: Likewise.
36238         * soft-fp/fixdfsi.c: Likewise.
36239         * soft-fp/fixdfti.c: Likewise.
36240         * soft-fp/fixsfdi.c: Likewise.
36241         * soft-fp/fixsfsi.c: Likewise.
36242         * soft-fp/fixsfti.c: Likewise.
36243         * soft-fp/fixtfdi.c: Likewise.
36244         * soft-fp/fixtfsi.c: Likewise.
36245         * soft-fp/fixtfti.c: Likewise.
36246         * soft-fp/fixunsdfdi.c: Likewise.
36247         * soft-fp/fixunsdfsi.c: Likewise.
36248         * soft-fp/fixunsdfti.c: Likewise.
36249         * soft-fp/fixunssfdi.c: Likewise.
36250         * soft-fp/fixunssfsi.c: Likewise.
36251         * soft-fp/fixunssfti.c: Likewise.
36252         * soft-fp/fixunstfdi.c: Likewise.
36253         * soft-fp/fixunstfsi.c: Likewise.
36254         * soft-fp/fixunstfti.c: Likewise.
36255         * soft-fp/floatdidf.c: Likewise.
36256         * soft-fp/floatdisf.c: Likewise.
36257         * soft-fp/floatditf.c: Likewise.
36258         * soft-fp/floatsidf.c: Likewise.
36259         * soft-fp/floatsisf.c: Likewise.
36260         * soft-fp/floatsitf.c: Likewise.
36261         * soft-fp/floattidf.c: Likewise.
36262         * soft-fp/floattisf.c: Likewise.
36263         * soft-fp/floattitf.c: Likewise.
36264         * soft-fp/floatundidf.c: Likewise.
36265         * soft-fp/floatundisf.c: Likewise.
36266         * soft-fp/floatunditf.c: Likewise.
36267         * soft-fp/floatunsidf.c: Likewise.
36268         * soft-fp/floatunsisf.c: Likewise.
36269         * soft-fp/floatunsitf.c: Likewise.
36270         * soft-fp/floatuntidf.c: Likewise.
36271         * soft-fp/floatuntisf.c: Likewise.
36272         * soft-fp/floatuntitf.c: Likewise.
36273         * soft-fp/fmadf4.c: Likewise.
36274         * soft-fp/fmasf4.c: Likewise.
36275         * soft-fp/fmatf4.c: Likewise.
36276         * soft-fp/gedf2.c: Likewise.
36277         * soft-fp/gesf2.c: Likewise.
36278         * soft-fp/getf2.c: Likewise.
36279         * soft-fp/ledf2.c: Likewise.
36280         * soft-fp/lesf2.c: Likewise.
36281         * soft-fp/letf2.c: Likewise.
36282         * soft-fp/muldf3.c: Likewise.
36283         * soft-fp/mulsf3.c: Likewise.
36284         * soft-fp/multf3.c: Likewise.
36285         * soft-fp/negdf2.c: Likewise.
36286         * soft-fp/negsf2.c: Likewise.
36287         * soft-fp/negtf2.c: Likewise.
36288         * soft-fp/op-1.h: Likewise.
36289         * soft-fp/op-2.h: Likewise.
36290         * soft-fp/op-4.h: Likewise.
36291         * soft-fp/op-8.h: Likewise.
36292         * soft-fp/op-common.h: Likewise.
36293         * soft-fp/quad.h: Likewise.
36294         * soft-fp/single.h: Likewise.
36295         * soft-fp/soft-fp.h: Likewise.
36296         * soft-fp/sqrtdf2.c: Likewise.
36297         * soft-fp/sqrtsf2.c: Likewise.
36298         * soft-fp/sqrttf2.c: Likewise.
36299         * soft-fp/subdf3.c: Likewise.
36300         * soft-fp/subsf3.c: Likewise.
36301         * soft-fp/subtf3.c: Likewise.
36302         * soft-fp/truncdfsf2.c: Likewise.
36303         * soft-fp/trunctfdf2.c: Likewise.
36304         * soft-fp/trunctfsf2.c: Likewise.
36305         * soft-fp/trunctfxf2.c: Likewise.
36306         * soft-fp/unorddf2.c: Likewise.
36307         * soft-fp/unordsf2.c: Likewise.
36308         * soft-fp/unordtf2.c: Likewise.
36310 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
36312         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
36313         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
36315 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
36317         * elf/dl-libc.c: Clear initfini list after freeing.
36319 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
36321         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
36322         * soft-fp/addsf3.c: Likewise.
36323         * soft-fp/addtf3.c: Likewise.
36324         * soft-fp/divdf3.c: Likewise.
36325         * soft-fp/divsf3.c: Likewise.
36326         * soft-fp/divtf3.c: Likewise.
36327         * soft-fp/double.h: Likewise.
36328         * soft-fp/eqdf2.c: Likewise.
36329         * soft-fp/eqsf2.c: Likewise.
36330         * soft-fp/eqtf2.c: Likewise.
36331         * soft-fp/extenddftf2.c: Likewise.
36332         * soft-fp/extended.h: Likewise.
36333         * soft-fp/extendsfdf2.c: Likewise.
36334         * soft-fp/extendsftf2.c: Likewise.
36335         * soft-fp/extendxftf2.c: Likewise.
36336         * soft-fp/fixdfdi.c: Likewise.
36337         * soft-fp/fixdfsi.c: Likewise.
36338         * soft-fp/fixdfti.c: Likewise.
36339         * soft-fp/fixsfdi.c: Likewise.
36340         * soft-fp/fixsfsi.c: Likewise.
36341         * soft-fp/fixsfti.c: Likewise.
36342         * soft-fp/fixtfdi.c: Likewise.
36343         * soft-fp/fixtfsi.c: Likewise.
36344         * soft-fp/fixtfti.c: Likewise.
36345         * soft-fp/fixunsdfdi.c: Likewise.
36346         * soft-fp/fixunsdfsi.c: Likewise.
36347         * soft-fp/fixunsdfti.c: Likewise.
36348         * soft-fp/fixunssfdi.c: Likewise.
36349         * soft-fp/fixunssfsi.c: Likewise.
36350         * soft-fp/fixunssfti.c: Likewise.
36351         * soft-fp/fixunstfdi.c: Likewise.
36352         * soft-fp/fixunstfsi.c: Likewise.
36353         * soft-fp/fixunstfti.c: Likewise.
36354         * soft-fp/floatdidf.c: Likewise.
36355         * soft-fp/floatdisf.c: Likewise.
36356         * soft-fp/floatditf.c: Likewise.
36357         * soft-fp/floatsidf.c: Likewise.
36358         * soft-fp/floatsisf.c: Likewise.
36359         * soft-fp/floatsitf.c: Likewise.
36360         * soft-fp/floattidf.c: Likewise.
36361         * soft-fp/floattisf.c: Likewise.
36362         * soft-fp/floattitf.c: Likewise.
36363         * soft-fp/floatundidf.c: Likewise.
36364         * soft-fp/floatundisf.c: Likewise.
36365         * soft-fp/floatunsidf.c: Likewise.
36366         * soft-fp/floatunsisf.c: Likewise.
36367         * soft-fp/floatuntidf.c: Likewise.
36368         * soft-fp/floatuntisf.c: Likewise.
36369         * soft-fp/floatuntitf.c: Likewise.
36370         * soft-fp/fmadf4.c: Likewise.
36371         * soft-fp/fmasf4.c: Likewise.
36372         * soft-fp/fmatf4.c: Likewise.
36373         * soft-fp/gedf2.c: Likewise.
36374         * soft-fp/gesf2.c: Likewise.
36375         * soft-fp/getf2.c: Likewise.
36376         * soft-fp/ledf2.c: Likewise.
36377         * soft-fp/lesf2.c: Likewise.
36378         * soft-fp/letf2.c: Likewise.
36379         * soft-fp/muldf3.c: Likewise.
36380         * soft-fp/mulsf3.c: Likewise.
36381         * soft-fp/multf3.c: Likewise.
36382         * soft-fp/negdf2.c: Likewise.
36383         * soft-fp/negsf2.c: Likewise.
36384         * soft-fp/negtf2.c: Likewise.
36385         * soft-fp/op-1.h: Likewise.
36386         * soft-fp/op-2.h: Likewise.
36387         * soft-fp/op-4.h: Likewise.
36388         * soft-fp/op-8.h: Likewise.
36389         * soft-fp/op-common.h: Likewise.
36390         * soft-fp/quad.h: Likewise.
36391         * soft-fp/single.h: Likewise.
36392         * soft-fp/soft-fp.h: Likewise.
36393         * soft-fp/sqrtdf2.c: Likewise.
36394         * soft-fp/sqrtsf2.c: Likewise.
36395         * soft-fp/sqrttf2.c: Likewise.
36396         * soft-fp/subdf3.c: Likewise.
36397         * soft-fp/subsf3.c: Likewise.
36398         * soft-fp/subtf3.c: Likewise.
36399         * soft-fp/truncdfsf2.c: Likewise.
36400         * soft-fp/trunctfdf2.c: Likewise.
36401         * soft-fp/trunctfsf2.c: Likewise.
36402         * soft-fp/trunctfxf2.c: Likewise.
36403         * soft-fp/unorddf2.c: Likewise.
36404         * soft-fp/unordsf2.c: Likewise.
36405         * soft-fp/unordtf2.c: Likewise.
36407 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
36409         [BZ #15672]
36410         * misc/error.c (error_tail): Fix possible buffer overflow.
36412 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
36414         [BZ #13028]
36415         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
36416         address.
36418 2013-10-14  P. J. McDermott  <pj@pehjota.net>
36420         [BZ #832]
36421         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
36422         testing pipefail option.
36424 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36426         * soft-fp/double.h: Indent preprocessor directives inside #if.
36427         * soft-fp/extended.h: Likewise.
36428         * soft-fp/op-2.h: Likewise.
36429         * soft-fp/op-4.h: Likewise.
36430         * soft-fp/op-common.h: Likewise.
36431         * soft-fp/quad.h: Likewise.
36432         * soft-fp/single.h: Likewise.
36433         * soft-fp/soft-fp.h: Likewise.
36435 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
36437         * iconv/iconv_prog.c: Fix typos.
36438         * stdio-common/psiginfo-data.h: Likewise.
36440 2013-10-12   Reuben Thomas <rrt@sc3d.org>
36442         [BZ #15764]
36443         * locale/setlocale.c: Fix typo.
36445 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36447         [BZ #16036]
36448         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
36449         signaling NaN arguments.
36450         * soft-fp/unordsf2.c (__unordsf2): Likewise.
36451         * soft-fp/unordtf2.c (__unordtf2): Likewise.
36453         [BZ #14910]
36454         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
36455         unordered operands.
36456         * soft-fp/gesf2.c (__gesf2): Likewise.
36457         * soft-fp/getf2.c (__getf2): Likewise.
36458         * soft-fp/ledf2.c (__ledf2): Likewise.
36459         * soft-fp/lesf2.c (__lesf2): Likewise.
36460         * soft-fp/letf2.c (__letf2): Likewise.
36462         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
36463         * soft-fp/eqsf2.c (__eqsf2): Likewise.
36464         * soft-fp/eqtf2.c (__eqtf2): Likewise.
36465         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
36466         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
36467         * soft-fp/fixdfti.c (__fixdfti): Likewise.
36468         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
36469         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
36470         * soft-fp/fixsfti.c (__fixsfti): Likewise.
36471         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
36472         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
36473         * soft-fp/fixtfti.c (__fixtfti): Likewise.
36474         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
36475         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
36476         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
36477         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
36478         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
36479         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
36480         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
36481         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
36482         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
36483         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
36484         * soft-fp/floatdisf.c (__floatdisf): Likewise.
36485         * soft-fp/floatsisf.c (__floatsisf): Likewise.
36486         * soft-fp/floattidf.c (__floattidf): Likewise.
36487         * soft-fp/floattisf.c (__floattisf): Likewise.
36488         * soft-fp/floattitf.c (__floattitf): Likewise.
36489         * soft-fp/floatundidf.c (__floatundidf): Likewise.
36490         * soft-fp/floatundisf.c (__floatundisf): Likewise.
36491         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
36492         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
36493         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
36494         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
36495         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
36496         * soft-fp/gesf2.c (__gesf2): Likewise.
36497         * soft-fp/getf2.c (__getf2): Likewise.
36498         * soft-fp/ledf2.c (__ledf2): Likewise.
36499         * soft-fp/lesf2.c (__lesf2): Likewise.
36500         * soft-fp/letf2.c (__letf2): Likewise.
36502         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
36503         Undefine and redefine.
36504         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
36505         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
36506         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
36507         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
36508         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36509         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
36510         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36511         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
36512         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36513         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
36514         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36515         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
36516         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36517         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
36518         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36520         [BZ #16032]
36521         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
36522         without decrementing exponent if mantissa >= that for the
36523         denominator, not >.
36524         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
36525         denominator, not >.  Decrement exponent in < case instead of
36526         incrementing in >= case.
36527         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
36528         without decrementing exponent if mantissa >= that for the
36529         denominator, not >.
36531         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
36532         computing saturated result for unsigned overflow.
36534 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36535             Jeff Law  <law@redhat.com>
36537         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
36538         (atan2Mp): Add systemtap probe marker.
36539         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
36540         (__ieee754_log): Add systemtap probe marker.
36541         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
36542         (atanMp): Add systemtap probe marker.
36543         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
36544         (tanMp): Add systemtap probe marker.
36545         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
36546         (__slowexp): Add systemtap probe marker.
36547         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
36548         (__slowpow): Add systemtap probe marker.
36549         * manual/probes.texi: Document probes.
36551 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
36553         [BZ #15362]
36554         * libio/fileops.c (_IO_new_file_write): Return count of bytes
36555         written.
36556         (_IO_new_file_xsputn): Don't return EOF if nothing has been
36557         written.
36558         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
36559         written to buffer but not flushed.
36560         * libio/iofwrite_u.c:  Likewise.
36561         * libio/iopadn.c:  Return bytes returned even if EOF was
36562         encountered.
36563         * libio/iowpadn.c:  Likewise.
36564         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
36565         if _IO_padn does not write the whole buffer.
36566         [!COMPILE_WPRINTF] (PAD): Likewise.
36568 2013-10-10  David S. Miller  <davem@davemloft.net>
36570         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
36571         directory block.
36573 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
36575         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
36576         instead of FSF address.
36577         * soft-fp/fixdfti.c: Likewise.
36578         * soft-fp/fixsfti.c: Likewise.
36579         * soft-fp/fixtfti.c: Likewise.
36580         * soft-fp/fixunsdfti.c: Likewise.
36581         * soft-fp/fixunssfti.c: Likewise.
36582         * soft-fp/fixunstfti.c: Likewise.
36583         * soft-fp/floattidf.c: Likewise.
36584         * soft-fp/floattisf.c: Likewise.
36585         * soft-fp/floattitf.c: Likewise.
36586         * soft-fp/floatuntidf.c: Likewise.
36587         * soft-fp/floatuntisf.c: Likewise.
36588         * soft-fp/floatuntitf.c: Likewise.
36589         * soft-fp/trunctfxf2.c: Likewise.
36591         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
36592         * soft-fp/fixdfti.c: Likewise.
36593         * soft-fp/fixsfti.c: Likewise.
36594         * soft-fp/fixtfti.c: Likewise.
36595         * soft-fp/fixunsdfti.c: Likewise.
36596         * soft-fp/fixunssfti.c: Likewise.
36597         * soft-fp/fixunstfti.c: Likewise.
36598         * soft-fp/floattidf.c: Likewise.
36599         * soft-fp/floattisf.c: Likewise.
36600         * soft-fp/floattitf.c: Likewise.
36601         * soft-fp/floatuntidf.c: Likewise.
36602         * soft-fp/floatuntisf.c: Likewise.
36603         * soft-fp/floatuntitf.c: Likewise.
36604         * soft-fp/trunctfxf2.c: Likewise.
36606 2013-10-10  David S. Miller  <davem@davemloft.net>
36608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36610 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
36612         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
36613         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
36614         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
36615         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
36616         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
36617         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
36618         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
36620         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
36621         for NaNs before doing comparisons on argument.
36622         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
36623         Likewise.
36625 2013-10-10  Will Newton  <will.newton@linaro.org>
36627         * malloc/hooks.c (memalign_check): Ensure the value of bytes
36628         passed to _int_memalign does not overflow.
36630 2013-10-10  Torvald Riegel  <triegel@redhat.com>
36632         * scripts/bench.pl: Add include-sources directive.
36633         * benchtests/README: Update documentation.
36635 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
36637         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
36638         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
36639         instead of FP_INIT_ROUNDMODE.
36640         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
36641         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
36643         [BZ #16034]
36644         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
36645         copy class of input value.
36646         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
36647         not handle exceptions.
36648         * soft-fp/negsf2.c (__negsf2): Likewise.
36649         * soft-fp/negtf2.c (__negtf2): Likewise.
36650         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
36652 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
36654         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
36655         semicolon.  From Linux kernel.
36657 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
36659         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
36661 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
36663         [BZ #156]
36664         * manual/socket.texi: Added statement about buffer
36665         for gethostbyname2_r.
36667 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
36669         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
36670         Use .p2align directive instead, throughout.
36671         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36672         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36673         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
36674         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36675         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36676         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
36677         * sysdeps/x86_64/strchr.S: Likewise.
36678         * sysdeps/x86_64/strrchr.S: Likewise.
36680 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36682         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
36684         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
36686         * sysdeps/generic/math_private.h (__mpsin1): Remove
36687         declaration.
36688         (__mpcos1): Likewise.
36689         (__mpsin): New argument __range_reduce.
36690         (__mpcos): Likewise.
36691         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36692         (slow): Use __mpsin and __mpcos.
36693         (slow1): Likewise.
36694         (slow2): Likewise.
36695         (sloww): Likewise.
36696         (sloww1): Likewise.
36697         (sloww2): Likewise.
36698         (bsloww): Likewise.
36699         (bsloww1): Likewise.
36700         (bsloww2): Likewise.
36701         (cslow2): Likewise.
36702         (csloww): Likewise.
36703         (csloww1): Likewise.
36704         (csloww2): Likewise.
36705         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
36706         range_reduce.  Merge in __mpsin1.
36707         (__mpcos): Likewise.
36708         (__mpsin1): Remove.
36709         (__mpcos1): Likewise.
36711 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
36713         * locale/loadlocale.c (_nl_intern_locale_data): Use
36714         LOCFILE_ALIGNED_P.
36715         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
36716         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
36717         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
36718         obstack data is appropriately aligned.
36719         (obstack_int32_grow_fast): Likewise.
36720         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
36721         * locale/programs/locfile.c (add_locale_uint32): Likewise.
36722         (add_locale_uint32_array): Likewise.
36724 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36726         * benchtests/Makefile: Remove ARGLIST and RET variables.
36727         ($(objpfx)bench-%.c): Pass only function name to the script.
36728         * benchtests/README: Update documentation.
36729         * benchtests/acos-inputs: Add new directives.
36730         * benchtests/acosh-inputs: Likewise.
36731         * benchtests/asin-inputs: Likewise.
36732         * benchtests/asinh-inputs: Likewise.
36733         * benchtests/atan-inputs: Likewise.
36734         * benchtests/atanh-inputs: Likewise.
36735         * benchtests/cos-inputs: Likewise.
36736         * benchtests/cosh-inputs: Likewise.
36737         * benchtests/exp-inputs: Likewise.
36738         * benchtests/log-inputs: Likewise.
36739         * benchtests/pow-inputs: Likewise.
36740         * benchtests/rint-inputs: Likewise.
36741         * benchtests/sin-inputs: Likewise.
36742         * benchtests/sinh-inputs: Likewise.
36743         * benchtests/tan-inputs: Likewise.
36744         * benchtests/tanh-inputs: Likewise.
36745         * scripts/bench.pl: Add support for new directives.
36747 2013-10-07  Alan Modra  <amodra@gmail.com>
36749         * README: Fix careless merge.
36751 2013-10-05  Alan Modra  <amodra@gmail.com>
36753         * NEWS: Mention powerpc64le support and bugs fixed.
36754         * README: Both big-endian and little-endian powerpc64 supported.
36756 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36758         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
36759         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
36760         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
36761         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
36763 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
36765         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
36766         match prototype.
36768 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
36770         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
36771         Move -mhard-float appending from
36772         ports/sysdeps/powerpc/powerpc32/Makefile.
36773         [$(with-fp) = yes] (ASFLAGS): Likewise.
36774         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
36775         * sysdeps/powerpc/nofpu: Move directory from
36776         ports/sysdeps/powerpc/nofpu.
36777         * sysdeps/powerpc/soft-fp: Move directory from
36778         ports/sysdeps/powerpc/soft-fp.
36779         * sysdeps/powerpc/powerpc32/405: Move directory from
36780         ports/sysdeps/powerpc/powerpc32/405.
36781         * sysdeps/powerpc/powerpc32/440: Move directory from
36782         ports/sysdeps/powerpc/powerpc32/440.
36783         * sysdeps/powerpc/powerpc32/464: Move directory from
36784         ports/sysdeps/powerpc/powerpc32/464.
36785         * sysdeps/powerpc/powerpc32/476: Move directory from
36786         ports/sysdeps/powerpc/powerpc32/476.
36787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
36788         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
36789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
36790         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
36791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
36792         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
36793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
36794         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
36795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
36796         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
36797         * README: Update for powerpc-*-linux-gnu software floating point
36798         support in libc.
36800         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
36801         case to powerpc/powerpc32*.
36802         * sysdeps/unix/sysv/linux/configure: Regenerated.
36804         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
36805         (_FPU_MASK_OM): Define as 0x04.
36806         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
36807         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
36808         0x00c10080.
36809         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
36810         0x0000003c.
36811         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
36813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
36814         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
36815         getcontext_e500.
36816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
36817         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
36818         setcontext_e500.
36819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
36820         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
36821         and setcontext_e500.
36823 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
36825         * locale/iso-3166.def: Update iso-1366.def and related occurrences
36827 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36829         * manual/threads.texi (Default Thread Attributes): Fix typo.
36831 2013-10-04  Will Newton  <will.newton@linaro.org>
36833         * malloc/Makefile: Add tst-memalign.
36834         * malloc/tst-memalign.c: New file.
36836         * malloc/tst-posix_memalign.c: Add comments.
36837         (do_test): Add comments and call free on all potentially
36838         allocated pointers. Add space after cast.
36840         * malloc/tst-pvalloc.c: Add comments.
36841         (do_test): Add comments and call free on all potentially
36842         allocated pointers. Remove duplicate check for NULL pointer.
36843         Add space after cast.
36845         * malloc/tst-valloc.c: Add comments.
36846         (do_test): Add comments and call free on all potentially
36847         allocated pointers. Remove duplicate check for NULL pointer.
36848         Add space after cast.
36850 2013-10-04  Alan Modra  <amodra@gmail.com>
36852         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36853         Use stdint types in rather than __attribute__((mode())).
36854         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36856 2013-10-04  Alan Modra  <amodra@gmail.com>
36858         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36859         Correct handling of unaligned relocs for little-endian.
36860         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36862 2013-10-04  Alan Modra  <amodra@gmail.com>
36864         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
36865         * configure: Regenerate.
36866         * nptl/shlib-versions: Powerpc*le starts at 2.18.
36867         * shlib-versions: Likewise.
36869 2013-10-04  Alan Modra  <amodra@gmail.com>
36871         * string/tester.c (test_memrchr): Increment reported test cycle.
36873 2013-10-04  Alan Modra  <amodra@gmail.com>
36875         * string/test-memcpy.c (do_one_test): When reporting errors, print
36876         string address and don't overrun end of string.
36878 2013-10-04  Alan Modra  <amodra@gmail.com>
36880         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
36881         insrdi.  Make better use of reg selection to speed exit slightly.
36882         Schedule entry path a little better.  Remove useless "are we done"
36883         checks on entry to main loop.  Handle wrapping around zero address.
36884         Correct main loop count.  Handle single left-over word from main
36885         loop inline rather than by using loop_small.  Remove extra word
36886         case in loop_small caused by wrong loop count.  Add little-endian
36887         support.
36888         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36889         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
36890         cache hint.
36891         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36892         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
36893         support.  Avoid rlwimi.
36894         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
36896 2013-10-04  Alan Modra  <amodra@gmail.com>
36898         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
36899         insrdi.  Formatting.
36900         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
36901         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36902         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
36903         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
36904         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36905         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
36907 2013-10-04  Alan Modra  <amodra@gmail.com>
36909         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
36910         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36911         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36912         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
36913         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36914         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36915         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36916         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36917         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
36918         use of regs.  Use power7 mtocrf.  Tidy function tails.
36920 2013-10-04  Alan Modra  <amodra@gmail.com>
36922         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
36923         Formatting.  Consistently use rXXX register defines or rN defines.
36924         Use early exit labels that avoid restoring unused non-volatile regs.
36925         Make cr field use more consistent with rWORDn compares.  Rename
36926         regs used as shift registers for unaligned loop, using rN defines
36927         for short lifetime/multiple use regs.
36928         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36929         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
36930         addi 1,1,64 to pop stack frame.  Simplify return value code.
36931         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36933 2013-10-04  Alan Modra  <amodra@gmail.com>
36935         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
36936         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
36937         rather than rlwimi.
36938         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
36939         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
36940         little-endian support.  Correct typos.
36941         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
36942         rather than rlwimi.
36943         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
36944         in loop and entry code to keep "and." results.
36945         (strchr): Add little-endian support.  Comment.  Move cntlzd
36946         earlier in tail.
36947         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
36949 2013-10-04  Alan Modra  <amodra@gmail.com>
36951         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
36952         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
36953         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
36954         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
36956 2013-10-04  Alan Modra  <amodra@gmail.com>
36958         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
36959         (rTMP): Define as r11.
36960         (strcmp): Add little-endian support.  Optimise tail.
36961         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
36962         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36963         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36964         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36965         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36966         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36967         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36969 2013-10-04  Alan Modra  <amodra@gmail.com>
36971         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
36972         little-endian support.  Remove unnecessary "are we done" tests.
36973         Handle "s" wrapping around zero and extremely large "size".
36974         Correct main loop count.  Handle single left-over word from main
36975         loop inline rather than by using small_loop.  Correct comments.
36976         Delete "zero" tail, use "end_max" instead.
36977         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
36979 2013-10-04  Alan Modra  <amodra@gmail.com>
36981         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
36982         support.  Don't branch over align.
36983         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
36984         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
36985         support.  Rearrange tmp reg use to suit.  Comment.
36986         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
36988 2013-10-04  Alan Modra  <amodra@gmail.com>
36990         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
36992 2013-10-04  Alan Modra  <amodra@gmail.com>
36994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
36995         conditional form of branch and link when obtaining pc.
36996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
36998 2013-10-04  Alan Modra  <amodra@gmail.com>
37000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
37001         HIWORD/LOWORD.
37002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
37003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
37005 2013-10-04  Alan Modra  <amodra@gmail.com>
37007         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
37008         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
37009         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37010         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
37011         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37012         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37013         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
37014         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37015         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
37016         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
37018 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37019             Alistair Popple <alistair@ozlabs.au.ibm.com>
37020             Alan Modra <amodra@gmail.com>
37022         [BZ #15723]
37023         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
37024         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
37025         _dl_hwcap access for little-endian.
37026         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
37027         destroy vmx regs when saving unaligned.
37028         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
37029         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
37030         destroy vmx regs when saving unaligned.
37032 2013-10-04  Alan Modra  <amodra@gmail.com>
37034         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
37035         Don't use a union to pack hi/low value.
37037 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37039         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
37040         for little-endian.
37041         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
37042         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
37043         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37044         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
37045         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
37047 2013-10-04  Alan Modra  <amodra@gmail.com>
37049         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
37050         constants to usual value for .cst8 section, and remove redundant
37051         high address load.
37052         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
37053         constant for 0x1p52.  Load little-endian words of double from
37054         correct stack offsets.
37056 2013-10-04  Alan Modra  <amodra@gmail.com>
37058         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
37059         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
37060         words of double from correct stack offsets.
37061         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
37062         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
37063         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
37064         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
37065         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
37066         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
37067         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
37068         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
37069         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
37070         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
37071         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
37072         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
37073         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37074         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37075         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37076         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
37077         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
37079 2013-10-04  Alan Modra  <amodra@gmail.com>
37081         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
37082         64-bit int/double union.
37083         (_FPU_SETCW): Likewise.
37084         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
37085         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
37087 2013-10-04  Alan Modra  <amodra@gmail.com>
37089         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
37090         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
37092 2013-10-04  Alan Modra  <amodra@gmail.com>
37094         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
37095         use vector int constants.
37096         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
37098 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37100         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
37101         array with long long.
37102         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
37103         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
37104         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
37105         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
37106         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
37107         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
37108         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
37109         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
37110         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
37111         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
37112         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
37113         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
37114         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
37116 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37118         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
37119         (__signbit): Likewise.  Correct for little-endian.
37120         (__signbitl): Call __signbit.
37121         (lrint): Correct for little-endian.
37122         (lrintf): Call lrint.
37124 2013-10-04  Alan Modra  <amodra@gmail.com>
37126         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
37127         union 32-bit int array member with 64-bit int array.
37128         (t515, tm256): Double rather than long double.
37129         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
37131 2013-10-04  Alan Modra  <amodra@gmail.com>
37133         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
37134         Delete.
37135         (IEEE854_LONG_DOUBLE_BIAS): Delete.
37136         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
37137         version of math_ldbl.h.
37139 2013-10-04  Alan Modra  <amodra@gmail.com>
37141         [BZ #15734], [BZ #15735]
37142         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
37143         all uses of ieee875 long double macros and unions.  Simplify test
37144         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
37145         ldbl_extract_mantissa value for ix,iy exponents.  Properly
37146         normalize after ldbl_extract_mantissa, and don't add hidden bit
37147         already handled.  Don't treat low word of ieee854 mantissa like
37148         low word of IBM long double and mask off bit when testing for
37149         zero.
37150         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
37151         all uses of ieee875 long double macros and unions.  Simplify tests
37152         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
37153         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
37154         two1022, instead use their values.  Recognise that tests for large
37155         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
37156         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
37157         Rewrite all uses of ieee875 long double macros and unions.  Simplify
37158         test for 0.0L and nan.  Correct negation.
37159         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
37160         ieee875 long double macros and unions.  Correct output for large
37161         magnitude x.  Correct absolute value calculation.
37162         (__erfcl): Likewise.
37163         * math/libm-test.inc: Add tests for errors discovered in IBM long
37164         double versions of fmodl, remainderl, erfl and erfcl.
37166 2013-10-04  Alan Modra  <amodra@gmail.com>
37168         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
37169         all uses of ieee854 long double macros and unions.  Simplify tests
37170         for long doubles that are fully specified by the high double.
37171         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
37172         Likewise.
37173         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
37174         Remove dead code too.
37175         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
37176         (__ieee754_ynl): Likewise.
37177         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
37178         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
37179         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
37180         Remove dead code too.
37181         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
37182         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
37183         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
37184         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
37185         Simplify.
37186         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
37187         Simplify.
37188         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
37189         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
37190         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
37191         Comment on variable precision.
37192         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
37193         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37194         Likewise.
37195         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37196         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37197         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37198         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
37199         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
37201 2013-10-04  Alan Modra  <amodra@gmail.com>
37203         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
37204         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
37205         all uses of ieee854 long double macros and unions.
37206         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
37207         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37208         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
37209         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
37210         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
37211         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37212         Likewise.
37213         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
37214         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37215         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
37216         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37217         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
37218         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
37219         Simplify sign and nan test too.
37220         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
37221         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
37222         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
37223         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
37224         Likewise.
37225         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37226         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
37227         Likewise.
37228         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37229         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
37230         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
37231         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
37232         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
37233         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
37235 2013-10-04  Alan Modra  <amodra@gmail.com>
37237         * stdio-common/printf_size.c (__printf_size): Don't use
37238         union ieee854_long_double in fpnum union.
37239         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
37240         signbit macro to retrieve sign from long double.
37241         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
37242         retrieve sign from long double.
37243         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
37244         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
37245         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
37246         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37247         * math/test-misc.c (main): Don't use union ieee854_long_double.
37249 2013-10-04  Alan Modra  <amodra@gmail.com>
37251         [BZ #15680]
37252         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
37253         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
37254         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
37255         calculation.  Remove unnecessary test for denormal exponent.
37256         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
37257         Correct handling of denormals.  Avoid undefined shift behaviour.
37258         Correct normalisation of low mantissa when low double is denormal.
37259         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
37260         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
37261         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
37262         Correct normalisation of low mantissa.  Test for overflow of high
37263         mantissa and normalise.
37264         (ldbl_nearbyint): Use more readable constant for two52.
37265         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
37266         (__mpn_construct_long_double): Fix test for overflow of high
37267         mantissa and correct normalisation.  Avoid undefined shift.
37269 2013-10-04  Alan Modra  <amodra@gmail.com>
37271         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
37272         (union ibm_extended_long_double): Define as an array of ieee754_double.
37273         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
37274         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
37275         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
37276         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37277         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37278         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
37279         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37280         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37281         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37282         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
37283         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37285 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
37287         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
37288         page size instead of calling getpagesize.
37290         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
37291         (LOCFILE_ALIGN_MASK): Likewise.
37292         (LOCFILE_ALIGN_UP): Likewise.
37293         (LOCFILE_ALIGNED_P): Likewise.
37294         * locale/programs/ld-collate.c (collate_output): Use the new
37295         macros instead of __alignof__ (int32_t).
37296         * locale/weight.h (findidx): Likewise.
37298 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
37300         [BZ #431]
37301         * manual/string.texi: Fix strncat and wcsncat.
37303 2013-10-03  Brooks Moses  <bmoses@google.com>
37305         [BZ #15915]
37306         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
37307         * Makerules: ...here, and adjust associated comments.
37309 2013-10-02  Will Newton  <will.newton@linaro.org>
37311         * malloc/Makefile: Add tst-pvalloc.
37312         * malloc/tst-pvalloc.c: New file.
37314 2013-10-02  Will Newton  <will.newton@linaro.org>
37316         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
37317         improve test coverage.
37319 2013-10-02  Will Newton  <will.newton@linaro.org>
37321         * malloc/Makefile: Add tst-posix_memalign.
37322         * malloc/tst-posix_memalign.c: New file.
37324 2013-10-01  Eric Blake  <eblake@redhat.com>
37326         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
37327         Use __THROWNL rather than __THROW on static functions.
37329 2013-09-30  Petr Machata  <pmachata@redhat.com>
37331         * elf/elf.h (R_AARCH64_ABS16): New macro.
37332         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
37333         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
37334         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
37335         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
37336         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
37337         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
37338         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
37339         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
37340         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
37341         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
37342         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
37343         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
37344         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
37345         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
37346         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
37347         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
37348         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
37349         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
37350         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
37351         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
37352         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
37353         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
37354         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
37355         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
37356         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
37357         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
37358         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
37359         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
37360         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
37361         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
37362         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
37363         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
37364         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
37365         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
37366         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
37367         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
37368         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
37369         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
37370         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
37371         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
37372         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
37373         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
37374         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
37375         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
37376         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
37377         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
37378         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
37379         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
37380         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
37381         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
37382         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
37383         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
37384         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
37385         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
37386         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
37387         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
37388         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
37389         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
37390         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
37391         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
37392         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
37393         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
37394         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
37395         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
37396         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
37397         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
37398         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
37399         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
37400         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
37401         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
37402         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
37403         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
37404         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
37405         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
37406         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
37407         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
37408         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
37409         (R_AARCH64_TLSDESC_LDR): Likewise.
37410         (R_AARCH64_TLSDESC_ADD): Likewise.
37411         (R_AARCH64_TLSDESC_CALL): Likewise.
37413 2013-09-30  Andreas Schwab  <schwab@suse.de>
37415         [BZ #15048]
37416         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
37417         the nss database lookup.
37418         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37421 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
37423         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
37425 2013-09-28  P. J. McDermott  <pj@pehjota.net>
37427         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
37428         ${Bash-specific parameter/pattern/string} parameter expansion.
37429         * sysdeps/unix/make-syscalls.sh: Likewise.
37431 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37433         * sysdeps/sh/stackguard-macros.h: New file.
37435 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
37437         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
37438         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
37439         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
37440         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
37441         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37442         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
37444 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37446         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
37447         Fix thread ID register.
37449 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
37451         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
37452         [POSIX || UNIX98]: Require rather than permitting all symbols from
37453         <time.h>.
37454         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
37455         element of struct sched_param.
37456         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
37457         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
37458         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
37459         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
37460         constant.
37462 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
37464         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
37465         argument calculation.
37467 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
37469         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
37470         Expect macro.
37471         [POSIX] (pthread_attr_t): Do not require type.
37472         [POSIX] (pthread_cond_t): Likewise.
37473         [POSIX] (pthread_condattr_t): Likewise.
37474         [POSIX] (pthread_key_t): Likewise.
37475         [POSIX] (pthread_mutex_t): Likewise.
37476         [POSIX] (pthread_mutexattr_t): Likewise.
37477         [POSIX] (pthread_once_t): Likewise.
37478         [POSIX] (pthread_t): Likewise.
37479         [POSIX-based standards] (pthread_atfork): Expect function.
37481 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
37482             Richard Sandiford  <richard@codesourcery.com>
37484         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
37485         (swap_endianness_p): New extern variable.
37486         (set_big_endian): New inline function.
37487         (maybe_swap_uint32): Likewise.
37488         (maybe_swap_uint32_array): Likewise.
37489         (maybe_swap_uint32_obstack): Likewise.
37490         * locale/programs/locfile.c: Include <stdbool.h>.
37491         (swap_endianness_p): New variable.
37492         (add_locale_uint32): Call maybe_swap_uint32.
37493         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
37494         (write_locale_data): Call maybe_swap_uint32_array.
37495         * locale/programs/ld-collate.c (obstack_int32_grow): Call
37496         maybe_swap_uint32.
37497         (obstack_int32_grow_fast): Likewise.
37498         (output_weightwc): Call maybe_swap_uint32_obstack.
37499         (collate_output): Likewise.
37500         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
37501         (OPT_LITTLE_ENDIAN): Likewise.
37502         (options): Add --little-endian and --big-endian options.
37503         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
37504         * locale/programs/locarchive.c: Include "locfile.h".
37505         (GET): New macro.
37506         (SET): Likewise.
37507         (INC): Likewise.
37508         (create_archive): Use the new macros to access fields of
37509         structures directly mapped from or written to locale archives.
37510         (oldlocrecentcmp): Likewise.
37511         (enlarge_archive): Likewise.
37512         (insert_name): Likewise.
37513         (add_alias): Likewise.
37514         (add_locale): Likewise.
37515         (delete_locales_from_archive): Likewise.
37516         (show_archive_content): Likewise.
37517         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
37518         locale data.
37520 2013-09-24  Roland McGrath  <roland@hack.frob.com>
37522         * manual/freemanuals.texi: Updated from (newly) canonical copy at
37523         http://www.gnu.org/doc/freemanuals.texi.
37524         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
37526 2013-09-24  Will Newton  <will.newton@linaro.org>
37528         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
37529         macro.
37531 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
37533         * locale/hashval.h (compute_hashval): Interpret bytes of key as
37534         unsigned char.
37536 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
37538         * manual/threads.texi (POSIX Threads): Fix a typo.
37540 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37542         [BZ #14547]
37543         * string/tst-strcoll-overflow.c: New test case.
37544         * string/Makefile (xtests): Add tst-strcoll-overflow.
37545         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
37546         cache if string sizes may cause integer overflow.
37548         [BZ #14547]
37549         * string/strcoll_l.c (coll_seq): New members rule, idx,
37550         save_idx and back_us.
37551         (get_next_seq_nocache): New function.
37552         (do_compare_nocache): New function.
37553         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
37554         when malloc fails.
37556 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
37558         [BZ #15754]
37559         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
37560         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
37561         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
37563         [BZ #15754]
37564         * elf/Makefile (tests): Add tst-ptrguard1.
37565         (tests-static): Add tst-ptrguard1-static.
37566         (tst-ptrguard1-ARGS): Define.
37567         (tst-ptrguard1-static-ARGS): Define.
37568         * elf/tst-ptrguard1.c: New file.
37569         * elf/tst-ptrguard1-static.c: New file.
37570         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
37571         * sysdeps/i386/stackguard-macros.h: Likewise.
37572         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37573         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37574         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37575         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37576         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37577         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37579 2013-09-23  Hector Marco  <hecmargi@upv.es>
37580             Ismael Ripoll  <iripoll@disca.upv.es>
37581             Carlos O'Donell  <carlos@redhat.com>
37583         [BZ #15754]
37584         * sysdeps/generic/stackguard-macros.h: Define
37585         __pointer_chk_guard_local and POINTER_CHK_GUARD.
37586         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
37587         Define __pointer_chk_guard_local.
37588         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
37589         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
37591 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
37593         [BZ #15859]
37594         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
37596 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
37598         * include/string.h (__ffs): Declare as hidden.
37599         * string/ffs.c (__ffs): Define as hidden.
37600         * sysdeps/i386/ffs.c (__ffs): Likewise.
37601         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
37602         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
37603         * sysdeps/s390/ffs.c (__ffs): Likewise.
37604         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
37606 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
37608         * NEWS: Mention malloc probes.
37610         * malloc/arena.c (new_heap): New memory_heap_new probe.
37611         (grow_heap): New memory_heap_more probe.
37612         (shrink_heap): New memory_heap_less probe.
37613         (heap_trim): New memory_heap_free probe.
37614         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
37615         (systrim): New memory_sbrk_less probe.
37616         * manual/probes.texi: Document them.
37618         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
37619         * manual/probes.texi: Document it.
37621         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
37622         (__libc_realloc): Add memory_realloc_retry probe.
37623         (__libc_memalign): Add memory_memalign_retry probe.
37624         (__libc_valloc): Add memory_valloc_retry probe.
37625         (__libc_pvalloc): Add memory_pvalloc_retry probe.
37626         (__libc_calloc): Add memory_calloc_retry probe.
37627         * manual/probes.texi: Document them.
37629         * malloc/arena.c (get_free_list): Add probe
37630         memory_arena_reuse_free_list.
37631         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
37632         and memory_arena_reuse.
37633         (arena_get2) [!PER_THREAD]: Likewise.
37634         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
37635         memory_arena_reuse_realloc.
37636         * manual/probes.texi: Document them.
37638         * malloc/malloc.c (__libc_free): Add
37639         memory_mallopt_free_dyn_thresholds probe.
37640         (__libc_mallopt): Add multiple memory_mallopt probes.
37641         * manual/probes.texi: Document them.
37643         * malloc/malloc.c: Include stap-probe.h.
37644         (__libc_mallopt): Add memory_mallopt probe.
37645         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
37646         * manual/probes.texi: New.
37647         * manual/Makefile (chapters): Add probes.
37648         * manual/threads.texi: Set next node.
37650 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
37652         [BZ #15963, #13985]
37653         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
37654         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
37655         Add `Chinese' to `nan' entry name.
37657 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37659         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
37660         (POLYNOMIAL): Likewise.
37661         (TAYLOR_SINCOS): Likewise.
37662         (TAYLOR_SLOW): Likewise.
37663         (__sin): Use TAYLOR_SINCOS.
37664         (__cos): Likewise.
37665         (slow): Use TAYLOR_SLOW.
37666         (sloww): Likewise.
37667         (bsloww): Likewise.
37668         (csloww): Likewise.
37670 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37672         * stdlib/strtod_l.c: Fix buffer overrun.
37674 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37676         * benchtests/Makefile (bench): Add sincos.
37677         * benchtests/bench-sincos.c: New file.
37679         * math/libm-test.inc (cos_test_data): New test inputs.
37680         (sin_test_data): Likewise.
37682         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
37683         macro.
37684         (__sin): Use it.
37685         (__cos): Likewise.
37686         (slow1): Likewise.
37687         (slow2): Likewise.
37688         (sloww1): Likewise.
37689         (sloww2): Likewise.
37690         (bsloww1): Likewise.
37691         (bsloww2): Likewise.
37692         (cslow2): Likewise.
37693         (csloww1): Likewise.
37694         (csloww2): Likewise.
37696         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
37697         function.
37698         (__sin): Use it.
37699         (__cos): Likewise.
37701         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
37702         gotos.
37703         (__cos): Likewise.
37705 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
37707         * config.h.in (HAVE_MIPS_NAN2008): New macro.
37708         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
37709         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
37710         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
37711         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
37712         * elf/cache.c (print_entry): Handle the new cache flags.
37714 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
37715             Aldy Hernandez  <aldyh@redhat.com>
37717         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
37718         Change condition to [_SOFT_FLOAT].
37719         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
37720         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
37721         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
37722         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
37723         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
37724         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
37725         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
37726         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
37727         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
37728         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
37729         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
37730         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
37731         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
37732         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
37733         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
37734         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
37735         declaration.
37737 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
37739         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
37740         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
37741         (__longjmp): Use LOAD_GP to load saved GPRs.
37742         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
37743         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
37744         (__sigsetjmp): Use SAVE_GP to save GPRs.
37746         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
37747         Do not append -msoft-float.
37748         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
37750 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37752         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
37754 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
37756         [BZ #15966]
37757         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
37758         (_FPU_GETCW): Use initial "__" on variable and field names but not
37759         on macro parameter name.
37760         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
37761         parentheses around reference to macro parameter.
37763 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
37765         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
37766         prototype.
37767         (ctype_startup): Use uint32_t in cast and sizeof for
37768         ctype->charnames.
37770 2013-09-11  Jia Liu  <proljc@gmail.com>
37772         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
37773         __daddr_t_defined.
37774         [__FreeBSD__]: Likewise.
37776 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
37778         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
37779         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
37780         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
37781         (strchr): Remove __strchr_sse42 ifunc selection.
37782         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
37783         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
37785 2013-09-11  Will Newton  <will.newton@linaro.org>
37787         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
37788         parameter to RES. Remove hardcoded 1000 value.
37789         * benchtests/bench-skeleton.c (main): Pass RES parameter
37790         to TIMING_INIT and multiply result by 1000.
37792 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37796 2013-09-11  Andreas Schwab  <schwab@suse.de>
37798         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
37799         if not defined.
37800         (O_TMPFILE) [__USE_GNU]: Define.
37801         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
37802         Define.
37804 2013-09-11  Will Newton  <will.newton@linaro.org>
37806         [BZ #15857]
37807         * malloc/malloc.c (__libc_memalign): Check the value of bytes
37808         does not overflow.
37810 2013-09-11  Will Newton  <will.newton@linaro.org>
37812         [BZ #15856]
37813         * malloc/malloc.c (__libc_valloc): Check the value of bytes
37814         does not overflow.
37816 2013-09-11  Will Newton  <will.newton@linaro.org>
37818         [BZ #15855]
37819         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
37820         does not overflow.
37822 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
37824         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
37825         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37826         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37827         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37828         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37830 2013-09-10  Allan McRae  <allan@archlinux.org>
37832         [BZ #15748]
37833         * manual/arith.texi (Parsing of Floats): Clarify
37834         cross-reference.
37836         [BZ #15849]
37837         * manual/install.texi (Running make install): Mention
37838         --enable-pt-chown.
37839         * INSTALL: Regenerated.
37841 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
37843         * csu/init-first.c (_init): Remove the !SHARED condition around
37844         FPU control word initialization.
37845         * elf/dl-support.c (_dl_fpu_control): New variable.
37846         (_dl_aux_init) <AT_FPUCW>: Initialize it.
37847         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
37848         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
37849         * math/test-fpucw-static.c: New file.
37850         * math/test-fpucw-ieee.c: New file.
37851         * math/test-fpucw-ieee-static.c: New file.
37852         * math/Makefile (tests): Add `test-fpucw-ieee' and
37853         `$(tests-static)'.
37854         (tests-static): New variable.
37855         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
37856         dependency to...
37857         [($(build-shared),yes)]
37858         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
37859         ... this.
37860         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
37861         New dependency.
37863 2013-09-09  Allan McRae  <allan@archlinux.org>
37865         [BZ #15939]
37866         * manual/string.texi (Collation Functions): Fix typo in
37867         strcoll example.
37868         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
37870         [BZ #15893]
37871         * stdlib/isomac.c (get_null_defines): Fix memory leak.
37873         [BZ #15892]
37874         * libio/memstream.c (open_memstream): Fix memory leak.
37875         * libio/wmemstream.c (open_wmemstream): Likewise.
37877         [BZ #15895]
37878         * nscd/netgroupcache.c: Fix nesting of ifdefs.
37880 2013-09-09  Will Newton  <will.newton@linaro.org>
37882         * malloc/Makefile: Add tst-realloc to tests.
37883         * malloc/tst-realloc.c: New file.
37885 2013-09-09  Allan McRae  <allan@archlinux.org>
37887         [BZ #15844]
37888         * COPYING: Update from GNU website to fix FSF address.
37889         * COPYING.LIB: Likewise.
37891 2013-09-06  David S. Miller  <davem@davemloft.net>
37893         * po/zh_TW.po: Update Chinese (traditional) translation from
37894         translation project.
37896 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
37897             Joseph Myers  <joseph@codesourcery.com>
37899         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
37900         "localeinfo.h".
37901         (obstack_chunk_alloc): New macro.
37902         (obstack_chunk_free): Likewise.
37903         (record_offset): New function.
37904         (init_locale_data): Likewise.
37905         (align_locale_data): Likewise.
37906         (add_locale_empty): Likewise.
37907         (add_locale_raw_data): Likewise.
37908         (add_locale_raw_obstack): Likewise.
37909         (add_locale_string): Likewise.
37910         (add_locale_wstring): Likewise.
37911         (add_locale_uint32): Likewise.
37912         (add_locale_uint32_array): Likewise.
37913         (add_locale_char): Likewise.
37914         (start_locale_structure): Likewise.
37915         (end_locale_structure): Likewise.
37916         (start_locale_prelude): Likewise.
37917         (end_locale_prelude): Likewise.
37918         (write_locale_data): Take locale_file structure rather than an
37919         iovec.
37920         * locale/programs/locfile.h: Include "obstack.h".
37921         (struct locale_file): Change to store locale file contents instead
37922         of header.
37923         (init_locale_data): New prototype.
37924         (align_locale_data): Likewise.
37925         (add_locale_empty): Likewise.
37926         (add_locale_raw_data): Likewise.
37927         (add_locale_raw_obstack): Likewise.
37928         (add_locale_string): Likewise.
37929         (add_locale_wstring): Likewise.
37930         (add_locale_uint32): Likewise.
37931         (add_locale_uint32_array): Likewise.
37932         (add_locale_char): Likewise.
37933         (start_locale_structure): Likewise.
37934         (end_locale_structure): Likewise.
37935         (start_locale_prelude): Likewise.
37936         (end_locale_prelude): Likewise.
37937         (write_locale_data): Update prototype.
37938         * locale/programs/3level.h (struct TABLE): Remove result field.
37939         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
37940         Use new locale_file interface.
37941         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
37942         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
37943         * locale/programs/ld-address.c (address_output): Use new
37944         locale_file interface.
37945         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
37946         NO_ADD_LOCALE.
37947         (collate_finish): Don't call collseq_table_finalize.
37948         (collate_output): Use new locale_file interface.
37949         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
37950         in file.
37951         (NO_FINALIZE): Change to NO_ADD_LOCALE.
37952         (TABLE): Move defines earlier in file.
37953         (ELEMENT): Likewise.
37954         (DEFAULT): Likewise.
37955         (wctrans_table_add): Move macro and inline function earlier in
37956         file.
37957         (struct wctype_table): Move type earlier in file.
37958         (add_locale_wctype_table): New static prototype.
37959         (struct locale_ctype_t): Use logical types instead of struct iovec
37960         pointers for members.
37961         (ctype_output): Use new locale_file interface.
37962         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
37963         new locale_file interface.
37964         (allocate_arrays): Update for use of new locale_file interface.
37965         * locale/programs/ld-identification.c (identification_output): Use
37966         new locale_file interface.
37967         * locale/programs/ld-measurement.c (measurement_output): Likewise.
37968         * locale/programs/ld-messages.c (messages_output): Likewise.
37969         * locale/programs/ld-monetary.c (monetary_output): Likewise.
37970         * locale/programs/ld-name.c (name_output): Likewise.
37971         * locale/programs/ld-numeric.c (numeric_output): Likewise.
37972         * locale/programs/ld-paper.c (paper_output): Likewise.
37973         * locale/programs/ld-telephone.c (telephone_output): Likewise.
37974         * locale/programs/ld-time.c (time_output): Likewise.
37976 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37978         * benchtests/Makefile: Add memrchr benchmark.
37979         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
37980         benchmark as memrchr.
37981         * benchtests/bench-memrchr-ifunc.c: New file.
37982         * benchtests/bench-memrchr.c: New file.
37984 2013-09-06   Will Newton  <will.newton@linaro.org>
37986         * benchtests/Makefile (string-bench): Add memcpy.
37988 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
37989             Cong Wang  <amwang@redhat.com>
37991         [BZ #15850]
37992         * sysdeps/unix/sysv/linux/bits/in.h
37993         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
37994         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
37995         before __USE_KERNEL_IPV6_DEFS uses.
37996         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
37997         IPPROTO_BEETPH.
37998         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
37999         sockaddr_in6, or ipv6_mreq.
38001 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38003         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
38004         memory access for final bytes in some large inputs.
38005         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
38007 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38009         * string/test-memrchr.c: New file.
38010         * string/test-memrchr-ifunc.c: New file.
38011         * string/Makefile: Add new memrchr testcase.
38013 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
38015         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
38016         fanotify_init returns EPERM.
38018 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
38020         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
38021         errors.
38022         (top level): Treat second token from macro or constant entries for
38023         allowed headers as allowed.
38024         * include/complex.h: Condition internal declarations on
38025         [!_ISOMAC].
38026         * include/fenv.h: Condition include of <stdbool.h> and internal
38027         declarations on [!_ISOMAC].
38029 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
38031         [BZ #15923]
38032         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
38034 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
38036         * configure.in (--enable-versioning): Remove configure option.
38037         (libc_cv_asm_symver_directive): Remove configure test.
38038         (libc_cv_ld_version_script_option): Likewise.
38039         (VERSIONING): Remove variable and AC_SUBST.
38040         (DO_VERSIONING): Remove AC_DEFINE.
38041         * configure: Regenerated.
38042         * config.h.in (DO_VERSIONING): Remove macro.
38043         * Makerules [$(versioning) = yes]: Change conditionals to
38044         [$(build-shared) = yes].
38045         * config.make.in (versioning): Remove variable.
38046         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
38047         [$(build-shared) = yes].
38048         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
38049         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
38050         * elf/Makefile [$(versioning) = yes]: Change conditionals to
38051         [$(build-shared) = yes].
38052         * extra-lib.mk [$(versioning) = yes]: Likewise.
38053         * hurd/Makefile [$(versioning) = yes]: Likewise.
38054         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
38055         [SHARED].
38056         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
38057         [SHARED].
38058         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
38059         [SHARED && !NO_HIDDEN].
38060         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
38061         [SHARED].
38062         [SHARED && DO_VERSIONING]: Likewise..
38063         * libio/Makefile [$(versioning) = yes]: Change conditionals to
38064         [$(build-shared) = yes].
38065         * manual/install.texi (--disable-versioning): Remove
38066         documentation.
38067         * INSTALL: Regenerated.
38068         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
38069         to [SHARED].
38070         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
38071         [$(build-shared) = yes].
38072         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
38073         * sysdeps/i386/i686/multiarch/strstr-c.c
38074         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
38075         [SHARED && !NO_HIDDEN].
38076         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
38077         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
38078         * sysdeps/powerpc/powerpc32/dl-machine.c
38079         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
38080         * sysdeps/powerpc/powerpc32/sysdep.h
38081         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
38082         to [SHARED && PIC && !NO_HIDDEN].
38083         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
38084         conditional to [SHARED].
38086 2013-09-04   Will Newton  <will.newton@linaro.org>
38088         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
38089         * benchtests/bench-string.h: Include bench-timing.h instead
38090         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
38091         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
38092         call to HP_TIMING_DIFF_INIT.
38093         * benchtests/bench-memccpy.c: Use bench-timing.h macros
38094         instead of hp-timing.h macros.
38095         * benchtests/bench-memchr.c: Likewise.
38096         * benchtests/bench-memcmp.c: Likewise.
38097         * benchtests/bench-memcpy.c: Likewise.
38098         * benchtests/bench-memmem.c: Likewise.
38099         * benchtests/bench-memmove.c: Likewise.
38100         * benchtests/bench-memset.c: Likewise.
38101         * benchtests/bench-rawmemchr.c: Likewise.
38102         * benchtests/bench-strcasecmp.c: Likewise.
38103         * benchtests/bench-strcasestr.c: Likewise.
38104         * benchtests/bench-strcat.c: Likewise.
38105         * benchtests/bench-strchr.c: Likewise.
38106         * benchtests/bench-strcmp.c: Likewise.
38107         * benchtests/bench-strcpy.c: Likewise.
38108         * benchtests/bench-strcpy_chk.c: Likewise.
38109         * benchtests/bench-strlen.c: Likewise.
38110         * benchtests/bench-strncasecmp.c: Likewise.
38111         * benchtests/bench-strncat.c: Likewise.
38112         * benchtests/bench-strncmp.c: Likewise.
38113         * benchtests/bench-strncpy.c: Likewise.
38114         * benchtests/bench-strnlen.c: Likewise.
38115         * benchtests/bench-strpbrk.c: Likewise.
38116         * benchtests/bench-strrchr.c: Likewise.
38117         * benchtests/bench-strspn.c: Likewise.
38118         * benchtests/bench-strstr.c: Likewise.
38120 2013-09-04  Will Newton  <will.newton@linaro.org>
38122         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
38124 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
38126         [BZ #15427]
38127         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
38128         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
38129         * math/libm-test.inc (lgamma_test_data): Add more tests.
38130         * sysdeps/i386/fpu/libm-test-ulps: Update.
38131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38133 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
38135         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
38136         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38137         Add ifunc.
38138         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38139         Add strcmp-sse2-unaligned
38140         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
38142 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
38144         * Versions.def (libc): Add GLIBC_2.19.
38146 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
38148         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
38149         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
38151 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
38153         [BZ #14155]
38154         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
38155         intermediate calculations in recurrence.
38156         (__ieee754_ynf): Likewise.
38157         * math/libm-test.inc (jn_test_data): Do not allow spurious
38158         underflow exception.  Add more tests.
38159         (yn_test_data): Add more tests.
38160         * sysdeps/i386/fpu/libm-test-ulps: Update.
38161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38163 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
38165         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
38167 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38169         * csu/init-first.c: Fix then/than typos.
38170         * locale/programs/ld-collate.c: Likewise.
38171         * locale/programs/linereader.h: Likewise.
38172         * manual/charset.texi: Likewise.
38173         * manual/filesys.texi: Likewise.
38174         * manual/stdio.texi: Likewise.
38175         * manual/string.texi: Likewise.
38176         * stdlib/fmtmsg.c: Likewise.
38177         * sysdeps/i386/stpncpy.S: Likewise.
38178         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38179         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38180         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38181         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38183 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38185         * elf/dl-open.c: Fix typos.
38186         * iconvdata/gbbig5.c: Likewise.
38187         * iconvdata/iso-2022-jp.c: Likewise.
38188         * iconv/gconv_int.h: Likewise.
38189         * iconv/loop.c: Likewise.
38190         * nis/rpcsvc/nis.h: Likewise.
38191         * resolv/ns_name.c: Likewise.
38192         * stdio-common/vfscanf.c: Likewise.
38193         * streams/stropts.h: Likewise.
38194         * sunrpc/rpc_thread.c: Likewise.
38195         * sysdeps/i386/strpbrk.S: Likewise.
38196         * sysdeps/ieee754/k_standard.c: Likewise.
38197         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38198         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38199         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
38200         * sysdeps/mach/hurd/profil.c: Likewise.
38201         * sysdeps/s390/dl-procinfo.h: Likewise.
38202         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
38203         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
38204         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
38205         * sysdeps/x86_64/dl-trampoline.S: Likewise.
38206         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38208 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
38210         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
38211         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
38213 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
38215         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
38216         aix specific files.
38217         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
38218         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
38219         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
38220         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
38221         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
38222         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
38223         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
38224         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
38226 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38227             Roland McGrath  <roland@hack.frob.com>
38229         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
38230         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
38232 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38234         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
38235         __executable_start symbol instead of _start.
38237 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38239         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
38240         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
38241         Move macros to...
38242         * sysdeps/gnu/ldsodefs.h: ... this new file.
38244         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
38245         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
38246         instead of ELFOSABI_LINUX.
38248         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
38249         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
38250         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
38251         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
38252         Likewise.
38253         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
38254         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
38255         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
38256         Likewise.
38257         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38258         (ibm_extended_long_double): Add ieee_nan member.
38259         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
38260         (do_test): New function.
38262         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
38263         TEST_TRUNC.
38264         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
38265         functions, renamed from truncdfsf_test, trunctfsf_test,
38266         trunctfdf_test.
38267         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
38268         functions.
38269         (do_test): Run all these.
38271 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
38273         * argp/argp-help.c: Fix typos.
38274         * argp/argp-parse.c: Likewise.
38275         * debug/backtracesyms.c: Likewise.
38276         * elf/elf.h: Likewise.
38277         * malloc/malloc.c: Likewise.
38278         * nis/nis_print.c: Likewise.
38279         * resolv/res_comp.c: Likewise.
38280         * stdlib/stdlib.h: Likewise.
38281         * sunrpc/clnt_tcp.c: Likewise.
38282         * sunrpc/clnt_udp.c: Likewise.
38283         * sunrpc/clnt_unix.c: Likewise.
38284         * sysdeps/unix/bsd/ptsname.c: Likewise.
38285         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38286         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
38287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
38288         Likewise.
38289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
38290         Likewise.
38291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38292         Likewise.
38293         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38295 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38297         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
38298         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38300 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
38302         [BZ #15897]
38303         * dlfcn/Makefile (tests): Add bug-dl-leaf.
38304         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
38305         ($(objpfx)bug-dl-leaf): New rule.
38306         ($(objpfx)bug-dl-leaf.so): Likewise.
38307         ($(objpfx)bug-dl-leaf.out): Likewise.
38308         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
38309         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
38310         * dlfcn/bug-dl-leaf.c: New test.
38311         * dlfcn/bug-dl-leaf-lib.c: Likewise.
38312         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
38313         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
38314         (dlclose): Likewise.
38315         (dlmopen): Likewise.
38317 2013-08-27  Roland McGrath  <roland@hack.frob.com>
38319         * include/netdb.h [!_ISOMAC]:
38320         Don't include <tls.h>.
38321         (h_errno, __libc_h_errno): Move declaration and macros out of
38322         [_LIBC_REENTRANT].
38324         * include/resolv.h [_RESOLV_H_]:
38325         Don't include <tls.h>.
38326         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
38327         * resolv/res_libc.c: Don't include <tls.h>.
38328         (_res): Use __attribute__ ((nocommon)) in place of
38329         __attribute__ ((section (".bss"))).
38331         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
38332         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
38334         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
38336         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
38337         only under [SIOCGIFCONF && SIOCGIFNETMASK].
38339         * resolv/res_mkquery.c: Include <sys/time.h>.
38341         * inet/ifreq.c: Moved to ...
38342         * sysdeps/unix/ifreq.c: ... here.
38343         * inet/ifreq.c: New file, true stub version.
38345         * socket/sa_len.c: New file.
38346         * socket/Makefile (aux): Add it.
38347         * sysdeps/unix/sysv/linux/Makefile
38348         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
38349         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
38350         and #include <socket/sa_len.c>.
38351         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
38352         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
38354         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
38355         * bits/socket.h: ... here.
38357         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
38358         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
38359         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
38361 2013-08-27  Andreas Schwab  <schwab@suse.de>
38363         [BZ #15736]
38364         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
38365         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
38366         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
38367         * string/test-strcasecmp.c (test_main): Run tests in several
38368         locales.
38369         * string/test-strncasecmp.c (test_main): Likewise.
38371         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
38372         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
38373         to __strcasecmp_nonascii and __strncasecmp_nonascii.
38374         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
38375         (__strncasecmp_ssse3) [PIC]: Likewise.
38377 2013-08-26  Roland McGrath  <roland@hack.frob.com>
38379         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
38381         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
38382         instead of explicitly declaring xdecrypt.
38383         * nis/nss_nis/nis-publickey.c: Likewise.
38385 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38387         [BZ #15890]
38388         * nscd/aicache.c: Include res_hconf.h.
38389         (addhstaiX): Initialize res_hconf.
38391 2013-08-26  Andreas Schwab  <schwab@suse.de>
38393         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
38394         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
38396 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38398         * nscd/aicache.c (addhstaiX): Fix indentation.
38400 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
38402         * configure.ac: Quote $build_pt_chown test.
38403         * configure: Regenerated.
38405 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
38407         [BZ #15532]
38408         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
38409         * math/s_cexpf.c (__cexpf): Likewise.
38410         * math/s_cexpl.c (__cexpl): Likewise.
38411         * math/libm-test.inc (cexp_test_data): Correct expected return
38412         value for NaN + i0.  Add another test.
38414 2013-08-22  David S. Miller  <davem@davemloft.net>
38416         * po/ca.po: Update Catalan translation from translation project.
38417         * po/uk.po: Add Ukrainian translations from translation project.
38419 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
38421         [BZ #15797]
38422         * math/s_fdim.c (__fdim): Check for infinite arguments if result
38423         is infinite, not alongside NaN test.
38424         * math/s_fdimf.c (__fdimf): Likewise.
38425         * math/s_fdiml.c (__fdiml): Likewise.
38426         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
38427         errno is unchanged.
38429 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
38431         * argp/argp-help.c: Fix typos.
38432         * crypt/speeds.c: Likewise.
38433         * csu/check_fds.c: Likewise.
38434         * elf/dl-load.c: Likewise.
38435         * elf/dl-open.c: Likewise.
38436         * elf/reldep3.c: Likewise.
38437         * elf/reldep.c: Likewise.
38438         * elf/sprof.c: Likewise.
38439         * iconv/iconv_charmap.c: Likewise.
38440         * iconv/skeleton.c: Likewise.
38441         * iconv/strtab.c: Likewise.
38442         * io/lockf64.c: Likewise.
38443         * libio/libioP.h: Likewise.
38444         * resolv/gai_notify.c: Likewise.
38445         * resolv/ns_name.c: Likewise.
38446         * resolv/ns_samedomain.c: Likewise.
38447         * resolv/res_send.c: Likewise.
38448         * stdlib/random.c: Likewise.
38449         * sunrpc/rpc/xdr.h: Likewise.
38450         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
38451         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38452         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38453         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38454         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38455         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38456         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38457         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38458         * sysdeps/mach/hurd/check_fds.c: Likewise.
38459         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38460         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38461         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38462         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38463         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38464         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38465         * sysdeps/pthread/aio_notify.c: Likewise.
38466         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
38467         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
38468         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
38469         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38470         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
38472 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38474         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
38475         version if bit_Slow_SSE4_2 is set.
38476         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38477         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38479 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38481         [BZ #15867]
38482         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
38483         trampoline stack frame information.
38484         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
38485         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
38486         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
38487         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
38488         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
38489         * sysdeps/unix/sysv/linux/powerpc/init-first.c
38490         (_libc_vdso_platform_setup): Initialize the signal trampolines.
38491         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
38492         sa_flags value.
38493         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
38494         interrupting a syscall and set with option SA_SIGINFO.
38496 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
38498         [BZ #15531]
38499         * math/s_cproj.c (__cproj): Only return an infinity if one part of
38500         argument is infinite.
38501         * math/s_cprojf.c (__cprojf): Likewise.
38502         * math/s_cprojl.c (__cprojl): Likewise.
38503         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
38504         * math/libm-test.inc (cproj_test_data): Add more tests.
38506         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
38508         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
38509         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
38510         size.  Use __ffs to determine corresponding shift.
38512 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
38513             Roland McGrath  <roland@hack.frob.com>
38515         * Makefile (INSTALL): Remove trailing blank lines from output of
38516         makeinfo.
38518 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38520         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
38521         Align 32 bit compat elf_greg to 8 bytes.
38523 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
38525         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
38527 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38529         * string/strcoll_l.c (coll_seq): New structure.
38530         (get_next_seq_cached): New function.
38531         (get_next_seq): New function.
38532         (do_compare): New function.
38533         (STRCOLL): Use GNU style definition.  Simplify implementation
38534         by using get_next_seq, get_next_seq_cached and do_compare.
38536 2013-08-16  Florian Weimer  <fweimer@redhat.com>
38538         [BZ #14699]
38539         CVE-2013-4237
38540         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
38541         member.
38542         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
38543         member.
38544         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
38545         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
38546         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
38547         conditional.
38548         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
38549         GETDENTS_64BIT_ALIGNED.
38550         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38551         * manual/filesys.texi (Reading/Closing Directory): Document
38552         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
38553         strongly.
38554         * manual/conf.texi (Limits for Files): Add portability note to
38555         NAME_MAX, PATH_MAX.
38556         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
38558 2013-08-13  Andreas Schwab  <schwab@suse.de>
38560         [BZ #15749]
38561         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
38562         of fabs.
38563         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
38564         LDBL_MAX_EXP >= 16384]: Add tests for it.
38566 2013-08-12  David S. Miller  <davem@davemloft.net>
38568         * version.h (RELEASE): Set to "development".
38569         (VERSION): Set to "2.18.90".
38570         * NEWS: Add 2.19 section.
38572 2013-08-03  David S. Miller  <davem@davemloft.net>
38574         * po/ko.po: Update Korean translation from translation project.
38576 2013-08-01  David S. Miller  <davem@davemloft.net>
38578         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
38579         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
38580         Bilka.
38582 2013-07-30  David S. Miller  <davem@davemloft.net>
38584         * po/fr.po: Update French translation from translation project.
38586 2013-07-28  David S. Miller  <davem@davemloft.net>
38588         * po/cs.po: Update Czech translation from translation project.
38590         * po/sv.po: Update Swedish translation from translation project.
38592 2013-07-27  David S. Miller  <davem@davemloft.net>
38594         * po/eo.po: Update Esperanto translation from translation project.
38596         * po/vi.po: Update Vietnamese translation from translation project.
38598         * po/de.po: Update German translation from translation project.
38600 2013-07-26  David S. Miller  <davem@davemloft.net>
38602         * po/bg.po: Update Bulgarian translation from translation project.
38604         * po/nl.po: Update Dutch translation from translation project.
38605         * po/pl.po: Update Polish translation from translation project.
38606         * po/ru.po: Update Russian translation from translation project.
38608 2013-07-24  David S. Miller  <davem@davemloft.net>
38610         * po/libc.pot: Update.
38612 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38614         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
38615         variable page size.
38616         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
38617         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
38618         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
38620 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38622         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
38624 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38625             Andreas Schwab  <schwab@suse.de>
38626             Roland McGrath  <roland@hack.frob.com>
38627             Joseph Myers  <joseph@codesourcery.com>
38628             Carlos O'Donell  <carlos@redhat.com>
38630         [BZ #15755]
38631         * config.h.in: Define HAVE_PT_CHOWN.
38632         * config.make.in (build-pt-chown): New variable.
38633         * configure.in (--enable-pt_chown): New configure option.
38634         * configure: Regenerate.
38635         * login/Makefile: Include Makeconfig.  Build pt_chown only if
38636         build-pt-chown is enabled.
38637         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
38638         pt_chown to fix pty ownership.
38639         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
38640         CLOSE_ALL_FDS.
38641         * manual/install.texi (Configuring and compiling): Mention
38642         --enable-pt_chown. Add @findex for grantpt.
38643         * INSTALL: Regenerate.
38645 2013-07-20  David S. Miller  <davem@davemloft.net>
38647         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
38648         difference between 32-bit and 64-bit.
38650 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
38652         [BZ #15711]
38653         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
38654         Avoid system header dependency with -ffreestanding.
38655         ($(objpfx)bits/syscall%d): Likewise.
38657 2013-07-13  David S. Miller  <davem@davemloft.net>
38659         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
38660         underflows from atanl/atan2l due to bug 15319.
38661         (casinh_test_data): Likewise.
38663 2013-07-07  David S. Miller  <davem@davemloft.net>
38665         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38667 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
38669         * sysdeps/i386/fpu/libm-test-ulps: Update.
38670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38672 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38674         * configure.in (--enable-lock-elision): Fix message text.
38675         * INSTALL: Regenerate.
38676         * configure: Regenerate.
38678 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38682 2013-07-03  Andreas Jaeger  <aj@suse.de>
38684         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
38685         define.
38686         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
38687         (ptrace_peeksiginfo_args): Add.
38688         (__ptrace_peeksiginfo_flags): Add.
38689         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38690         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38691         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38693 2013-07-03  Allan McRae  <allan@archlinux.org>
38695         * sysdeps/i386/fpu/libm-test-ulps: Update.
38697 2013-07-02  David S. Miller  <davem@davemloft.net>
38699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38701 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
38703         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38705 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
38707         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38710 2013-07-02  Andi Kleen <ak@linux.intel.com>
38712         * config.h.in (ENABLE_LOCK_ELISION): Add.
38713         * configure.in (--enable-lock-elision): Add option.
38714         * manual/install.texi: Document --enable lock elision.
38715         * configure: Regenerate
38716         * INSTALL: Regenerate.
38718 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
38720         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
38721         SSE4.2 strcasecmp for libc.a.
38722         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
38724 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
38726         [BZ #13304]
38727         * soft-fp/op-common.h (_FP_FMA): New macro.
38728         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
38729         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
38730         (_FP_MUL_MEAT_1_imm): ... here.
38731         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
38732         (_FP_MUL_MEAT_1_wide): ... here.
38733         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
38734         (_FP_MUL_MEAT_1_hard): ... here.
38735         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
38736         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
38737         (_FP_MUL_MEAT_2_wide): ... here.
38738         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
38739         (_FP_MUL_MEAT_2_wide_3mul): ... here.
38740         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
38741         (_FP_MUL_MEAT_2_gmp): ... here.
38742         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
38743         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
38744         (_FP_MUL_MEAT_4_wide): ... here.
38745         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
38746         (_FP_MUL_MEAT_4_gmp): ... here.
38747         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
38748         (_FP_WFRACBITS_DW_S): Likewise.
38749         (_FP_WFRACXBITS_DW_S): Likewise.
38750         (_FP_HIGHBIT_DW_S): Likewise.
38751         (FP_FMA_S): Likewise.
38752         (_FP_FRAC_HIGH_DW_S): Likewise.
38753         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
38754         (_FP_WFRACBITS_DW_D): Likewise.
38755         (_FP_WFRACXBITS_DW_D): Likewise.
38756         (_FP_HIGHBIT_DW_D): Likewise.
38757         (FP_FMA_D): Likewise.
38758         (_FP_FRAC_HIGH_DW_D): Likewise.
38759         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
38760         (_FP_WFRACBITS_DW_E): Likewise.
38761         (_FP_WFRACXBITS_DW_E): Likewise.
38762         (_FP_HIGHBIT_DW_E): Likewise.
38763         (FP_FMA_E): Likewise.
38764         (_FP_FRAC_HIGH_DW_E): Likewise.
38765         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
38766         (_FP_WFRACBITS_DW_Q): Likewise.
38767         (_FP_WFRACXBITS_DW_Q): Likewise.
38768         (_FP_HIGHBIT_DW_Q): Likewise.
38769         (FP_FMA_Q): Likewise.
38770         (_FP_FRAC_HIGH_DW_Q): Likewise.
38771         * soft-fp/fmasf4.c: New file.
38772         * soft-fp/fmadf4.c: Likewise.
38773         * soft-fp/fmatf4.c: Likewise.
38775 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38777         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38778         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
38779         Silvermont.
38780         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
38781         macro.
38782         (index_Slow_SSE4_2): Likewise.
38783         (index_Prefer_PMINUB_for_stringop): Likewise.
38784         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
38785         bit_Slow_SSE4_2 is set.
38786         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38787         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38789 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38791         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
38792         rtld_global._dl_hwcap2.
38793         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
38794         POWER8.
38795         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
38796         POWER8 feature descriptions defined in _dl_hwcap2.
38797         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
38798         string handling for POWER8 feature bits.
38799         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
38800         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
38801         _dl_powerpc_cap_flags.
38802         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
38803         * sysdeps/powerpc/rtld-global-offsets.sym
38804         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
38805         _dl_hwcap2 in the rtld_global_ro structure.
38807 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38809         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
38810         hardware capabilities in support of AT_HWCAP2.
38811         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
38812         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
38813         GLRO(dl_hwcap2).
38814         (_dl_show_auxv): Add support for calling _dl_procinfo to display
38815         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
38816         explicitly the unknown a_type display mechanism is used.
38817         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
38818         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
38819         struct member.
38820         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
38821         to macro prototype for AT_HWCAP2 support.
38822         * sysdeps/i386/dl-procinfo.h: Likewise.
38823         * sysdeps/s390/dl-procinfo.h: Likewise.
38824         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
38825         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
38826         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
38827         return -1 for unknown a_type display fallback.
38828         * sysdeps/sparc/dl-procinfo.h: Likewise.
38829         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
38830         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
38832 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
38834         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
38835         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
38837 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
38839         [BZ #12492]
38840         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
38841         mprotect making __stack_prot writable.
38843 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
38844             Joseph Myers  <joseph@codesourcery.com>
38846         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
38847         as being properly aligned.
38849 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
38851         * dlfcn/modstatic5.c: New file.
38852         * dlfcn/tststatic5.c: New file.
38853         * dlfcn/Makefile (tests): Add tststatic5.
38854         (tests-static): Likewise.
38855         (modules-names): Add modstatic5.
38856         (tststatic5-ENV): New variable.
38857         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
38859         [BZ #15022]
38860         * elf/dl-support.c (_dl_main_map): New variable.
38861         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
38862         (_dl_nns, _dl_load_adds): Set to 1.
38863         (_dl_initial_searchlist): Refer to _dl_main_map.
38864         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
38865         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
38866         call to _dl_get_origin.
38867         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
38868         around call_map.
38869         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
38870         * dlfcn/modstatic3.c: New file.
38871         * dlfcn/tststatic3.c: New file.
38872         * dlfcn/tststatic4.c: New file.
38873         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
38874         (tests-static): Likewise.
38875         (modules-names): Add modstatic3.
38876         (tststatic3-ENV, tststatic4-ENV): New variables.
38877         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
38878         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
38880 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
38882         * configure.in (CC): Require GCC version 4.4 or later.
38883         * configure: Regenerated.
38884         * manual/install.texi (Tools for Compilation): Update GCC version
38885         requirement.
38886         * INSTALL: Regenerated.
38888 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38890         [BZ #15674]
38891         * string/test-memcmp.c (check2): New.
38892         (main): Call check2.
38894         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
38896 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
38898         [BZ #15022]
38899         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
38900         over to...
38901         (dl_open_worker) [!SHARED]: ... here.
38903 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38905         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
38907 2013-06-25  Richard Henderson  <rth@redhat.com>
38909         * locale/programs/locarchive.c: Include <libc-internal.h>
38911 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
38913         * manual/texinfo.tex: Update to version 2013-06-21.17, with
38914         trailing whitespace removed.
38916 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38918         [BZ #10283]
38919         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
38920         * locale/programs/locarchive.c: Include libc-mmap.h.
38921         (prepare_address_space): Take two new outputs (the mmap base and len).
38922         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
38923         values.
38924         (create_archive): Declare new mmap base and len values for
38925         prepare_address_space, and store the result in ah.
38926         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
38927         (enlarge_archive): If ah->mmap_base is not NULL, use that and
38928         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38929         Declare new mmap base and len values for
38930         prepare_address_space, and store the result in new_ah.
38931         (open_archive): Declare new mmap base and len values for
38932         prepare_address_space, and store the result in ah.
38933         (close_archive): If ah->mmap_base is not NULL, use that and
38934         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38935         * sysdeps/generic/libc-mmap.h: New file.
38937 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38939         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
38940         (ALIGN_UP): Likewise.
38941         (PTR_ALIGN_DOWN): Likewise.
38942         (PTR_ALIGN_UP): Likewise.
38944 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38946         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
38947         entry mapped to PPC_PLATFORM_POWER8.
38948         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
38949         POWER8.
38950         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
38951         (_dl_string_platform): Add case for exporting platform position for
38952         POWER8.
38953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
38954         search path to sysdeps/powerpc/powerpc32/power8 directory.
38955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
38956         search path to sysdeps/powerpc/powerpc64/power8 directory.
38957         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
38958         power7 directories.
38959         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
38960         power7 directories.
38962 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38964         * INSTALL: Regenerate.
38966         * nscd/connections.c (nscd_init): Fix comment.
38968 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
38970         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
38972         [BZ #15667]
38973         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
38974         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
38976 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38978         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
38979         DL_DST_REQ_STATIC.
38980         (DL_DST_REQ_STATIC): Remove macro.
38982 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
38984         [BZ #7006]
38985         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
38986         with a shift of 0 bits.
38988 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38990         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
38991         $(tststatic-ENV).
38993 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38995         [BZ #15655]
38996         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
38998 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39000         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
39001         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
39002         accepts -fno-tree-loop-distribute-patterns.
39003         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
39004         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
39005         recursive call.
39006         * string/memset.c (memset): Likewise.
39007         * string/test-memmove.c (simple_memmove): Disable loop transformation
39008         to library calls.
39009         * string/test-memset.c (simple_memset): Likewise.
39010         * benchtests/bench-memmove.c (simple_memmove): Likewise.
39011         * benchtests/bench-memset.c (simple_memset): Likewise.
39012         * configure: Regenerated.
39014 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
39016         * math/test-misc.c (main): Ignore fesetround failure when failures
39017         of subsequent rounding tests would be ignored.
39019         [BZ #15654]
39020         * math/fedisblxcpt.c (fedisableexcept): Return 0.
39021         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
39022         * math/fegetenv.c (__fegetenv): Return 0.
39023         * math/fegetexcept.c (fegetexcept): Return 0.
39024         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
39025         FE_TONEAREST.
39026         * math/feholdexcpt.c (feholdexcept): Return 0.
39027         * math/fesetenv.c (__fesetenv): Return 0.
39028         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
39029         argument FE_TONEAREST.
39030         * math/feupdateenv.c (__feupdateenv): Return 0.
39031         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
39033 2013-06-18  Roland McGrath  <roland@hack.frob.com>
39035         * elf/rtld-Rules (rtld-compile-command.S): New variable.
39036         (rtld-compile-command.s, rtld-compile-command.c): New variables.
39037         ($(objpfx)rtld-%.os rules): Use them.
39039 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39041         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
39042         fields.
39044 2013-06-17  Roland McGrath  <roland@hack.frob.com>
39046         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
39047         length of target pattern, then descending length of dependency pattern.
39048         * configure.in (AWK): Require gawk 3.1.2 or newer.
39049         * manual/install.texi (Tools for Compilation): Say that we do.
39050         * configure: Regenerated.
39052         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
39053         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
39054         * scripts/sysd-rules.awk: ... this new script.
39055         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
39056         than a glob-style pattern.
39058 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
39060         * math/test-misc.c (main): Do not treat incorrectly rounded
39061         conversions as failure unless ROUNDING_TESTS passes.
39063 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
39065         [BZ #15631]
39066         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
39067         restore exception state around main square root computation, then
39068         check for inexactness explicitly.
39070         * math/libm-test.inc (fma_test_data): Add another test.
39072 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39074         * manual/threads.texi (Non-POSIX Extensions): New document
39075         node.  Document pthread_getattr_default_np and
39076         pthread_setattr_default_np.
39078         * Versions.def (libpthread): Add GLIBC_2.18.
39079         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
39080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39081         Likewise.
39082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39083         Likewise.
39084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39085         Likewise.
39086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39087         Likewise.
39088         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
39089         Likewise.
39090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39091         Likewise.
39092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39093         Likewise.
39094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39095         Likewise.
39096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39097         Likewise.
39099 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39101         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39102         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
39104 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39105             H.J. Lu  <hjl.tools@gmail.com>
39107         [BZ #15627]
39108         * sysdeps/x86_64/rtld-memset.c: Remove file.
39109         * sysdeps/x86_64/rtld-memset.S: New file.
39111 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
39113         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
39114         (test_in_one_mode): Take arguments for whether the rounding mode
39115         is supported for each floating-point type.
39116         (do_test): Pass new arguments to test_in_one_mode using
39117         ROUNDING_TESTS.
39119 2013-06-13  Roland McGrath  <roland@hack.frob.com>
39121         * posix/tst-waitid.c (do_test): Distinguish different instances of
39122         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
39123         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
39124         before entering the kernel for waitpid.
39126 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39128         * NEWS: Fix note on clock function precision.  Text by Roland
39129         McGrath.
39131 2013-06-13  Roland McGrath  <roland@hack.frob.com>
39133         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
39134         it into place only when and if the sanity check passes.
39136 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
39138         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
39139         output for whether conversion result is exact.  Take argument
39140         indicating whether type is IBM long double.
39141         (round_for_all): Change need_exact field to ibm_ld.
39142         * stdlib/tst-strtod-round.c (struct exactness): New type.
39143         (struct test): Change bool ld_ok field to struct exactness exact.
39144         (TEST): Update all definitions for change to field.
39145         (tests): Regenerate array contents.
39146         (test_in_one_mode): Take pointer to new field instead of old ld_ok
39147         field value.  Check for IBM long double here.
39148         (do_test): Update calls to test_in_one_mode.
39150 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39152         [BZ #12515]
39153         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
39154         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
39156 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39158         [BZ #15605]
39159         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
39160         generated by the compiler on loop optimizations.
39161         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
39162         general definitions.
39164 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
39166         * math/bug-nextafter.c: Include <math-tests.h>.
39167         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39168         the relevant type.
39169         * math/bug-nexttoward.c: Include <math-tests.h>.
39170         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39171         the relevant type.
39172         * math/test-misc.c: Include <math-tests.h>.
39173         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39174         the relevant type.
39176 2013-06-12  Andreas Jaeger  <aj@suse.de>
39178         * po/ia.po: Update Interlingua translation from translation
39179         project.
39181 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39183         * include/fenv.h: Include stdbool.h.
39184         (struct rm_ctx): New structure.
39185         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
39186         Define macro.
39187         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
39188         (SET_RESTORE_ROUNDF): Likewise.
39189         (SET_RESTORE_ROUNDL): Likewise.
39190         (SET_RESTORE_ROUND_NOEX): Likewise.
39191         (SET_RESTORE_ROUND_NOEXF): Likewise.
39192         (SET_RESTORE_ROUND_NOEXL): Likewise.
39193         (SET_RESTORE_ROUND_53BIT): Likewise.
39194         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
39195         (libc_feresetround_noexf_ctx): Likewise.
39196         (libc_feresetround_noexl_ctx): Likewise.
39197         (libc_feholdsetround_53bit_ctx): Likewise.
39198         (libc_feresetround_53bit_ctx): Likewise.
39199         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
39200         (libc_feholdexcept_setround_sse_ctx): New function.
39201         (libc_fesetenv_sse_ctx): Likewise.
39202         (libc_feupdateenv_sse_ctx): Likewise.
39203         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
39204         (libc_feholdexcept_setround_387_ctx): Likewise.
39205         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
39206         (libc_feholdsetround_387_prec_ctx): Likewise.
39207         (libc_feholdsetround_387_ctx): Likewise.
39208         (libc_feholdsetround_387_53bit_ctx): Likewise.
39209         (libc_feholdsetround_sse_ctx): Likewise.
39210         (libc_feresetround_sse_ctx): Likewise.
39211         (libc_feresetround_387_ctx): Likewise.
39212         (libc_feupdateenv_387_ctx): Likewise.
39213         (libc_feholdexcept_setroundf_ctx): Define macro.
39214         (libc_fesetenvf_ctx): Likewise.
39215         (libc_feupdateenvf_ctx): Likewise.
39216         (libc_feholdsetroundf_ctx): Likewise.
39217         (libc_feresetroundf_ctx): Likewise.
39218         (libc_feholdexcept_setround_ctx): Likewise.
39219         (libc_fesetenv_ctx): Likewise.
39220         (libc_feupdateenv_ctx): Likewise.
39221         (libc_feholdsetround_ctx): Likewise.
39222         (libc_feresetround_ctx): Likewise.
39223         (libc_feholdexcept_setroundl_ctx): Likewise.
39224         (libc_feupdateenvl_ctx): Likewise.
39225         (libc_feholdsetroundl_ctx): Likewise.
39226         (libc_feresetroundl_ctx): Likewise.
39227         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
39228         (libc_feresetround_53bit_ctx): Likewise.
39230 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39232         * locale/iso-639.def: Convert to UTF-8.
39234 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
39236         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
39237         (EXCEPTION_TESTS_double): Likewise.
39238         (EXCEPTION_TESTS_long_double): Likewise.
39239         (EXCEPTION_TESTS): Likewise.
39240         * math/libm-test.inc (test_exceptions): Only test exceptions if
39241         EXCEPTION_TESTS (FLOAT).
39243 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39245         * benchtests/Makefile (string-bench): Add strcpy_chk and
39246         stpcpy_chk.
39247         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
39248         * benchtests/bench-stpcpy_chk.c: New file.
39249         * benchtests/bench-strcpy_chk-ifunc.c: New file.
39250         * benchtests/bench-strcpy_chk.c: New file.
39251         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
39252         code.
39253         (do_test): Likewise.
39255 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39257         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
39258         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
39259         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
39260         with tabs where appropriate.
39261         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
39262         dl-procinfo.h.
39263         [PPC_PLATFORM_PPC440]: Likewise.
39264         [PPC_PLATFORM_PPC464]: Likewise.
39265         [PPC_PLATFORM_PPC476]: Likewise.
39266         (_dl_string_platform): Add support for detecting ppc405, ppc440,
39267         ppc464, and ppc476 platform strings merging from ports/
39268         dl-procinfo.h.
39270 2013-06-11  Andreas Schwab  <schwab@suse.de>
39272         [BZ #14991]
39273         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
39274         (from_ucs4_idx): Regenerate.
39275         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
39276         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
39277         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
39278         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
39279         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
39280         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
39281         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
39282         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
39283         from FROM_LOOP and TO_LOOP specific macros.
39284         (BODY): Handle combining characters.
39285         * iconvdata/BIG5HKSCS.irreversible: Update.
39286         * iconvdata/BIG5HKSCS.precomposed: New file.
39287         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
39288         characters.
39289         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
39291 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39293         * include/sys/time.h: Fix indentation and add copyright header.
39295         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
39296         (do_test): Likewise.
39297         * string/test-memchr.c (do_one_test): Likewise.
39298         (do_test): Likewise.
39299         * string/test-memcmp.c (do_one_test): Likewise.
39300         (do_test): Likewise.
39301         * string/test-memcpy.c (do_one_test): Likewise.
39302         (do_test): Likewise.
39303         * string/test-memmem.c (do_one_test): Likewise.
39304         (do_test): Likewise.
39305         (do_random_tests): Likewise.
39306         * string/test-memmove.c (do_one_test): Likewise.
39307         (do_test): Likewise.
39308         * string/test-memset.c (do_one_test): Likewise.
39309         (do_test): Likewise.
39310         * string/test-rawmemchr.c (do_one_test): Likewise.
39311         (do_test): Likewise.
39312         * string/test-strcasecmp.c (do_one_test): Likewise.
39313         (do_test): Likewise.
39314         * string/test-strcasestr.c (do_one_test): Likewise.
39315         (do_test): Likewise.
39316         * string/test-strcat.c (do_one_test): Likewise.
39317         (do_test): Likewise.
39318         * string/test-strchr.c (do_one_test): Likewise.
39319         (do_test): Likewise.
39320         * string/test-strcmp.c (do_one_test): Likewise.
39321         (do_test): Likewise.
39322         * string/test-strcpy.c (do_one_test): Likewise.
39323         (do_test): Likewise.
39324         * string/test-string.h: Likewise.
39325         (test_init): Likewise.
39326         * string/test-strlen.c (do_one_test): Likewise.
39327         (do_test): Likewise.
39328         * string/test-strncasecmp.c (do_one_test): Likewise.
39329         (do_test): Likewise.
39330         * string/test-strncat.c (do_one_test): Likewise.
39331         (do_test): Likewise.
39332         * string/test-strncmp.c (do_one_test): Likewise.
39333         (do_test_limit): Likewise.
39334         (do_test): Likewise.
39335         * string/test-strncpy.c (do_one_test): Likewise.
39336         (do_test): Likewise.
39337         * string/test-strnlen.c (do_one_test): Likewise.
39338         (do_test): Likewise.
39339         * string/test-strpbrk.c (do_one_test): Likewise.
39340         (do_test): Likewise.
39341         * string/test-strrchr.c (do_one_test): Likewise.
39342         (do_test): Likewise.
39343         * string/test-strspn.c (do_one_test): Likewise.
39344         (do_test): Likewise.
39345         * string/test-strstr.c (do_one_test): Likewise.
39346         (do_test): Likewise.
39348         * benchtests/Makefile (string-bench): Add string benchmarks.
39349         * benchtests/bench-bcopy-ifunc.c: New file.
39350         * benchtests/bench-bcopy.c: New file.
39351         * benchtests/bench-bzero-ifunc.c: New file.
39352         * benchtests/bench-bzero.c: New file.
39353         * benchtests/bench-memccpy-ifunc.c: New file.
39354         * benchtests/bench-memccpy.c: New file.
39355         * benchtests/bench-memchr-ifunc.c: New file.
39356         * benchtests/bench-memchr.c: New file.
39357         * benchtests/bench-memcmp-ifunc.c: New file.
39358         * benchtests/bench-memcmp.c: New file.
39359         * benchtests/bench-memmem-ifunc.c: New file.
39360         * benchtests/bench-memmem.c: New file.
39361         * benchtests/bench-memmove-ifunc.c: New file.
39362         * benchtests/bench-memmove.c: New file.
39363         * benchtests/bench-mempcpy-ifunc.c: New file.
39364         * benchtests/bench-mempcpy.c: New file.
39365         * benchtests/bench-memset-ifunc.c: New file.
39366         * benchtests/bench-memset.c: New file.
39367         * benchtests/bench-rawmemchr-ifunc.c: New file.
39368         * benchtests/bench-rawmemchr.c: New file.
39369         * benchtests/bench-stpcpy-ifunc.c: New file.
39370         * benchtests/bench-stpcpy.c: New file.
39371         * benchtests/bench-stpncpy-ifunc.c: New file.
39372         * benchtests/bench-stpncpy.c: New file.
39373         * benchtests/bench-strcasecmp-ifunc.c: New file.
39374         * benchtests/bench-strcasecmp.c: New file.
39375         * benchtests/bench-strcasestr-ifunc.c: New file.
39376         * benchtests/bench-strcasestr.c: New file.
39377         * benchtests/bench-strcat-ifunc.c: New file.
39378         * benchtests/bench-strcat.c: New file.
39379         * benchtests/bench-strchr-ifunc.c: New file.
39380         * benchtests/bench-strchr.c: New file.
39381         * benchtests/bench-strchrnul-ifunc.c: New file.
39382         * benchtests/bench-strchrnul.c: New file.
39383         * benchtests/bench-strcmp-ifunc.c: New file.
39384         * benchtests/bench-strcmp.c: New file.
39385         * benchtests/bench-strcpy-ifunc.c: New file.
39386         * benchtests/bench-strcpy.c: New file.
39387         * benchtests/bench-strcspn-ifunc.c: New file.
39388         * benchtests/bench-strcspn.c: New file.
39389         * benchtests/bench-strlen-ifunc.c: New file.
39390         * benchtests/bench-strlen.c: New file.
39391         * benchtests/bench-strncasecmp-ifunc.c: New file.
39392         * benchtests/bench-strncasecmp.c: New file.
39393         * benchtests/bench-strncat-ifunc.c: New file.
39394         * benchtests/bench-strncat.c: New file.
39395         * benchtests/bench-strncmp-ifunc.c: New file.
39396         * benchtests/bench-strncmp.c: New file.
39397         * benchtests/bench-strncpy-ifunc.c: New file.
39398         * benchtests/bench-strncpy.c: New file.
39399         * benchtests/bench-strnlen-ifunc.c: New file.
39400         * benchtests/bench-strnlen.c: New file.
39401         * benchtests/bench-strpbrk-ifunc.c: New file.
39402         * benchtests/bench-strpbrk.c: New file.
39403         * benchtests/bench-strrchr-ifunc.c: New file.
39404         * benchtests/bench-strrchr.c: New file.
39405         * benchtests/bench-strspn-ifunc.c: New file.
39406         * benchtests/bench-strspn.c: New file.
39407         * benchtests/bench-strstr-ifunc.c: New file.
39408         * benchtests/bench-strstr.c: New file.
39410         * benchtests/Makefile: Disable parallel execution of targets.
39411         (string-bench): Add memcpy.
39412         (benchset): New variable to store a list of benchmark sets.
39413         (bench-func): Renamed from bench.
39414         (bench-set): New target.
39415         (bench): Depend on bench-func and bench-set.
39416         * benchtests/README: Add section on benchmark sets.
39417         * benchtests/bench-memcpy-ifunc.c: New file.
39418         * benchtests/bench-memcpy.c: New file.
39419         * benchtests/bench-string.h: New file.
39421 2013-06-11  Andreas Schwab  <schwab@suse.de>
39423         [BZ #15577]
39424         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
39425         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
39426         values in the triple.
39427         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
39428         terminator in the group key.
39430 2013-06-11  Andreas Jaeger  <aj@suse.de>
39432         * po/zh_TW.po: Update Chinese (traditional) translation from
39433         translation project.
39435 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39437         * include/time.h (__clock_gettime): Add libc_hidden_proto.
39438         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
39439         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
39440         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39441         (clock_getcpuclockid): Likewise.
39442         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
39443         Add weak_alias and libc_hidden_def.
39444         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
39445         * rt/clock_gettime.c (clock_gettime): Rename to
39446         __clock_gettime.  Add weak_alias and libc_hidden_def.
39447         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
39448         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
39449         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
39450         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
39451         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
39452         Likewise.
39453         * rt/clock_settime.c (clock_settime): Rename to
39454         __clock_settime.  Add weak_alias and libc_hidden_def.
39455         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
39457 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
39459         * mach/err_boot.sub: Remove trailing whitespace.
39460         * mach/err_ipc.sub: Likewise.
39461         * mach/err_mach.sub: Likewise.
39463         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
39464         (ROUNDING_TESTS_double): Likewise.
39465         (ROUNDING_TESTS_long_double): Likewise.
39466         (ROUNDING_TESTS): Likewise.
39467         * math/libm-test.inc: Include <math-tests.h>.
39468         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
39469         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
39470         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
39471         (IF_ROUND_INIT_FE_UPWARD): Likewise.
39473 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39475         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
39476         of assigning.
39478 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
39480         * sysdeps/gnu/errlist.awk: Do not generate space at end of
39481         otherwise empty TRANS lines.
39482         * sysdeps/gnu/errlist.c: Regenerated.
39484         * catgets/gencat.c (error_print): Use (void) in function
39485         definition.
39486         * crypt/crypt_util.c (__init_des): Likewise.
39487         * crypt/speeds.c (Stop): Likewise.
39488         (main): Likewise.
39489         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
39490         * inet/ruserpass.c (token): Likewise.
39491         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
39492         * intl/localealias.c (extend_alias_table): Likewise.
39493         * intl/plural-exp.c (init_germanic_plural): Likewise.
39494         * libio/fcloseall.c (__fcloseall): Likewise.
39495         * libio/genops.c (_IO_flush_all): Likewise.
39496         (_IO_flush_all_linebuffered): Likewise.
39497         (_IO_cleanup): Likewise.
39498         (_IO_iter_begin): Likewise.
39499         (_IO_iter_end): Likewise.
39500         (_IO_list_lock): Likewise.
39501         (_IO_list_unlock): Likewise.
39502         (_IO_list_resetlock): Likewise.
39503         * libio/getchar.c (getchar): Likewise.
39504         * libio/getchar_u.c (getchar_unlocked): Likewise.
39505         * libio/getwchar.c (getwchar): Likewise.
39506         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
39507         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
39508         * login/getpt.c (__getpt): Likewise.
39509         * login/tst-utmp.c (main): Likewise.
39510         * malloc/hooks.c (__malloc_check_init): Likewise.
39511         * malloc/malloc.c (__malloc_stats): Likewise.
39512         * malloc/mtrace.c (tr_break): Likewise.
39513         (mtrace): Likewise.
39514         (muntrace): Likewise.
39515         * misc/fstab.c (endfsent): Likewise.
39516         * misc/getclktck.c (__getclktck): Likewise.
39517         * misc/getdtsz.c (__getdtablesize): Likewise.
39518         * misc/gethostid.c (gethostid): Likewise.
39519         * misc/getpagesize.c (__getpagesize): Likewise.
39520         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
39521         (__get_nprocs): Likewise.
39522         (__get_phys_pages): Likewise.
39523         (__get_avphys_pages): Likewise.
39524         * misc/getttyent.c (getttyent): Likewise.
39525         (setttyent): Likewise.
39526         (endttyent): Likewise.
39527         * misc/getusershell.c (getusershell): Likewise.
39528         (endusershell): Likewise.
39529         (setusershell): Likewise.
39530         (initshells): Likewise.
39531         * misc/hsearch.c (__hdestroy): Likewise.
39532         * misc/sync.c (sync): Likewise.
39533         * misc/syslog.c (closelog_internal): Likewise.
39534         (closelog): Likewise.
39535         * misc/ttyslot.c (ttyslot): Likewise.
39536         * misc/vhangup.c (vhangup): Likewise.
39537         * posix/fork.c (__fork): Likewise.
39538         * posix/getegid.c (__getegid): Likewise.
39539         * posix/geteuid.c (__geteuid): Likewise.
39540         * posix/getgid.c (__getgid): Likewise.
39541         * posix/getpid.c (__getpid): Likewise.
39542         * posix/getppid.c (__getppid): Likewise.
39543         * posix/getuid.c (__getuid): Likewise.
39544         * posix/pause.c (pause): Likewise.
39545         * posix/setpgrp.c (setpgrp): Likewise.
39546         * posix/setsid.c (__setsid): Likewise.
39547         * posix/test-vfork.c (noop): Likewise.
39548         * resolv/gethnamaddr.c (_endhtent): Likewise.
39549         (_gethtent): Likewise.
39550         (ht_endhostent): Likewise.
39551         (gethostent): Likewise.
39552         (dns_service): Likewise.
39553         * stdlib/drand48.c (drand48): Likewise.
39554         * stdlib/lrand48.c (lrand48): Likewise.
39555         * stdlib/mrand48.c (mrand48): Likewise.
39556         * stdlib/rand.c (rand): Likewise.
39557         * stdlib/random.c (__random): Likewise.
39558         * stdlib/setenv.c (clearenv): Likewise.
39559         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
39560         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
39561         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
39562         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
39563         (__get_nprocs): Likewise.
39564         (__get_phys_pages): Likewise.
39565         (__get_avphys_pages): Likewise.
39566         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
39567         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
39568         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
39569         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
39570         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
39571         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
39572         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
39573         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
39574         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
39575         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
39576         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
39577         * sysdeps/mach/hurd/sync.c (sync): Likewise.
39578         * sysdeps/posix/clock.c (clock): Likewise.
39579         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
39580         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
39581         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
39582         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
39583         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
39584         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
39585         (__get_nprocs_conf): Likewise.
39586         (__get_phys_pages): Likewise.
39587         (__get_avphys_pages): Likewise.
39588         * time/clock.c (clock): Likewise.
39589         * time/tzset.c (__tzname_max): Likewise.
39591 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
39593         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
39594         (__bswap_32): Do not use "register".
39595         * crypt/crypt.c (_ufc_doit_r): Likewise.
39596         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
39597         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
39598         * gmon/gmon.c (__monstartup): Likewise.
39599         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
39600         * hurd/hurdmalloc.c (more_memory): Likewise.
39601         (malloc): Likewise.
39602         (free): Likewise.
39603         (realloc): Likewise.
39604         (malloc_fork_prepare): Likewise.
39605         (malloc_fork_parent): Likewise.
39606         (malloc_fork_child): Likewise.
39607         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
39608         (_svcauth_des): Likewise.
39609         * inet/inet_lnaof.c (inet_lnaof): Likewise.
39610         * inet/inet_net.c (inet_network): Likewise.
39611         * inet/inet_netof.c (inet_netof): Likewise.
39612         * inet/rcmd.c (__validuser2_sa): Likewise.
39613         * io/fts.c (fts_open): Likewise.
39614         (fts_load): Likewise.
39615         (fts_close): Likewise.
39616         (fts_read): Likewise.
39617         (fts_children): Likewise.
39618         (fts_build): Likewise.
39619         (fts_stat): Likewise.
39620         (fts_sort): Likewise.
39621         (fts_alloc): Likewise.
39622         (fts_lfree): Likewise.
39623         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
39624         (_IO_file_xsgetn): Likewise.
39625         (_IO_file_xsgetn_mmap): Likewise.
39626         * libio/iofopncook.c (_IO_cookie_read): Likewise.
39627         (_IO_cookie_write): Likewise.
39628         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
39629         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
39630         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
39631         * malloc/obstack.c (_obstack_begin): Likewise.
39632         (_obstack_begin_1): Likewise.
39633         (_obstack_newchunk): Likewise.
39634         (_obstack_allocated_p): Likewise.
39635         (obstack_free): Likewise.
39636         (_obstack_memory_used): Likewise.
39637         * misc/getttyent.c (getttynam): Likewise.
39638         (getttyent): Likewise.
39639         (skip): Likewise.
39640         (value): Likewise.
39641         * misc/getusershell.c (initshells): Likewise.
39642         * misc/syslog.c (__vsyslog_chk): Likewise.
39643         * misc/ttyslot.c (ttyslot): Likewise.
39644         * nis/nis_hash.c (__nis_hash): Likewise.
39645         * posix/fnmatch_loop.c (FCT): Likewise.
39646         * posix/getconf.c (print_all): Likewise.
39647         (main): Likewise.
39648         * posix/getopt.c (exchange): Likewise.
39649         * posix/glob.c (globfree): Likewise.
39650         (prefix_array): Likewise.
39651         (__glob_pattern_type): Likewise.
39652         * resolv/arpa/nameser.h (NS_GET16): Likewise.
39653         (NS_GET32): Likewise.
39654         (NS_PUT16): Likewise.
39655         (NS_PUT32): Likewise.
39656         * resolv/gethnamaddr.c (getanswer): Likewise.
39657         (gethostbyname2): Likewise.
39658         (gethostbyaddr): Likewise.
39659         (_gethtent): Likewise.
39660         (_gethtbyname2): Likewise.
39661         (_gethtbyaddr): Likewise.
39662         * resolv/ns_print.c (dst_s_get_int16): Likewise.
39663         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39664         * resolv/res_init.c (__res_vinit): Likewise.
39665         (net_mask): Likewise.
39666         * resolv/res_mkquery.c (outchar): Likewise.
39667         (PRINT): Likewise.
39668         * stdio-common/printf_fp.c (outchar): Likewise.
39669         (PRINT): Likewise.
39670         * stdio-common/printf_fphex.c (outchar): Likewise.
39671         (PRINT): Likewise.
39672         * stdio-common/printf_size.c (outchar): Likewise.
39673         (PRINT): Likewise.
39674         * stdio-common/test_rdwr.c (main): Likewise.
39675         * stdio-common/tfformat.c (matches): Likewise.
39676         * stdio-common/vfprintf.c (outchar): Likewise.
39677         (printf_unknown): Likewise.
39678         (buffered_vfprintf): Likewise.
39679         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39680         * stdio-common/xbug.c (AppendToBuffer): Likewise.
39681         (ReadFile): Likewise.
39682         * stdlib/qsort.c (SWAP): Likewise.
39683         (_quicksort): Likewise.
39684         * stdlib/setenv.c (__add_to_environ): Likewise.
39685         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39686         * stdlib/strtol_l.c (__strtol_l): Likewise.
39687         * stdlib/tst-strtod.c (main): Likewise.
39688         * stdlib/tst-strtol.c (main): Likewise.
39689         * stdlib/tst-strtoll.c (main): Likewise.
39690         * string/bits/string2.h (__strcmp_cc): Likewise.
39691         (__strcmp_cg): Likewise.
39692         (__strcspn_c1): Likewise.
39693         (__strcspn_c2): Likewise.
39694         (__strcspn_c3): Likewise.
39695         (__strspn_c1): Likewise.
39696         (__strspn_c2): Likewise.
39697         (__strspn_c3): Likewise.
39698         (__strsep_1c): Likewise.
39699         (__strsep_2c): Likewise.
39700         (__strsep_3c): Likewise.
39701         * string/memccpy.c (__memccpy): Likewise.
39702         * string/stpcpy.c (__stpcpy): Likewise.
39703         * string/strcmp.c (strcmp): Likewise.
39704         * string/strrchr.c (strrchr): Likewise.
39705         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
39706         Likewise.
39707         * sysdeps/mach/hurd/getcwd.c
39708         (_hurd_canonicalize_directory_name_internal): Likewise.
39709         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
39710         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
39711         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
39712         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
39713         Likewise, in both definitions.
39714         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
39715         definitions.
39716         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
39717         64] (__bswap_64): Likewise.
39718         * time/test_time.c (main): Likewise.
39719         * time/tzfile.c (__tzfile_read): Likewise.
39720         (__tzfile_compute): Likewise.
39721         * time/tzset.c (__tzset_parse_tz): Likewise.
39722         (tzset_internal): Likewise.
39723         (compute_change): Likewise.
39724         * wcsmbs/wcscat.c (__wcscat): Likewise.
39725         * wcsmbs/wcschr.c (wcschr): Likewise.
39726         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
39727         * wcsmbs/wcscspn.c (wcscspn): Likewise.
39728         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
39729         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
39730         * wcsmbs/wcsspn.c (wcsspn): Likewise.
39731         * wcsmbs/wcsstr.c (wcsstr): Likewise.
39732         * wcsmbs/wmemchr.c (wmemchr): Likewise.
39733         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39734         * wcsmbs/wmemset.c (wmemset): Likewise.
39736 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
39738         * scripts/config.guess: Update to version 2013-05-16.
39739         * scripts/config.sub: Update to version 2013-04-24.
39740         * scripts/install-sh: Update to version 2011-11-20.07.
39741         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
39742         * scripts/move-if-change: Update to version 2012-01-06 07:23.
39744 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
39746         * debug/fgetws_u_chk.c: Fix leading whitespaces.
39747         * elf/sln.c: Likewise.
39748         * hurd/hurd/ioctl.h: Likewise.
39749         * hurd/hurdmalloc.c: Likewise.
39750         * hurd/xattr.c: Likewise.
39751         * include/shlib-compat.h: Likewise.
39752         * inet/ruserpass.c: Likewise.
39753         * libio/iofgets_u.c: Likewise.
39754         * libio/iofgetws_u.c: Likewise.
39755         * locale/programs/ld-identification.c: Likewise.
39756         * locale/programs/ld-time.c: Likewise.
39757         * mach/msg-destroy.c: Likewise.
39758         * nss/nss_files/files-netgrp.c: Likewise.
39759         * resolv/res_data.c: Likewise.
39760         * soft-fp/op-1.h: Likewise.
39761         * soft-fp/op-2.h: Likewise.
39762         * soft-fp/op-4.h: Likewise.
39763         * soft-fp/op-common.h: Likewise.
39764         * stdio-common/printf_fphex.c: Likewise.
39765         * stdlib/strtod_l.c: Likewise.
39766         * sunrpc/rpc/clnt.h: Likewise.
39767         * sysdeps/generic/framestate.c: Likewise.
39768         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39769         * sysdeps/i386/bsd-setjmp.S: Likewise.
39770         * sysdeps/i386/__longjmp.S: Likewise.
39771         * sysdeps/i386/setjmp.S: Likewise.
39772         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39773         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39774         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39775         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39776         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39777         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39778         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39779         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39780         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39781         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39782         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39783         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39784         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39785         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39786         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39787         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39788         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39789         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
39790         * sysdeps/ieee754/support.c: Likewise.
39791         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39792         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
39793         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
39794         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
39795         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
39796         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
39797         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
39798         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
39799         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
39800         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
39801         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
39802         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
39803         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
39804         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
39805         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
39806         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
39807         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
39810 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
39812         * posix/transbug.c: Remove executable mode.
39814 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
39816         * crypt/speeds.c: Remove trailing whitespace.
39817         * dlfcn/default.c: Likewise.
39818         * elf/ifuncdep2.c: Likewise.
39819         * elf/ifuncmain1.c: Likewise.
39820         * elf/ifuncmain1vis.c: Likewise.
39821         * elf/testobj.h: Likewise.
39822         * elf/tst-stackguard1.c: Likewise.
39823         * gmon/sys/gmon.h: Likewise.
39824         * hurd/hurdmsg.c: Likewise.
39825         * hurd/new-fd.c: Likewise.
39826         * hurd/ports-get.c: Likewise.
39827         * iconvdata/ibm1008_420.c: Likewise.
39828         * inet/tst-getni1.c: Likewise.
39829         * inet/tst-getni2.c: Likewise.
39830         * libio/ioungetc.c: Likewise.
39831         * libio/wfiledoalloc.c: Likewise.
39832         * manual/libm-err-tab.pl: Likewise.
39833         * math/w_dremf.c: Likewise.
39834         * misc/ftruncate.c: Likewise.
39835         * posix/bug-glob2.c: Likewise.
39836         * posix/tst-pcre.c: Likewise.
39837         * posix/wait4.c: Likewise.
39838         * resolv/README: Likewise.
39839         * resolv/res_debug.h: Likewise.
39840         * resolv/tst-inet_ntop.c: Likewise.
39841         * setjmp/bug269-setjmp.c: Likewise.
39842         * soft-fp/extended.h: Likewise.
39843         * soft-fp/op-1.h: Likewise.
39844         * soft-fp/op-2.h: Likewise.
39845         * soft-fp/op-4.h: Likewise.
39846         * soft-fp/op-8.h: Likewise.
39847         * soft-fp/testit.c: Likewise.
39848         * stdio-common/bug16.c: Likewise.
39849         * stdlib/random.c: Likewise.
39850         * sunrpc/rpcsvc/rquota.x: Likewise.
39851         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
39852         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39853         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39854         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39855         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39856         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39857         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39858         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39859         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39860         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39861         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39862         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39863         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39864         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39865         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39866         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39867         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39868         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39869         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39870         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39871         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39872         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39873         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
39874         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39875         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39876         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39877         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39878         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39879         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39880         * sysdeps/ieee754/s_lib_version.c: Likewise.
39881         * sysdeps/mach/hurd/check_fds.c: Likewise.
39882         * sysdeps/mach/hurd/getsockname.c: Likewise.
39883         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
39884         * sysdeps/mach/hurd/recvfrom.c: Likewise.
39885         * sysdeps/powerpc/bits/link.h: Likewise.
39886         * sysdeps/powerpc/dl-procinfo.c: Likewise.
39887         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
39888         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
39889         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
39890         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39891         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39892         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
39893         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39894         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
39895         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39896         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
39897         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39898         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
39899         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39900         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39901         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39902         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39903         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39904         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39905         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39906         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39907         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
39908         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39909         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39910         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
39911         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39912         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39913         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39914         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39915         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39916         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39917         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39918         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39919         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39920         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
39921         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39922         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
39923         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39924         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
39925         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
39926         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
39927         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
39928         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
39929         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
39930         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39931         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
39932         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
39933         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39934         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
39935         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
39936         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39937         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39938         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39939         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39940         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
39941         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
39942         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
39943         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39944         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
39945         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
39946         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
39947         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
39948         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
39949         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39950         * sysdeps/powerpc/sysdep.h: Likewise.
39951         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39952         * sysdeps/s390/s390-64/sub_n.S: Likewise.
39953         * sysdeps/sh/dl-trampoline.S: Likewise.
39954         * sysdeps/sh/memset.S: Likewise.
39955         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
39956         * sysdeps/sh/strlen.S: Likewise.
39957         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
39958         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
39959         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
39960         * sysdeps/sparc/sparc32/rem.S: Likewise.
39961         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
39962         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
39963         * sysdeps/sparc/sparc32/strchr.S: Likewise.
39964         * sysdeps/sparc/sparc32/udiv.S: Likewise.
39965         * sysdeps/sparc/sparc32/urem.S: Likewise.
39966         * sysdeps/sparc/sparc64/add_n.S: Likewise.
39967         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39968         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
39969         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
39970         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
39971         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
39972         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
39973         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
39974         * sysdeps/unix/bsd/times.c: Likewise.
39975         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
39976         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
39977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
39978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
39979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
39980         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
39981         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
39982         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
39983         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
39984         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
39985         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
39986         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39987         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
39988         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39989         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39990         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
39991         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39992         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
39993         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
39994         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
39995         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
39996         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
39997         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39998         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
39999         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
40000         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
40001         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
40002         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40003         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
40004         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
40005         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
40006         * sysdeps/x86_64/strcspn.S: Likewise.
40008 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40010         * locale/C-translit.h: Revert #include <stdint.h> because this is a
40011         generated file.  Regenerate properly from gen-translit.pl.
40012         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
40013         locale/C-translit.h.
40015 2013-06-05  Andreas Schwab  <schwab@suse.de>
40017         [BZ #15100]
40018         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
40019         week as 6 instead of -1.
40020         * time/tst-strptime.c (day_tests): Add test case.
40022 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40024         * sysdeps/generic/math_private.h
40025         (libc_feholdexcept_setround_53bit): Replace with
40026         libc_feholdsetround_53bit.
40027         (libc_feupdateenv_53bit): Replace with
40028         libc_feresetround_53bit.
40029         (SET_RESTORE_ROUND_53BIT): Adjust.
40031 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40033         * string/test-strchrnul.c: Add copyright header.
40035         * posix/tst-getaddrinfo4.c: Increase test timeout.
40037 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
40039         [BZ #15536]
40040         * math/libm-test.inc (MAX_EXP): Remove
40041         (MIN_EXP): Define.
40042         (ulp): Use MIN_EXP - MANT_DIG.
40043         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
40045 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
40047         * po/be.po: Revert last change.
40048         * po/zh_CN.po: Likewise.
40049         * po/header.pot: Likewise.
40051 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
40053         * Makefile ($(common-objpfx)linkobj/libc.so): Define
40054         link-libc-deps to empty as target-specific variable.
40055         * Makerules (link-libc-args): New variable.
40056         (libc-for-link): Likewise.
40057         (link-libc-deps): Likewise.
40058         (lib%.so): Depend on $(link-libc-deps).  Link with
40059         $(link-libc-args).
40060         (build-module): Link with $(link-libc-args).
40061         (build-module-asneeded): Likewise.
40062         (build-module-helper-objlist): Filter out $(link-libc-deps) from
40063         list of objects.
40064         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
40065         target-specific variable.
40066         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
40067         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
40068         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
40069         libc.
40070         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
40071         libc and ld.so.
40072         ($(objpfx)libpcprofile.so): Likewise.
40073         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
40074         libc_nonshared.a.
40075         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
40076         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
40077         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
40078         $(link-libc-deps).
40079         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
40080         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
40081         * login/Makefile ($(objpfx)libutil.so): Likewise.
40082         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
40083         * math/Makefile ($(objpfx)libm.so): Likewise.
40084         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
40085         $(objpfx)libnsl.so): Define libc-for-link as target-specific
40086         variable instead of depending directly on libc.
40087         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
40088         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
40089         $(link-libc-deps).
40090         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
40091         libc.
40092         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
40093         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
40094         ($(objpfx)libanl.so): Likewise.
40095         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
40096         ld.so.
40097         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
40098         $(link-libc-deps).
40099         * sysdeps/i386/fpu/Makefile: Remove file.
40100         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
40101         ($(objpfx)libm.so): Remove dependency on ld.so.
40103 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
40105         [BZ # 15553]
40106         * nis/yp_xdr.c (XDRMAXNAME): Define.
40107         (XDRMAXRECORD): Define.
40108         (xdr_domainname): Use XDRMAXNAME.
40109         (xdr_mapname): Likewise.
40110         (xdr_peername): Likewise.
40111         (xdr_keydat): Use XDRMAXRECORD.
40112         (xdr_valdat): Likewise.
40114 2013-05-30  Jeff Law  <law@redhat.com>
40116         [BZ #14256]
40117         * manual/errno.texi (ESTALE): Update to account for more than
40118         just NFS file systems.
40119         * sysdeps/gnu/errlist.c: Regenerated.
40121 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40123         [BZ #15465]
40124         * elf/Makefile (tests): Add tst-null-argv.
40125         (modules-names):  Add tst-null-argv-lib.
40126         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
40127         (tst-null-argv-ENV): Set environment for tst-null-argv.
40128         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
40129         (RTLD_PROGNAME): New macro.
40130         * elf/tst-null-argv.c: New test case.
40131         * elf/tst-null-argv-lib.c: Library for test case.
40132         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
40133         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
40134         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
40135         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
40136         * elf/dl-init.c (call_init): Likewise.
40137         (_dl_init): Likewise.
40138         * elf/dl-load.c (print_search_path): Likewise.
40139         (_dl_map_object): Likewise.
40140         * elf/dl-lookup.c (do_lookup_x): Likewise.
40141         (add_dependency): Likewise.
40142         (_dl_lookup_symbol_x): Likewise.
40143         (_dl_debug_bindings): Likewise.
40144         * elf/dl-open.c (_dl_show_scope): Likewise.
40145         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40146         * elf/dl-version.c (match_symbol): Likewise.
40147         (_dl_check_map_versions): Likewise.
40148         * elf/rtld.c (dl_main): Likewise.
40149         (print_unresolved): Use RTLD_PROGNAME.
40150         (print_missing_version): Likewise.
40151         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
40152         (elf_machine_rela): Likewise.
40153         * sysdeps/powerpc/powerpc32/dl-machine.c
40154         (__process_machine_rela): Likewise.
40155         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40156         Likewise.
40157         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40158         Likewise.
40159         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
40160         Likewise.
40161         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40162         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
40163         Likewise.
40164         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
40165         Likewise.
40166         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40168 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
40170         * po/be.po: Add descriptive title.
40171         * po/zh_CN.po: Likewise.
40172         * po/header.pot: Likewise.
40174 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
40176         * locale/programs/locarchive.c (create_archive): Inlucde fname in
40177         error message.
40178         (enlarge_archive): Likewise.
40180 2013-05-28  Ben North  <ben@redfrontdoor.org>
40182         * manual/arith.texi (frexp): It is the magnitude of the return
40183         value which lies in [0.5, 1), not the return value itself.
40185 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40189 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
40191         * stdio-common/bug26.c (main): Correct fscanf template.
40193         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
40194         declare _dl_skip_args.
40196         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
40197         Don't declare.
40199         * manual/platform.texi: Add missing @end deftypefun.
40201 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40203         [BZ #15529]
40204         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
40205         bit of mantissa of 2^16382.
40206         * math/libm-test.inc (hypot_test_data): Add more tests.
40208         * math/libm-test.inc: Add drem and pow10 to list of tested
40209         functions.
40210         (pow10_test): New function.
40211         (drem_test): Likewise.
40212         (drem_test_tonearest): Likewise.
40213         (drem_test_towardzero): Likewise.
40214         (drem_test_downward): Likewise.
40215         (drem_test_upward): Likewise.
40216         (main): Call the new functions.
40218         * math/libm-test.inc (finite_test_data): Remove.
40219         (finite_test): Run tests from isfinite_test_data.
40220         (gamma_test_data): Remove.
40221         (gamma_test): Run tests from lgamma_test_data.
40222         * sysdeps/i386/fpu/libm-test-ulps: Update.
40223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40225 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40227         * manual/platform.texi: Add PowerPC PPR function set documentation.
40228         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
40229         implementation.
40231 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
40233         * math/libm-test.inc (MAX_EXP): Define.
40234         (ULPDIFF): Define.
40235         (ulp): New function.
40236         (check_float_internal): Use ULPDIFF.
40237         (cpow_test): Disable failing test.
40238         (check_ulp): Test ulp() implemetnation.
40239         (main): Call check_ulp before starting tests.
40241 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40243         * math/gen-libm-test.pl (generate_testfile): Do not handle
40244         START_DATA and END_DATA.
40245         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
40246         END_DATA.
40247         (acos_tonearest_test_data): Likewise.
40248         (acos_towardzero_test_data): Likewise.
40249         (acos_downward_test_data): Likewise.
40250         (acos_upward_test_data): Likewise.
40251         (acosh_test_data): Likewise.
40252         (asin_test_data): Likewise.
40253         (asin_tonearest_test_data): Likewise.
40254         (asin_towardzero_test_data): Likewise.
40255         (asin_downward_test_data): Likewise.
40256         (asin_upward_test_data): Likewise.
40257         (asinh_test_data): Likewise.
40258         (atan_test_data): Likewise.
40259         (atanh_test_data): Likewise.
40260         (atan2_test_data): Likewise.
40261         (cabs_test_data): Likewise.
40262         (cacos_test_data): Likewise.
40263         (cacosh_test_data): Likewise.
40264         (carg_test_data): Likewise.
40265         (casin_test_data): Likewise.
40266         (casinh_test_data): Likewise.
40267         (catan_test_data): Likewise.
40268         (catanh_test_data): Likewise.
40269         (cbrt_test_data): Likewise.
40270         (ccos_test_data): Likewise.
40271         (ccosh_test_data): Likewise.
40272         (ceil_test_data): Likewise.
40273         (cexp_test_data): Likewise.
40274         (cimag_test_data): Likewise.
40275         (clog_test_data): Likewise.
40276         (clog10_test_data): Likewise.
40277         (conj_test_data): Likewise.
40278         (copysign_test_data): Likewise.
40279         (cos_test_data): Likewise.
40280         (cos_tonearest_test_data): Likewise.
40281         (cos_towardzero_test_data): Likewise.
40282         (cos_downward_test_data): Likewise.
40283         (cos_upward_test_data): Likewise.
40284         (cosh_test_data): Likewise.
40285         (cosh_tonearest_test_data): Likewise.
40286         (cosh_towardzero_test_data): Likewise.
40287         (cosh_downward_test_data): Likewise.
40288         (cosh_upward_test_data): Likewise.
40289         (cpow_test_data): Likewise.
40290         (cproj_test_data): Likewise.
40291         (creal_test_data): Likewise.
40292         (csin_test_data): Likewise.
40293         (csinh_test_data): Likewise.
40294         (csqrt_test_data): Likewise.
40295         (ctan_test_data): Likewise.
40296         (ctan_tonearest_test_data): Likewise.
40297         (ctan_towardzero_test_data): Likewise.
40298         (ctan_downward_test_data): Likewise.
40299         (ctan_upward_test_data): Likewise.
40300         (ctanh_test_data): Likewise.
40301         (ctanh_tonearest_test_data): Likewise.
40302         (ctanh_towardzero_test_data): Likewise.
40303         (ctanh_downward_test_data): Likewise.
40304         (ctanh_upward_test_data): Likewise.
40305         (erf_test_data): Likewise.
40306         (erfc_test_data): Likewise.
40307         (exp_test_data): Likewise.
40308         (exp_tonearest_test_data): Likewise.
40309         (exp_towardzero_test_data): Likewise.
40310         (exp_downward_test_data): Likewise.
40311         (exp_upward_test_data): Likewise.
40312         (exp10_test_data): Likewise.
40313         (exp2_test_data): Likewise.
40314         (expm1_test_data): Likewise.
40315         (fabs_test_data): Likewise.
40316         (fdim_test_data): Likewise.
40317         (finite_test_data): Likewise.
40318         (floor_test_data): Likewise.
40319         (fma_test_data): Likewise.
40320         (fma_towardzero_test_data): Likewise.
40321         (fma_downward_test_data): Likewise.
40322         (fma_upward_test_data): Likewise.
40323         (fmax_test_data): Likewise.
40324         (fmin_test_data): Likewise.
40325         (fmod_test_data): Likewise.
40326         (fpclassify_test_data): Likewise.
40327         (frexp_test_data): Likewise.
40328         (gamma_test_data): Likewise.
40329         (hypot_test_data): Likewise.
40330         (ilogb_test_data): Likewise.
40331         (isfinite_test_data): Likewise.
40332         (isgreater_test_data): Likewise.
40333         (isgreaterequal_test_data): Likewise.
40334         (isinf_test_data): Likewise.
40335         (isless_test_data): Likewise.
40336         (islessequal_test_data): Likewise.
40337         (islessgreater_test_data): Likewise.
40338         (isnan_test_data): Likewise.
40339         (isnormal_test_data): Likewise.
40340         (issignaling_test_data): Likewise.
40341         (isunordered_test_data): Likewise.
40342         (j0_test_data): Likewise.
40343         (j1_test_data): Likewise.
40344         (jn_test_data): Likewise.
40345         (ldexp_test_data): Likewise.
40346         (lgamma_test_data): Likewise.
40347         (lrint_test_data): Likewise.
40348         (lrint_tonearest_test_data): Likewise.
40349         (lrint_towardzero_test_data): Likewise.
40350         (lrint_downward_test_data): Likewise.
40351         (lrint_upward_test_data): Likewise.
40352         (llrint_test_data): Likewise.
40353         (llrint_tonearest_test_data): Likewise.
40354         (llrint_towardzero_test_data): Likewise.
40355         (llrint_downward_test_data): Likewise.
40356         (llrint_upward_test_data): Likewise.
40357         (log_test_data): Likewise.
40358         (log10_test_data): Likewise.
40359         (log1p_test_data): Likewise.
40360         (log2_test_data): Likewise.
40361         (logb_test_data): Likewise.
40362         (logb_downward_test_data): Likewise.
40363         (lround_test_data): Likewise.
40364         (llround_test_data): Likewise.
40365         (modf_test_data): Likewise.
40366         (nearbyint_test_data): Likewise.
40367         (nextafter_test_data): Likewise.
40368         (nexttoward_test_data): Likewise.
40369         (pow_test_data): Likewise.
40370         (pow_tonearest_test_data): Likewise.
40371         (pow_towardzero_test_data): Likewise.
40372         (pow_downward_test_data): Likewise.
40373         (pow_upward_test_data): Likewise.
40374         (remainder_test_data): Likewise.
40375         (remainder_tonearest_test_data): Likewise.
40376         (remainder_towardzero_test_data): Likewise.
40377         (remainder_downward_test_data): Likewise.
40378         (remainder_upward_test_data): Likewise.
40379         (remquo_test_data): Likewise.
40380         (rint_test_data): Likewise.
40381         (rint_tonearest_test_data): Likewise.
40382         (rint_towardzero_test_data): Likewise.
40383         (rint_downward_test_data): Likewise.
40384         (rint_upward_test_data): Likewise.
40385         (round_test_data): Likewise.
40386         (scalb_test_data): Likewise.
40387         (scalbn_test_data): Likewise.
40388         (scalbln_test_data): Likewise.
40389         (signbit_test_data): Likewise.
40390         (sin_test_data): Likewise.
40391         (sin_tonearest_test_data): Likewise.
40392         (sin_towardzero_test_data): Likewise.
40393         (sin_downward_test_data): Likewise.
40394         (sin_upward_test_data): Likewise.
40395         (sincos_test_data): Likewise.
40396         (sinh_test_data): Likewise.
40397         (sinh_tonearest_test_data): Likewise.
40398         (sinh_towardzero_test_data): Likewise.
40399         (sinh_downward_test_data): Likewise.
40400         (sinh_upward_test_data): Likewise.
40401         (sqrt_test_data): Likewise.
40402         (tan_test_data): Likewise.
40403         (tan_tonearest_test_data): Likewise.
40404         (tan_towardzero_test_data): Likewise.
40405         (tan_downward_test_data): Likewise.
40406         (tan_upward_test_data): Likewise.
40407         (tanh_test_data): Likewise.
40408         (tgamma_test_data): Likewise.
40409         (trunc_test_data): Likewise.
40410         (y0_test_data): Likewise.
40411         (y1_test_data): Likewise.
40412         (yn_test_data): Likewise.
40413         (significand_test_data): Likewise.
40415         * math/gen-libm-test.pl (@functions): Remove variable.
40416         (generate_testfile): Don't handle START and END lines.
40417         * math/libm-test.inc (START): New macro.
40418         (END): Likewise.
40419         (END_COMPLEX): Likewise.
40420         (acos_test): Use END macro without arguments.
40421         (acos_test_tonearest): Likewise.
40422         (acos_test_towardzero): Likewise.
40423         (acos_test_downward): Likewise.
40424         (acos_test_upward): Likewise.
40425         (acosh_test): Likewise.
40426         (asin_test): Likewise.
40427         (asin_test_tonearest): Likewise.
40428         (asin_test_towardzero): Likewise.
40429         (asin_test_downward): Likewise.
40430         (asin_test_upward): Likewise.
40431         (asinh_test): Likewise.
40432         (atan_test): Likewise.
40433         (atanh_test): Likewise.
40434         (atan2_test): Likewise.
40435         (cabs_test): Likewise.
40436         (cacos_test): Use END_COMPLEX macro without arguments.
40437         (cacosh_test): Likewise.
40438         (carg_test): Use END macro without arguments.
40439         (casin_test): Use END_COMPLEX macro without arguments.
40440         (casinh_test): Likewise.
40441         (catan_test): Likewise.
40442         (catanh_test): Likewise.
40443         (cbrt_test): Use END macro without arguments.
40444         (ccos_test): Use END_COMPLEX macro without arguments.
40445         (ccosh_test): Likewise.
40446         (ceil_test): Use END macro without arguments.
40447         (cexp_test): Use END_COMPLEX macro without arguments.
40448         (cimag_test): Use END macro without arguments.
40449         (clog_test): Use END_COMPLEX macro without arguments.
40450         (clog10_test): Likewise.
40451         (conj_test): Likewise.
40452         (copysign_test): Use END macro without arguments.
40453         (cos_test): Likewise.
40454         (cos_test_tonearest): Likewise.
40455         (cos_test_towardzero): Likewise.
40456         (cos_test_downward): Likewise.
40457         (cos_test_upward): Likewise.
40458         (cosh_test): Likewise.
40459         (cosh_test_tonearest): Likewise.
40460         (cosh_test_towardzero): Likewise.
40461         (cosh_test_downward): Likewise.
40462         (cosh_test_upward): Likewise.
40463         (cpow_test): Use END_COMPLEX macro without arguments.
40464         (cproj_test): Likewise.
40465         (creal_test): Use END macro without arguments.
40466         (csin_test): Use END_COMPLEX macro without arguments.
40467         (csinh_test): Likewise.
40468         (csqrt_test): Likewise.
40469         (ctan_test): Likewise.
40470         (ctan_test_tonearest): Likewise.
40471         (ctan_test_towardzero): Likewise.
40472         (ctan_test_downward): Likewise.
40473         (ctan_test_upward): Likewise.
40474         (ctanh_test): Likewise.
40475         (ctanh_test_tonearest): Likewise.
40476         (ctanh_test_towardzero): Likewise.
40477         (ctanh_test_downward): Likewise.
40478         (ctanh_test_upward): Likewise.
40479         (erf_test): Use END macro without arguments.
40480         (erfc_test): Likewise.
40481         (exp_test): Likewise.
40482         (exp_test_tonearest): Likewise.
40483         (exp_test_towardzero): Likewise.
40484         (exp_test_downward): Likewise.
40485         (exp_test_upward): Likewise.
40486         (exp10_test): Likewise.
40487         (exp2_test): Likewise.
40488         (expm1_test): Likewise.
40489         (fabs_test): Likewise.
40490         (fdim_test): Likewise.
40491         (finite_test): Likewise.
40492         (floor_test): Likewise.
40493         (fma_test): Likewise.
40494         (fma_test_towardzero): Likewise.
40495         (fma_test_downward): Likewise.
40496         (fma_test_upward): Likewise.
40497         (fmax_test): Likewise.
40498         (fmin_test): Likewise.
40499         (fmod_test): Likewise.
40500         (fpclassify_test): Likewise.
40501         (frexp_test): Likewise.
40502         (gamma_test): Likewise.
40503         (hypot_test): Likewise.
40504         (ilogb_test): Likewise.
40505         (isfinite_test): Likewise.
40506         (isgreater_test): Likewise.
40507         (isgreaterequal_test): Likewise.
40508         (isinf_test): Likewise.
40509         (isless_test): Likewise.
40510         (islessequal_test): Likewise.
40511         (islessgreater_test): Likewise.
40512         (isnan_test): Likewise.
40513         (isnormal_test): Likewise.
40514         (issignaling_test): Likewise.
40515         (isunordered_test): Likewise.
40516         (j0_test): Likewise.
40517         (j1_test): Likewise.
40518         (jn_test): Likewise.
40519         (ldexp_test): Likewise.
40520         (lgamma_test): Likewise.
40521         (lrint_test): Likewise.
40522         (lrint_test_tonearest): Likewise.
40523         (lrint_test_towardzero): Likewise.
40524         (lrint_test_downward): Likewise.
40525         (lrint_test_upward): Likewise.
40526         (llrint_test): Likewise.
40527         (llrint_test_tonearest): Likewise.
40528         (llrint_test_towardzero): Likewise.
40529         (llrint_test_downward): Likewise.
40530         (llrint_test_upward): Likewise.
40531         (log_test): Likewise.
40532         (log10_test): Likewise.
40533         (log1p_test): Likewise.
40534         (log2_test): Likewise.
40535         (logb_test): Likewise.
40536         (logb_test_downward): Likewise.
40537         (lround_test): Likewise.
40538         (llround_test): Likewise.
40539         (modf_test): Likewise.
40540         (nearbyint_test): Likewise.
40541         (nextafter_test): Likewise.
40542         (nexttoward_test): Likewise.
40543         (pow_test): Likewise.
40544         (pow_test_tonearest): Likewise.
40545         (pow_test_towardzero): Likewise.
40546         (pow_test_downward): Likewise.
40547         (pow_test_upward): Likewise.
40548         (remainder_test): Likewise.
40549         (remainder_test_tonearest): Likewise.
40550         (remainder_test_towardzero): Likewise.
40551         (remainder_test_downward): Likewise.
40552         (remainder_test_upward): Likewise.
40553         (remquo_test): Likewise.
40554         (rint_test): Likewise.
40555         (rint_test_tonearest): Likewise.
40556         (rint_test_towardzero): Likewise.
40557         (rint_test_downward): Likewise.
40558         (rint_test_upward): Likewise.
40559         (round_test): Likewise.
40560         (scalb_test): Likewise.
40561         (scalbn_test): Likewise.
40562         (scalbln_test): Likewise.
40563         (signbit_test): Likewise.
40564         (sin_test): Likewise.
40565         (sin_test_tonearest): Likewise.
40566         (sin_test_towardzero): Likewise.
40567         (sin_test_downward): Likewise.
40568         (sin_test_upward): Likewise.
40569         (sincos_test): Likewise.
40570         (sinh_test): Likewise.
40571         (sinh_test_tonearest): Likewise.
40572         (sinh_test_towardzero): Likewise.
40573         (sinh_test_downward): Likewise.
40574         (sinh_test_upward): Likewise.
40575         (sqrt_test): Likewise.
40576         (tan_test): Likewise.
40577         (tan_test_tonearest): Likewise.
40578         (tan_test_towardzero): Likewise.
40579         (tan_test_downward): Likewise.
40580         (tan_test_upward): Likewise.
40581         (tanh_test): Likewise.
40582         (tgamma_test): Likewise.
40583         (trunc_test): Likewise.
40584         (y0_test): Likewise.
40585         (y1_test): Likewise.
40586         (yn_test): Likewise.
40587         (significand_test): Likewise.
40589 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
40591         [BZ #15381]
40592         * libio/genops.c (_IO_no_init): Initialize wide struct info.
40594 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
40596         [BZ #14894]
40597         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
40598         __ppc_mdoio and __ppc_mdoom.
40599         * manual/platform.texi: Document new functions __ppc_yield,
40600         __ppc_mdoio and __ppc_mdoom.
40602 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
40604         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
40605         (main): Mention "tls" pseudo-hwcap is legacy.
40606         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
40608 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
40610         * math/gen-libm-test.pl (parse_args): Output only string of
40611         arguments as text for test name, not full call or descriptions of
40612         tests for extra outputs.
40613         (generate_testfile): Do not pass function name to parse_args.
40614         Generate this_func variable from START.
40615         * math/libm-test.inc (struct test_f_f_data): Rename test_name
40616         field to arg_str.
40617         (struct test_ff_f_data): Likewise.
40618         (test_ff_f_data_nexttoward): Likewise.
40619         (struct test_fi_f_data): Likewise.
40620         (struct test_fl_f_data): Likewise.
40621         (struct test_if_f_data): Likewise.
40622         (struct test_fff_f_data): Likewise.
40623         (struct test_c_f_data): Likewise.
40624         (struct test_f_f1_data): Likewise.  Remove field extra_name.
40625         (struct test_fF_f1_data): Likewise.
40626         (struct test_ffI_f1_data): Likewise.
40627         (struct test_c_c_data): Rename test_name field to arg_str.
40628         (struct test_cc_c_data): Likewise.
40629         (struct test_f_i_data): Likewise.
40630         (struct test_ff_i_data): Likewise.
40631         (struct test_f_l_data): Likewise.
40632         (struct test_f_L_data): Likewise.
40633         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
40634         and extra2_name.
40635         (COMMON_TEST_SETUP): New macro.
40636         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
40637         (COMMON_TEST_CLEANUP): Likewise.
40638         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
40639         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
40640         macros.
40641         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
40642         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
40643         macros.
40644         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
40645         (RUN_TEST_fff_f): Take argument string.  Call new setup and
40646         cleanup macros.
40647         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
40648         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
40649         macros.
40650         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
40651         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
40652         macros.
40653         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
40654         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
40655         cleanup macros.
40656         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
40657         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
40658         cleanup macros.
40659         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
40660         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
40661         cleanup macros.
40662         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
40663         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
40664         macros.
40665         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
40666         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
40667         macros.
40668         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
40669         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
40670         macros.
40671         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
40672         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
40673         cleanup macros.
40674         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
40675         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
40676         cleanup macros.
40677         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
40678         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
40679         macros.
40680         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
40681         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
40682         cleanup macros.
40683         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
40684         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
40685         macros.
40686         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
40687         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
40688         macros.
40689         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
40690         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
40691         cleanup macros.
40692         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
40694 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
40696         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
40697         to _sifields.sigfault.
40698         (si_addr_lsb): Define new macro.
40699         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
40700         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40701         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
40703 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
40705         [BZ #15441]
40706         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
40707         returns -1.
40708         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
40709         null return -1.
40710         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
40711         loading the domain.
40713 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
40715         * math/gen-libm-test.pl (parse_args): Do not include expected
40716         result in test name.
40717         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
40718         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40719         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40720         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40721         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40724 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40726         * benchtests/Makefile: Sort function entries.
40728         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
40729         tanh, asinh, acosh, atanh.
40730         * benchtests/acos-inputs: New file.
40731         * benchtests/acosh-inputs: New file.
40732         * benchtests/asin-inputs: New file.
40733         * benchtests/asinh-inputs: New file.
40734         * benchtests/atanh-inputs: New file.
40735         * benchtests/cosh-inputs: New file.
40736         * benchtests/log-inputs: New file.
40737         * benchtests/sinh-inputs: New file.
40738         * benchtests/tanh-inputs: New file.
40740 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
40742         [BZ #15339]
40743         * posix/tst-getaddrinfo4.c: New test.
40744         * posix/Makefile (tests): Add it.
40746 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40748         [BZ #15339]
40749         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
40750         when no services were used.
40751         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
40752         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
40754 2013-05-21  Andreas Schwab  <schwab@suse.de>
40756         [BZ #15014]
40757         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
40758         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
40759         successful.
40760         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
40761         redundant variable declarations and reallocation of buffer when
40762         parsing as IPv6 address.  Always set NSS status when called from
40763         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
40764         buffer too small.  Correct computation of needed size.
40765         * nss/Makefile (tests): Add test-digits-dots.
40766         * nss/test-digits-dots.c: New test.
40768 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40770         * benchtests/Makefile: Remove instructions for adding
40771         benchmark tests.
40772         * benchtests/README: New file to explain how to execute and
40773         enhance the benchmark tests.
40775 2013-05-21  Andreas Schwab  <schwab@suse.de>
40777         [BZ #15493]
40778         * setjmp/Makefile (tests): Add tst-sigsetjmp.
40779         * setjmp/tst-sigsetjmp.c: New test.
40781 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
40783         * sysdeps/x86_64/memset.S (memset): New implementation.
40784         (__bzero): Likewise.
40785         (__memset_tail): New function.
40787 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
40789         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
40790         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
40791         __memcpy_sse2_unaligned ifunc selection.
40792         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40793         Add memcpy-sse2-unaligned.S.
40794         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40795         Add: __memcpy_sse2_unaligned.
40797 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
40799         [BZ #15490]
40800         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40801         math_force_eval before restoring floating-point envrionment.
40802         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
40803         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
40804         Likewise.
40805         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
40806         <math_private.h>.
40807         (__nearbyintl): Use math_force_eval before restoring
40808         floating-point environment.
40809         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
40811         * math/gen-libm-test.pl (special_functions): Remove.
40812         (parse_args): Don't handle TEST_extra.  Handle functions with no
40813         return value.
40814         * math/libm-test.inc (struct test_sincos_data): Replace with
40815         struct test_fFF_11_data.
40816         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
40817         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
40818         (sincos_test_data): Change element type to struct
40819         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
40820         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
40821         RUN_TEST_LOOP_sincos.
40822         * math/README.libm-test: Don't mention special handling of
40823         individual functions.
40824         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
40825         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40826         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40827         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40828         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40831         * math/gen-libm-test.pl (get_variable): Remove function.
40832         (parse_args): Don't show pointer parameters to call in test
40833         names.  Use "extra output N" in test names for extra outputs
40834         rather than naming variables.
40836 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
40838         [BZ #15488]
40839         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
40840         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
40841         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
40842         double tests.
40843         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
40844         disable.
40845         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
40846         check_long_double.
40848         * math/gen-libm-test.pl (@tests): Remove variable.
40849         ($count): Likewise.
40850         (new_test): Remove function.
40851         (show_exceptions): New function.
40852         (special_functions): Use show_exceptions instead of new_test.
40853         (parse_args): Likewise.
40854         (generate_testfile): Pass only function name in generated call to
40855         print_max_error or print_complex_max_error.
40856         (get_ulps): Do not handle complex tests specially.
40857         (output_test): Rename to ...
40858         (get_all_ulps_for_test): ... this.  Return a string rather than
40859         printing to a file.  Require ulps to be present.
40860         (output_ulps): Generate arrays rather than #defines.
40861         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
40862         (struct ulp_data): New type.
40863         (BUILD_COMPLEX_ULP): Remove macro.
40864         (compare_ulp_data): New function.
40865         (find_ulps): Likewise.
40866         (find_test_ulps): Likewise.
40867         (find_function_ulps): Likewise.
40868         (find_complex_function_ulps): Likewise.
40869         (print_max_error): Determine allowed ulps using
40870         find_function_ulps.
40871         (print_complex_max_error): Determine allowed ulps using
40872         find_complex_function_ulps.
40873         (check_float_internal): Determine max ulps using find_test_ulps.
40874         (check_float): Do not take max_ulp parameter.  Update call to
40875         check_float_internal.
40876         (check_complex): Likewise.
40877         (check_int): Do not take max_ulp parameter.
40878         (check_long): Likewise.
40879         (check_bool): Likewise.
40880         (check_longlong): Likewise.
40881         (struct test_f_f_data): Remove max_ulp field.
40882         (struct test_ff_f_data): Likewise.
40883         (struct test_ff_f_data_nexttoward): Likewise.
40884         (struct test_fi_f_data): Likewise.
40885         (struct test_fl_f_data): Likewise.
40886         (struct test_if_f_data): Likewise.
40887         (struct test_fff_f_data): Likewise.
40888         (struct test_c_f_data): Likewise.
40889         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
40890         (struct test_fF_f1_data): Likewise.
40891         (struct test_ffI_f1_data): Likewise.
40892         (struct test_c_c_data): Remove max_ulp field.
40893         (struct test_cc_c_data): Likewise.
40894         (struct test_f_i_data): Likewise.
40895         (struct test_ff_i_data): Likewise.
40896         (struct test_f_l_data): Likewise.
40897         (struct test_f_L_data): Likewise.
40898         (struct test_sincos_data): Likewise.
40899         (RUN_TEST_f_f): Do not handle ulps.
40900         (RUN_TEST_LOOP_f_f): Likewise.
40901         (RUN_TEST_2_f): Likewise.
40902         (RUN_TEST_LOOP_2_f): Likewise.
40903         (RUN_TEST_fff_f): Likewise.
40904         (RUN_TEST_LOOP_fff_f): Likewise.
40905         (RUN_TEST_c_f): Likewise.
40906         (RUN_TEST_LOOP_c_f): Likewise.
40907         (RUN_TEST_f_f1): Likewise.
40908         (RUN_TEST_LOOP_f_f1): Likewise.
40909         (RUN_TEST_fF_f1): Likewise.
40910         (RUN_TEST_LOOP_fF_f1): Likewise.
40911         (RUN_TEST_fI_f1): Likewise.
40912         (RUN_TEST_LOOP_fI_f1): Likewise.
40913         (RUN_TEST_ffI_f1): Likewise.
40914         (RUN_TEST_LOOP_ffI_f1): Likewise.
40915         (RUN_TEST_c_c): Likewise.
40916         (RUN_TEST_LOOP_c_c): Likewise.
40917         (RUN_TEST_cc_c): Likewise.
40918         (RUN_TEST_LOOP_cc_c): Likewise.
40919         (RUN_TEST_f_i): Likewise.
40920         (RUN_TEST_LOOP_f_i): Likewise.
40921         (RUN_TEST_f_i_tg): Likewise.
40922         (RUN_TEST_LOOP_f_i_tg): Likewise.
40923         (RUN_TEST_ff_i_tg): Likewise.
40924         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40925         (RUN_TEST_f_b): Likewise.
40926         (RUN_TEST_LOOP_f_b): Likewise.
40927         (RUN_TEST_f_b_tg): Likewise.
40928         (RUN_TEST_LOOP_f_b_tg): Likewise.
40929         (RUN_TEST_f_l): Likewise.
40930         (RUN_TEST_LOOP_f_l): Likewise.
40931         (RUN_TEST_f_L): Likewise.
40932         (RUN_TEST_LOOP_f_L): Likewise.
40933         (RUN_TEST_sincos): Likewise.
40934         (RUN_TEST_LOOP_sincos): Likewise.
40936 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
40938         [BZ #15480]
40939         [BZ #15485]
40940         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
40941         main case of finite arguments, set rounding mode to FE_TONEAREST
40942         and discard exceptions.
40943         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
40944         exceptions.
40945         (remainder_tonearest_test_data): New variable.
40946         (remainder_test_tonearest): New function.
40947         (remainder_towardzero_test_data): New variable.
40948         (remainder_test_towardzero): New function.
40949         (remainder_downward_test_data): New variable.
40950         (remainder_test_downward): New function.
40951         (remainder_upward_test_data): New variable.
40952         (remainder_test_upward): New function.
40953         (main): Call the new test functions.
40955         * math/libm-test.inc (struct test_f_f1_data): Remove field
40956         extra_init.
40957         (struct test_fF_f1_data): Likewise.
40958         (struct test_ffI_f1_data): Likewise.
40959         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
40960         based on value of EXTRA_EXPECTED.
40961         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
40962         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
40963         EXTRA_VAR based on value of EXTRA_EXPECTED.
40964         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
40965         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
40966         EXTRA_VAR based on value of EXTRA_EXPECTED.
40967         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
40968         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
40969         EXTRA_VAR based on value of EXTRA_EXPECTED.
40970         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
40971         * math/gen-libm-test.pl (parse_args): Don't output initializers
40972         for extra output values.
40974         * math/libm-test.inc (check_int): Expect result to be exactly
40975         equal to expected value and do not handle ulps.
40976         (check_long): Likewise.
40977         (check_longlong): Likewise.
40979         * math/libm-test.inc (ceil_test_data): Test for "inexact"
40980         exceptions.
40981         (cimag_test_data): Likewise.
40982         (conj_test_data): Likewise.
40983         (copysign_test_data): Likewise.
40984         (cproj_test_data): Likewise.
40985         (creal_test_data): Likewise.
40986         (fabs_test_data): Likewise.
40987         (fdim_test_data): Likewise.
40988         (finite_test_data): Likewise.
40989         (floor_test_data): Likewise.
40990         (fmax_test_data): Likewise.
40991         (fmin_test_data): Likewise.
40992         (fmod_test_data): Likewise.
40993         (fpclassify_test_data): Likewise.
40994         (frexp_test_data): Likewise.
40995         (ilogb_test_data): Likewise.
40996         (isfinite_test_data): Likewise.
40997         (isgreater_test_data): Likewise.
40998         (isgreaterequal_test_data): Likewise.
40999         (isinf_test_data): Likewise.
41000         (isless_test_data): Likewise.
41001         (islessequal_test_data): Likewise.
41002         (islessgreater_test_data): Likewise.
41003         (isnan_test_data): Likewise.
41004         (isnormal_test_data): Likewise.
41005         (issignaling_test_data): Likewise.
41006         (isunordered_test_data): Likewise.
41007         (ldexp_test_data): Likewise.
41008         (lrint_test_data): Likewise.
41009         (lrint_test_data) [TEST_FLOAT]: Disable one test.
41010         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
41011         (lrint_tonearest_test_data): Test for "inexact" exceptions.
41012         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
41013         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
41014         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
41015         test input.
41016         (lrint_towardzero_test_data): Test for "inexact" exceptions.
41017         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
41018         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
41019         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
41020         that test input.
41021         (lrint_downward_test_data): Test for "inexact" exceptions.
41022         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
41023         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
41024         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
41025         test input.
41026         (lrint_upward_test_data): Test for "inexact" exceptions.
41027         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
41028         test input.
41029         (llrint_test_data): Test for "inexact" exceptions.
41030         (llrint_test_data) [TEST_FLOAT]: Disable one test.
41031         (llrint_tonearest_test_data): Test for "inexact" exceptions.
41032         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
41033         (llrint_towardzero_test_data): Test for "inexact" exceptions.
41034         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
41035         (llrint_downward_test_data): Test for "inexact" exceptions.
41036         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
41037         (llrint_upward_test_data): Test for "inexact" exceptions.
41038         (logb_test_data): Likewise.
41039         (logb_downward_test_data): Likewise.
41040         (nextafter_test_data): Likewise.
41041         (nexttoward_test_data): Likewise.
41042         (remainder_test_data): Likewise.
41043         (remquo_test_data): Likewise.
41044         (scalbn_test_data): Likewise.
41045         (scalbln_test_data): Likewise.
41046         (signbit_test_data): Likewise.
41047         (sqrt_test_data): Likewise.
41048         (significand_test_data): Likewise.
41050 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41052         [BZ #15424]
41053         * benchtests/bench-modf.c (struct args): Mark arg0 as
41054         volatile.
41055         * scripts/bench.pl: Mark members of struct args as volatile.
41057 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41059         [BZ # 15497]
41060         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
41061         negative infinity on POWER6 or lower.
41062         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
41064 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
41066         [BZ #15442]
41067         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
41068         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
41069         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
41070         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
41071         (_FP_SETQNAN): New macro.
41072         (_FP_SETQNAN_SEMIRAW): Likewise.
41073         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
41074         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
41075         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
41076         (FP_EXTEND): Use _FP_FRAC_SNANP.
41077         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
41078         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
41079         into account.
41080         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
41081         New macro.
41082         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
41083         Likewise.
41085 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41087         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
41088         with DIVIDE_BY_ZERO_EXCEPTION.
41089         (gamma_test_data): Likewise.
41090         (lgamma_test_data): Likewise.
41091         (log_test_data): Likewise.
41092         (log10_test_data): Likewise.
41093         (log2_test_data): Likewise.
41094         (tgamma_test_data): Likewise.
41096         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
41097         (acos_test_tonearest): Likewise.
41098         (acos_test_towardzero): Likewise.
41099         (acos_test_downward): Likewise.
41100         (acos_test_upward): Likewise.
41101         (acosh_test): Likewise.
41102         (asin_test): Likewise.
41103         (asin_test_tonearest): Likewise.
41104         (asin_test_towardzero): Likewise.
41105         (asin_test_downward): Likewise.
41106         (asin_test_upward): Likewise.
41107         (asinh_test): Likewise.
41108         (atan_test): Likewise.
41109         (atanh_test): Likewise.
41110         (atan2_test): Likewise.
41111         (cabs_test): Likewise.
41112         (cacos_test): Likewise.
41113         (cacosh_test): Likewise.
41114         (casin_test): Likewise.
41115         (casinh_test): Likewise.
41116         (catan_test): Likewise.
41117         (catanh_test): Likewise.
41118         (cbrt_test): Likewise.
41119         (ccos_test): Likewise.
41120         (ccosh_test): Likewise.
41121         (cexp_test): Likewise.
41122         (clog_test): Likewise.
41123         (clog10_test): Likewise.
41124         (cos_test): Likewise.
41125         (cos_test_tonearest): Likewise.
41126         (cos_test_towardzero): Likewise.
41127         (cos_test_downward): Likewise.
41128         (cos_test_upward): Likewise.
41129         (cosh_test): Likewise.
41130         (cosh_test_tonearest): Likewise.
41131         (cosh_test_towardzero): Likewise.
41132         (cosh_test_downward): Likewise.
41133         (cosh_test_upward): Likewise.
41134         (cpow_test): Likewise.
41135         (csin_test): Likewise.
41136         (csinh_test): Likewise.
41137         (csqrt_test): Likewise.
41138         (ctan_test): Likewise.
41139         (ctan_test_tonearest): Likewise.
41140         (ctan_test_towardzero): Likewise.
41141         (ctan_test_downward): Likewise.
41142         (ctan_test_upward): Likewise.
41143         (ctanh_test): Likewise.
41144         (ctanh_test_tonearest): Likewise.
41145         (ctanh_test_towardzero): Likewise.
41146         (ctanh_test_downward): Likewise.
41147         (ctanh_test_upward): Likewise.
41148         (erf_test): Likewise.
41149         (erfc_test): Likewise.
41150         (exp_test): Likewise.
41151         (exp_test_tonearest): Likewise.
41152         (exp_test_towardzero): Likewise.
41153         (exp_test_downward): Likewise.
41154         (exp_test_upward): Likewise.
41155         (exp10_test): Likewise.
41156         (exp2_test): Likewise.
41157         (expm1_test): Likewise.
41158         (fmod_test): Likewise.
41159         (gamma_test): Likewise.
41160         (hypot_test): Likewise.
41161         (j0_test): Likewise.
41162         (j1_test): Likewise.
41163         (jn_test): Likewise.
41164         (lgamma_test): Likewise.
41165         (log_test): Likewise.
41166         (log10_test): Likewise.
41167         (log1p_test): Likewise.
41168         (log2_test): Likewise.
41169         (logb_test_downward): Likewise.
41170         (pow_test): Likewise.
41171         (pow_test_tonearest): Likewise.
41172         (pow_test_towardzero): Likewise.
41173         (pow_test_downward): Likewise.
41174         (pow_test_upward): Likewise.
41175         (remainder_test): Likewise.
41176         (remquo_test): Likewise.
41177         (sin_test): Likewise.
41178         (sin_test_tonearest): Likewise.
41179         (sin_test_towardzero): Likewise.
41180         (sin_test_downward): Likewise.
41181         (sin_test_upward): Likewise.
41182         (sincos_test): Likewise.
41183         (sinh_test): Likewise.
41184         (sinh_test_tonearest): Likewise.
41185         (sinh_test_towardzero): Likewise.
41186         (sinh_test_downward): Likewise.
41187         (sinh_test_upward): Likewise.
41188         (sqrt_test): Likewise.
41189         (tan_test): Likewise.
41190         (tan_test_tonearest): Likewise.
41191         (tan_test_towardzero): Likewise.
41192         (tan_test_downward): Likewise.
41193         (tan_test_upward): Likewise.
41194         (tanh_test): Likewise.
41195         (tgamma_test): Likewise.
41196         (y0_test): Likewise.
41197         (y1_test): Likewise.
41198         (yn_test): Likewise.
41200         * math/gen-libm-test.pl (adjust_arg): Remove function.
41201         (special_function): Remove argument $in_func.  Only handle
41202         generating output for tables of tests, not inside functions.
41203         (parse_args): Likewise.
41204         (generate_testfile): Remove variable $in_func.  Update call to
41205         parse_args.
41206         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
41207         (MINUS_ZERO_INIT): Rename macro to minus_zero.
41208         (PLUS_INFTY_INIT): Rename macro to plus_infty.
41209         (MINUS_INFTY_INIT): Rename macro to minus_infty.
41210         (QNAN_VALUE_INIT): Rename macro to qnan_value.
41211         (MAX_VALUE_INIT): Rename macro to max_value.
41212         (MIN_VALUE_INIT): Rename macro to min_value.
41213         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
41214         (plus_zero): Remove variable.
41215         (minus_zero): Likewise.
41216         (plus_infty): Likewise.
41217         (minus_infty): Likewise.
41218         (qnan_value): Likewise.
41219         (max_value): Likewise.
41220         (min_value): Likewise.
41221         (min_subnorm_value): Likewise.
41223 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41225         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
41226         uint64_t or uint32_t usage.
41227         * crypt/sha256-block.c: Likewise.
41228         * crypt/sha256-crypt.c: Likewise.
41229         * crypt/sha256.c: Likewise.
41230         * crypt/sha512-block.c: Likewise.
41231         * crypt/sha512-crypt.c: Likewise.
41232         * crypt/sha512.c: Likewise.
41233         * debug/backtrace-tst.c: Likewise.
41234         * debug/pcprofiledump.c: Likewise.
41235         * elf/cache.c: Likewise.
41236         * elf/dl-cache.c: Likewise.
41237         * elf/dl-misc.c: Likewise.
41238         * elf/dl-profile.c: Likewise.
41239         * elf/dl-support.c: Likewise.
41240         * elf/ldconfig.c: Likewise.
41241         * elf/sprof.c: Likewise.
41242         * iconv/dummy-repertoire.c: Likewise.
41243         * iconv/iconv_charmap.c: Likewise.
41244         * iconv/skeleton.c: Likewise.
41245         * iconvdata/8bit-generic.c: Likewise.
41246         * iconvdata/cp737.h: Likewise.
41247         * iconvdata/cp775.h: Likewise.
41248         * iconvdata/ibm1008.h: Likewise.
41249         * iconvdata/ibm1025.h: Likewise.
41250         * iconvdata/ibm1046.h: Likewise.
41251         * iconvdata/ibm1097.h: Likewise.
41252         * iconvdata/ibm1112.h: Likewise.
41253         * iconvdata/ibm1122.h: Likewise.
41254         * iconvdata/ibm1123.h: Likewise.
41255         * iconvdata/ibm1124.h: Likewise.
41256         * iconvdata/ibm1129.h: Likewise.
41257         * iconvdata/ibm1130.h: Likewise.
41258         * iconvdata/ibm1132.h: Likewise.
41259         * iconvdata/ibm1133.h: Likewise.
41260         * iconvdata/ibm1137.h: Likewise.
41261         * iconvdata/ibm1140.h: Likewise.
41262         * iconvdata/ibm1141.h: Likewise.
41263         * iconvdata/ibm1142.h: Likewise.
41264         * iconvdata/ibm1143.h: Likewise.
41265         * iconvdata/ibm1144.h: Likewise.
41266         * iconvdata/ibm1145.h: Likewise.
41267         * iconvdata/ibm1146.h: Likewise.
41268         * iconvdata/ibm1147.h: Likewise.
41269         * iconvdata/ibm1148.h: Likewise.
41270         * iconvdata/ibm1149.h: Likewise.
41271         * iconvdata/ibm1153.h: Likewise.
41272         * iconvdata/ibm1154.h: Likewise.
41273         * iconvdata/ibm1155.h: Likewise.
41274         * iconvdata/ibm1156.h: Likewise.
41275         * iconvdata/ibm1157.h: Likewise.
41276         * iconvdata/ibm1158.h: Likewise.
41277         * iconvdata/ibm1160.h: Likewise.
41278         * iconvdata/ibm1161.h: Likewise.
41279         * iconvdata/ibm1162.h: Likewise.
41280         * iconvdata/ibm1163.h: Likewise.
41281         * iconvdata/ibm1164.h: Likewise.
41282         * iconvdata/ibm1166.h: Likewise.
41283         * iconvdata/ibm1167.h: Likewise.
41284         * iconvdata/ibm12712.h: Likewise.
41285         * iconvdata/ibm1390.h: Likewise.
41286         * iconvdata/ibm1399.h: Likewise.
41287         * iconvdata/ibm16804.h: Likewise.
41288         * iconvdata/ibm4517.h: Likewise.
41289         * iconvdata/ibm4899.h: Likewise.
41290         * iconvdata/ibm4909.h: Likewise.
41291         * iconvdata/ibm4971.h: Likewise.
41292         * iconvdata/ibm5347.h: Likewise.
41293         * iconvdata/ibm803.h: Likewise.
41294         * iconvdata/ibm856.h: Likewise.
41295         * iconvdata/ibm901.h: Likewise.
41296         * iconvdata/ibm902.h: Likewise.
41297         * iconvdata/ibm9030.h: Likewise.
41298         * iconvdata/ibm9066.h: Likewise.
41299         * iconvdata/ibm921.h: Likewise.
41300         * iconvdata/ibm922.h: Likewise.
41301         * iconvdata/ibm9448.h: Likewise.
41302         * iconvdata/isiri-3342.h: Likewise.
41303         * iconvdata/jis0201.h: Likewise.
41304         * include/link.h: Likewise.
41305         * include/netdb.h: Likewise.
41306         * inet/check_native.c: Likewise.
41307         * inet/check_pf.c: Likewise.
41308         * inet/getipv4sourcefilter.c: Likewise.
41309         * inet/getnameinfo.c: Likewise.
41310         * inet/getsourcefilter.c: Likewise.
41311         * inet/htonl.c: Likewise.
41312         * inet/setipv4sourcefilter.c: Likewise.
41313         * inet/setsourcefilter.c: Likewise.
41314         * inet/test-inet6_opt.c: Likewise.
41315         * inet/tst-network.c: Likewise.
41316         * locale/C-collate.c: Likewise.
41317         * locale/C-ctype.c: Likewise.
41318         * locale/C-time.c: Likewise.
41319         * locale/C-translit.h: Likewise.
41320         * locale/loadarchive.c: Likewise.
41321         * locale/programs/3level.h: Likewise.
41322         * locale/programs/charmap.c: Likewise.
41323         * locale/programs/charmap.h: Likewise.
41324         * locale/programs/ld-address.c: Likewise.
41325         * locale/programs/ld-collate.c: Likewise.
41326         * locale/programs/ld-ctype.c: Likewise.
41327         * locale/programs/ld-identification.c: Likewise.
41328         * locale/programs/ld-measurement.c: Likewise.
41329         * locale/programs/ld-messages.c: Likewise.
41330         * locale/programs/ld-monetary.c: Likewise.
41331         * locale/programs/ld-name.c: Likewise.
41332         * locale/programs/ld-numeric.c: Likewise.
41333         * locale/programs/ld-paper.c: Likewise.
41334         * locale/programs/ld-telephone.c: Likewise.
41335         * locale/programs/ld-time.c: Likewise.
41336         * locale/programs/linereader.c: Likewise.
41337         * locale/programs/locale.c: Likewise.
41338         * locale/programs/locarchive.c: Likewise.
41339         * locale/programs/locfile.h: Likewise.
41340         * locale/programs/repertoire.c: Likewise.
41341         * locale/programs/simple-hash.c: Likewise.
41342         * locale/programs/simple-hash.h: Likewise.
41343         * malloc/memusage.c: Likewise.
41344         * malloc/memusagestat.c: Likewise.
41345         * nis/nis_defaults.c: Likewise.
41346         * nis/nis_hash.c: Likewise.
41347         * nis/nis_print.c: Likewise.
41348         * nis/nis_xdr.c: Likewise.
41349         * nscd/connections.c: Likewise.
41350         * nscd/hstcache.c: Likewise.
41351         * nscd/nscd_gethst_r.c: Likewise.
41352         * nscd/nscd_getserv_r.c: Likewise.
41353         * nscd/nscd_helper.c: Likewise.
41354         * nscd/servicescache.c: Likewise.
41355         * nss/makedb.c: Likewise.
41356         * nss/nss_db/db-XXX.c: Likewise.
41357         * nss/nss_db/db-initgroups.c: Likewise.
41358         * nss/nss_db/db-netgrp.c: Likewise.
41359         * nss/nss_files/files-network.c: Likewise.
41360         * nss/nss_files/files-parse.c: Likewise.
41361         * posix/bug-regex5.c: Likewise.
41362         * posix/fnmatch_loop.c: Likewise.
41363         * posix/regcomp.c: Likewise.
41364         * posix/regexec.c: Likewise.
41365         * posix/tst-rfc3484-2.c: Likewise.
41366         * posix/tst-rfc3484-3.c: Likewise.
41367         * posix/tst-rfc3484.c: Likewise.
41368         * resolv/nss_dns/dns-canon.c: Likewise.
41369         * resolv/nss_dns/dns-network.c: Likewise.
41370         * resolv/res_init.c: Likewise.
41371         * resolv/res_mkquery.c: Likewise.
41372         * resolv/tst-aton.c: Likewise.
41373         * stdlib/cxa_atexit.c: Likewise.
41374         * stdlib/cxa_finalize.c: Likewise.
41375         * stdlib/gen-fpioconst.c: Likewise.
41376         * stdlib/strtol_l.c: Likewise.
41377         * string/tst-endian.c: Likewise.
41378         * sunrpc/auth_des.c: Likewise.
41379         * sunrpc/clnt_udp.c: Likewise.
41380         * sunrpc/rtime.c: Likewise.
41381         * sunrpc/svcauth_des.c: Likewise.
41382         * sunrpc/xdr.c: Likewise.
41383         * sunrpc/xdr_intXX_t.c: Likewise.
41384         * sunrpc/xdr_rec.c: Likewise.
41385         * sysdeps/generic/ldconfig.h: Likewise.
41386         * sysdeps/generic/ldsodefs.h: Likewise.
41387         * sysdeps/generic/memusage.h: Likewise.
41388         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41389         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
41390         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
41391         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41392         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41393         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41394         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41395         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41396         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41397         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41398         * sysdeps/posix/getaddrinfo.c: Likewise.
41399         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41400         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41401         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41402         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41403         * sysdeps/powerpc/test-gettimebase.c: Likewise.
41404         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41405         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
41406         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
41407         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
41408         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
41409         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41410         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41411         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
41412         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
41413         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
41414         * sysdeps/x86_64/dl-tls.h: Likewise.
41415         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
41416         * time/alt_digit.c: Likewise.
41417         * time/era.c: Likewise.
41418         * wcsmbs/tst-c16c32-1.c: Likewise.
41420 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41422         * math/libm-test.inc (struct test_sincos_data): New type.
41423         (RUN_TEST_LOOP_sincos): New macro.
41424         (sincos_test_data): New variable.
41425         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
41427 2013-05-16  Richard Henderson  <rth@redhat.com>
41429         * math/atest-exp2.c (LIMB64): New macro.
41430         (CONSTSZ): New macro.
41431         (mp_exp1, mp_exp_m1, mp_log2): New variables.
41432         (hexdig): Move ...
41433         (print_mpn_fp): ... to function scope.
41434         (read_mpn_hex): Remove.
41435         (get_log2): Remove.
41436         (exp2_mpn): Use mp_log2.
41437         (main): Use mp_exp1.
41439 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41441         * math/libm-test.inc: Remove comment about not testing "inexact"
41442         exceptions.
41443         (INEXACT_EXCEPTION): New macro.
41444         (NO_INEXACT_EXCEPTION): Likewise.
41445         (INVALID_EXCEPTION_OK): Update value.
41446         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41447         (OVERFLOW_EXCEPTION_OK): Likewise.
41448         (UNDERFLOW_EXCEPTION_OK): Likewise.
41449         (IGNORE_ZERO_INF_SIGN): Likewise.
41450         (ERRNO_UNCHANGED): Likewise.
41451         (ERRNO_EDOM): Likewise.
41452         (ERRNO_ERANGE): Likewise.
41453         (test_exceptions): Handle testing "inexact" exceptions.
41454         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
41455         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
41456         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
41457         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
41458         INEXACT_EXCEPTION.
41459         (rint_towardzero_test_data): Likewise.
41460         (rint_downward_test_data): Likewise.
41461         (rint_upward_test_data): Likewise.
41463         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
41464         with OVERFLOW_EXCEPTION.
41465         (exp10_test_data): Likewise.
41466         (exp2_test_data): Likewise.
41467         (expm1_test_data): Likewise.
41468         (lgamma_test_data): Likewise.
41469         (pow_test_data): Likewise.
41470         (tgamma_test_data): Likewise.
41471         (yn_test_data): Remove duplicate test of overflow.
41473         * math/libm-test.inc (struct test_cc_c_data): New type.
41474         (RUN_TEST_LOOP_cc_c): New macro.
41475         (cpow_test_data): New variable.
41476         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
41478         * math/libm-test.inc (struct test_f_L_data): New type.
41479         (RUN_TEST_LOOP_f_L): New macro.
41480         (llrint_test_data): New variable.
41481         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
41482         (llrint_tonearest_test_data): New variable.
41483         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
41484         (llrint_towardzero_test_data): New variable.
41485         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
41486         (llrint_downward_test_data): New variable.
41487         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
41488         (llrint_upward_test_data): New variable.
41489         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
41490         (llround_test_data): New variable.
41491         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
41493 2013-05-13  Peter Collingbourne  <pcc@google.com>
41495         * math/atest-exp2.c (get_log2): Remove const attribute.
41497 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
41499         * math/libm-test.inc (struct test_f_l_data): New type.
41500         (RUN_TEST_LOOP_f_l): New macro.
41501         (lrint_test_data): New variable.
41502         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
41503         (lrint_tonearest_test_data): New variable.
41504         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
41505         (lrint_towardzero_test_data): New variable.
41506         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
41507         (lrint_downward_test_data): New variable.
41508         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
41509         (lrint_upward_test_data): New variable.
41510         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
41511         (lround_test_data): New variable.
41512         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
41514 2013-05-15  Peter Collingbourne  <pcc@google.com>
41516         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
41517         (EXTRACT_WORDS64) Use where appropriate.
41518         (INSERT_WORDS64) Likewise.
41520         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
41521         constraints with x constraints.
41522         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
41524         * malloc/obstack.c (_obstack_compat): Add initializer.
41526 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
41528         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
41529         si_trapno and add si_addr_lsb to _sifields.sigfault.
41530         (si_trapno): Remove macro.
41531         (si_addr_lsb): Define new macro.
41532         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
41534 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
41536         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
41537         instead of TEST_f_l.
41538         (llrint_test_tonearest): Likewise.
41539         (llrint_test_towardzero): Likewise.
41540         (llrint_test_downward): Likewise.
41541         (llrint_test_upward): Likewise.
41542         (llround_test): Likewise.
41544         * math/libm-test.inc (struct test_f_i_data): Add comment.
41545         (RUN_TEST_LOOP_f_b): New macro.
41546         (RUN_TEST_LOOP_f_b_tg): Likewise.
41547         (finite_test_data): New variable.
41548         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
41549         (isfinite_test_data): New variable.
41550         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41551         (isinf_test_data): New variable.
41552         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41553         (isnan_test_data): New variable.
41554         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41555         (isnormal_test_data): New variable.
41556         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41557         (issignaling_test_data): New variable.
41558         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41559         (signbit_test_data): New variable.
41560         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41562         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
41563         with INVALID_EXCEPTION.
41564         (acosh_test_data): Likewise.
41565         (asin_test_data): Likewise.
41566         (atanh_test_data): Likewise.
41567         (fmod_test_data): Likewise.
41568         (log_test_data): Likewise.
41569         (log10_test_data): Likewise.
41570         (log2_test_data): Likewise.
41571         (pow_test_data): Likewise.
41572         (sqrt_test_data): Likewise.
41573         (y0_test_data): Likewise.
41574         (y1_test_data): Likewise.
41575         (yn_test_data): Likewise.
41577         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
41578         function contents.
41580         * math/libm-test.inc (struct test_ff_i_data): New type.
41581         (RUN_TEST_LOOP_ff_i_tg): New macro.
41582         (isgreater_test_data): New variable.
41583         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41584         (isgreaterequal_test_data): New variable.
41585         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41586         (isless_test_data): New variable.
41587         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41588         (islessequal_test_data): New variable.
41589         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41590         (islessgreater_test_data): New variable.
41591         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41592         (isunordered_test_data): New variable.
41593         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41595 2013-05-14  David S. Miller  <davem@davemloft.net>
41597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41599 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
41601         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
41603         * math/libm-test.inc (struct test_fF_f1_data): Change type of
41604         extra_test to int.
41605         (struct test_f_i_data): Change type of max_ulp to int.
41607         * math/libm-test.inc (test_ffI_f1_data): New type.
41608         (RUN_TEST_LOOP_ffI_f1): New macro.
41609         (remquo_test_data): New variable.
41610         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
41612         * setjmp/tst-setjmp-fp.c: New file.
41613         * setjmp/Makefile (tests): Add tst-setjmp-fp.
41614         (link-libm): New variable.
41615         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
41617         * math/libm-test.inc (struct test_f_i_data): New type.
41618         (RUN_TEST_LOOP_f_i): New macro.
41619         (RUN_TEST_LOOP_f_i_tg): Likewise.
41620         (fpclassify_test_data): New variable.
41621         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
41622         (ilogb_test_data): New variable.
41623         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
41625         * math/libm-test.inc (scalbln_test): Correct function name in END
41626         call.
41628         * math/libm-test.inc (struct test_f_f1_data): Add comment.
41629         (RUN_TEST_LOOP_fI_f1): New macro.
41630         (frexp_test_data): New variable.
41631         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
41633         * math/libm-test.inc (struct test_fF_f1_data): New type.
41634         (RUN_TEST_LOOP_fF_f1): New macro.
41635         (modf_test_data): New variable.
41636         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
41638         * math/libm-test.inc (struct test_f_f1_data): New type.
41639         (RUN_TEST_LOOP_f_f1): New macro.
41640         (gamma_test_data): New variable.
41641         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
41642         (lgamma_test_data): New variable.
41643         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
41645 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
41647         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
41648         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
41649         (main): Comment "tls" pseudo-hwcap.
41651 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
41653         * math/libm-test.inc (struct test_fl_f_data): New type.
41654         (RUN_TEST_LOOP_fl_f): New variable.
41655         (scalbln_test_data): New variable.
41656         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
41658         * math/libm-test.inc (struct test_fi_f_data): New type.
41659         (RUN_TEST_LOOP_fi_f): New macro.
41660         (ldexp_test_data): New variable.
41661         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
41662         (scalbn_test_data): New variable.
41663         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
41665         * math/libm-test.inc (struct test_c_f_data): New type.
41666         (RUN_TEST_LOOP_c_f): New macro.
41667         (cabs_test_data): New variable.
41668         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
41669         (carg_test_data): New variable.
41670         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
41671         (cimag_test_data): New variable.
41672         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
41673         (creal_test_data): New variable.
41674         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
41676         * math/libm-test.inc (struct test_if_f_data): New type.
41677         (RUN_TEST_LOOP_if_f): New macro.
41678         (jn_test_data): New variable.
41679         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
41680         (yn_test_data): New variable.
41681         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
41683         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
41685 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41687         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
41688         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
41690 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41692         * benchtests/Makefile (CPPFLAGS-nonlib): Add
41693         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
41694         (bench-deps): Add bench-timing.h.
41695         * benchtests-bench-skeleton.c: Include bench-timing.h.
41696         (main): Use TIMING_* macros instead of clock_gettime.
41697         * benchtests/bench-timing.h: New file.
41699         [BZ #14582]
41700         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
41701         Renamed from _LIB_VERSION.
41702         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
41704 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
41706         * math/libm-test.inc (struct test_fff_f_data): New type.
41707         (RUN_TEST_LOOP_fff_f): New macro.
41708         (fma_test_data): New variable.
41709         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
41710         (fma_towardzero_test_data): New variable.
41711         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
41712         (fma_downward_test_data): New variable.
41713         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
41714         (fma_upward_test_data): New variable.
41715         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
41717         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
41718         (struct test_c_c_data): New type.
41719         (RUN_TEST_LOOP_c_c): New macro.
41720         (cacos_test_data): New variable.
41721         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
41722         (cacosh_test_data): New variable.
41723         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
41724         (casin_test_data): New variable.
41725         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
41726         (casinh_test_data): New variable.
41727         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
41728         (catan_test_data): New variable.
41729         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
41730         (catanh_test_data): New variable.
41731         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
41732         (ccos_test_data): New variable.
41733         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
41734         (ccosh_test_data): New variable.
41735         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
41736         (cexp_test_data): New variable.
41737         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
41738         (clog_test_data): New variable.
41739         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
41740         (clog10_test_data): New variable.
41741         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
41742         (conj_test_data): New variable.
41743         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
41744         (cproj_test_data): New variable.
41745         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
41746         (csin_test_data): New variable.
41747         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
41748         (csinh_test_data): New variable.
41749         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
41750         (csqrt_test_data): New variable.
41751         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
41752         (ctan_test_data): New variable.
41753         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
41754         (ctan_tonearest_test_data): New variable.
41755         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
41756         (ctan_towardzero_test_data): New variable.
41757         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
41758         (ctan_downward_test_data): New variable.
41759         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
41760         (ctan_upward_test_data): New variable.
41761         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
41762         (ctanh_test_data): New variable.
41763         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
41764         (ctanh_tonearest_test_data): New variable.
41765         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
41766         (ctanh_towardzero_test_data): New variable.
41767         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
41768         (ctanh_downward_test_data): New variable.
41769         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
41770         (ctanh_upward_test_data): New variable.
41771         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
41772         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
41773         of BUILD_COMPLEX.
41775         * math/libm-test.inc (struct test_ff_f_data): New type.
41776         (struct test_ff_f_data_nexttoward): Likewise.
41777         (RUN_TEST_LOOP_2_f): New macro.
41778         (RUN_TEST_LOOP_ff_f): Likewise.
41779         (atan2_test_data): New variable.
41780         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
41781         (copysign_test_data): New variable.
41782         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
41783         (fdim_test_data): New variable.
41784         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
41785         (fmax_test_data): New variable.
41786         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
41787         (fmin_test_data): New variable.
41788         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
41789         (fmod_test_data): New variable.
41790         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
41791         (hypot_test_data): New variable.
41792         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
41793         (nextafter_test_data): New variable.
41794         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
41795         (nexttoward_test_data): New variable.
41796         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
41797         (pow_test_data): New variable.
41798         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
41799         (pow_tonearest_test_data): New variable.
41800         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
41801         (pow_towardzero_test_data): New variable.
41802         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
41803         (pow_downward_test_data): New variable.
41804         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
41805         (pow_upward_test_data): New variable.
41806         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
41807         (remainder_test_data): New variable.
41808         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
41809         (scalb_test_data): New variable.
41810         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
41811         * sysdeps/i386/fpu/libm-test-ulps: Update.
41813 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
41815         * math/libm-test.inc (fma_test): Use max_value instead of local
41816         variable fltmax.
41817         (nextafter_test): Likewise.
41819         * math/libm-test.inc (acos_towardzero_test_data): New variable.
41820         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41821         (acos_downward_test_data): New variable.
41822         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41823         (acos_upward_test_data): New variable.
41824         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41825         (acosh_test_data): New variable.
41826         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
41827         (asin_test_data): New variable.
41828         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
41829         (asin_tonearest_test_data): New variable.
41830         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41831         (asin_towardzero_test_data): New variable.
41832         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41833         (asin_downward_test_data): New variable.
41834         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41835         (asin_upward_test_data): New variable.
41836         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41837         (asinh_test_data): New variable.
41838         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
41839         (atan_test_data): New variable.
41840         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
41841         (atanh_test_data): New variable.
41842         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
41843         (cbrt_test_data): New variable.
41844         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
41845         (ceil_test_data): New variable.
41846         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
41847         (cos_test_data): New variable.
41848         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
41849         (cos_tonearest_test_data): New variable.
41850         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41851         (cos_towardzero_test_data): New variable.
41852         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41853         (cos_downward_test_data): New variable.
41854         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41855         (cos_upward_test_data): New variable.
41856         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41857         (cosh_test_data): New variable.
41858         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
41859         (cosh_tonearest_test_data): New variable.
41860         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41861         (cosh_towardzero_test_data): New variable.
41862         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41863         (cosh_downward_test_data): New variable.
41864         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41865         (cosh_upward_test_data): New variable.
41866         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41867         (erf_test_data): New variable.
41868         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
41869         (erfc_test_data): New variable.
41870         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
41871         (exp_test_data): New variable.
41872         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
41873         (exp_tonearest_test_data): New variable.
41874         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41875         (exp_towardzero_test_data): New variable.
41876         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41877         (exp_downward_test_data): New variable.
41878         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41879         (exp_upward_test_data): New variable.
41880         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41881         (exp10_test_data): New variable.
41882         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
41883         (exp2_test_data): New variable.
41884         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
41885         (expm1_test_data): New variable.
41886         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
41887         (fabs_test_data): New variable.
41888         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
41889         (floor_test_data): New variable.
41890         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
41891         (j0_test_data): New variable.
41892         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
41893         (j1_test_data): New variable.
41894         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
41895         (log_test_data): New variable.
41896         (log_test): Run tests with RUN_TEST_LOOP_f_f.
41897         (log10_test_data): New variable.
41898         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
41899         (log1p_test_data): New variable.
41900         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
41901         (log2_test_data): New variable.
41902         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
41903         (logb_test_data): New variable.
41904         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
41905         (logb_downward_test_data): New variable.
41906         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41907         (nearbyint_test_data): New variable.
41908         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
41909         (rint_test_data): New variable.
41910         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
41911         (rint_tonearest_test_data): New variable.
41912         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41913         (rint_towardzero_test_data): New variable.
41914         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41915         (rint_downward_test_data): New variable.
41916         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41917         (rint_upward_test_data): New variable.
41918         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41919         (round_test_data): New variable.
41920         (round_test): Run tests with RUN_TEST_LOOP_f_f.
41921         (sin_test_data): New variable.
41922         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
41923         (sin_tonearest_test_data): New variable.
41924         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41925         (sin_towardzero_test_data): New variable.
41926         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41927         (sin_downward_test_data): New variable.
41928         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41929         (sin_upward_test_data): New variable.
41930         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41931         (sinh_test_data): New variable.
41932         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
41933         (sinh_tonearest_test_data): New variable.
41934         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41935         (sinh_towardzero_test_data): New variable.
41936         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41937         (sinh_downward_test_data): New variable.
41938         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41939         (sinh_upward_test_data): New variable.
41940         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41941         (sqrt_test_data): New variable.
41942         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
41943         (tan_test_data): New variable.
41944         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
41945         (tan_tonearest_test_data): New variable.
41946         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41947         (tan_towardzero_test_data): New variable.
41948         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41949         (tan_downward_test_data): New variable.
41950         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41951         (tan_upward_test_data): New variable.
41952         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41953         (tanh_test_data): New variable.
41954         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
41955         (tgamma_test_data): New variable.
41956         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
41957         (trunc_test_data): New variable.
41958         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
41959         (y0_test_data): New variable.
41960         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
41961         (y1_test_data): New variable.
41962         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
41963         (significand_test_data): New variable.
41964         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
41966 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
41968         [BZ #12387]
41969         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
41971 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41973         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
41975 2013-05-10  Andreas Jaeger  <aj@suse.de>
41977         [BZ #15448]
41978         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
41979         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
41981 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
41983         * math/gen-libm-test.pl (adjust_arg): New function.
41984         (special_functions): Handle generating output in both functions
41985         and arrays.
41986         (parse_args): Likewise.
41987         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
41988         $in_func argument to parse_args.
41989         * math/libm-test.inc (struct test_f_f_data): New type.
41990         (IF_ROUND_INIT_): New macro.
41991         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
41992         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41993         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41994         (IF_ROUND_INIT_FE_UPWARD): Likewise.
41995         (ROUND_RESTORE_): Likewise.
41996         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
41997         (ROUND_RESTORE_FE_TONEAREST): Likewise.
41998         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
41999         (ROUND_RESTORE_FE_UPWARD): Likewise.
42000         (RUN_TEST_LOOP_f_f): New macro.
42001         (acos_test_data): New variable.
42002         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
42003         (acos_tonearest_test_data): New variable.
42004         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42006 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42008         * benchtests/bench-skeleton.c (startup): Fix coding style.
42010 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
42012         [BZ #6809]
42013         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
42014         negative infinity argument.
42015         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
42016         negative infinity argument.
42017         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
42018         negative infinity argument.
42019         * math/libm-test.inc (tgamma_test): Expect errno to be set for
42020         domain errors.
42022 2013-05-10  Florian Weimer  <fweimer@redhat.com>
42024         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
42025         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
42026         * iconv/iconv_prog.c (main): Likewise.
42027         * locale/programs/charmap-dir.c (charmap_readdir)
42028         (fopen_uncompressed): Likewise.
42029         * locale/programs/locfile.c (siblings_uncached)
42030         (write_locale_data): Use lstat64 instead of lstat.
42031         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
42032         stat.
42034 2013-05-10  Andreas Jaeger  <aj@suse.de>
42036         [BZ #15395]
42037         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
42038         localization.
42039         Include <locale.h>.
42041 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
42043         * elf/dl-close.c (_dl_close_worker): Add comments.
42045 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
42047         [BZ #15359]
42048         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
42049         high part of pi/2.
42050         (__ieee754_rem_pio2l): Update comments.
42052         [BZ #15429]
42053         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
42054         high part of pi/2.
42055         (__ieee754_rem_pio2l): Update comments.
42057         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
42058         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
42060         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
42061         M_PI_4l.
42063         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
42064         (M_PI_34_LOG10El): Likewise.
42065         (M_PI2_LOG10El): Likewise.
42066         (M_PI4_LOG10El): Likewise.
42067         (M_PI_LOG10El): Likewise.
42069 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42073 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
42075         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
42076         (MINUS_ZERO_INIT): Likewise.
42077         (PLUS_INFTY_INIT): Likewise.
42078         (MINUS_INFTY_INIT): Likewise.
42079         (QNAN_VALUE_INIT): Likewise.
42080         (MAX_VALUE_INIT): Likewise.
42081         (MIN_VALUE_INIT): Likewise.
42082         (MIN_SUBNORM_VALUE_INIT): Likewise.
42083         (plus_zero): Initialize with PLUS_ZERO_INIT.
42084         (minus_zero): Initialize with MINUS_ZERO_INIT.
42085         (plus_infty): Initialize with PLUS_INFTY_INIT.
42086         (minus_infty): Initialize with MINUS_INFTY_INIT.
42087         (qnan_value): Initialize with QNAN_VALUE_INIT.
42088         (max_value): Initialize with MAX_VALUE_INIT.
42089         (min_value): Initialize with MIN_VALUE_INIT.
42090         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
42092         * math/libm-test.inc (RUN_TEST_if_f): New macro.
42093         (jn_test): Use TEST_if_f instead of TEST_ff_f.
42094         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
42095         (yn_test): Use TEST_if_f instead of TEST_ff_f.
42097         * math/libm-test.inc (RUN_TEST_f_f): New macro.
42098         (RUN_TEST_2_f): Likewise.
42099         (RUN_TEST_ff_f): Likewise.
42100         (RUN_TEST_fi_f): Likewise.
42101         (RUN_TEST_fl_f): Likewise.
42102         (RUN_TEST_fff_f): Likewise.
42103         (RUN_TEST_c_f): Likewise.
42104         (RUN_TEST_f_f1): Likewise.
42105         (RUN_TEST_fF_f1): Likewise.
42106         (RUN_TEST_fI_f1): Likewise.
42107         (RUN_TEST_ffI_f1): Likewise.
42108         (RUN_TEST_c_c): Likewise.
42109         (RUN_TEST_cc_c): Likewise.
42110         (RUN_TEST_f_i): Likewise.
42111         (RUN_TEST_f_i_tg): Likewise.
42112         (RUN_TEST_ff_i_tg): Likewise.
42113         (RUN_TEST_f_b): Likewise.
42114         (RUN_TEST_f_b_tg): Likewise.
42115         (RUN_TEST_f_l): Likewise.
42116         (RUN_TEST_f_L): Likewise.
42117         (RUN_TEST_sincos): Likewise.
42118         * math/gen-libm-test.pl (new_test): Take new argument to indicate
42119         whether to show exceptions.  Do not include ");\n" in return
42120         value.
42121         (special_functions): Output call to RUN_TEST_sincos instead of
42122         check_float calls.  Update calls to new_test.
42123         (parse_args): Output call to single RUN_TEST_* macro instead of
42124         check_* calls and other assignments.  Update calls to new_test.
42126         [BZ #2546]
42127         [BZ #2560]
42128         [BZ #5159]
42129         [BZ #15426]
42130         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
42131         input to result for tgamma overflow.
42132         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
42133         (gamma_coeff): New variable.
42134         (NCOEFF): New macro.
42135         (gamma_positive): New function.
42136         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
42137         underflow here.  Use gamma_positive instead of exp (lgamma) for
42138         other arguments.
42139         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
42140         (gamma_coeff): New variable.
42141         (NCOEFF): New macro.
42142         (gammaf_positive): New function.
42143         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
42144         underflow here.  Use gamma_positive instead of exp (lgamma) for
42145         other arguments.
42146         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
42147         (gamma_coeff): New variable.
42148         (NCOEFF): New macro.
42149         (gammal_positive): New function.
42150         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
42151         underflow here.  Use gamma_positive instead of exp (lgamma) for
42152         other arguments.
42153         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
42154         (gamma_coeff): New variable.
42155         (NCOEFF): New macro.
42156         (gammal_positive): New function.
42157         (__ieee754_gammal_r): Handle positive infinity, overflow and
42158         underflow here.  Handle NaN the same as positive infinity.  Remove
42159         check x < 0xffffffff for negative integers.  Use gamma_positive
42160         instead of exp (lgamma) for other arguments.
42161         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
42162         (gamma_coeff): New variable.
42163         (NCOEFF): New macro.
42164         (gammal_positive): New function.
42165         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
42166         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
42167         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
42168         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
42169         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
42170         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
42171         * sysdeps/generic/math_private.h (__gamma_productf): New
42172         prototype.
42173         (__gamma_product): Likewise.
42174         (__gamma_productl): Likewise.
42175         * math/Makefile (libm-calls): Add gamma_product.
42176         * math/libm-test.inc (tgamma_test): Add more tests.
42177         * sysdeps/i386/fpu/libm-test-ulps: Update.
42178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42180 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
42182         * benchtests/bench-skeleton.c (main): Preheat CPU.
42184 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
42186         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
42188 2013-05-07  Roland McGrath  <roland@hack.frob.com>
42190         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
42191         and _dl_skip_args_internal.
42193 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
42195         * manual/message.texi (Message Translation): Talk about users.
42196         Message to key mapping impacts design.
42198 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42200         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
42202         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
42204         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
42205         * sysdeps/wordsize-64/glob64.c: ... here.
42207         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
42208         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
42209         New macros.
42211         * debug/getlogin_r_chk.c: Moved to ...
42212         * login/getlogin_r_chk.c: ... here.
42213         * debug/Makefile (routines): Move getlogin_r_chk to ...
42214         * login/Makefile (routines): ... here.
42215         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
42216         * login/Versions (libc: GLIBC_2.4): ... here.
42218         * io/poll.c (__poll): Renamed from poll.
42219         Add libc_hidden_def.
42220         (poll): Define as weak alias.
42222         * debug/ptsname_r_chk.c: Moved to ...
42223         * login/ptsname_r_chk.c: ... here.
42224         * debug/Makefile (routines): Move ptsname_r_chk to ...
42225         * login/Makefile (routines): ... here.
42226         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
42227         * login/Versions (libc: GLIBC_2.4): ... here.
42229         * posix/getlogin.c: Moved to ...
42230         * login/getlogin.c: ... here.
42231         * posix/getlogin_r.c: Moved to ...
42232         * login/getlogin_r.c: ... here.
42233         * posix/getlogin_r.c: Moved to ...
42234         * login/getlogin_r.c: ... here.
42235         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
42236         * login/Makefile (routines): ... here.
42237         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
42238         * login/Versions (libc: GLIBC_2.0): ... here.
42240         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
42241         (setrlimit): Define as weak alias.
42243         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
42244         Call __ names for open, ftruncate, and close.
42245         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
42246         (truncate): Define as weak alias.
42248 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
42250         * math/gen-libm-test.pl (parse_args): Initialize x before each
42251         test of frexp, modf and remquo.
42253         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
42254         test signgam value.
42256 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42258         [BZ #15418]
42259         [BZ #15419]
42260         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
42261         internal tests.
42262         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42264 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42266         * elf/dl-writev.h: New file.
42267         * elf/dl-misc.c: Include it.
42268         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
42269         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
42271 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
42273         * math/libm-test.inc (noXFails): Remove variable.
42274         (noXPasses): Likewise.
42275         (BUILD_COMPLEX_INT): Remove macro.
42276         (print_screen): Remove xfail argument.
42277         (print_screen_max_error): Likewise.
42278         (update_stats): Likewise.
42279         (print_max_error): Likewise.  Update calls to other affected
42280         functions.
42281         (print_complex_max_error): Likewise.
42282         (test_single_exception): Update calls to print_screen.
42283         (test_single_errno): Likewise.
42284         (check_float_internal): Remove xfail argument.  Update calls to
42285         other affected functions.
42286         (check_float): Likewise.
42287         (check_complex): Likewise.
42288         (check_int): Likewise.
42289         (check_long): Likewise.
42290         (check_bool): Likewise.
42291         (check_longlong): Likewise.
42292         (main): Don't print noXFails and noXPasses.
42293         * math/gen-libm-test.pl (top level): Don't mention expected
42294         failure handling in comment.
42295         (new_test): Don't handle expected failures.
42296         (parse_args): Don't mention expected failure handling in comment.
42297         (generate_testfile): Don't handle expected failures.
42298         (parse_ulps): Likewise.
42299         (print_ulps_file): Likewise.
42300         (get_failure): Remove function.
42301         (output_test): Don't handle expected failures.
42302         * make/README.libm-test: Don't mention expected failure handling.
42304         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
42305         (minus_zero): Likewise.
42306         (plus_infty): Likewise.
42307         (minus_infty): Likewise.
42308         (qnan_value): Likewise.
42309         (max_value): Likewise.
42310         (min_value): Likewise.
42311         (min_subnorm_value): Likewise.
42312         (initialize): Do not initialize those variables dynamically.
42314 2013-05-03  Roland McGrath  <roland@hack.frob.com>
42316         * io/open.c (__open_2): Moved to ...
42317         * io/open_2.c: ... this new file.
42318         * io/open64.c (__open64_2): Moved to ...
42319         * io/open64_2.c: ... this new file.
42320         * io/openat.c (__openat_2): Moved to ...
42321         * io/openat_2.c: ... this new file.
42322         * io/openat64.c (__openat64_2): Moved to ...
42323         * io/openat64_2.c: ... this new file.
42324         * io/Makefile (routines): Add them.
42325         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
42326         * sysdeps/unix/sysv/linux/open_2.c: File removed.
42327         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
42328         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
42329         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
42330         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
42331         (__openat64): Add hidden_ver.
42332         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
42333         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
42335         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
42336         Separately conditionalize setting of GLRO(dl_sysinfo) so
42337         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
42338         as well, but the actual setting is only under [NEED_DL_SYSINFO].
42340 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42342         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
42343         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
42344         definition.
42345         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
42346         * sysdeps/unix/sysv/linux/powerpc/init-first.c
42347         (_libc_vdso_platform_setup): Add __vdso_time initialization.
42348         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
42349         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
42351 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
42353         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
42354         test signgam value.
42356         * math/libm-test.inc (hypot_test): Do not use
42357         IGNORE_ZERO_INF_SIGN.
42359 2013-05-03  Andreas Jaeger  <aj@suse.de>
42361         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
42362         Linux 3.9.
42363         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
42364         (PF_MAX): Adjust for VSOCK change.
42366 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42368         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42370 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
42372         [BZ #15264]
42373         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
42374         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
42375         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
42377 2013-05-02  David S. Miller  <davem@davemloft.net>
42379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42381 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
42383         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
42385 2013-05-01  Roland McGrath  <roland@hack.frob.com>
42387         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
42389 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
42391         [BZ #14952]
42392         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
42393         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42394         Use __attribute__ ((__gnu_inline__)).
42395         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42396         Don't use __attribute__ ((__gnu_inline__)).
42398 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
42400         [BZ #15423]
42401         * math/s_catan.c (__catan): Handle small real or imaginary part of
42402         input specially to avoid spurious underflow.
42403         * math/s_catanf.c (__catanf): Likewise.
42404         * math/s_catanh.c (__catanh): Likewise.
42405         * math/s_catanhf.c (__catanhf): Likewise.
42406         * math/s_catanhl.c (__catanhl): Likewise.
42407         * math/s_catanl.c (__catanl): Likewise.
42408         * math/libm-test.inc (catan_test): Add more tests.
42409         (catanh_test): Likewise.
42410         * sysdeps/i386/fpu/libm-test-ulps: Update.
42411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42413 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42417 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
42419         [BZ #15416]
42420         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
42421         accurately for denominator in atan2.
42422         * math/s_catanf.c (__catanf): Likewise.
42423         * math/s_catanh.c (__catanh): Likewise.
42424         * math/s_catanhf.c (__catanhf): Likewise.
42425         * math/s_catanhl.c (__catanhl): Likewise.
42426         * math/s_catanl.c (__catanl): Likewise.
42427         * math/libm-test.inc (catan_test): Add more tests.
42428         (catanh_test): Likewise.
42429         * sysdeps/i386/fpu/libm-test-ulps: Update.
42430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42432 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42434         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
42436         * benchtests/Makefile (bench): Remove slow benchmarks.
42437         * benchtests/atan-inputs: Add slow benchmark inputs.
42438         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
42439         (BENCH_FUNC): Accept variant offset.
42440         (VARIANT): Define.
42441         * benchtests/bench-skeleton.c (main): Run benchmark for each
42442         variant.
42443         * benchtests/cos-inputs: Add slow benchmark inputs.
42444         * benchtests/exp-inputs: Likewise.
42445         * benchtests/pow-inputs: Likewise.
42446         * benchtests/sin-inputs: Likewise.
42447         * benchtests/slowatan-inputs: Remove.
42448         * benchtests/slowatan.c: Remove.
42449         * benchtests/slowcos-inputs: Remove.
42450         * benchtests/slowcos.c: Remove.
42451         * benchtests/slowexp-inputs: Remove.
42452         * benchtests/slowexp.c: Remove.
42453         * benchtests/slowpow-inputs: Remove.
42454         * benchtests/slowpow.c: Remove.
42455         * benchtests/slowsin-inputs: Remove.
42456         * benchtests/slowsin.c: Remove.
42457         * benchtests/slowtan-inputs: Remove.
42458         * benchtests/slowtan.c: Remove.
42459         * benchtests/tan-inputs: Add slow benchmark inputs.
42460         * scripts/bench.pl: Parse comments and directives.
42462         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
42463         in CPPFLAGS.
42464         ($(objpfx)bench-%.c): Remove *-ITER.
42465         * benchtests/bench-modf.c: Remove definition of ITER.
42466         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
42467         (main): Loop for DURATION seconds instead of fixed number of
42468         iterations.
42469         * scripts/bench.pl: Don't expect iterations in parameters.
42471 2013-04-29  Roland McGrath  <roland@hack.frob.com>
42473         * io/fchdir.c (__fchdir): Renamed from fchdir.
42474         (fchdir): Define as weak alias.
42476 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
42478         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
42479         (ERRNO_EDOM): Likewise.
42480         (ERRNO_ERANGE): Likewise.
42481         (noErrnoTests): New variable.
42482         (init_max_error): Set errno to 0.
42483         (test_single_errno): New function.
42484         (test_errno): Likewise.
42485         (check_float_internal): Call test_errno.  Set errno to 0.
42486         (check_complex): Refer to errno tests in comment.
42487         (check_int): Call test_errno.  Set errno to 0.
42488         (check_long): Likewise.
42489         (check_bool): Likewise.
42490         (check_longlong): Likewise.
42491         (cos_test): Use ERRNO_* flags for errno tests instead of
42492         check_int.
42493         (expm1_test): Likewise.
42494         (fmod_test): Likewise.
42495         (ilogb_test): Likewise.
42496         (lgamma_test): Likewise.
42497         (pow_test): Likewise.
42498         (remainder_test): Likewise.
42499         (sin_test): Likewise.
42500         (tan_test): Likewise.
42501         (yn_test): Likewise.
42502         (initialize): Set errno to 0.
42503         (main): Print number of errno tests.
42504         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
42506 2013-04-29  Andreas Jaeger  <aj@suse.de>
42508         [BZ #15084]
42509         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
42510         and RES_USEVC.
42512         [BZ #15085]
42513         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
42514         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
42515         unimplemented.
42517         [BZ #15380]
42518         * stdlib/random.c (__initstate): Return NULL if
42519         __initstate fails.
42521         [BZ #15086]
42522         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
42523         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
42524         RES_SNGLKUPREOP.
42526 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42530 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
42532         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
42533         of individual tests.
42534         (casin_test): Likewise.
42535         (casinh_test): Likewise.
42537 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
42539         [BZ #15409]
42540         * math/s_catan.c (__catan): Handle arguments with large real or
42541         imaginary part separately without squaring.
42542         * math/s_catanf.c (__catanf): Likewise.
42543         * math/s_catanh.c (__catanh): Likewise.
42544         * math/s_catanhf.c (__catanhf): Likewise.
42545         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
42546         and redefine.
42547         (__catanhl): Handle arguments with large real or imaginary part
42548         separately without squaring.
42549         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
42550         and redefine.
42551         (__catanl): Handle arguments with large real or imaginary part
42552         separately without squaring.
42553         * math/libm-test.inc (catan_test): Add more tests.
42554         (catanh_test): Likewise.
42555         * sysdeps/i386/fpu/libm-test-ulps: Update.
42556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42558 2013-04-27  Andreas Jaeger  <aj@suse.de>
42560         [BZ #15007]
42561         * stdlib/stdlib.h: Update guards for qecvt.
42562         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
42563         <stdlib.h>.
42565 2013-04-27  Allan McRae  <allan@archlinux.org>
42567         * sysdeps/i386/fpu/libm-test-ulps: Update.
42569 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
42571         [BZ #15406]
42572         * math/s_catan.c: Include <float.h>.
42573         (__catan): Ensure underflow exception occurs for underflowed
42574         result.
42575         * math/s_catanf.c: Include <float.h>.
42576         (__catanf): Ensure underflow exception occurs for underflowed
42577         result.
42578         * math/s_catanh.c: Include <float.h>.
42579         (__catanh): Ensure underflow exception occurs for underflowed
42580         result.
42581         * math/s_catanhf.c: Include <float.h>.
42582         (__catanhf): Ensure underflow exception occurs for underflowed
42583         result.
42584         * math/s_catanhl.c: Include <float.h>.
42585         (__catanhl): Ensure underflow exception occurs for underflowed
42586         result.
42587         * math/s_catanl.c: Include <float.h>.
42588         (__catanl): Ensure underflow exception occurs for underflowed
42589         result.
42590         * math/libm-test.inc (catan_test): Add more tests.
42591         (catanh_test): Likewise.
42593         [BZ #15405]
42594         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
42595         underflowed result.
42596         * math/s_ccoshf.c (__ccoshf): Likewise.
42597         * math/s_ccoshl.c (__ccoshl): Likewise.
42598         * math/s_csin.c (__csin): Likewise.
42599         * math/s_csinf.c (__csinf): Likewise.
42600         * math/s_csinh.c (__csinh): Likewise.
42601         * math/s_csinhf.c (__csinhf): Likewise.
42602         * math/s_csinhl.c (__csinhl): Likewise.
42603         * math/s_csinl.c (__csinl): Likewise.
42604         * math/libm-test.inc (ccos_test): Add more tests.
42605         (ccosh_test): Likewise.
42606         (csin_test): Likewise.
42607         (csinh_test): Likewise.
42609 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42611         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
42612         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
42613         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
42614         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
42615         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
42616         powerpc/power5+/fpu folders.
42617         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
42620 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42622         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42624 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
42626         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
42627         additions to variable.
42628         [$(config-machine) = x86_64] (modules-names): Likewise.
42629         ($(objpfx)tst-audit3): Remove dependency.
42630         ($(objpfx)tst-audit3.out): Likewise.
42631         ($(objpfx)tst-audit4): Likewise.
42632         ($(objpfx)tst-audit4.out): Likewise.
42633         ($(objpfx)tst-audit5): Likewise.
42634         ($(objpfx)tst-audit5.out): Likewise.
42635         ($(objpfx)tst-audit6): Likewise.
42636         ($(objpfx)tst-audit6.out): Likewise.
42637         ($(objpfx)tst-audit7): Likewise.
42638         ($(objpfx)tst-audit7.out): Likewise.
42639         (tst-audit3-ENV): Remove variable.
42640         (tst-audit4-ENV): Likewise.
42641         (tst-audit5-ENV): Likewise.
42642         (tst-audit6-ENV): Likewise.
42643         (tst-audit7-ENV): Likewise.
42644         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
42645         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
42646         addition to variable.
42647         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
42648         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
42649         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
42650         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
42651         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
42652         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
42653         tst-audit3, tst-audit4 and tst-audit5.
42654         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
42655         tst-audit6 and tst-audit7.
42656         [$(subdir) = elf] (modules-names): Add audit modules for those
42657         tests.
42658         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
42659         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
42660         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
42661         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
42662         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
42663         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
42664         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
42665         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
42666         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
42667         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
42668         [$(subdir) = elf] (tst-audit3-ENV): New variable.
42669         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
42670         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
42671         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
42672         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
42673         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
42674         Likewise.
42675         [$(subdir) = elf && $(config-cflags-avx) = yes]
42676         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
42677         [$(subdir) = elf && $(config-cflags-avx) = yes]
42678         (CFLAGS-tst-auditmod4a.c): Likewise.
42679         [$(subdir) = elf && $(config-cflags-avx) = yes]
42680         (CFLAGS-tst-auditmod4b.c): Likewise.
42681         [$(subdir) = elf && $(config-cflags-avx) = yes]
42682         (CFLAGS-tst-auditmod6b.c): Likewise.
42683         [$(subdir) = elf && $(config-cflags-avx) = yes]
42684         (CFLAGS-tst-auditmod6c.c): Likewise.
42685         [$(subdir) = elf && $(config-cflags-avx) = yes]
42686         (CFLAGS-tst-auditmod7b.c): Likewise.
42687         * elf/tst-audit3.c: Move to ...
42688         * sysdeps/x86_64/tst-audit3.c: ... here.
42689         * elf/tst-audit4.c: Move to ...
42690         * sysdeps/x86_64/tst-audit4.c: ... here.
42691         * elf/tst-audit5.c: Move to ...
42692         * sysdeps/x86_64/tst-audit5.c: ... here.
42693         * elf/tst-audit6.c: Move to ...
42694         * sysdeps/x86_64/tst-audit6.c: ... here.
42695         * elf/tst-audit7.c: Move to ...
42696         * sysdeps/x86_64/tst-audit7.c: ... here.
42697         * elf/tst-auditmod3a.c: Move to ...
42698         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
42699         * elf/tst-auditmod3b.c: Move to ...
42700         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
42701         * elf/tst-auditmod4a.c: Move to ...
42702         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
42703         * elf/tst-auditmod4b.c: Move to ...
42704         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
42705         * elf/tst-auditmod5a.c: Move to ...
42706         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
42707         * elf/tst-auditmod5b.c: Move to ...
42708         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
42709         * elf/tst-auditmod6a.c: Move to ...
42710         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
42711         * elf/tst-auditmod6b.c: Move to ...
42712         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
42713         * elf/tst-auditmod6c.c: Move to ...
42714         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
42715         * elf/tst-auditmod7a.c: Move to ...
42716         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
42717         * elf/tst-auditmod7b.c: Move to ...
42718         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
42720 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
42722         [BZ #15366]
42723         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
42724         define unconditionally.
42725         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
42726         define unconditionally.
42727         (INT8_C, INT16_C, etc.): Likewise.
42729 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
42731         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
42732         __ehdr_start with hidden visibility.
42734         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
42736 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
42738         * math/libm-test.inc (cos_test): Use accurate hex constants.
42739         (sincost_test): Likewise.
42741 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
42743         * math/libm-test.inc (catan_test): Add more tests.
42744         (catanh_test): Likewise.
42746         * math/s_catanf.c (__catanf): Use suffixed floating-point
42747         constants.
42748         * math/s_catanhf.c (__catanhf): Likewise.
42749         * math/s_catanhl.c (__catanhl): Likewise.
42750         * math/s_catanl.c (__catanl): Likewise.
42752         [BZ #15394]
42753         * math/s_catan.c (__catan): Calculate imaginary part of result
42754         with log1p not log unless computing log of number close to 0.
42755         * math/s_catanf.c (__catanf): Likewise.
42756         * math/s_catanl.c (__catanl): Likewise.
42757         * math/s_catanh.c (__catanh): Calculate real part of result with
42758         log1p not log unless computing log of number close to 0.
42759         * math/s_catanhf.c (__catanhf): Likewise.
42760         * math/s_catanhl.c (__catanhl): Likewise.
42761         * math/libm-test.inc (catan_test): Add more tests.
42762         (catanh_test): Likewise.
42763         * sysdeps/i386/fpu/libm-test-ulps: Update.
42764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42766 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42768         * benchtests/Makefile: Mention files in which fast and slow
42769         paths of math functions are implemented.
42771 2013-04-23  Roland McGrath  <roland@hack.frob.com>
42773         * sysdeps/posix/timespec_get.c: New file.
42775 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42777         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
42778         POWER.
42779         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
42780         for POWER.
42781         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
42782         powerpc/power5/fpu folders.
42783         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
42784         * benchtests/Makefile: Add modf testcase.
42785         * benchtests/bench-modf.c: New file: Benchmark test for mo
42787 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42789         [BZ #14888]
42790         * time/Makefile (tests): Add tst-strptime-whitespace.
42791         * time/strptime_l.c (get_number): Use ISSPACE.
42792         (__strptime_internal): Likewise.
42793         * time/tst-strptime-whitespace.c: New test case.
42795 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
42797         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
42798         member.
42799         (_nss_files_init): Set it here.
42801 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
42803         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
42804         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
42805         unsigned.
42807 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
42809         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
42811 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42813         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
42814         size just once.
42816 2013-04-21  David S. Miller  <davem@davemloft.net>
42818         * po/ru.po: Update Russion translation from translation project.
42820 2013-04-17  Adam Conrad  <adconrad@0c3.net>
42822         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
42823         and setfsgid.
42825 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
42827         * configure.in: Remove i386 configure warning. Remove i386 case.
42828         * configure: Regenerate.
42829         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
42830         Add example to error message.
42831         * sysdeps/i386/configure: Regenerate.
42833 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42835         * benchtests/Makefile (bench): Add cos, tan, slowcos and
42836         slowtan.
42837         * benchtests/cos-inputs: New file.
42838         * benchtests/slowcos-inputs: New file.
42839         * benchtests/slowcos.c: New file.
42840         * benchtests/slowtan-inputs: New file.
42841         * benchtests/slowtan.c: New file.
42842         * benchtests/tan-inputs: New file.
42844 2013-04-16  Roland McGrath  <roland@hack.frob.com>
42846         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
42847         considered kosher.
42849 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42851         * benchtests/Makefile: Include cppflags-iterator.mk to add
42852         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
42854         * Makefile.in (bench-clean): New target.
42855         * benchtests/Makefile (bench-clean): Likewise.
42857 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
42859         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
42861 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
42863         * stdio-common/tstdiomisc.c: Fix coding-style violation.
42865 2013-04-15  Andreas Schwab  <schwab@suse.de>
42867         * nscd/grpcache.c (cache_addgr): Properly check for short write.
42868         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42869         * nscd/pwdcache.c (cache_addpw): Likewise.
42870         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
42871         more than recsize.
42873 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42875         * benchtests/Makefile (bench): Write all output to
42876         bench-out.tmp together.
42878 2013-04-15  Andreas Schwab  <schwab@suse.de>
42880         * nscd/nscd.c (main): Don't fork again after closing files.
42882 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42884         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
42886         * benchtests/Rules (bench-deps): Collect dependencies into a
42887         single variable.  Add Makefile to dependencies.
42888         ($(objpfx)bench-%.c): Depend on bench-deps.
42890 2013-04-12  Roland McGrath  <roland@hack.frob.com>
42891             Xavier Roche  <roche+kml2@exalead.com>
42893         [BZ #15361]
42894         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
42895         just that it's a file descriptor.
42896         * manual/llio.texi (Synchronizing AIO Operations): Update description
42897         for EBADF error from aio_fsync.
42899 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42901         * Rules (bench): Move target definition...
42902         * benchtests/Makefile: ... here.
42904 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
42906         * math/libm-test.inc (cos_test): Fix PI/2 test.
42907         (sincos_test): Likewise.
42908         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
42909         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
42911 2013-04-11  Andreas Schwab  <schwab@suse.de>
42913         [BZ #13988]
42914         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
42915         accept exponent character only when digits were seen.
42916         * stdio-common/Makefile (tests): Add bug26.
42917         * stdio-common/bug26.c: New file.
42919         [BZ #14293]
42920         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
42921         non-freeable.
42923 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42925         * Makeconfig (rtld-prefix): Define built linker prefix.
42926         * Rules (run-bench): Use it.
42927         * math/Makefile (run-regen-ulps): Likewise.
42929         * Rules (bench): Remove eval.
42931 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42932             Roland McGrath  <roland@hack.frob.com>
42933             Ondrej Bilka  <neleai@seznam.cz>
42935         [BZ #15346]
42936         * time/getdate.c: Include ctype.h and alloca.h.
42937         (__getdate_r): Trim leading and trailing spaces of input.
42938         * time/tst-getdate.c (tests): Add tests with leading and
42939         trailing spaces.
42941 2013-04-08  Roland McGrath  <roland@hack.frob.com>
42943         [BZ #14280]
42944         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
42945         when computing value.
42947 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42949         * math/README.libm-test (How can I generate "libm-test-ulps"?):
42950         Use testrun.sh to run libm tests.
42952         [BZ #15309]
42953         * elf/dl-open.c (dl_open_worker): memset all of seen array.
42955 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
42957         [BZ #15264]
42958         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
42960 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42962         * Makefile.in (regen-ulps): New target.
42963         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
42964         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
42965         [ifneq (no,$(PERL)] (regen-ulps): New target.
42966         [ifeq (no,$(PERL)] (regen-ulps): New target.
42967         * math/libm-test.inc (ulps_file_name): Define.
42968         (output_dir): New variable.
42969         (options): Add "output-dir" option.
42970         (parse_opt): Handle 'o' case.
42971         (main): If output_dir is non-NULL use it as a prefix
42972         otherwise use "".
42973         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
42975 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42977         [BZ #10060, #10062]
42978         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
42979         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
42980         fail configure if __sync_val_compare_and_swap is not inlined.
42981         * sysdeps/i386/configure: Regenerate.
42982         * configure.in: Build for i686 when configured for i386.
42983         * configure: Regenerate.
42984         * README: Remove i386 reference.
42986 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42988         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
42989         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42991 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
42993         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
42994         (lmsnanval): New variables.
42995         (F): Add conversion tests.
42996         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
42997         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
42999         * stdio-common/tstdiomisc.c (F): Properly collect individual
43000         tests' results.
43002         [BZ #14686, #15336]
43003         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
43004         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
43005         Instead, use input NaN values or generate a qNaN by arithmetic
43006         operation.  Also fix bugs to comply with the standard.
43007         * math/libm-test.inc (remainder_test): Add more tests.
43009         [BZ #15335, #15342]
43010         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
43011         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
43012         input NaN values or generate a qNaN by arithmetic operation.
43014         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
43015         unreachable code.
43017         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
43018         definitions.
43020 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
43022         [BZ #14478]
43023         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
43024         underflowed result.
43025         * math/s_cexpf.c (__cexpf): Likewise.
43026         * math/s_cexpl.c (__cexpl): Likewise.
43027         * math/libm-test.inc (cexp_test): Add more tests.
43029 2013-04-03  Andreas Schwab  <schwab@suse.de>
43031         [BZ #15330]
43032         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
43033         order arrays from heap if bigger than alloca cutoff.
43035 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
43037         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
43038         (SNAN_TESTS_double): Refer to GCC PR56831.
43039         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
43040         GCC PR56828.
43042 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43044         * Rules (bench): Move bench.out after the run is complete.
43046         * Rules (bench): Echo currently running benchmark.
43048         * benchtests/Makefile (bench): Add atan and slowatan.
43049         * benchtests/atan-inputs: New file.
43050         * benchtests/slowatan-inputs: New file.
43051         * benchtests/slowatan.c: New file.
43053         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
43054         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
43055         its value.
43057         [BZ #15305]
43058         * sysdeps/unix/sysv/linux/kernel-features.h
43059         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
43060         __ASSUME_XFS_RESTRICTED_CHOWN.
43061         * sysdeps/unix/sysv/linux/pathconf.c
43062         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
43063         Save and restore errno.
43065 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
43067         [BZ #15327]
43068         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
43069         arguments using __kernel_casinh.
43070         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
43071         arguments using __kernel_casinhf.
43072         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
43073         arguments using __kernel_casinhl.
43074         * math/libm-test.inc (cacosh_test): Add more tests.
43075         * sysdeps/i386/fpu/libm-test-ulps: Update.
43076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43078 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43080         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
43081         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
43083         * bench/Makefile (bench): Add sin and slowsin.
43084         * benchtests/sin-inputs: New file.
43085         * benchtests/slowsin-inputs: New file.
43086         * benchtests/slowsin.c: New file.
43088         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
43089         (bench): Add slowexp and slowpow.
43090         (exp-ITER): Increase iterations.
43091         (pow-ITER): Likewise.
43092         * benchtests/exp-inputs: Change input.
43093         * benchtests/pow-inputs: Likewise.
43094         * benchtests/slowexp-inputs: New file.
43095         * benchtests/slowexp.c: New file.
43096         * benchtests/slowpow-inputs: New file.
43097         * benchtests/slowpow.c: New file.
43099 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43101         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
43102         instructions.
43103         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43104         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
43105         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43106         * benchtests/Makefile: Add rint benchtest.
43107         * benchtests/rint-inputs: Input for rint benchtest.
43109 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43111         * Versions.def (libm): Add GLIBC_2.18.
43112         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
43113         hidden libm prototypes.
43114         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
43115         * math/Makefile (libm-calls): Add s_issignaling.
43116         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
43117         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
43118         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
43119         declaration.
43120         * math/math.h [__USE_GNU] (issignaling): New macro.
43121         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
43122         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
43123         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
43124         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
43125         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
43126         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
43127         * manual/arith.texi (issignaling): New section.
43128         * manual/libm-err-tab.pl (@all_functions): Update comment.
43129         * math/gen-libm-test.pl (parse_args): Apply special handling for
43130         issignaling.
43131         * math/libm-test.inc (print_float, issignaling_test): New
43132         functions.
43133         (check_float_internal): Add issignaling checks.
43134         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
43135         default definition.
43136         * sysdeps/powerpc/math-tests.h: New file.
43137         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
43138         tests.
43139         * math/test-snan.c (TEST_FUNC): Likewise.
43141 2013-03-30  David S. Miller  <davem@davemloft.net>
43143         * po/de.po: Update from translation team.
43145 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
43147         [BZ #10357]
43148         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43149         imaginary part less than 1.0 and real part less than 0.5
43150         specially.
43151         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43152         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43153         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
43154         (cacos_test): Add more tests.
43155         (casin_test): Likewise.
43156         (casinh_test): Likewise.
43157         * sysdeps/i386/fpu/libm-test-ulps: Update.
43158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43160 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43162         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
43163         ONE with its value.
43165         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
43166         (__pow_mp): Replace ONE and MONE with their values.
43167         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43168         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
43169         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43170         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
43171         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43172         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43174         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
43176         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
43177         (__pow_mp): Replace ZERO and MZERO with their values.
43178         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43179         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43180         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43181         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43182         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43183         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
43184         (__sqr): Likewise.
43186         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
43188         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
43190 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43192         * include/stdlib.h [!SHARED] (__call_tls_dtors):
43193         Declare with __attribute__ ((weak)).
43194         * stdlib/exit.c (__libc_atexit) [!SHARED]:
43195         Call __call_tls_dtors only if it's not NULL.
43197 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43199         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
43200         didn't do it already, then set _dl_phdr and _dl_phnum based on the
43201         magic __ehdr_start linker symbol if it's defined.
43202         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
43203         them up here if it was already done.
43205         * elf/dl-support.c (_dl_phdr): Make pointer to const.
43206         (_dl_aux_init): Use const in cast when setting it.
43207         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
43208         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
43209         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
43211         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
43212         Declare them here.
43213         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
43214         * csu/libc-tls.c: Nor here.
43215         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
43217         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
43218         (__libc_message): Never call vsyslog.
43220 2013-03-28  Alan Modra  <amodra@gmail.com>
43222         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
43223         Define as empty.
43224         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
43225         Likewise.
43227 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43229         [BZ #15214]
43230         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
43231         underflow.
43232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43234 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43236         [BZ #15304]
43237         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
43238         Don't add gid passed as argument.
43240         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
43242 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
43244         [BZ #15307]
43245         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43246         imaginary part between 1.0 and 1.5 and real part less than 0.5
43247         specially.
43248         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43249         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43250         * math/libm-test.inc (cacos_test): Add more tests.
43251         (casin_test): Likewise.
43252         (casinh_test): Likewise.
43253         * sysdeps/i386/fpu/libm-test-ulps: Update.
43254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43256 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43258         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
43259         constants.
43260         (norm): Likewise.
43261         (denorm): Likewise.
43262         (__dbl_mp): Likewise.
43263         (add_magnitudes): Likewise.
43264         (sub_magnitudes): Likewise.
43265         (__add): Likewise.
43266         (__sub): Likewise.
43267         (__mul): Likewise.
43268         (__sqr): Likewise.
43269         (__inv): Likewise.
43270         (__dvd): Likewise.
43272         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
43273         commented code.
43274         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
43275         (__dubcos): Likewise.
43276         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
43277         (__ieee754_acos): Likewise.
43278         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43279         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
43280         (__exp1): Likewise.
43281         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43282         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43283         (log1): Likewise.
43284         (my_log2): Likewise.
43285         (checkint): Likewise.
43286         * sysdeps/ieee754/dbl-64/e_remainder.c
43287         (__ieee754_remainder): Likewise.
43288         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43289         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
43290         (bsloww): Likewise.
43291         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43293         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43294         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
43295         MANTISSA_STORE_T to store computations on mantissa.  Use
43296         macros for rounding and division.
43297         (denorm): Likewise.
43298         (__dbl_mp): Likewise.
43299         (add_magnitudes): Likewise.
43300         (sub_magnitudes): Likewise.
43301         (__mul): Likewise.
43302         (__sqr): Likewise.
43303         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43304         powers of two in terms of TWOPOW macro.
43305         (mp_no): Make type of mantissa as MANTISSA_T.
43306         [!RADIXI]: Define RADIXI.
43307         [!TWO52]: Define TWO52.
43308         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43310 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43312         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
43313         llroundl symbol when building for PPC32.
43315 2013-03-24  Mark H Weaver  <mhw@netris.org>
43317         * manual/arith.texi (Normalization Functions): Fix prototypes for
43318         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
43320 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43322         [BZ #13889]
43323         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
43324         high value to check if expl overflow.
43325         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
43326         to check for underflow and overflow.
43327         * math/libm-test.inc: Add exp test.
43329 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
43331         [BZ #11120]
43332         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
43333         with NOT_IN_libc.
43335 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43337         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
43338         symbol.
43340 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43342         * math/gen-libm-test.pl (parse_args, special_functions): Properly
43343         wrap blocks consisting of several statements.
43345         * sysdeps/generic/math-tests.h: New file.
43346         * sysdeps/i386/fpu/math-tests.h: Likewise.
43347         * math/test-snan.c: Include it.
43348         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
43350 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43352         [BZ #15285]
43353         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
43354         (__ieee754_j0l): Do not improve calculations using cos of twice
43355         input for inputs above LDBL_MAX / 2.0L.
43356         (__ieee754_y0l): Likewise.
43357         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
43358         (__ieee754_j1l): Do not improve calculations using cos of twice
43359         input for inputs above LDBL_MAX / 2.0L.
43360         (__ieee754_y1l): Likewise.
43361         * math/libm-test.inc (j0_test): Add another test.
43362         (j1_test): Likewise.
43363         (y0_test): Likewise.
43364         (y1_test): Likewise.
43365         * sysdeps/i386/fpu/libm-test-ulps: Update.
43367 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43369         * Rules ($(objpfx)bench-%.c): Include code from a C source
43370         file.
43372 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43374         [BZ #15287]
43375         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43376         imaginary part 1.0 and real part less than 0.5 specially.
43377         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43378         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43379         * math/libm-test.inc (cacos_test): Add more tests.
43380         (casin_test): Likewise.
43381         (casinh_test): Likewise.
43382         * sysdeps/i386/fpu/libm-test-ulps: Update.
43383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43385 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43387         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
43388         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
43390 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
43392         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
43393         * config.make.in (config-cflags-sse4): Remove variable.
43394         (config-cflags-avx): Likewise.
43395         (config-cflags-sse2avx): Likewise.
43396         (config-cflags-novzeroupper): Likewise.
43397         (config-asflags-i686): Likewise.
43398         (have-mfma4): Likewise.
43399         (have-as-vis3): Likewise.
43400         (MIG): Likewise.
43401         * configure.in (MIG): Do not AC_SUBST.
43402         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
43403         (libc_cv_cc_sse4): Do not AC_SUBST.
43404         (libc_cv_cc_avx): Likewise.
43405         (libc_cv_cc_sse2avx): Likewise.
43406         (libc_cv_cc_novzeroupper): Likewise.
43407         (libc_cv_cc_fma4): Likewise.
43408         (libc_cv_as_i686): Likewise.
43409         (libc_cv_sparc_as_vis3): Likewise.
43410         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
43411         LIBC_CONFIG_VAR.
43412         (config-asflags-i686): Likewise.
43413         (config-cflags-avx): Likewise.
43414         (config-cflags-sse2avx): Likewise.
43415         (have-mfma4): Likewise.
43416         (config-cflags-novzeroupper): Likewise.
43417         * sysdeps/mach/configure.in (MIG): Likewise.
43418         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
43419         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
43420         LIBC_CONFIG_VAR.
43421         (config-cflags-avx): Likewise.
43422         (config-cflags-sse2avx): Likewise.
43423         (have-mfma4): Likewise.
43424         (config-cflags-novzeroupper): Likewise.
43425         * configure: Regenerated.
43426         * sysdeps/i386/configure: Likewise.
43427         * sysdeps/mach/configure: Likewise.
43428         * sysdeps/sparc/configure: Likewise.
43429         * sysdeps/x86_64/configure: Likewise.
43431 2013-03-20  Roland McGrath  <roland@hack.frob.com>
43433         [BZ #14812]
43434         * locale/programs/localedef.c (options): Put N_ translation marker
43435         on argument names, not just descriptions.
43437 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43439         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
43441 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
43443         [BZ #14176]
43444         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
43446 2013-03-19  Roland McGrath  <roland@hack.frob.com>
43448         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
43449         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
43450         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
43451         [!BEFORE_ABORT] (before_abort): New function.
43452         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
43453         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
43454         (writev_for_fatal): New function.
43455         (WRITEV_FOR_FATAL): New macro; call that.
43456         (backtrace_and_maps): New function.
43457         (BEFORE_ABORT): New macro; call that.
43458         (struct str_list): Type removed.
43459         (__libc_message, __libc_fatal): Functions removed.
43460         Include <sysdeps/posix/libc_fatal.c> instead.
43462 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
43464         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
43465         constants.
43466         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
43467         double constants.
43469 2013-03-19  Andreas Schwab  <schwab@suse.de>
43471         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
43472         * sysdeps/gnu/configure: Regenerate.
43474         * configure.in: Substitute libc_cv_rtlddir.
43475         * configure: Regenerate.
43476         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
43477         * Makeconfig (rtlddir, inst_rtlddir): New variables.
43478         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
43479         * elf/Makefile (install-others, CFLAGS-interp.c)
43480         (ldso_install, common-ldd-rewrite): Likewise.
43481         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
43482         $(inst_slibdir)/$(rtld-installed-name).
43483         * scripts/rellns-sh: Add -p option.
43484         * Makerules (make-shlib-link): Use rellns-sh to get relative name
43485         for source.
43487 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43489         * manual/nptl.texi: Renamed to ...
43490         * manual/threads.texi: ... this.
43491         * manual/Makefile (chapters): Update.
43493 2013-03-18  Roland McGrath  <roland@hack.frob.com>
43495         [BZ #14812]
43496         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
43497         on argument names, not just descriptions.
43498         * malloc/memusagestat.c (options): Likewise.
43499         * nss/getent.c (options): Likewise.
43501 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
43503         [BZ #14812]
43504         * iconv/iconv_prog.c (options): Put N_ translation marker
43505         on argument names, not just descriptions.
43506         * iconv/iconvconfig.c (options): Likewise.
43508 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
43510         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
43511         implementation which is faster on all x86_64 architectures.
43512         Tested on AMD, Intel Nehalem, SNB, IVB.
43513         * sysdeps/x86_64/strnlen.S: Likewise.
43515         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43516         Remove all multiarch strlen and strnlen versions.
43517         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43518         Remove strlen and strnlen related parts.
43520         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
43521         Inline strlen part.
43522         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43524         * sysdeps/x86_64/multiarch/strlen.S: Remove.
43525         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
43526         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
43527         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
43528         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43529         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
43531 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
43533         * manual/memory.texi (Malloc Tunable Parameters):
43534         Sort parameters alphabetically. Add comments for missing entries.
43536 2013-03-17  David S. Miller  <davem@davemloft.net>
43538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43540 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
43542         [BZ #15283]
43543         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
43544         for arguments at most half maximum finite value.
43545         * math/libm-test.inc (j0_test): Add more tests.
43546         (j1_test): Likewise.
43547         (y0_test): Likewise.
43548         (y1_test): Likewise.
43549         * sysdeps/i386/fpu/libm-test-ulps: Update.
43550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43552         [BZ #14155]
43553         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
43554         1 / x and functions P and Q for arguments above 0x1p256L.
43555         (__ieee754_y0l): Likewise.
43556         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
43557         (__ieee754_y1l): Likewise.
43558         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
43559         (j1_test): Likewise.
43560         (y0_test): Likewise.
43561         (y1_test): Likewise.
43563 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
43565         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
43566         variable.
43568 2013-03-15  Roland McGrath  <roland@hack.frob.com>
43570         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
43571         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
43572         zero since it's initialized to EXEC_PAGESIZE.
43574         * sysdeps/unix/sysv/linux/ldsodefs.h
43575         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
43576         * sysdeps/generic/ldsodefs.h: ... here.
43578 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
43580         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
43582         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
43583         math/test-snan.c.
43584         * math/test-snan.c: Renamed from
43585         sysdeps/powerpc/fpu/test-powerpc-snan.c.
43586         * math/Makefile (tests): Add test-snan.
43587         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
43588         test-powerpc-snan.
43590         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
43591         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
43592         functions.
43593         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
43594         __builtin_nan family of functions.
43595         * math/libm-test.inc (initialize): Initialize qnan_value with
43596         __builtin_nan family of functions.
43597         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
43598         Remove variables.
43599         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
43600         Remove functions.
43601         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
43602         storage class.  Initialize qNaN_var and sNaN_var with
43603         __builtin_nan and __builtin_nans families of functions,
43604         respectively.
43606         * math/libm-test.inc (acosh_test): Also test with qNaN input.
43607         (sqrt_test): Remove duplicate test with qNaN input.
43608         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
43609         (round_test, signbit_test, significand_test): Note missing +/-Inf
43610         as well as qNaN tests.
43612         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
43613         qNaN_var.  Fix a few strings, too.
43614         * math/libm-test.inc (nan_value): Rename to qnan_value.
43615         * math/gen-libm-test.pl (%beautify): Adjust to that.
43616         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
43617         * math/test-misc.c (main): Likewise.
43618         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
43619         to __qnan_bytes, and __qnan_union, respectively.
43620         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
43621         Likewise.
43622         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
43623         and lqnanval, respectively.
43624         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
43625         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
43626         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
43627         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
43629         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
43630         * math/test-misc.c (main) [__x86_64__]: Enable test for long
43631         doubles.
43633         * math/test-misc.c (main): Fix copy'n'pastos.
43634         * misc/tst-efgcvt.c (special): Likewise.
43636         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
43637         Remove declarations.
43639 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43641         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
43642         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
43643         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
43644         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
43646 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43648         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
43649         macro to return vdso values correctly in IFUNC implementations.
43650         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
43651         Optimization by using IFUNC.
43653 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43654             Richard Henderson  <rth@redhat.com>
43655             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43657         * Makefile.in (bench): New target.
43658         * NEWS: Mention the benchmark framework.
43659         * Rules (bench): Likewise.
43660         (binaries-bench): Generate binaries for functions to
43661         benchmark.
43662         * benchtests/Makefile: New makefile for benchmark tests.
43663         * benchtests/bench-skeleton.c: New skeleton file for benchmark
43664         programs.
43665         * benchtests/exp-inputs: New input file for EXP function.
43666         * benchtests/pow-inputs: New input file for POW function.
43667         * scripts/bench.pl: New script to generate source files for
43668         benchmark programs.
43670 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43672         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43673         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
43674         computations on mantissa.  Use macros for rounding and
43675         division.
43676         (denorm): Likewise.
43677         (__dbl_mp): Likewise.
43678         (add_magnitudes): Likewise.
43679         (sub_magnitudes): Likewise.
43680         (__mul): Likewise.
43681         (__sqr): Likewise.
43682         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43683         powers of two in terms of TWOPOW macro.
43684         (mp_no): Make type of mantissa as MANTISSA_T.
43685         [!RADIXI]: Define RADIXI.
43686         [!TWO52]: Define TWO52.
43687         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43689         * manual/nptl.texi (cindex): Modify threads to pthreads.
43691 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
43693         * sysdeps/x86_64/preconfigure: Regenerated.
43695 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
43697         [BZ #14155]
43698         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
43699         0x1p28 and above.
43700         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
43701         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
43702         0x1p28 and above.
43703         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
43704         * math/libm-test.inc (j0_test): Do not allow one spurious
43705         underflow exception.
43706         (y1_test): Likewise.
43708 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43710         * manual/Makefile (chapters): Add nptl.
43711         * manual/debug.texi (Debugging Support): Add link to Threads
43712         chapter.
43713         * manual/nptl.texi: New file.
43715         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
43717 2013-03-14  Petr Baudis  <pasky@ucw.cz>
43719         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
43720         for non-NULL pointer before the memory validity test. Pointed
43721         out by Holger Brunck <holger.brunck@keymile.com>.
43723 2013-03-13  Andreas Schwab  <schwab@suse.de>
43725         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
43726         instead of .os.
43728 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
43730         * timezone/zic.c: Update from tzcode 2013b.
43732 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
43734         * manual/install.texi (Configuring and compiling):
43735         Mention i686 and i586.
43736         * INSTALL: Regenerate.
43738 2013-03-12  Roland McGrath  <roland@hack.frob.com>
43740         * sysdeps/init_array/elf-init.c: New file.
43741         * csu/elf-init.c
43742         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
43743         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
43745         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
43746         __gmon_start__ as global, but as static with a .preinit_array pointer.
43747         * sysdeps/init_array/gmon-start.c: New file.  Use that.
43748         * sysdeps/init_array/crti.S: New file, empty except for comments.
43749         * sysdeps/init_array/crtn.S: Likewise.
43751 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
43753         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
43754         definining bcopy.
43755         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43756         Remove Prefer_SSE_for_memop.
43757         * sysdeps/x86_64/multiarch/init-arch.h: Remove
43758         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
43759         HAS_PREFER_SSE_FOR_MEMOP.
43760         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
43761         memset-x86-64.
43762         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43763         Remove bzero, memset ifunc support.
43764         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
43765         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
43766         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43767         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43769 2013-03-11  Andreas Schwab  <schwab@suse.de>
43771         [BZ #15234]
43772         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
43773         by SHLIB_COMPAT.
43774         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
43775         (GLIBC_2.16): Remove pthread_atfork.
43777 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
43779         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
43780         (ptestcases.h): Likewise.
43782 2013-03-08  Roland McGrath  <roland@hack.frob.com>
43784         * Makeconfig ($(common-objpfx)config.status): Depend on
43785         sysdeps/*/preconfigure{,.in} too.
43787 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
43789         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
43790         (__free_hook): Use void * instead of __malloc_ptr_t.
43791         (__malloc_hook): Likewise.
43792         (__realloc_hook): Likewise.
43793         (__memalign_hook): Likewise.
43794         (__after_morecore_hook): Likewise.
43795         * malloc/arena.c (save_malloc_hook): Likewise.
43796         (save_free_hook): Likewise.
43797         * malloc/hooks.c (malloc_hook_ini): Likewise.
43798         (realloc_hook_ini): Likewise.
43799         (memalign_hook_ini): Likewise.
43800         * malloc/malloc.c (malloc_hook_ini): Likewise.
43801         (realloc_hook_ini): Likewise.
43802         (memalign_hook_ini): Likewise.
43803         (__free_hook): Likewise.
43804         (__malloc_hook): Likewise.
43805         (__realloc_hook): Likewise.
43806         (__memalign_hook): Likewise.
43807         (__libc_malloc): Likewise.
43808         (__libc_free): Likewise.
43809         (__libc_realloc): Likewise.
43810         (__libc_memalign): Likewise.
43811         (__libc_valloc): Likewise.
43812         (__libc_pvalloc): Likewise.
43813         (__libc_calloc): Likewise.
43814         (__posix_memalign): Likewise.
43815         * malloc/morecore.c (__sbrk): Likewise.
43816         (__default_morecore): Likewise.
43818         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
43820         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
43821         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
43822         __malloc_ptrdiff_t.
43824         * malloc/malloc.h (__malloc_size_t): Remove macro.
43825         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
43826         __malloc_size_t.
43827         (old_memalign_hook): Likewise.
43828         (old_realloc_hook): Likewise.
43829         (struct hdr): Likewise.
43830         (flood): Likewise.
43831         (mallochook): Likewise.
43832         (memalignhook): Likewise.
43833         (reallochook): Likewise.
43834         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
43835         (tr_old_realloc_hook): Likewise.
43836         (tr_old_memalign_hook): Likewise.
43837         (tr_mallochook): Likewise.
43838         (tr_reallochook): Likewise.
43839         (tr_memalignhook): Likewise.
43841 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43843         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
43844         default_ldbl_pack and using as default implementation.
43845         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
43846         implementation.
43847         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
43848         redundant definition.
43849         (ldbl_insert_mantissa): Likewise.
43850         (ldbl_canonicalize): Likewise.
43851         (ldbl_nearbyint): Likewise.
43852         (ldbl_pack): Rename to ldbl_pack_ppc.
43853         (ldbl_unpack): Rename to ldbl_unpack_ppc.
43854         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
43855         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
43857 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43859         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
43860         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
43861         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
43862         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
43863         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
43864         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
43865         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
43866         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
43868 2013-03-07  Andreas Jaeger  <aj@suse.de>
43870         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43871         bits/mman-linux.h.
43873 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43875         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
43876         Include mpa.h and declare __MPEXP.
43877         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
43878         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43879         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43880         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
43881         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43882         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43883         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
43885         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
43886         (__slowpow): Use long double EXPL and LOGL functions to
43887         compute POW.
43888         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43889         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43890         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
43891         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43892         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43893         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
43895         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
43896         intermediate variable to calculate exponent.
43897         (__sqr): Likewise.
43898         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
43899         Likewise.
43900         (__sqr): Likewise.
43902         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
43903         [!NO__SQR]: Define __sqr.
43904         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
43905         and NO__SQR.  Remove all code except __mul and __sqr.  Include
43906         sysdeps/ieee754/dbl-64/mpa.c.
43907         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43909         [BZ #12723]
43910         * posix/Makefile (tests): Add tst-pathconf.
43911         * posix/tst-pathconf.c: New test case.
43912         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
43913         _PC_PIPE_BUF.
43914         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
43916 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
43918         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
43920 2013-03-06  Andreas Jaeger  <aj@suse.de>
43922         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
43923         definition via __MAP_ANONYMOUS.
43925         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
43926         it's not part of Linux headers.
43928         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
43929         (MAP_HUGE_MASK): Define.
43931         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43932         Define.
43933         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43934         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43935         Define.
43936         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43937         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43938         Define.
43939         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43940         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
43941         Define.
43942         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43944         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
43945         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
43946         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
43947         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
43948         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
43949         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
43951         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43952         Handle f2fs.
43954         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43955         Handle f2fs and efivarfs.
43957         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
43958         f2fs.
43960         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
43961         (EFIVARFS_MAGIC): Add.
43962         (F2FS_LINK_MAX): Add.
43964 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43966         * stdio-common/vfprintf.c: Replace __builtin_expect with
43967         __glibc_unlikely.
43969 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
43971         [BZ #13550]
43972         * sysdeps/generic/bp-sym.h: Remove file.
43973         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
43974         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
43975         <bp-sym.h> and <bp-asm.h>.
43976         (__longjmp): Don't use BP_SYM.
43977         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
43978         and <bp-asm.h>.
43979         (memcpy): Don't use BP_SYM.
43980         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
43981         <bp-sym.h> and <bp-asm.h>.
43982         (memcpy): Don't use BP_SYM.
43983         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
43984         <bp-asm.h>.
43985         (memcpy): Don't use BP_SYM.
43986         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
43987         <bp-asm.h>.
43988         (memset): Don't use BP_SYM.
43989         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43990         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43991         (__bzero): Don't use BP_SYM.
43992         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43993         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43994         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
43995         <bp-sym.h> and <bp-asm.h>.
43996         (memcmp): Don't use BP_SYM.  Remove comment about bounded
43997         pointers.
43998         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
43999         <bp-sym.h> and <bp-asm.h>.
44000         (memcpy): Don't use BP_SYM.
44001         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
44002         <bp-sym.h> and <bp-asm.h>.
44003         (memset): Don't use BP_SYM.
44004         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44005         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44006         (__bzero): Don't use BP_SYM.
44007         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44008         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44009         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
44010         <bp-sym.h> and <bp-asm.h>.
44011         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44012         pointers.
44013         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
44014         <bp-sym.h> and <bp-asm.h>.
44015         (memcpy): Don't use BP_SYM.
44016         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
44017         <bp-sym.h> and <bp-asm.h>.
44018         (memset): Don't use BP_SYM.
44019         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44020         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44021         (__bzero): Don't use BP_SYM.
44022         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44023         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44024         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
44025         <bp-sym.h> and <bp-asm.h>.
44026         (__memchr): Don't use BP_SYM.
44027         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
44028         <bp-sym.h> and <bp-asm.h>.
44029         (memcmp): Don't use BP_SYM.  Remove comment about bounded
44030         pointers.
44031         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
44032         <bp-sym.h> and <bp-asm.h>.
44033         (memcpy): Don't use BP_SYM.
44034         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
44035         <bp-sym.h> and <bp-asm.h>.
44036         (__mempcpy): Don't use BP_SYM.
44037         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
44038         <bp-sym.h> and <bp-asm.h>.
44039         (__memrchr): Don't use BP_SYM.
44040         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
44041         <bp-sym.h> and <bp-asm.h>.
44042         (memset): Don't use BP_SYM.
44043         (__bzero): Likewise.
44044         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
44045         <bp-sym.h> and <bp-asm.h>.
44046         (__rawmemchr): Don't use BP_SYM.
44047         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
44048         <bp-sym.h> and <bp-asm.h>.
44049         (__STRCMP): Don't use BP_SYM.
44050         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
44051         <bp-sym.h> and <bp-asm.h>.
44052         (strchr): Don't use BP_SYM.
44053         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
44054         <bp-sym.h> and <bp-asm.h>.
44055         (__strchrnul): Don't use BP_SYM.
44056         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
44057         <bp-sym.h> and <bp-asm.h>.
44058         (strlen): Don't use BP_SYM.
44059         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
44060         <bp-sym.h> and <bp-asm.h>.
44061         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44062         pointers.
44063         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
44064         <bp-sym.h> and <bp-asm.h>.
44065         (__strnlen): Don't use BP_SYM.
44066         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
44067         <bp-sym.h> and <bp-asm.h>.
44068         (__GI__setjmp): Don't use BP_SYM.
44069         (_setjmp): Likewise.
44070         (__sigsetjmp): Likewise.
44071         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
44072         (L(start_addresses)): Don't use BP_SYM.
44073         (_start): Likewise.
44074         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
44075         <bp-asm.h>.
44076         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
44077         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
44078         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44079         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44080         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
44081         <bp-asm.h>.
44082         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
44083         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
44084         about bounded pointers.
44085         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44086         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44087         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
44088         <bp-asm.h>.
44089         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
44090         about bounded pointers.  Remove GKM FIXME comments.
44091         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44092         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
44093         <bp-asm.h>.
44094         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
44095         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
44096         Remove GKM FIXME comments.
44097         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44098         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44099         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
44100         <bp-asm.h>.
44101         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
44102         about bounded pointers.  Remove GKM FIXME comment.
44103         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
44104         and <bp-asm.h>.
44105         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44106         pointers.
44107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
44108         <bp-sym.h> and <bp-asm.h>.
44109         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
44110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
44111         <bp-sym.h> and <bp-asm.h>.
44112         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
44113         comment.
44115 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44117         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
44118         call free(NULL).
44120 2013-03-05  David S. Miller  <davem@davemloft.net>
44122         * po/es.po: Update from translation team.
44124 2013-03-05  Andreas Jaeger  <aj@suse.de>
44126         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
44127         <bits/mman-linux.h>.
44128         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44129         is fine.
44130         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
44131         <bits/mman-linux.h> to end of file.
44132         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44133         is fine.
44134         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
44135         <bits/mman-linux.h> to end of file.
44136         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44137         is fine.
44138         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
44139         <bits/mman-linux.h> to end of file.
44141         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
44142         (MCL_CURRENT, MCL_FUTURE): Define here.
44144 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44146         [BZ #15232]
44147         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
44148         attribute_hidden.
44149         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44151 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44153         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
44154         fourth parameter needed for rt_sigprocmask syscall.
44155         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
44156         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
44157         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
44158         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44159         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
44160         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
44162 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
44164         [BZ #13550]
44165         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
44166         comment about bounded pointers.
44167         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
44168         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
44170 2013-03-04  Andreas Jaeger  <aj@suse.de>
44172         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
44173         common definitions.
44175         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
44176         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
44177         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
44178         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44179         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44180         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44182 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44184         [BZ #15055]
44185         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
44186         __ieee754_sqrl instead of __sqrl.
44188 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
44190         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
44191         * sysdeps/powerpc/fpu_control.h: ... here.
44192         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
44193         * sysdeps/powerpc/bits/fenvinline.h: ... here.
44194         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
44195         * sysdeps/powerpc/bits/mathinline.h: ... here.
44197 2013-03-01  Roland McGrath  <roland@hack.frob.com>
44199         * elf/dl-hwcaps.c (_dl_important_hwcaps):
44200         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
44201         to just [NEED_DL_SYSINFO_DSO].
44202         * elf/dl-support.c: Likewise.
44203         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44204         * elf/rtld.c (dl_main): Likewise.
44205         * elf/setup-vdso.h (setup_vdso): Likewise.
44206         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
44207         * sysdeps/unix/sysv/linux/dl-sysdep.c
44208         (_dl_discover_osversion): Likewise.
44210 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
44212         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
44213         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44215 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
44217         * NEWS: Mention libm performance improvements and non-x86 PI
44218         futex support.
44220         * csu/libc-start.c (__pthread_initialize_minimal): Change
44221         function arguments.
44222         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44224 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
44226         [BZ #13550]
44227         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
44228         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
44229         <bp-sym.h> and <bp-asm.h>.
44230         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44231         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
44232         and <bp-asm.h>.
44233         (memcpy): Don't use BP_SYM.
44234         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
44235         <bp-asm.h>.
44236         (__mpn_add_n): Don't use BP_SYM.
44237         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
44238         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
44239         and <bp-asm.h>.
44240         (__mpn_addmul_1): Don't use BP_SYM.
44241         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44242         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
44243         <bp-sym.h>.
44244         (_setjmp): Don't use BP_SYM.
44245         (__novmx_setjmp): Likewise.
44246         (__GI__setjmp): Likewise.
44247         (__vmx_setjmp): Likewise.
44248         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
44249         <bp-sym.h>.
44250         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
44251         (__bzero): Don't use BP_SYM.
44252         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44253         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44254         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
44255         <bp-sym.h> and <bp-asm.h>.
44256         (memcpy): Don't use BP_SYM.
44257         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
44258         <bp-sym.h> and <bp-asm.h>.
44259         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44260         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
44261         <bp-sym.h> and <bp-asm.h>.
44262         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44263         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
44264         <bp-asm.h>.
44265         (__mpn_lshift): Don't use BP_SYM.
44266         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44267         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
44268         <bp-asm.h>.
44269         (memset): Don't use BP_SYM.
44270         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44271         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44272         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
44273         <bp-asm.h>.
44274         (__mpn_mul_1): Don't use BP_SYM.
44275         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44276         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
44277         <bp-sym.h> and <bp-asm.h>.
44278         (memcmp): Don't use BP_SYM.
44279         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
44280         <bp-sym.h> and <bp-asm.h>.
44281         (memcpy): Don't use BP_SYM.
44282         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
44283         <bp-sym.h> and <bp-asm.h>.
44284         (memset): Don't use BP_SYM.
44285         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
44286         <bp-sym.h> and <bp-asm.h>.
44287         (strncmp): Don't use BP_SYM.
44288         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
44289         <bp-sym.h> and <bp-asm.h>.
44290         (memcpy): Don't use BP_SYM.
44291         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
44292         <bp-sym.h> and <bp-asm.h>.
44293         (memset): Don't use BP_SYM.
44294         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
44295         <bp-sym.h> and <bp-asm.h>.
44296         (__memchr): Don't use BP_SYM.
44297         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
44298         <bp-sym.h> and <bp-asm.h>.
44299         (memcmp): Don't use BP_SYM.
44300         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
44301         <bp-sym.h> and <bp-asm.h>.
44302         (memcpy): Don't use BP_SYM.
44303         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
44304         <bp-sym.h> and <bp-asm.h>.
44305         (__mempcpy): Don't use BP_SYM.
44306         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
44307         <bp-sym.h> and <bp-asm.h>.
44308         (__memrchr): Don't use BP_SYM.
44309         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
44310         <bp-sym.h> and <bp-asm.h>.
44311         (memset): Don't use BP_SYM.
44312         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
44313         <bp-sym.h> and <bp-asm.h>.
44314         (__rawmemchr): Don't use BP_SYM.
44315         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
44316         <bp-sym.h> and <bp-asm.h>.
44317         (__STRCMP): Don't use BP_SYM.
44318         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
44319         <bp-sym.h> and <bp-asm.h>.
44320         (strchr): Don't use BP_SYM.
44321         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
44322         <bp-sym.h> and <bp-asm.h>.
44323         (__strchrnul): Don't use BP_SYM.
44324         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
44325         <bp-sym.h> and <bp-asm.h>.
44326         (strlen): Don't use BP_SYM.
44327         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
44328         <bp-sym.h> and <bp-asm.h>.
44329         (strncmp): Don't use BP_SYM.
44330         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
44331         <bp-sym.h> and <bp-asm.h>.
44332         (__strnlen): Don't use BP_SYM.
44333         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
44334         <bp-asm.h>.
44335         (__mpn_rshift): Don't use BP_SYM.
44336         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44337         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
44338         <bp-sym.h> and <bp-asm.h>.
44339         (__sigsetjmp): Don't use BP_SYM.
44340         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
44341         (L(start_addresses)): Don't use BP_SYM.
44342         (_start): Likewise.
44343         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
44344         <bp-asm.h>.
44345         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
44346         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44347         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44348         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
44349         <bp-asm.h>.
44350         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
44351         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44352         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44353         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
44354         <bp-asm.h>.
44355         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44356         comments.
44357         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44358         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
44359         <bp-asm.h>.
44360         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
44361         FIXME comments.
44362         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44363         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44364         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
44365         <bp-asm.h>.
44366         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44367         comment.
44368         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
44369         and <bp-asm.h>.
44370         (strncmp): Don't use BP_SYM,
44371         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
44372         <bp-asm.h>.
44373         (__mpn_sub_n): Don't use BP_SYM.
44374         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44375         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
44376         and <bp-asm.h>.
44377         (__mpn_submul_1): Don't use BP_SYM.
44378         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
44380         <bp-sym.h> and <bp-asm.h>.
44381         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
44382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
44383         <bp-sym.h> and <bp-asm.h>.
44384         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
44385         comment.
44387 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44389         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
44390         Use ZK to minimize writes to Z.
44391         (sub_magnitudes): Simplify code a bit.
44392         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
44393         Use ZK to minimize writes to Z.
44394         (sub_magnitudes): Simplify code a bit.
44396 2013-02-27  Roland McGrath  <roland@hack.frob.com>
44398         * csu/gmon-start.c: Add special exception to license text.
44400 2013-02-27  Richard Henderson  <rth@redhat.com>
44402         * scripts/config.guess: Update from config.git.
44403         * scripts/config.sub: Likewise.
44405 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44407         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
44409         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
44411         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
44413         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
44415         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
44417 2013-02-26  Roland McGrath  <roland@hack.frob.com>
44419         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
44420         [$(build-shared = yes].
44422 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44424         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
44425         (__mul): Reduce iterations for calculating mantissa.
44427         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
44428         MPTWO.
44429         (__mpranred): Likewise.
44431         [BZ #15160]
44432         * malloc/memusagestat.c (main): Draw graphs for heap and stack
44433         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
44435 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
44437         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
44438         Define __attribute__.
44440 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44442         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
44443         unused.
44444         * posix/regex_internal.h (__attribute): Remove.
44445         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
44446         (re_string_context_at): Likewise.
44447         (bitset_not): Use __attribute__ and mark function as possibly
44448         unused.
44449         (bitset_merge): Likewise.
44450         (bitset_mask): Likewise.
44451         (re_string_char_size_at): Likewise.
44452         (re_string_wchar_at): Likewise.
44453         (re_string_elem_size_at): Likewise.
44455 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44457         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
44458         code.
44459         (cc32): Likewise.
44461         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
44462         (__acr): Likewise.
44463         (__cpy): Likewise.
44464         (norm): Likewise.
44465         (denorm): Likewise.
44466         (__dbl_mp): Likewise.
44467         (add_magnitudes): Likewise.
44468         (sub_magnitudes): Likewise.
44469         (__mul): Likewise.
44470         (__inv): Likewise.
44472         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
44473         style.
44475         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
44476         style.
44478         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
44479         code.
44481         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
44482         up changes with default code.
44483         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
44484         Likewise.
44486 2013-02-24  Allan McRae  <allan@archlinux.org>
44488         * manual/socket.texi (The Internet Namespace): Order menu items
44489         to match that in the file.
44491         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
44492         node listing of the info page menu.
44494 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
44496         [BZ #13550]
44497         * sysdeps/i386/bp-asm.h: Remove file.
44498         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
44499         (PARMS): Do not use macros from bp-asm.h.
44500         (S1): Likewise.
44501         (S2): Likewise.
44502         (SIZE): Likewise.
44503         (__mpn_add_n): Do not use BP_SYM
44504         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
44505         "bp-asm.h".
44506         (PARMS): Do not use macros from bp-asm.h.
44507         (S1): Likewise.
44508         (SIZE): Likewise.
44509         (__mpn_addmul_1): Do not use BP_SYM
44510         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
44511         "bp-asm.h".
44512         (PARMS): Do not use macros from bp-asm.h.
44513         (SIGMSK): Likewise.
44514         (_setjmp): Likewise.  Do not use BP_SYM.
44515         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
44516         "bp-asm.h".
44517         (PARMS): Do not use macros from bp-asm.h.
44518         (SIGMSK): Likewise.
44519         (setjmp): Likewise.  Do not use BP_SYM.
44520         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
44521         "bp-asm.h".
44522         (PARMS): Do not use macros from bp-asm.h.
44523         (__frexp): Do not use BP_SYM.
44524         (frexp): Likewise.
44525         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
44526         "bp-asm.h".
44527         (PARMS): Do not use macros from bp-asm.h.
44528         (__frexpf): Do not use BP_SYM.
44529         (frexpf): Likewise.
44530         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
44531         "bp-asm.h".
44532         (PARMS): Do not use macros from bp-asm.h.
44533         (__frexpl): Do not use BP_SYM.
44534         (frexpl): Likewise.
44535         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
44536         "bp-asm.h".
44537         (PARMS): Do not use macros from bp-asm.h.
44538         (__remquo): Do not use BP_SYM.
44539         (remquo): Likewise.
44540         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
44541         "bp-asm.h".
44542         (PARMS): Do not use macros from bp-asm.h.
44543         (__remquof): Do not use BP_SYM.
44544         (remquof): Likewise.
44545         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
44546         "bp-asm.h".
44547         (PARMS): Do not use macros from bp-asm.h.
44548         (__remquol): Do not use BP_SYM.
44549         (remquol): Likewise.
44550         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
44551         "bp-asm.h".
44552         (PARMS): Do not use macros from bp-asm.h.
44553         (DEST): Likewise.
44554         (SRC): Likewise.
44555         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
44556         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
44557         "bp-asm.h".
44558         (PARMS): Do not use macros from bp-asm.h.
44559         (strlen): Do not use BP_SYM.
44560         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
44561         "bp-asm.h".
44562         (PARMS): Do not use macros from bp-asm.h.
44563         (S1): Likewise.
44564         (S2): Likewise.
44565         (SIZE): Likewise.
44566         (__mpn_add_n): Do not use BP_SYM.
44567         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
44568         "bp-asm.h".
44569         (PARMS): Do not use macros from bp-asm.h.
44570         (S1): Likewise.
44571         (SIZE): Likewise.
44572         (__mpn_addmul_1): Do not use BP_SYM.
44573         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
44574         weak_alias.
44575         (bzero): Likewise.
44576         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
44577         "bp-asm.h".
44578         (PARMS): Do not use macros from bp-asm.h.
44579         (S): Likewise.
44580         (SIZE): Likewise.
44581         (__mpn_lshift): Do not use BP_SYM.
44582         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
44583         "bp-asm.h".
44584         (PARMS): Do not use macros from bp-asm.h.
44585         (DEST): Likewise.
44586         (SRC): Likewise.
44587         (LEN): Likewise.
44588         (memcpy): Likewise.  Do not use BP_SYM.
44589         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
44590         libc_hidden_def and weak_alias.
44591         (mempcpy): Do not use BP_SYM in weak_alias.
44592         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
44593         "bp-asm.h".
44594         (PARMS): Do not use macros from bp-asm.h.
44595         (DEST): Likewise.
44596         (LEN): Likewise.
44597         [!BZERO_P] (CHR): Likewise.
44598         (memset): Likewise.  Do not use BP_SYM.
44599         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
44600         "bp-asm.h".
44601         (PARMS): Do not use macros from bp-asm.h.
44602         (S1): Likewise.
44603         (SIZE): Likewise.
44604         (__mpn_mul_1): Do not use BP_SYM.
44605         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
44606         "bp-asm.h".
44607         (PARMS): Do not use macros from bp-asm.h.
44608         (S): Likewise.
44609         (SIZE): Likewise.
44610         (__mpn_rshift): Do not use BP_SYM.
44611         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
44612         "bp-asm.h".
44613         (PARMS): Do not use macros from bp-asm.h.
44614         (STR): Likewise.
44615         (CHR): Likewise.
44616         (strchr): Likewise.  Do not use BP_SYM.
44617         (index): Do not use BP_SYM in weak_alias.
44618         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
44619         "bp-asm.h".
44620         (PARMS): Do not use macros from bp-asm.h.
44621         (DEST): Likewise.
44622         (SRC): Likewise.
44623         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
44624         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
44625         "bp-asm.h".
44626         (PARMS): Do not use macros from bp-asm.h.
44627         (strlen): Do not use BP_SYM.
44628         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
44629         "bp-asm.h".
44630         (PARMS): Do not use macros from bp-asm.h.
44631         (S1): Likewise.
44632         (S2): Likewise.
44633         (SIZE): Likewise.
44634         (__mpn_sub_n): Do not use BP_SYM.
44635         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
44636         "bp-asm.h".
44637         (PARMS): Do not use macros from bp-asm.h.
44638         (S1): Likewise.
44639         (SIZE): Likewise.
44640         (__mpn_submul_1): Do not use BP_SYM.
44641         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
44642         "bp-asm.h".
44643         (PARMS): Do not use macros from bp-asm.h.
44644         (S1): Likewise.
44645         (S2): Likewise.
44646         (SIZE): Likewise.
44647         (__mpn_add_n): Do not use BP_SYM.
44648         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
44649         weak_alias.
44650         (bzero): Likewise.
44651         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
44652         "bp-asm.h".
44653         (PARMS): Do not use macros from bp-asm.h.
44654         (BLK2): Likewise.
44655         (LEN): Likewise.
44656         (memcmp): Do not use BP_SYM.
44657         (bcmp): Do not use BP_SYM in weak_alias.
44658         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
44659         "bp-asm.h".
44660         (PARMS): Do not use macros from bp-asm.h.
44661         (DEST): Likewise.
44662         (SRC): Likewise.
44663         (LEN): Likewise.
44664         (memcpy): Likewise.  Do not use BP_SYM.
44665         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
44666         "bp-asm.h".
44667         (PARMS): Do not use macros from bp-asm.h.
44668         (DEST): Likewise.
44669         (SRC): Likewise.
44670         (LEN): Likewise.
44671         (memmove): Likewise.  Do not use BP_SYM.
44672         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
44673         "bp-asm.h".
44674         (PARMS): Do not use macros from bp-asm.h.
44675         (DEST): Likewise.
44676         (SRC): Likewise.
44677         (LEN): Likewise.
44678         (__mempcpy): Likewise.  Do not use BP_SYM.
44679         (mempcpy): Do not use BP_SYM in weak_alias.
44680         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
44681         "bp-asm.h".
44682         (PARMS): Do not use macros from bp-asm.h.
44683         (DEST): Likewise.
44684         (LEN): Likewise.
44685         [!BZERO_P] (CHR): Likewise.
44686         (memset): Likewise.  Do not use BP_SYM.
44687         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
44688         "bp-asm.h".
44689         (PARMS): Do not use macros from bp-asm.h.
44690         (STR2): Likewise.
44691         (strcmp): Do not use BP_SYM.
44692         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
44693         "bp-asm.h".
44694         (PARMS): Do not use macros from bp-asm.h.
44695         (STR): Likewise.
44696         (DELIM): Likewise.
44697         [USE_AS_STRTOK_R] (SAVE): Likewise.
44698         (FUNCTION): Likewise.  Do not use BP_SYM.
44699         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
44700         aliases.
44701         (strtok_r): Likewise.
44702         (__GI___strtok_r): Likewise.
44703         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
44704         (PARMS): Do not use macros from bp-asm.h.
44705         (S): Likewise.
44706         (SIZE): Likewise.
44707         (__mpn_lshift): Do not use BP_SYM.
44708         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
44709         (PARMS): Do not use macros from bp-asm.h.
44710         (STR): Likewise.
44711         (CHR): Likewise.
44712         (__memchr): Do not use BP_SYM.
44713         (memchr): Do not use BP_SYM in weak_alias.
44714         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
44715         (PARMS): Do not use macros from bp-asm.h.
44716         (BLK2): Likewise.
44717         (LEN): Likewise.
44718         (memcmp): Do not use BP_SYM.
44719         (bcmp): Do not use BP_SYM in weak_alias.
44720         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
44721         (PARMS): Do not use macros from bp-asm.h.
44722         (S1): Likewise.
44723         (SIZE): Likewise.
44724         (__mpn_mul_1): Do not use BP_SYM.
44725         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
44726         "bp-asm.h".
44727         (PARMS): Do not use macros from bp-asm.h.
44728         (STR): Likewise.
44729         (CHR): Likewise.
44730         (__rawmemchr): Do not use BP_SYM.
44731         (rawmemchr): Do not use BP_SYM in weak_alias.
44732         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
44733         (PARMS): Do not use macros from bp-asm.h.
44734         (S): Likewise.
44735         (SIZE): Likewise.
44736         (__mpn_rshift): Do not use BP_SYM.
44737         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
44738         (PARMS): Do not use macros from bp-asm.h.
44739         (SIGMSK): Likewise.
44740         (__sigsetjmp): Likewise.  Do not use BP_SYM.
44741         * sysdeps/i386/start.S: Do not include "bp-sym.h".
44742         (_start): Do not use BP_SYM.
44743         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
44744         (PARMS): Do not use macros from bp-asm.h.
44745         (DEST): Likewise.
44746         (SRC): Likewise.
44747         (__stpcpy): Likewise.  Do not use BP_SYM.
44748         (stpcpy): Do not use BP_SYM in weak_alias.
44749         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
44750         "bp-asm.h".
44751         (PARMS): Do not use macros from bp-asm.h.
44752         (DEST): Likewise.
44753         (SRC): Likewise.
44754         (LEN): Likewise.
44755         (__stpncpy): Likewise.  Do not use BP_SYM.
44756         (stpncpy): Do not use BP_SYM in weak_alias.
44757         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
44758         (PARMS): Do not use macros from bp-asm.h.
44759         (STR): Likewise.
44760         (CHR): Likewise.
44761         (strchr): Likewise.  Do not use BP_SYM.
44762         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
44763         "bp-asm.h".
44764         (PARMS): Do not use macros from bp-asm.h.
44765         (STR): Likewise.
44766         (CHR): Likewise.
44767         (__strchrnul): Likewise.  Do not use BP_SYM.
44768         (strchrnul): Do not use BP_SYM in weak_alias.
44769         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
44770         "bp-asm.h".
44771         (PARMS): Do not use macros from bp-asm.h.
44772         (STOP): Likewise.
44773         (strcspn): Do not use BP_SYM.
44774         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
44775         "bp-asm.h".
44776         (PARMS): Do not use macros from bp-asm.h.
44777         (STR): Likewise.
44778         (STOP): Likewise.
44779         (strpbrk): Likewise.  Do not use BP_SYM.
44780         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
44781         "bp-asm.h".
44782         (PARMS): Do not use macros from bp-asm.h.
44783         (STR): Likewise.
44784         (CHR): Likewise.
44785         (strrchr): Likewise.  Do not use BP_SYM.
44786         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
44787         (PARMS): Do not use macros from bp-asm.h.
44788         (SKIP): Likewise.
44789         (strspn): Do not use BP_SYM.
44790         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
44791         (PARMS): Do not use macros from bp-asm.h.
44792         (STR): Likewise.
44793         (DELIM): Likewise.
44794         (SAVE): Likewise.
44795         (FUNCTION): Likewise.  Do not use BP_SYM.
44796         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
44797         aliases.
44798         (strtok_r): Likewise.
44799         (__GI___strtok_r): Likewise.
44800         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
44801         (PARMS): Do not use macros from bp-asm.h.
44802         (S1): Likewise.
44803         (S2): Likewise.
44804         (SIZE): Likewise.
44805         (__mpn_sub_n): Do not use BP_SYM.
44806         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
44807         "bp-asm.h".
44808         (PARMS): Do not use macros from bp-asm.h.
44809         (S1): Likewise.
44810         (SIZE): Likewise.
44811         (__mpn_submul_1): Do not use BP_SYM.
44812         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
44813         <bp-sym.h>.
44814         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
44815         and <bp-asm.h>.
44816         (PARMS): Do not use macros from bp-asm.h.
44817         (FLAGS): Likewise.
44818         (PTID): Likewise.
44819         (TLS): Likewise.
44820         (CTID): Likewise.
44821         (__clone): Do not use BP_SYM.
44822         (clone): Do not use BP_SYM in weak_alias.
44823         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
44824         and <bp-asm.h>.
44825         (PARMS): Do not use macros from bp-asm.h.
44826         (LEN): Likewise.
44827         (__mmap64): Do not use BP_SYM.
44828         (mmap64): Do not use BP_SYM in weak_alias.
44829         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44830         <bp-sym.h> and <bp-asm.h>.
44831         (PARMS): Do not use macros from bp-asm.h.
44832         (__posix_fadvise64_l64): Do not use BP_SYM.
44833         * sysdeps/unix/sysv/linux/i386/semtimedop.S
44834         (PARMS): Do not use macros from bp-asm.h.
44835         (NSOPS): Likewise.
44836         (semtimedop): Do not use BP_SYM.
44837         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
44838         and <bp-asm.h>.
44840 2013-02-21  Allan McRae  <allan@archlinux.org>
44842         * manual/message.texi (Charset conversion in gettext):
44843         Move @end statement to beginning of line.
44845 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44847         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
44848         static.
44849         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
44850         Likewise.
44852         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
44853         (denorm): Likewise.
44854         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
44855         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
44857 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44859         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
44860         tail-call to the resolved function if pltexit isn't needed.
44862 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44864         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
44865         or Y being zero as being unlikely.
44866         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
44867         Likewise.
44869 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
44871         * manual/nss.texi (System Databases and Name Service Switch):
44872         Remove frobnicate @pxref.
44874 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44876         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44877         __attribute__ ((unused)) to __attribute__ ((__unused__)).
44879 2013-02-20  Petr Machata  <pmachata@redhat.com>
44881         * elf/elf.h (R_ARM_TARGET1): New macro.
44882         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
44883         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
44884         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
44885         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
44886         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
44887         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
44888         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
44889         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
44890         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
44891         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
44892         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
44893         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
44894         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
44895         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
44896         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
44897         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
44898         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
44899         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
44900         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
44901         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
44902         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
44903         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
44904         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
44905         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
44906         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
44907         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
44908         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
44909         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
44910         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
44911         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
44912         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
44913         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
44914         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
44915         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
44916         (R_ARM_THM_GOT_BREL12): Likewise.
44917         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
44918         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
44919         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
44920         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
44921         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
44922         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
44923         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
44924         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
44925         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
44927 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44929         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44930         __attribute_used__ to __attribute__ ((unused)).
44932 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44934         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
44935         powerpc mpa.c.
44936         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
44937         comment formatting.
44938         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
44940 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
44942         [BZ #13550]
44943         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
44944         Remove macro.
44945         (ENTER): Remove both macro definitions.
44946         (LEAVE): Likewise.
44947         (CHECK_BOUNDS_LOW): Likewise.
44948         (CHECK_BOUNDS_HIGH): Likewise.
44949         (CHECK_BOUNDS_BOTH): Likewise.
44950         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
44951         (RETURN_BOUNDED_POINTER): Likewise.
44952         (RETURN_NULL_BOUNDED_POINTER): Likewise.
44953         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
44954         (POP_ERRNO_LOCATION_RETURN): Likewise.
44955         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
44956         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44957         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
44958         macros.
44959         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44960         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
44961         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
44962         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
44963         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
44964         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
44965         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
44966         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
44967         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
44968         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
44969         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
44970         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
44971         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44972         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
44973         removed macros.
44974         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44975         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
44976         macros.
44977         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44978         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
44979         * sysdeps/i386/i586/memset.S (memset): Likewise.
44980         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
44981         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44982         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
44983         macros.
44984         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44985         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
44986         Change uses of L(2) to L(out).
44987         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
44988         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
44989         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
44990         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44991         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
44992         removed macros.
44993         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44994         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
44995         macros.
44996         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44997         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
44998         (RETURN): Do not use macro LEAVE.
44999         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
45000         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
45001         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
45002         * sysdeps/i386/i686/memset.S (memset): Likewise.
45003         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
45004         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
45005         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45006         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
45007         Likewise.
45008         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45009         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
45010         L(1_2) and L(1_3) into L(1).
45011         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
45012         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
45013         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45014         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
45015         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45016         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
45017         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
45018         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45019         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
45020         macros.
45021         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
45022         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45023         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
45024         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
45025         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
45026         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45027         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
45028         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
45029         * sysdeps/i386/strcspn.S (strcspn): Likewise.
45030         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
45031         * sysdeps/i386/strrchr.S (strrchr): Likewise.
45032         * sysdeps/i386/strspn.S (strspn): Likewise.
45033         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
45034         conditional code.
45035         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45036         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
45037         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
45038         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
45039         L(1_3) into L(1_1).
45040         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
45041         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45042         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
45043         macros.
45044         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45046 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
45048         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
45049         macro.
45051 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45053         * math/atest-exp.c (exp_mpn): Remove ROUND.
45054         * math/atest-exp2.c (exp_mpn): Likewise.
45055         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
45057         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
45058         * stdlib/tst-tls-atexit-lib.c: Likewise.
45059         * stdlib/tst-tls-atexit.c: Likewise.
45061 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45063         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
45064         and __attribute_alloc_size__.
45066 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45068         * include/programs/xmalloc.h: Change __attribute_alloc_size to
45069         __attribute_alloc_size__.
45070         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
45071         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
45073 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45075         * include/programs/xmalloc.h: New file.
45076         * catgets/gencat.c: Include it.
45077         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
45078         * elf/pldd.c: Likewise.
45079         * iconv/iconv_charmap.c: Likewise.
45080         * iconv/iconvconfig.c: Likewise.
45081         * iconv/strtab.c: Likewise.
45082         * locale/programs/locale.c: Likewise.
45083         * locale/programs/localedef.h: Likewise.
45084         * locale/programs/simple-hash.c: Likewise.
45085         * nscd/nscd.h: Likewise.
45086         * nss/makedb.c: Likewise.
45087         * sysdeps/generic/ldconfig.h: Likewise.
45089 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45091         * Versions.def: Add GLIBC_2.18.
45092         * include/link.h (struct link_map): New member l_tls_dtor_count.
45093         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
45094         (__call_tls_dtors): Likewise.
45095         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
45096         __cxa_thread_atexit_impl.
45097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45098         Likewise.
45099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45100         Likewise.
45101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45102         Likewise.
45103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45104         Likewise.
45105         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45106         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
45107         Likewise.
45108         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
45109         Likewise.
45110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45111         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45112         Likewise.
45113         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
45114         (tests): Add test case tst-tls-atexit.
45115         (modules-names): Add shared library for tst-tls-atexit.
45116         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
45117         (GLIBC_PRIVATE): Add __call_tls_dtors.
45118         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
45119         for libstdc++.
45120         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
45121         * stdlib/tst-tls-atexit.c: New test case.
45122         * stdlib/tst-tls-atexit-lib.c: New test case.
45124         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
45126         * elf/Versions (ld): Add _dl_find_dso_for_object.
45127         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
45128         * elf/dl-open.c (_dl_find_dso_for_object): New function.
45129         (dl_open_worker): Use _dl_find_dso_for_object.
45130         * elf/dl-sym.c (do_sym): Likewise.
45131         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
45133 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45135         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
45136         Syntactic changes only.
45137         (_dl_runtime_profile): Do a tail-call to the resolved function.
45139 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
45141         [BZ #13550]
45142         * sysdeps/x86_64/bp-asm.h: Remove file.
45143         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
45144         <bp-sym.h> and <bp-asm.h>.
45145         (__clone): Do not use BP_SYM.
45146         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
45147         <bp-sym.h> and <bp-asm.h>.
45148         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45149         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
45150         "bp-asm.h".
45151         (_setjmp): Do not use BP_SYM.
45152         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
45153         "bp-asm.h".
45154         (setjmp): Do not use BP_SYM.
45155         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
45156         libc_hidden_def.
45157         (mempcpy): Do not use BP_SYM in weak_alias.
45158         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
45159         "bp-asm.h".
45160         (strchr): Do not use BP_SYM.
45161         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
45162         "bp-asm.h".
45163         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
45164         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
45165         (_start): Do not use BP_SYM.
45166         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
45167         "bp-asm.h".
45168         (strcat): Do not use BP_SYM.
45169         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
45170         "bp-asm.h".
45171         (STRCMP): Do not use BP_SYM.
45172         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
45173         "bp-asm.h".
45174         (STRCPY): Do not use BP_SYM.
45175         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
45176         "bp-asm.h".
45177         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
45178         "bp-asm.h".
45179         (FUNCTION): Do not use BP_SYM.
45180         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
45181         weak_alias.
45182         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
45184 2013-02-17  Andreas Jaeger  <aj@suse.de>
45186         * time/Versions: Sort entries.
45187         * string/Versions: Likewise.
45188         * resolv/Versions: Likewise.
45189         * posix/Versions: Likewise.
45190         * iconv/Versions: Likewise.
45191         * elf/Versions: Likewise.
45192         * wcsmbs/Versions: Likewise.
45194 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45196         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
45197         loop termination condition.
45199         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
45200         variable to calculate EZ.
45201         (__sqr): Likewise.
45203         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
45204         the lower precision input.
45206 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
45208         [BZ #13550]
45209         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
45210         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
45211         (run-via-rtld-prefix): Do not handle %-bp tests.
45212         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
45213         (all-object-suffixes): Remove .ob.
45214         (bppfx): Remove variable.
45215         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
45216         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
45217         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
45218         [$(build-bounded) = yes] (libtype.ob): Likewise.
45219         * Makerules (elide-routines.ob): Remove variable.
45220         (do-tests-clean): Do not handle *-bp.out.
45221         (common-mostlyclean): Do not handle *-bp and *-bp.out.
45222         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
45223         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
45224         (tests): Do not include $(tests-bp.out).
45225         (xtests): Do not include $(xtests-bp.out).
45226         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
45227         [$(build-bounded) = yes] ($(addprefix
45228         $(objpfx),$(binaries-bounded))): Remove rule.
45229         ($(objpfx)%-bp.out): Remove rule.
45230         * config.make.in (build-bounded): Remove variable.
45231         * crypt/Makefile [$(build-bounded) = yes]
45232         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
45233         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
45234         append to variable.
45235         [$(build-bounded) = yes] (install-lib): Likewise.
45236         [$(build-bounded) = yes] (generated): Likewise.
45237         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
45238         Remove rule.
45239         * intl/Makefile [$(build-bounded) = yes]
45240         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
45241         * math/Makefile [$(build-bounded) = yes]
45242         ($(tests:%=$(objpfx)%-bp): Likewise.
45243         * misc/Makefile [$(build-bounded) = yes]
45244         ($(objpfx)tst-tsearch-bp): Likewise.
45245         * nptl/Makeconfig (bounded-thread-library): Remove variable.
45246         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
45247         Remove dependency.
45248         * string/Makefile (o-objects.ob): Remove variable.
45249         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
45250         (CFLAGS-.ob): Remove variable.
45251         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
45252         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
45253         both definitions of variable.
45254         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
45255         (ASFLAGS-.ob): Remove variable.
45257 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
45259         [BZ #13550]
45260         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
45261         Remove __BOUNDED_POINTERS__ from condition.
45262         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
45263         * string/bits/string2.h [!__NO_STRING_INLINES &&
45264         !__BOUNDED_POINTERS__]: Likewise.
45265         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
45266         Likewise.
45267         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
45268         Remove conditional code.
45269         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
45270         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
45271         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
45272         condition.
45274         [BZ #13550]
45275         * csu/libc-start.c: Do not include <bp-sym.h>.
45276         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
45277         * elf/dl-open.c: Do not include <bp-sym.h>.
45278         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
45279         * math/fegetenv.c: Do not include <bp-sym.h>.
45280         (fegetenv): Do not use BP_SYM in versioned symbols.
45281         * nptl/sysdeps/pthread/bits/libc-lockP.h
45282         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
45283         <bp-sym.h>.
45284         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45285         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
45286         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45287         (__pthread_mutex_destroy): Likewise.
45288         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45289         (__pthread_mutex_lock): Likewise.
45290         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45291         (__pthread_mutex_trylock): Likewise.
45292         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45293         (__pthread_mutex_unlock): Likewise.
45294         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45295         (__pthread_mutexattr_init): Likewise.
45296         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45297         (__pthread_mutexattr_destroy): Likewise.
45298         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45299         (__pthread_mutexattr_settype): Likewise.
45300         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45301         (__pthread_rwlock_init): Likewise.
45302         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45303         (__pthread_rwlock_destroy): Likewise.
45304         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45305         (__pthread_rwlock_rdlock): Likewise.
45306         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45307         (__pthread_rwlock_tryrdlock): Likewise.
45308         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45309         (__pthread_rwlock_wrlock): Likewise.
45310         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45311         (__pthread_rwlock_trywrlock): Likewise.
45312         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45313         (__pthread_rwlock_unlock): Likewise.
45314         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45315         (__pthread_key_create): Likewise.
45316         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45317         (__pthread_setspecific): Likewise.
45318         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45319         (__pthread_getspecific): Likewise.
45320         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
45321         Likewise.
45322         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45323         (_pthread_cleanup_push_defer): Likewise.
45324         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45325         (_pthread_cleanup_pop_restore): Likewise.
45326         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45327         (pthread_setcancelstate): Likewise.
45328         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
45329         <bp-sym.h>.
45330         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
45331         (memchr): Do not use BP_SYM in weak_alias.
45332         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
45333         (fegetenv): Do not use BP_SYM in versioned symbols.
45334         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
45335         (fesetenv): Do not use BP_SYM in versioned symbols.
45336         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45337         (feupdateenv): Do not use BP_SYM in versioned symbols.
45338         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45339         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45340         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
45341         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
45342         (open64): Do not use BP_SYM in weak_alias.
45343         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
45344         (fegetenv): Do not use BP_SYM in versioned symbols.
45345         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
45346         (fesetenv): Do not use BP_SYM in versioned symbols.
45347         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45348         (feupdateenv): Do not use BP_SYM in versioned symbols.
45349         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
45350         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
45351         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
45352         (feraiseexcept): Do not use BP_SYM in versioned symbols.
45353         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45354         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45355         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
45356         <bp-sym.h>.
45357         (__libc_start_main): Do not use BP_SYM.
45359 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45361         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
45362         redundant return line.
45363         (norm): Likewise.
45364         (denorm): Likewise.
45365         (dbl_mp): Likewise.
45366         (sub_magnitudes): Likewise.
45367         (__add): Likewise.
45368         (__sub): Likewise.
45369         (__mul): Likewise.
45370         (__inv): Likewise.
45371         (__dvd): Likewise.
45372         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
45373         (norm): Likewise.
45374         (denorm): Likewise.
45375         (dbl_mp): Likewise.
45376         (sub_magnitudes): Likewise.
45377         (__add): Likewise.
45378         (__sub): Likewise.
45379         (__mul): Likewise.
45380         (__inv): Likewise.
45381         (__dvd): Likewise.
45383         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
45384         instead of __mul.
45385         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45386         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
45387         (cc32): Likewise.
45389         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
45390         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
45391         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
45392         of __mul for squares.
45393         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
45394         function
45395         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
45396         Likewise.
45397         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
45398         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45400 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
45402         [BZ #13550]
45403         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
45404         code.
45405         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
45406         prototype or function definition.  Rename ubp_* variables and
45407         parameters.  Remove argv definitions conditional on
45408         [__BOUNDED_POINTERS__].
45409         * debug/backtrace.c (__backtrace): Do not use __unbounded.
45410         * elf/dl-runtime.c (_dl_fixup): Likewise.
45411         * include/set-hooks.h (RUN_HOOK): Likewise.
45412         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
45413         definition.
45414         * string/strcpy.c (strcpy): Do not use __unbounded.
45415         * sysdeps/generic/frame.h (struct layout): Likewise.
45416         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
45417         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
45418         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
45419         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
45420         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
45421         (__backtrace): Likewise.
45422         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
45423         use __ptrvalue.
45424         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
45425         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
45426         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
45427         Likewise.
45428         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
45429         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
45430         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
45431         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45432         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
45433         Do not use __unbounded.
45434         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
45435         Rename __unboundedrlimits parameter to rlimits in prototype.
45436         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
45437         Do not use __unbounded.
45438         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
45439         not use __ptrvalue.
45440         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45441         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
45442         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45443         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
45444         __ptrvalue or __unbounded.
45445         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
45446         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
45447         use __unbounded.
45448         (__new_msgctl): Do not use __ptrvalue.
45449         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
45450         __unbounded.
45451         (__libc_msgrcv): Do not use __ptrvalue.
45452         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
45453         startup_info): Do not use __unbounded.
45454         (__libc_start_main): Likewise.  Rename ubp_* variables and
45455         parameters.  Remove argv definitions conditional on
45456         [__BOUNDED_POINTERS__].
45457         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
45458         __ptrvalue.
45459         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
45460         use __unbounded.
45461         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
45462         or __ptrvalue.
45463         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
45464         use __unbounded.
45465         (__new_shmctl): Do not use __ptrvalue.
45466         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
45467         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
45468         Likewise.
45469         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
45470         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
45471         (__libc_sigaction): Likewise.
45472         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
45473         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
45474         Likewise.
45475         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
45477 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
45479         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
45481         * string/mempcpy.c: Implement by calling memcpy.
45483 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45485         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
45487         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
45488         evaluation.
45490         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
45491         values in the mantissa.
45493         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
45494         minimize writes to Z.
45495         (sub_magnitudes): Simplify code a bit.
45497 2013-02-12  Roland McGrath  <roland@hack.frob.com>
45499         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
45500         from the message.  The linker prefixes all warnings with that already.
45502 2013-02-12  Andreas Schwab  <schwab@suse.de>
45504         [BZ #15078]
45505         * posix/regexec.c (extend_buffers): Add parameter min_len.
45506         (check_matching): Pass minimum needed length.
45507         (clean_state_log_if_needed): Likewise.
45508         (get_subexp): Likewise.
45509         * posix/Makefile (tests): Add bug-regex34.
45510         (bug-regex34-ENV): Define.
45511         * posix/bug-regex34.c: New file.
45513         [BZ #11561]
45514         * posix/regcomp.c (parse_bracket_exp): When looking up collating
45515         elements compare against the byte sequence of it, not its name.
45516         * posix/Makefile (tests): Add bug-regex35.
45517         (bug-regex35-ENV): Define.
45518         * posix/bug-regex35.c: New file.
45520 2013-02-11  Tom de Vries  <tom@codesourcery.com>
45522         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
45523         comment.
45524         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
45525         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
45526         (CHECK_EOL): Add undef.
45528 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
45530         * bits/stdlib-bsearch.h: New file.
45531         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
45532         * stdlib/stdlib.h: Likewise.
45534 2013-02-11  Roland McGrath  <roland@hack.frob.com>
45536         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
45537         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
45538         declaration.
45539         * manual/search.texi (Array Search Function): Add missing const in
45540         lfind prototype.
45541         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
45542         declaration to use rlim_t.
45543         (Basic Scheduling Functions): Remove erroneous const from
45544         sched_getparam prototype.  Remove erroneous * from
45545         sched_get_priority_max and sched_get_priority_min prototypes.
45546         (Resource Usage): Fix summary @comment on vtimes to refer to
45547         sys/vtimes.h rather than vtimes.h.
45548         Add missing *s in vtimes prototype.
45549         (Limits on Resources): Fix ulimit prototype to return long int.
45550         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
45551         prototypes to use long int rather than double.
45552         (BSD Random): Fix initstate and setstate to use char *, not void *.
45553         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
45554         prototype to make second argument 'struct aiocb64 *const[]'.
45555         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
45556         (Status of AIO Operations): Remove erroneous const in aio_return and
45557         aio_return64 prototypes.
45558         (Synchronizing I/O): Fix sync prototype to return void.
45559         * manual/startup.texi (Suboptions): Remove an erroneous const in
45560         getsubopt prototype.
45561         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
45562         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
45563         use size_t rather than int.
45564         (Scanning All Users): Likewise for getpwent_r.
45565         (Setting Groups): Add missing const to setgroups prototype.
45566         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
45567         * manual/socket.texi (Host Names): Fix gethostbyaddr and
45568         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
45569         'const void *' rather than 'const char *'.
45570         (Host Address Functions): Likewise for inet_ntop.
45571         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
45572         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
45573         ssize_t for return value.
45574         (Sending Data): Likewise for send, sendto, sendmsg.
45575         (Socket Option Functions): Add a missing const in setsockopt prototype.
45576         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
45577         use wchar_t for the argument.
45578         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
45579         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
45580         take no arguments.
45581         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
45582         double/float/long double for second argument.
45583         Fix return types of significand, significandf, significandl.
45584         * manual/filesys.texi (Setting Permissions): Use mode_t for second
45585         argument in fchmod prototype.
45586         (File Owner): Use uid_t and gid_t in fchown prototype.
45587         (File Times): Add const to utimes, futimes, and lutimes prototypes.
45588         (Making Special Files): Use mode_t and dev_t in mknod prototype.
45589         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
45590         use 'const struct dirent **' as argument types to CMP function pointer
45591         argument.
45592         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
45593         (File Times): Fix summary magic @comment for struct utimbuf and utime
45594         to refer to utime.h, not time.h.
45595         * manual/string.texi (Argz Functions): Add missing const in
45596         argz_extract and argz_next prototypes.
45597         (Finding Tokens in a String): Likewise for basename.
45598         (String/Array Comparison): Fix typo in wcscasecmp prototype.
45599         (Copying and Concatenation): Fix typo in wmemmove prototype.
45600         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
45601         (Signal Stack): Remove erroneous const in sigstack prototype.
45602         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
45603         prototype.
45604         (Simple Calendar Time): Likewise for stime.
45605         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
45606         prototype.
45607         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
45608         say sys/sysctl.h instead.
45609         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
45610         and vsyslog prototypes.
45612 2013-02-11  Tom de Vries  <tom@codesourcery.com>
45614         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
45615         Remove.
45617 2013-02-11  Roland McGrath  <roland@hack.frob.com>
45619         * misc/sys/mman.h: Fix typo in mremap comment.
45621 2013-02-08  Roland McGrath  <roland@hack.frob.com>
45623         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
45624         the '\0' terminator.
45626 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
45628         [BZ #13550]
45629         * debug/segfault.c: Don't include <bp-checks.h>.
45630         * sysdeps/generic/bp-checks.h: Remove file.
45631         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
45632         (__GETDENTS): Don't use CHECK_N.
45633         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
45634         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45635         (__getgroups): Don't use CHECK_N.
45636         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
45637         (setgroups): Don't use CHECK_N.
45638         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
45639         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
45640         (__libc_msgrcv): Don't use CHECK_N.
45641         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
45642         (__libc_msgsnd): Don't use CHECK_N.
45643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
45644         <bp-checks.h>.
45645         (__libc_pread): Don't use CHECK_N.
45646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
45647         include <bp-checks.h>.
45648         (__libc_pread64): Don't use CHECK_N.
45649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
45650         include <bp-checks.h>.
45651         (__libc_pwrite): Don't use CHECK_N.
45652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
45653         include <bp-checks.h>.
45654         (__libc_pwrite64): Don't use CHECK_N.
45655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
45656         <bp-checks.h>.
45657         (__libc_pread): Don't use CHECK_N.
45658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
45659         include <bp-checks.h>.
45660         (__libc_pread64): Don't use CHECK_N.
45661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
45662         include <bp-checks.h>.
45663         (__libc_pwrite): Don't use CHECK_N.
45664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
45665         include <bp-checks.h>.
45666         (__libc_pwrite64): Don't use CHECK_N.
45667         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
45668         (do_pread): Don't use CHECK_N.
45669         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
45670         (do_pread64): Don't use CHECK_N.
45671         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
45672         (do_pwrite): Don't use CHECK_N.
45673         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
45674         (do_pwrite64): Don't use CHECK_N.
45675         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
45676         (__libc_readv): Don't use CHECK_N.
45677         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
45678         (semop): Don't use CHECK_N.
45679         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
45680         <bp-checks.h>.
45681         (semtimedop): Don't use CHECK_N.
45682         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
45683         (__libc_pread): Don't use CHECK_N.
45684         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
45685         <bp-checks.h>.
45686         (__libc_pread64): Don't use CHECK_N.
45687         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
45688         <bp-checks.h>.
45689         (__libc_pwrite): Don't use CHECK_N.
45690         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
45691         <bp-checks.h>.
45692         (__libc_pwrite64): Don't use CHECK_N.
45693         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
45694         <bp-checks.h>.
45695         (__libc_msgrcv): Don't use CHECK_N.
45696         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
45697         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
45698         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
45699         (__libc_writev): Don't use CHECK_N.
45701 2013-02-08  Roland McGrath  <roland@hack.frob.com>
45703         * string/strcpy.c: Removed unused variable.
45705         * Makeconfig (+sysdep-includes): Define with := rather than =.
45706         Use an existing include/ subdir of each sysdeps dir before it.
45708 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45710         * nscd/connection.c (register_traced_file): Comment function.
45711         [HAVE_INOTIFY] (union __inev): Define.
45712         [HAVE_INOTIFY] (inotify_check_files): New function.
45713         [HAVE_INOTIFY] (clear_db_cache): Likewise.
45714         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
45715         clear_db_cache.
45716         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
45718 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45720         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
45721         loaded if not already and that a failure is permanent.
45723 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45725         [BZ #15006]
45726         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
45727         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
45729 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
45731         [BZ #13550]
45732         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
45733         (CHECK_1_NULL_OK): Likewise.
45734         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
45735         (__fxstat): Do not use CHECK_1.
45736         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
45737         <bp-checks.h>.
45738         (___fxstat64): Do not use CHECK_1.
45739         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
45740         <bp-checks.h>.
45741         (__fxstatat): Do not use CHECK_1.
45742         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
45743         <bp-checks.h>.
45744         (__fxstatat64): Do not use CHECK_1.
45745         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
45746         <bp-checks.h>.
45747         (__fxstat): Do not use CHECK_1.
45748         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
45749         <bp-checks.h>.
45750         (__fxstatat): Do not use CHECK_1.
45751         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45752         <bp-checks.h>.
45753         (__getresgid): Do not use CHECK_1.
45754         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45755         <bp-checks.h>.
45756         (__getresuid): Do not use CHECK_1.
45757         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
45758         <bp-checks.h>.
45759         (__lxstat): Do not use CHECK_1.
45760         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45761         <bp-checks.h>.
45762         (__old_msgctl): Do not use CHECK_1.
45763         (__new_msgctl): Likewise.
45764         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
45765         <bp-checks.h>.
45766         (__new_setrlimit): Do not use CHECK_1.
45767         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45768         <bp-checks.h>.
45769         (__old_shmctl): Do not use CHECK_1.
45770         (__new_shmctl): Likewise.
45771         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
45772         <bp-checks.h>.
45773         (__xstat): Do not use CHECK_1.
45774         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
45775         (__lxstat): Do not use CHECK_1.
45776         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
45777         <bp-checks.h>.
45778         (___lxstat64): Do not use CHECK_1.
45779         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
45780         (__old_msgctl): Do not use CHECK_1.
45781         (__new_msgctl): Likewise.
45782         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
45783         <bp-checks.h>.
45784         (__gettimeofday): Do not use CHECK_1.
45785         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
45786         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
45787         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
45788         <bp-checks.h>.
45789         (__gettimeofday): Do not use CHECK_1.
45790         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
45791         (__old_shmctl): Do not use CHECK_1_NULL_OK.
45792         (__new_shmctl): Do not use CHECK_1.
45793         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
45794         <bp-checks.h>.
45795         (do_sigtimedwait): Do not use CHECK_1.
45796         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
45797         <bp-checks.h>.
45798         (do_sigwaitinfo): Do not use CHECK_1.
45799         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
45800         <bp-checks.h>.
45801         (msgctl): Do not use CHECK_1.
45802         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
45803         <bp-checks.h>.
45804         (shmctl): Do not use CHECK_1.
45805         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
45806         (ustat): Do not use CHECK_1.
45807         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
45808         <bp-checks.h>.
45809         (__fxstat): Do not use CHECK_1.
45810         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
45811         <bp-checks.h>.
45812         (__fxstatat): Do not use CHECK_1.
45813         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
45814         <bp-checks.h>.
45815         (__lxstat): Do not use CHECK_1.
45816         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
45817         <bp-checks.h>.
45818         (__xstat): Do not use CHECK_1.
45819         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
45820         (__xstat): Do not use CHECK_1.
45821         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
45822         (___xstat64): Do not use CHECK_1.
45824         [BZ #13550]
45825         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
45826         definitions.
45827         (CHECK_BOUNDS_HIGH): Likewise.
45828         * string/strcpy.c: Do not include <bp-checks.h>.
45829         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
45831 2013-02-07  Roland McGrath  <roland@hack.frob.com>
45833         * nscd/nscd-client.h (__nscd_drop_map_ref):
45834         Add __attribute__ ((unused)).
45835         * nis/nss-nisplus.h (niserr2nss): Likewise.
45837         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
45838         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
45840         * csu/libc-tls.c (init_static_tls, init_slotinfo):
45841         Remove inline keyword.
45842         * include/rounding-mode.h (round_away): Likewise.
45843         * libio/wfileops.c (adjust_wide_data): Likewise.
45844         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
45845         (__m128i_strloadu_tolower): Likewise.
45846         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
45847         (__m128i_strloadu_tolower): Likewise.
45848         * time/mktime.c (ydhms_diff): Likewise.
45849         * locale/elem-hash.h (elem_hash): Likewise.
45850         * locale/setlocale.c (setdata): Likewise.
45851         * posix/regex_internal.h (re_string_char_size_at): Likewise.
45852         (re_string_wchar_at): Likewise.
45853         (bitset_not, bitset_merge, bitset_mask): Likewise.
45854         [!(__GNUC__ > 3)] (inline): Remove macro.
45855         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
45856         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
45857         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
45858         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
45859         * string/memcmp.c (memcmp_bytes): Likewise.
45860         * locale/programs/locarchive.c (compute_hashval): Likewise.
45861         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
45862         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
45863         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
45864         * nss/getent.c (print_rpc, print_protocols): Likewise.
45865         (print_passwd, print_group, print_aliases): Likewise.
45866         * nis/nss-nisplus.h (niserr2nss): Likewise.
45867         * nscd/connections.c (restart_p): Likewise.
45868         Change return type to bool.
45870 2013-02-05  Roland McGrath  <roland@hack.frob.com>
45872         * Makeconfig (all-Depend-files): Add existing
45873         $(sorted-subdirs:=/Depend) files.
45874         (all-subdirs): Remove nss.
45875         * sysdeps/unix/inet/Subdirs: Add it here instead.
45876         * hesiod/Depend: New file.
45878         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
45879         instead of calling alloca.
45881         * io/lseek.c (__lseek): Rename to __libc_lseek.
45882         Define __lseek as an alias.
45884         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
45886 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
45888         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
45889         else clause and remove check for non-standard endianness.
45891 2013-02-04  David S. Miller  <davem@davemloft.net>
45893         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45895 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
45897         [BZ #13550]
45898         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
45899         (__ubp_memchr): Remove prototype.
45900         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
45901         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45902         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
45903         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45904         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
45905         Remove alias.
45906         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
45907         (__ubp_memchr): Likewise.
45908         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
45909         (__ubp_memchr): Likewise.
45910         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
45911         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
45912         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
45913         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
45914         CHECK_STRING.
45915         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
45916         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
45917         (__getcwd): Do not use CHECK_STRING.
45918         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45919         <bp-checks.h>.
45920         (__real_chown): Do not use CHECK_STRING.
45921         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
45922         <bp-checks.h>.
45923         (fchownat): Do not use CHECK_STRING.
45924         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
45925         CHECK_STRING.
45926         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45927         <bp-checks.h>.
45928         (__lchown): Do not use CHECK_STRING.
45929         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45930         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45931         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45932         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
45933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45934         include <bp-checks.h>.
45935         (truncate64): Do not use CHECK_STRING.
45936         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45937         <bp-checks.h>.
45938         (__real_chown): Do not use CHECK_STRING.
45939         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45940         <bp-checks.h>.
45941         (__lchown): Do not use CHECK_STRING.
45942         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45943         <bp-checks.h>.
45944         (__chown): Do not use CHECK_STRING.
45945         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
45946         <bp-checks.h>.
45947         (truncate64): Do not use CHECK_STRING.
45948         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
45949         Likewise.
45950         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
45951         (__xmknod): Do not use CHECK_STRING.
45952         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
45953         <bp-checks.h>.
45954         (__xmknodat): Do not use CHECK_STRING.
45955         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
45956         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
45958 2013-02-04  Andreas Schwab  <schwab@suse.de>
45960         [BZ #14142]
45961         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
45962         * include/netdb.h: Likewise for h_errno.
45963         * elf/tst-stackguard1.c: Include <tls.h>.
45965 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
45967         * elf/link.h (struct link_map): Extend the l_addr comment.
45968         * include/link.h (struct link_map): Likewise.
45970 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
45972         [BZ #13550]
45973         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
45974         (BOUNDED_1): Remove macro.
45975         * debug/backtrace.c: Don't include <bp-checks.h>.
45976         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
45977         (__backtrace): Likewise.
45978         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
45979         <bp-checks.h>.
45980         (__backtrace): Don't use BOUNDED_1.
45981         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
45982         <bp-checks.h>.
45983         (__backtrace): Don't use BOUNDED_1.
45984         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
45985         (__backtrace): Don't use BOUNDED_1.
45986         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
45987         (shmat): Don't use BOUNDED_N.
45989 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
45991         [BZ #13550]
45992         * sysdeps/generic/bp-start.h: Remove file.
45993         * csu/libc-start.c: Don't include <bp-start.h>.
45994         (LIBC_START_MAIN): Set up __environ directly instead of using
45995         INIT_ARGV_and_ENVIRON.
45996         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
45997         <bp-start.h>.
45999         [BZ #13550]
46000         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
46001         definitions.
46002         (CHECK_FCNTL): Likewise.
46003         (CHECK_N_PAGES): Likewise.
46005         [BZ #13550]
46006         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
46007         definitions.
46008         (CHECK_SIGSET_NULL_OK): Likewise.
46009         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
46010         <bp-checks.h>.
46011         (sigpending): Don't use CHECK_SIGSET.
46012         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
46013         <bp-checks.h>.
46014         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46015         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
46016         <bp-checks.h>.
46017         (do_sigsuspend): Don't use CHECK_SIGSET.
46018         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
46019         use CHECK_SIGSET.
46020         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
46021         (do_sigwait): Don't use CHECK_SIGSET.
46022         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
46023         use CHECK_SIGSET.
46024         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
46025         include <bp-checks.h>.
46026         (sigpending): Don't use CHECK_SIGSET.
46027         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
46028         include <bp-checks.h>.
46029         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46030         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
46031         <bp-checks.h>.
46032         (sigpending): Don't use CHECK_SIGSET.
46033         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
46034         <bp-checks.h>.
46035         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46037         [BZ #13550]
46038         * sysdeps/generic/bp-semctl.h: Remove file.
46039         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
46040         <bp-checks.h> and <bp-semctl.h>.
46041         (__old_semctl): Don't use CHECK_SEMCTL.
46042         (__new_semctl): Likewise.
46043         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
46044         and <bp-semctl.h>.
46045         (__old_semctl): Don't use CHECK_SEMCTL.
46046         (__new_semctl): Likewise.
46047         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
46048         <bp-checks.h> and <bp-semctl.h>.
46049         (__old_semctl): Don't use CHECK_SEMCTL.
46050         (__new_semctl): Likewise.
46051         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
46052         <bp-checks.h> and <bp-semctl.h>.
46053         (semctl): Don't use CHECK_SEMCTL.
46055         [BZ #13550]
46056         * Makerules (elide-bp-thunks): Remove variable.
46057         (elide-routines.oS): Don't use $(elide-bp-thunks).
46058         (elide-routines.os): Likewise.
46059         (elide-routines.o): Likewise.
46060         (elide-routines.op): Likewise.
46061         (elide-routines.og): Likewise.
46062         (objects): Don't use $(bp-thunks).
46063         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
46064         include.
46065         (common-generated): Do not add s-proto-bp.d.
46066         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
46067         (int): Likewise.
46068         (typ): Likewise.
46069         Do not generate makefile rules for bounded-pointer thunks.
46070         * sysdeps/generic/bp-thunks.h: Remove file.
46071         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
46072         * sysdeps/unix/s-proto-bp.S: Likewise.
46074         [BZ #15062]
46075         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
46076         parts of result separately when argument is not close to line from
46077         -i to i and one part of argument is small.
46078         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46079         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46080         * math/libm-test.inc (cacos_test): Add more tests.
46081         (casin_test): Likewise.
46082         (casinh_test): Likewise.
46083         * sysdeps/i386/fpu/libm-test-ulps: Update.
46084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46086 2013-01-31  David S. Miller  <davem@davemloft.net>
46088         * po/de.po: Update from translation team.
46090 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
46092         * time/tzfile.c: Include stdint.h for SIZE_MAX.
46094 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
46096         * configure.in (_AC_PROG_CC_C89): New definition.
46097         * configure: Regenerate.
46099         * configure.in (AC_PROG_CPP): New definition.
46100         * configure: Regenerate.
46102 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
46104         * debug/tst-backtrace.h: New file.
46105         * debug/tst-backtrace2.c: Include tst-backtrace.h.
46106         (ret): Remove variable.
46107         (x): Likewise.
46108         (FAIL): Remove macro.
46109         (NO_INLINE): Likewise.
46110         (fn1): Use match function instead of strstr.
46111         * debug/tst-backtrace3.c: Include tst-backtrace.h.
46112         (ret): Remove variable.
46113         (x): Likewise.
46114         (FAIL): Remove macro.
46115         (NO_INLINE): Likewise.
46116         (fn): Use match function instead of strstr.
46117         * debug/tst-backtrace4.c: Include tst-backtrace.h.
46118         (ret): Remove variable.
46119         (x): Likewise.
46120         (FAIL): Remove macro.
46121         (NO_INLINE): Likewise.
46122         (handle_signal): Use match function instead of strstr.
46123         * debug/tst-backtrace5.c: Include tst-backtrace.h.
46124         (ret): Remove variable.
46125         (x): Likewise.
46126         (FAIL): Remove macro.
46127         (NO_INLINE): Likewise.
46128         (handle_signal): Use match function instead of strstr.
46130 2013-01-23  Roland McGrath  <roland@hack.frob.com>
46132         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
46134 2013-01-23  David S. Miller  <davem@davemloft.net>
46136         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
46137         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
46138         argument of CAS if possible.
46139         * sysdeps/sparc/sparc64/bits/atomic.h
46140         (__arch_compare_and_exchange_val_32_acq): Likewise.
46141         (__arch_compare_and_exchange_val_64_acq): Likewise.
46143 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
46145         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
46146         * sysdeps/posix/ulimit.c: ... this.
46147         Include <limits.h>.
46148         * sysdeps/unix/bsd/ulimit.c: Remove file.
46150 2013-01-23  Adam Conrad  <adconrad@0c3.net>
46152         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
46153         (LDFLAGS-tst-array5): Likewise.
46155 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
46157         [BZ #15036]
46158         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
46159         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
46160         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
46161         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
46163 2013-01-21  David S. Miller  <davem@davemloft.net>
46165         * sysdeps/sparc/backtrace.c: New file.
46166         * sysdeps/sparc/sparc32/backtrace.h: New file.
46167         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
46168         * sysdeps/sparc/sparc64/backtrace.h: New file.
46169         * sysdeps/sparc/sparc64/backtrace.c: Delete.
46170         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
46171         -funwind-tables.
46173 2013-01-21  Andreas Schwab  <schwab@suse.de>
46175         [BZ #15020]
46176         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
46177         closed its stdout.
46179 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
46181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
46182         "mpa2.h".
46183         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46185 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
46186             Mark Mitchell  <mark@codesourcery.com>
46187             Tom de Vries  <tom@codesourcery.com>
46188             Paul Pluzhnikov  <ppluzhnikov@google.com>
46190         * debug/tst-backtrace2.c: New file.
46191         * debug/tst-backtrace3.c: Likewise.
46192         * debug/tst-backtrace4.c: Likewise.
46193         * debug/tst-backtrace5.c: Likewise.
46194         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
46195         (CFLAGS-tst-backtrace3.c): Likewise.
46196         (CFLAGS-tst-backtrace4.c): Likewise.
46197         (CFLAGS-tst-backtrace5.c): Likewise.
46198         (LDFLAGS-tst-backtrace2): Likewise.
46199         (LDFLAGS-tst-backtrace3): Likewise.
46200         (LDFLAGS-tst-backtrace4): Likewise.
46201         (LDFLAGS-tst-backtrace5): Likewise.
46202         (tests): Add new tests tst-backtrace2, tst-backtrace3,
46203         tst-backtrace4 and tst-backtrace5.
46205 2013-01-18  Anton Blanchard  <anton@samba.org>
46206             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46208         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
46209         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
46210         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
46211         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
46212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
46213         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
46214         "+r" and remove output regs list as redundant.  Add explicit inline
46215         asm to specify register of return val to work around compiler codegen
46216         bug.  Remove (int) cast on return value.  Add return type parameter to
46217         use in macro so that this macro does not truncate return value for
46218         64-bit values.
46219         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
46220         pass to INTERNAL_VSYSCALL_NCS.
46221         (INLINE_VSYSCALL): Add 'long int' as return type to
46222         INTERNAL_VSYSCALL_NCS macro invocation.
46223         (INTERNAL_VSYSCALL): Add 'long int' as return type to
46224         INTERNAL_VSYSCALL_NCS macro invocation.
46225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46227 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46229         [BZ #14496]
46230         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
46231         Fix application of SIMD FP exception mask.
46233         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
46234         mp_no from a power of two.
46235         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
46236         __mpexp_twomm1.  Use __pow_mp.
46238         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
46239         multiplication.
46241 2013-01-17  David S. Miller  <davem@davemloft.net>
46243         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46245 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46247         [BZ #15023]
46248         * include/complex.h: Condition contents on [!_COMPLEX_H].
46249         (__kernel_casinhf): New prototype.
46250         (__kernel_casinh): Likewise.
46251         (__kernel_casinhl): Likewise.
46252         * math/Makefile (libm_calls): Add k_casinh.
46253         * math/k_casinh.c: New file.
46254         * math/k_casinhf.c: Likewise.
46255         * math/k_casinhl.c: Likewise.
46256         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
46257         finite nonzero arguments.
46258         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
46259         finite nonzero arguments.
46260         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
46261         finite nonzero arguments.
46262         * math/s_casinh.c: Do not include <float.h>.
46263         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
46264         * math/s_casinhf.c: Do not include <float.h>.
46265         (__casinhf): Move code for finite nonzero arguments to
46266         k_casinhf.c.
46267         * math/s_casinhl.c: Do not include <float.h>.
46268         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
46269         redefine.
46270         (__casinhl): Move code for finite nonzero arguments to
46271         k_casinhl.c.
46272         * math/libm-test.inc (cacos_test): Add more tests.
46273         * sysdeps/i386/fpu/libm-test-ulps: Update.
46274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46276 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
46278         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
46279         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
46280         [!HAVE_MREMAP]: Remove [defined linux] case.
46281         * malloc/arena.c: Do not include <malloc-sysdep.h>.
46283 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46285         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
46287 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
46289         * elf/elf.h (R_386_SIZE32): New relocation.
46290         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
46291         R_386_SIZE32.
46292         (elf_machine_rela): Likewise.
46293         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46294         R_X86_64_SIZE64 and R_X86_64_SIZE32.
46296 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46298         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
46299         (FP_FAST_FMA): Do not define.
46300         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
46301         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
46302         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
46303         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
46304         !_SOFT_FLOAT]: Likewise.
46305         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
46306         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
46307         value.
46308         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
46309         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
46310         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
46311         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
46312         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
46313         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
46314         file.
46316 2013-01-16  Andreas Schwab  <schwab@suse.de>
46318         [BZ #14327]
46319         * include/stdlib.h (__mktemp): Add declaration.
46320         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
46321         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
46323 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46325         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
46326         definitions.
46327         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
46328         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
46329         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
46330         definitions here.
46331         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
46332         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
46333         definitions.
46334         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
46335         and ONE.
46336         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
46337         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
46338         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
46339         definitions.
46340         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
46341         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
46342         definitions.
46343         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
46345         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
46347 2013-01-15  David S. Miller  <davem@davemloft.net>
46349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46350         trunc{,f} to libm-sysdep_routes.
46351         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
46353         file.
46354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
46355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
46356         file.
46357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
46358         file.
46359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
46360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
46361         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
46362         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
46363         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
46364         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
46365         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
46366         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
46368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46369         nearbyint{,f} to libm-sysdep_routes.
46370         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
46372         New file.
46373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
46374         file.
46375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
46376         New file.
46377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
46378         file.
46379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
46380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
46381         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
46382         file.
46383         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
46384         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
46385         file.
46386         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
46387         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
46388         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
46390         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46391         libc_feholdexcept and libc_fesetenv.
46393 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
46395         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
46397 2013-01-14  David S. Miller  <davem@davemloft.net>
46399         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
46400         (SPARC_ASM_VIS2_IFUNC): Likewise.
46401         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
46402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
46403         use of 'siam' instruction.
46404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
46405         Likewise.
46406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
46407         Likewise.
46408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
46409         Likewise.
46410         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
46411         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
46412         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
46413         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
46414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
46415         file.
46416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
46417         file.
46418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
46419         file.
46420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
46421         file.
46422         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
46423         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
46424         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
46425         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
46426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
46427         new VIS2 routines.
46428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46431         Likewise.
46432         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46433         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46434         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46435         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
46437         routines to libm-sysdep_routines.
46438         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46441         fdim/fdimf to libm-sysdep_routines.
46442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
46443         file.
46444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
46445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
46446         file.
46447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
46448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
46449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
46450         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
46451         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
46452         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
46453         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
46455 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46457         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
46458         to optimize copies.
46460         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
46461         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46462         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46464         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
46465         local variable MPTWO.
46466         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46467         Likewise.
46469 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46471         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
46472         GLOB_NOESCAPE.
46474 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46476         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
46478 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46480         * manual/pattern.texi (glob_t): Document gl_flags.
46481         (glob64_t): Likewise.
46483 2013-01-11  David S. Miller  <davem@davemloft.net>
46485         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
46486         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
46487         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
46488         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
46489         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
46490         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
46491         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
46492         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
46493         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
46494         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
46495         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
46496         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
46497         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
46499         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
46500         sparc V9 rather than using V8 code.
46501         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46502         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46504         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46505         Move to...
46506         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
46507         Here.
46509 2013-01-11  Roland McGrath  <roland@hack.frob.com>
46511         [BZ #14941]
46512         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
46513         not in the main loop.
46514         * configure: Regenerated.
46516 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
46518         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
46519         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
46520         to just #else.
46521         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
46522         [!__GLIBC_HAVE_LONG_LONG] case.
46523         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
46524         condition to just #else.
46525         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
46526         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
46527         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
46528         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
46529         unconditional.
46530         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
46531         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
46532         #elif condition to just #else.
46533         * sysdeps/unix/sysv/linux/sys/sysmacros.h
46534         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
46535         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
46536         #elif condition to just #else.
46538 2013-01-11  Steve Ellcey  <sellcey@mips.com>
46540         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
46541         (EF_MIPS_ARCH_64): Fix value.
46542         (EF_MIPS_ARCH_32R2): New.
46543         (EF_MIPS_ARCH_64R2): New.
46545 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
46547         * Makeconfig (+link-pie-before-libc): New.
46548         (+link-pie-after-libc): Likewise.
46549         (+link-pie-tests): Likewise.
46550         (+link-pie): Rewritten.
46551         (link-before-libc): Remove $(config-LDFLAGS).
46552         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
46553         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
46554         (config-LDFLAGS): Renamed to ...
46555         (rtld-LDFLAGS): This.
46556         (rtld-tests-LDFLAGS): New macro.
46557         (link-libc-rpath-link): Likewise.
46558         (link-libc-tests-rpath-link): Likewise.
46559         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
46560         (link-libc): Prepand $(link-libc-rpath-link).
46561         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
46562         (test-program-prefix): New macro.
46563         (test-via-rtld-prefix): Likewise.
46564         (test-program-cmd): Likewise.
46565         (host-test-program-cmd): Likewise.
46566         * Makefile ($(common-objpfx)testrun.sh): Replace
46567         $(run-program-prefix) with $(test-program-prefix).
46568         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
46569         $(rtld-LDFLAGS).
46570         ($(common-objpfx)shlib.lds): Likewise.
46571         (build-module-helper): Likewise.
46572         ($(common-objpfx)format.lds): Likewise.
46573         * Rules (binaries-pie-tests): New.
46574         (binaries-pie-notests): Likewise.
46575         (binaries-pie): Rewritten.
46576         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
46577         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
46578         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
46579         (make-test-out): Replace $(host-built-program-cmd) with
46580         $(host-test-program-cmd).
46581         * config.make.in (build-hardcoded-path-in-tests): New variable.
46582         * configure.in (--enable-hardcoded-path-in-tests): New configure
46583         option.
46584         (hardcoded_path_in_tests): New AC_SUBST.
46585         * configure: Regenerated.
46586         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
46587         $(built-program-cmd) with $(test-program-cmd).
46588         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
46589         (test_program_cmd): This.
46590         * elf/Makefile ($(objpfx)order.out): Run test with
46591         $(test-program-prefix).
46592         ($(objpfx)order2.out): Likewise.
46593         ($(objpfx)tst-initorder.out): Likewise.
46594         ($(objpfx)tst-initorder2.out): Likewise.
46595         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
46596         $(test-program-cmd).
46597         ($(objpfx)tst-array1-static.out): Likewise.
46598         ($(objpfx)tst-array2.out): Likewise.
46599         ($(objpfx)tst-array3.out): Likewise.
46600         ($(objpfx)tst-array4.out): Likewise.
46601         ($(objpfx)tst-array5.out): Likewise.
46602         ($(objpfx)tst-array5-static.out): Likewise.
46603         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
46604         $(test-program-cmd).
46605         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
46606         $(run-program-prefix) with $(test-program-prefix).
46607         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
46608         (test_program_prefix): This.
46609         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
46610         $(run-program-prefix) with $(test-program-prefix).
46611         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
46612         (test_program_prefix): This.
46613         * iconvdata/tst-tables.sh: Likewise.
46614         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
46615         $(run-program-prefix) with $(test-program-prefix).
46616         ($(objpfx)tst-translit.out): Likewise.
46617         ($(objpfx)tst-gettext2.out): Likewise.
46618         ($(objpfx)tst-gettext4.out): Likewise.
46619         ($(objpfx)tst-gettext6.out): Likewise.
46620         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
46621         (test_program_prefix): This.
46622         * intl/tst-gettext2.sh: Likewise.
46623         * intl/tst-gettext4.sh  Likewise.
46624         * intl/tst-gettext6.sh: Likewise.
46625         * intl/tst-translit.sh: Likewise.
46626         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
46627         with $(test-program-cmd).
46628         * libio/Makefile ($(objpfx)test-freopen.out): Replace
46629         $(run-program-prefix) with $(test-program-prefix).
46630         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
46631         (test_program_prefix): This.
46632         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
46633         $(run-program-prefix) with $(test-program-prefix).
46634         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
46635         (test_program_prefix): This.
46636         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
46637         * posix/Makefile ($(objpfx)globtest.out): Replace
46638         $(run-via-rtld-prefix) and $(test-wrapper) with
46639         $(test-program-prefix) and $(test-via-rtld-prefix).
46640         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
46641         $(test-program-prefix).
46642         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
46643         $(host-test-program-cmd).
46644         (tst-spawn-ARGS): Likewise.
46645         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
46646         $(test-program-prefix).
46647         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
46648         (test_via_rtld_prefix): This.
46649         (test_wrapper): Renamed to ...
46650         (test_program_prefix): This.
46651         (run_program_prefix): Replaced by test_program_prefix.
46652         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
46653         (test_program_prefix): This.
46654         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
46655         with $(host-test-program-cmd).
46656         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
46657         $(run-program-prefix) with $(test-program-prefix).
46658         ($(objpfx)tst-printf.out): Likewise.
46659         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
46660         $(test-program-cmd).
46661         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
46662         (test_program_prefix): This.
46663         * stdio-common/tst-unbputc.sh: Likewise.
46664         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
46665         $(run-program-prefix) with $(test-program-prefix).
46666         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
46667         (test_program_prefix): This.
46668         * string/Makefile ($(objpfx)tst-svc.out):  Replace
46669         $(built-program-cmd) with $(test-program-cmd).
46671 2013-01-11  Andreas Jaeger  <aj@suse.de>
46673         [BZ #15003]
46674         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
46675         value. Sync with Linux 3.7.
46677 2013-01-10  David S. Miller  <davem@davemloft.net>
46679         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
46680         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46681         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46683 2013-01-10  Roland McGrath  <roland@hack.frob.com>
46685         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
46686         never set.
46687         * configure: Regenerated.
46689 2013-01-10  David S. Miller  <davem@davemloft.net>
46691         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
46692         sparc V9 rather than using V8 code.
46693         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46694         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46696 2013-01-10  Roland McGrath  <roland@hack.frob.com>
46698         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
46699         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
46700         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
46701         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
46702         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
46703         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
46704         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
46705         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
46706         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
46707         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
46708         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
46709         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
46710         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
46711         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
46712         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
46713         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
46714         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
46715         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
46716         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
46717         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
46718         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
46719         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
46720         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
46721         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
46722         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
46723         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
46724         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
46726 2013-01-10  David S. Miller  <davem@davemloft.net>
46728         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46730 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
46732         * posix/Makefile (tests-static): New variable.
46733         (tests): Add $(tests-static).
46734         (tst-exec-static-ARGS): New variable.
46735         (tst-spawn-static-ARGS): Likewise.
46736         * posix/tst-exec-static.c: New file.
46737         * posix/tst-spawn-static.c: Likewise.
46738         * posix/tst-exec.c: Support run directly.
46739         * posix/tst-spawn.c: Likewise.
46741 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
46743         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
46744         long.
46745         * math/bits/mathcalls.h (llrint): Likewise.
46746         (llround): Likewise.
46747         * stdlib/stdlib.h (struct drand48_data): Likewise.
46748         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
46749         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
46750         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
46751         Likewise.
46752         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
46753         Likewise.
46754         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
46755         (elf_greg_t): Likewise.
46756         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
46757         (__jmp_buf): Likewise.
46758         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
46759         definitions.
46760         (llrint): Likewise, for all definitions.
46761         (llrintl): Likewise.
46763         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
46764         Remove [__GNUC__] condition.
46765         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
46766         condition to just [__USE_ISOC99].
46767         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
46769 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
46771         [BZ #14200]
46772         * sysdeps/unix/sysv/linux/x86/bits/environments.h
46773         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
46774         defined.
46775         (_POSIX_V6_ILP32_OFF32): Likewise.
46776         (_XBS5_ILP32_OFF32): Likewise.
46777         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
46778         (__ILP32_OFFBIG_LDFLAGS): Likewise.
46780 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46782         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
46784         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
46785         doubles __mpexp_twomm1.  Adjust usage.
46786         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
46787         Remove.
46789 2013-01-10  Andreas Schwab  <schwab@suse.de>
46791         [BZ #14964]
46792         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
46793         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
46795 2013-01-09  David S. Miller  <davem@davemloft.net>
46797         [BZ #15003]
46798         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
46799         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
46800         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
46801         (TCP_FASTOPEN): Define.
46802         (tcp_repair_opt): New structure.
46803         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
46804         enum values.
46805         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
46806         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
46807         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
46808         (tcp_cookie_transactions): New structure.
46810 2013-01-09  Anton Blanchard  <anton@samba.org>
46812         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
46813         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
46814         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
46815         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
46817 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
46819         * include/features.h (__USE_ANSI): Remove.
46821 2013-01-09  Roland McGrath  <roland@hack.frob.com>
46823         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
46825         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
46827 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
46829         * sysdeps/s390/fpu/libm-test-ulps: Update.
46831         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46833         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
46834         (__acr): Likewise.
46835         (__cpy): Likewise.
46836         (norm): Likewise.
46837         (denorm): Likewise.
46838         (__mp_dbl): Likewise.
46839         (__dbl_mp): Likewise.
46840         (add_magnitudes): Likewise.
46841         (sub_magnitudes): Likewise.
46842         (__add): Likewise.
46843         (__sub): Likewise.
46844         (__mul): Likewise.
46845         (__inv): Likewise.
46846         (__dvd): Likewise.
46847         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
46848         (__acr): Likewise.
46849         (__cpy): Likewise.
46850         (norm): Likewise.
46851         (denorm): Likewise.
46852         (__mp_dbl): Likewise.
46853         (__dbl_mp): Likewise.
46854         (add_magnitudes): Likewise.
46855         (sub_magnitudes): Likewise.
46856         (__add): Likewise.
46857         (__sub): Likewise.
46858         (__mul): Likewise.
46859         (__inv): Likewise.
46860         (__dvd): Likewise.
46861         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
46862         (__acr): Likewise.
46863         (__cpy): Likewise.
46864         (norm): Likewise.
46865         (denorm): Likewise.
46866         (__mp_dbl): Likewise.
46867         (__dbl_mp): Likewise.
46868         (add_magnitudes): Likewise.
46869         (sub_magnitudes): Likewise.
46870         (__add): Likewise.
46871         (__sub): Likewise.
46872         (__mul): Likewise.
46873         (__inv): Likewise.
46874         (__dvd): Likewise.
46876 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
46878         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
46879         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
46880         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
46881         2 && __USE_EXTERN_INLINES]: Likewise.
46883 2013-01-08  Andreas Jaeger  <aj@suse.de>
46885         [BZ# 14985]
46886         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
46887         Remove.
46888         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46889         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46891 2013-01-07  Anton Blanchard  <anton@samba.org>
46893         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
46894         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46895         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
46896         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46897         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
46898         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46899         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
46900         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
46901         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46902         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46903         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46904         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46905         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46906         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46907         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46908         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46909         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46910         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46911         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46912         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
46913         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46914         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
46915         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46916         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46917         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
46918         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
46919         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46920         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46921         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
46922         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46923         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46924         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46925         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46926         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46927         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46928         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46929         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46930         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46931         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
46932         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
46933         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
46934         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46935         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46937 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
46939         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
46940         (__MALLOC_PMT): Likewise.
46941         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
46942         [__GNUC__], only on [_LIBC].
46943         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46944         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
46945         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46946         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
46947         forward declaration.
46948         (realloc_hook_ini): Likewise.
46949         (memalign_hook_ini): Likewise.
46950         (__libc_memalign): Do not use __MALLOC_PMT in variable
46951         declaration.
46952         (__libc_valloc): Likewise.
46953         (__libc_pvalloc): Likewise.
46954         (__libc_calloc): Likewise.
46955         (__posix_memalign): Likewise.
46957         [BZ #14996]
46958         * math/s_casinh.c: Include <float.h>.
46959         (__casinh): Do not do computation with squaring and square root
46960         for large arguments.
46961         * math/s_casinhf.c: Include <float.h>.
46962         (__casinhf): Do not do computation with squaring and square root
46963         for large arguments.
46964         * math/s_casinhl.c: Include <float.h>.
46965         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
46966         (__casinhl): Do not do computation with squaring and square root
46967         for large arguments.
46968         * math/libm-test.inc (casin_test): Add more tests.
46969         (casinh_test): Likewise.
46970         * sysdeps/i386/fpu/libm-test-ulps: Update.
46971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46973 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
46975         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
46976         (__x86_64_raw_data_cache_size): Likewise.
46977         (__x86_64_data_cache_size_half): Likewise.
46978         (__x86_64_raw_data_cache_size_half): Likewise.
46979         (__x86_64_shared_cache_size): Likewise.
46980         (__x86_64_raw_shared_cache_size): Likewise.
46981         (__x86_64_shared_cache_size_half): Likewise.
46982         (__x86_64_raw_shared_cache_size_half): Likewise.
46983         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
46984         to ...
46985         (__x86_data_cache_size): This.
46986         (__x86_64_raw_data_cache_size): Renamed to ...
46987         (__x86_raw_data_cache_size): This.
46988         (__x86_64_data_cache_size_half): Renamed to ...
46989         (__x86_data_cache_size_half): This.
46990         (__x86_64_raw_data_cache_size_half): Renamed to ...
46991         (__x86_raw_data_cache_size_half): This.
46992         (__x86_64_shared_cache_size): Renamed to ...
46993         (__x86_shared_cache_size): This.
46994         (__x86_64_raw_shared_cache_size): Renamed to ...
46995         (__x86_raw_shared_cache_size): This.
46996         (__x86_64_shared_cache_size_half): Renamed to ...
46997         (__x86_shared_cache_size_half): This.
46998         (__x86_64_raw_shared_cache_size_half): Renamed to ...
46999         (__x86_raw_shared_cache_size_half): This.
47000         * sysdeps/x86_64/memcpy.S: Updated.
47001         * sysdeps/x86_64/memset.S: Likewise.
47002         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47003         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47004         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47006 2013-01-04  David S. Miller  <davem@davemloft.net>
47008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47010 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
47012         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
47013         1 to avoid redefinition warning.
47014         (__USE_GNU): Don't define.
47015         (init_signaling_nan): Protoize.
47017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47019 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47021         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
47022         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
47023         (__cpymn): Likewise.
47024         (norm): Remove commented code.
47025         (denorm): Likewise.
47026         (__mp_dbl): Likewise.
47027         (__inv): Likewise.
47028         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
47029         (__cpymn): Likewise.
47030         (norm): Remove commented code.
47031         (denorm): Likewise.
47032         (__mp_dbl): Likewise.
47033         (__inv): Likewise.
47035         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
47036         mp_no value for 1.0 and 2.0.
47037         (norm): Use RADIXI instead of radixi.d.
47038         (denorm): Likewise.
47039         (__mul): Use 0.0 instead of zero.d.
47040         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
47041         mp_no value for 1.0 and 2.0.
47042         (norm): Use RADIXI instead of radixi.d.
47043         (denorm): Likewise.
47044         (__mul): Use 0.0 instead of zero.d.
47046 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
47048         [BZ #14994]
47049         * math/s_casinh.c (__casinh): Reduce finite argument to first
47050         quadrant then set signs of results at the end.
47051         * math/s_casinhf.c (__casinhf): Likewise.
47052         * math/s_casinhl.c (__casinhl): Likewise.
47053         * math/libm-test.inc (casin_test): Add more tests.
47054         (casinh_test): Likewise.
47055         * sysdeps/i386/fpu/libm-test-ulps: Update.
47056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47058 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47060         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
47062         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
47064         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
47065         declarations.
47066         (denorm): Likewise.
47067         (__mp_dbl): Likewise.
47068         (__inv): Likewise.
47070         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
47071         and adjust the header comment.
47073         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
47074         variable name from declaration.
47076 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
47078         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47079         Initialize COMMON_CPUID_INDEX_7 element.
47080         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
47081         (CPUID_RTM): Likewise.
47082         (HAS_RTM): Likewise.
47083         (COMMON_CPUID_INDEX_7): New enum.
47085 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
47087         [BZ #14981]
47088         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
47089         size is zero, record memory as freed.
47091 2013-01-03  Andreas Jaeger  <aj@suse.de>
47093         * po/ia.po: Add new Interlingua translation.
47095 2012-01-03  Allan McRae  <allan@archlinux.org>
47097         * locale/programs/localedef.c: Fix description of '--posix' flag.
47099 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
47101         * NEWS: Update dates in second copyright notice.
47102         * README: Update copyright dates in example.
47103         * manual/libc.texinfo: Update copyright dates.
47104         * scripts/test-installation.pl: Update copyright date in --version
47105         output.
47107         * hurd/ctty-input.c: Fix copyright notice formatting.
47108         * hurd/ctty-output.c: Likewise.
47109         * hurd/dtable.c: Likewise.
47110         * hurd/hurd-raise.c: Likewise.
47111         * hurd/hurdprio.c: Likewise.
47112         * hurd/msgportdemux.c: Likewise.
47113         * misc/sys/file.h: Likewise.
47114         * misc/sys/ioctl.h: Likewise.
47115         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
47116         * sysdeps/mach/hurd/chdir.c: Likewise.
47117         * sysdeps/mach/hurd/fchdir.c: Likewise.
47118         * sysdeps/mach/hurd/rename.c: Likewise.
47119         * sysdeps/mach/hurd/rmdir.c: Likewise.
47120         * sysdeps/mach/hurd/seekdir.c: Likewise.
47121         * sysdeps/mach/hurd/setsid.c: Likewise.
47122         * sysdeps/posix/wait3.c: Likewise.
47124         * All files with FSF copyright notices: Update copyright dates
47125         using scripts/update-copyrights.
47126         * intl/plural.c: Regenerated.
47127         * locale/programs/charmap-kw.h: Likewise.
47128         * locale/programs/locfile-kw.h: Likewise.
47130 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47132         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
47133         four values.
47135         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
47136         calculation loop and add branch prediction.
47138         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
47139         check access beyond bounds of m1np.
47141         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47142         MPTWO.
47143         (__inv): Remove local variable MPTWO to use the global
47144         constant.
47145         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
47146         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47147         variable MPTWO.
47148         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
47149         MP3HALFS static const.
47151 2013-01-01  David S. Miller  <davem@davemloft.net>
47153         * po/ca.po: Update from translation team.
47155 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
47157         * scripts/update-copyrights: New file.
47158         * Makeconfig: Reformat copyright notice.
47159         * ctype/ctype.h: Likewise.
47160         * debug/swprintf_chk.c: Likewise.
47161         * elf/dl-cache.c: Likewise.
47162         * elf/dl-debug.c: Likewise.
47163         * elf/dl-object.c: Likewise.
47164         * grp/initgroups.c: Likewise.
47165         * hurd/Makefile: Likewise.
47166         * hurd/hurd/signal.h: Likewise.
47167         * hurd/hurdfault.c: Likewise.
47168         * hurd/hurdioctl.c: Likewise.
47169         * hurd/hurdlookup.c: Likewise.
47170         * hurd/intr-msg.c: Likewise.
47171         * iconv/gconv_open.c: Likewise.
47172         * libio/swprintf.c: Likewise.
47173         * locale/lc-ctype.c: Likewise.
47174         * locale/nl_langinfo.c: Likewise.
47175         * mach/Machrules: Likewise.
47176         * mach/Makefile: Likewise.
47177         * malloc/obstack.h: Likewise.
47178         * manual/Makefile: Likewise.
47179         * manual/tsort.awk: Likewise.
47180         * misc/bits/stab.def: Likewise.
47181         * nis/nis_print_group_entry.c: Likewise.
47182         * nis/nis_table.c: Likewise.
47183         * nis/nss_compat/compat-pwd.c: Likewise.
47184         * nis/nss_compat/compat-spwd.c: Likewise.
47185         * po/Makefile: Likewise.
47186         * posix/fnmatch.c: Likewise.
47187         * posix/regex.h: Likewise.
47188         * resolv/Makefile: Likewise.
47189         * resolv/nss_dns/dns-network.c: Likewise.
47190         * resolv/res_hconf.c: Likewise.
47191         * scripts/gen-sorted.awk: Likewise.
47192         * soft-fp/soft-fp.h: Likewise.
47193         * stdio-common/printf.h: Likewise.
47194         * stdlib/monetary.h: Likewise.
47195         * stdlib/random.c: Likewise.
47196         * stdlib/random_r.c: Likewise.
47197         * sysdeps/generic/Makefile: Likewise.
47198         * sysdeps/gnu/Makefile: Likewise.
47199         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47200         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47201         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47202         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47203         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47204         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47205         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47206         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47207         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47208         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47209         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47210         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47211         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47212         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47213         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
47214         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47215         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47216         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47217         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47218         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47219         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47220         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47221         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47222         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47223         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
47224         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47225         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47226         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
47227         * sysdeps/mach/hurd/errnos.awk: Likewise.
47228         * sysdeps/mach/hurd/fork.c: Likewise.
47229         * sysdeps/mach/hurd/getcwd.c: Likewise.
47230         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
47231         * sysdeps/mach/hurd/mmap.c: Likewise.
47232         * sysdeps/mach/hurd/utimes.c: Likewise.
47233         * sysdeps/mach/hurd/xmknod.c: Likewise.
47234         * sysdeps/posix/profil.c: Likewise.
47235         * sysdeps/posix/readdir_r.c: Likewise.
47236         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47237         * sysdeps/powerpc/bits/setjmp.h: Likewise.
47238         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
47239         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47240         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47241         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47242         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47243         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47244         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47245         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47246         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47247         * sysdeps/pthread/lio_listio.c: Likewise.
47248         * sysdeps/sparc/dl-procinfo.h: Likewise.
47249         * sysdeps/unix/i386/sysdep.S: Likewise.
47250         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
47251         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
47252         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
47253         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
47254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47255         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
47256         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
47257         * sysdeps/unix/sysv/linux/speed.c: Likewise.
47258         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
47259         * sysdeps/wordsize-32/divdi3.c: Likewise.
47260         * time/sys/time.h: Likewise.
47261         * wcsmbs/Makefile: Likewise.
47263 2013-01-01  David S. Miller  <davem@davemloft.net>
47265         * po/fr.po: Update from translation team.
47267         * catgets/gencat.c: Update copyright year.
47268         * csu/version.c: Likewise.
47269         * debug/catchsegv.sh: Likewise.
47270         * debug/pcprofiledump.c: Likewise.
47271         * debug/xtrace.sh: Likewise.
47272         * elf/ldconfig.c: Likewise.
47273         * elf/ldd.bash.in: Likewise.
47274         * elf/pldd.c: Likewise.
47275         * elf/sotruss.ksh: Likewise.
47276         * elf/sprof.c: Likewise.
47277         * iconv/iconv_prog.c: Likewise.
47278         * iconv/iconvconfig.c: Likewise.
47279         * locale/programs/locale.c: Likewise.
47280         * locale/programs/localedef.c: Likewise.
47281         * login/programs/pt_chown.c: Likewise.
47282         * malloc/memusage.sh: Likewise.
47283         * malloc/memusagestat.c: Likewise.
47284         * malloc/mtrace.pl: Likewise.
47285         * nscd/nscd.c: Likewise.
47286         * nss/getent.c: Likewise.
47287         * nss/makedb.c: Likewise.
47288         * posix/getconf.c: Likewise.
47290 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47292         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
47293         numbers.
47295 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
47297         * math/bits/mathcalls.h (modf): Use __nonnull.
47299 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47301         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
47302         (split): Use macro CN instead of the bare value.
47303         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
47304         could be used.
47305         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
47306         instead of the bare value.
47307         (power1): Likewise.
47309 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47311         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
47312         __ATAN_TWOM.
47313         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47315         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
47316         their values.
47317         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47318         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47319         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
47320         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47322 2012-12-28  Andreas Jaeger  <aj@suse.de>
47324         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
47325         values are from Linux 3.7.
47327         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
47328         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
47330 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47332         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
47333         TRUE case.
47335         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
47336         (norm): Likewise.
47337         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
47338         variables with preprocessor constants.
47339         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47340         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47341         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47343 2012-12-27  Bruno Haible  <bruno@clisp.org>
47345         [BZ #14317]
47346         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
47347         only if needed.
47349 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47351         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
47352         and use variable directly.
47353         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
47355         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47356         MPONE.
47357         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
47358         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47359         variable MPONE.
47360         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47361         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
47362         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
47363         include directive.  Remove local variable MPONE.
47364         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
47365         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
47366         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47368 2012-12-25  David S. Miller  <davem@davemloft.net>
47370         * version.h (RELEASE): Set to "development".
47371         (VERSION): Set to "2.17.90".
47372         * NEWS: Add 2.18 section.
47374 2012-12-21  David S. Miller  <davem@davemloft.net>
47376         * po/hr.po: Update from translation team.
47378 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47380         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
47382 2012-12-19  Steve Ellcey  <sellcey@mips.com>
47384         * NEWS:  Mention new memcpy for MIPS.
47386 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47388         * manual/contrib.texi (Contributors): Spelling correction.
47390 2012-12-15  David S. Miller  <davem@davemloft.net>
47392         * po/ru.po: Update from translation team.
47394 2012-12-13  David S. Miller  <davem@davemloft.net>
47396         * NEWS: Mention IFUNC testsuite enhancements.
47398         * po/pl.po: Update from translation team.
47399         * po/bg.po: Likewise.
47401         * manual/contrib.texi (Contributors): Update entries for Hongjiu
47402         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
47404 2012-12-11  David S. Miller  <davem@davemloft.net>
47406         * po/sv.po: Update from translation team.
47408         * po/vi.po: Update from translation team.
47410         * po/cs.po: Update from translation team.
47412         * po/de.po: Update from translation team.
47413         * po/eo.po: Likewise.
47414         * po/nl.po: Likewise.
47416 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47418         [BZ #14246]
47419         * manual/argp.texi (Argp Helper Functions): Move node to follow
47420         Argp Parsing State.
47422         [BZ #14872]
47423         * manual/conf.texi (Limits on File System Capacity): Mention if
47424         terminating null is included in the max size.
47426 2012-12-10  Andreas Jaeger  <aj@suse.de>
47428         * po/cs.po: Update from translation team.
47430 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47432         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
47433         void pointer and cast to uintptr_t.
47434         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
47435         path.
47436         * sysdeps/s390/s390-64/memcpy.S: Likewise.
47437         * sysdeps/s390/s390-64/memset.S: Likewise.
47439 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
47441         [BZ #14833]
47442         * menual/message.texi (Message Translation): Fix typos.
47443         (Helper programs for gettext): Likewise.
47445 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
47447         [BZ #14898]
47448         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
47449         Change to -1.
47451 2012-12-07  David S. Miller  <davem@davemloft.net>
47453         * po/libc.pot: Update.
47455 2012-12-07  Richard Henderson  <rth@redhat.com>
47457         [BZ #10114]
47458         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
47459         normal/normal case to before the switch.
47460         (_FP_DIV): Likewise.
47462 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
47463             Mike Frysinger  <vapier@gentoo.org>
47465         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
47466         check for __NR_fadvise64_64.
47468 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
47470         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
47471         0, not just to plain "0" as a statement.
47472         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
47473         with cw.
47475 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
47477         * NEWS: Use sourceware.org in Bugzilla URL.
47479 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
47482         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
47484         * stdio-common/tst-put-error.c (do_test): Add newline to the
47485         padded test to ensure flush.
47487 2012-12-05  Jeff Law  <law@redhat.com>
47489         * sunrpc/etc.rpc (fedfs_admin): Add entry.
47491 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
47493         * README: Don't refer to ports add-on as distributed separately.
47494         Mention AArch64 in list of systems supported in the ports add-on.
47496         * LICENSES: Add more non-FSF copyright and license notices.
47498         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
47499         ((unused)).
47501         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
47503         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
47504         10000 as width of padded output.
47506 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
47508         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
47510         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
47511         variable LX with __attribute__ ((unused)).
47512         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47513         Likewise.
47514         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47515         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47516         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
47517         with __attribute__ ((unused)).
47519 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
47521         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
47523 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
47525         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
47526         (CFLAGS-nldbl-acos.c): New variable.
47527         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
47528         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
47529         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
47530         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
47531         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
47532         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
47533         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
47534         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
47535         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
47536         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
47537         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
47538         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
47539         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
47540         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
47541         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
47542         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
47543         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
47544         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
47545         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
47546         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
47547         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
47548         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
47549         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
47550         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
47551         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
47552         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
47553         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
47554         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
47555         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
47556         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
47557         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
47558         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
47559         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
47560         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
47561         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
47562         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
47563         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
47564         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
47565         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
47566         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
47567         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
47568         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
47569         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
47570         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
47571         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
47572         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
47573         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
47574         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
47575         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
47576         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
47577         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
47578         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
47579         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
47580         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
47581         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
47582         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
47583         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
47584         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
47585         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
47586         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
47587         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
47588         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
47589         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
47590         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
47591         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
47592         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
47593         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
47594         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
47595         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
47596         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
47597         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
47598         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
47599         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
47600         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
47601         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
47602         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
47603         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
47604         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
47605         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
47606         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
47607         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
47608         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
47609         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
47610         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
47611         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
47612         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
47613         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
47614         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
47615         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
47616         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
47617         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
47618         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
47619         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
47620         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
47621         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
47622         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
47623         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
47625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47626         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
47628         [BZ #14914]
47629         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
47630         whole low double instead of just low 47 bits when splitting values
47631         into two parts.
47633 2012-12-03  Allan McRae  <allan@archlinux.org>
47635         * manual/stdio.texi (Predefined Printf Handlers): Remove
47636         @hsep and @vsep usage.
47638 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
47640         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
47641         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
47643 2012-12-03  Jeff Law  <law@redhat.com>
47645         * time/sys/time.h (settimeofday): Do not mark TV argument
47646         as __nonnull.
47648 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
47650         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
47651         when currently writing and seek to current position when not.
47652         * libio/Makefile (tests): Remove bug-fclose1.
47653         * libio/bug-fclose1.c: Delete.
47655 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
47657         * manual/arith.texi (feenableexcept): Fix typo.
47658         (fedisableexcept): Likewise.
47660 2012-11-30  Roland McGrath  <roland@hack.frob.com>
47662         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
47663         second, differently-typed declaration, rather than a cast.
47665 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47667         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
47668         * include/rpc/svc.h: ... here.
47670 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
47672         [BZ #13013]
47673         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
47674         depending n and resplen2 to catch cases where answer
47675         equals answerp2.
47677 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
47679         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
47680         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
47682 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
47684         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
47686 2012-11-29  Roland McGrath  <roland@hack.frob.com>
47688         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
47690 2012-11-28  Jeff Law  <law@redhat.com>
47692         [BZ #13761]
47693         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
47694         dataset_temporary.  Track alloca usage into alloca_used.
47695         If dataset is large allocate and release it via malloc/free.
47697 2012-06-04  Florian Weimer  <fweimer@redhat.com>
47699         [BZ #14197]
47700         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
47702 2012-11-28  David S. Miller  <davem@davemloft.net>
47704         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47706 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
47708         [BZ #14803]
47709         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
47710         of pi/2 rounded to nearest to 64 bits.
47711         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
47712         nearest to 64 bits.
47713         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
47714         bits.
47716 2012-11-28  Jeff Law <law@redhat.com>
47717             Martin Osvald <mosvald@redhat.com>
47719         [BZ #14889]
47720         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
47721         * sunrpc/svc.c: Include time.h.
47722         (__svc_accept_failed): New function.
47723         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
47724         any reason other than EINTR, call __svc_accept_failed.
47725         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
47726         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
47728 2012-11-28  Andreas Schwab  <schwab@suse.de>
47730         * scripts/abilist.awk: Also handle indirect functions in .opd
47731         section.
47733 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
47735         [BZ #13881]
47736         * sysdeps/x86/fpu/powl_helper.c: New file.
47737         * sysdeps/x86/fpu/Makefile: Likewise.
47738         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
47739         (p3): New object.
47740         (__ieee754_powl): Use __powl_helper for finite arguments except
47741         integer exponents below 8.
47742         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
47743         (p3): New object.
47744         (__ieee754_powl): Use __powl_helper for finite arguments except
47745         integer exponents below 8.
47746         * math/libm-test.inc (pow_test): Add more tests and enable some
47747         previously disabled tests.
47748         * sysdeps/i386/fpu/libm-test-ulps: Update.
47749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47751 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47752             Carlos O'Donell  <carlos_odonell@mentor.com>
47754         * nss/makedb.c (is_prime): Assert that input is odd and greater
47755         than 4.  Note that fact in a comment too.
47756         (next_prime): Add 4 to input.
47758 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47760         [BZ #11741]
47761         * libio/Makefile (tests): Add test case tst-fwrite-error.
47762         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
47763         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
47764         * libio/tst-fwrite-error.c: New test case.
47766 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
47768         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
47769         before casting to void *.
47770         * include/libc-internal.h (__pointer_type): New macro.
47771         (__integer_if_pointer_type_sub): Likewise.
47772         (__integer_if_pointer_type): Likewise.
47773         (cast_to_integer): Likewise.
47774         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
47775         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
47776         before casting to atomic64_t.
47777         (atomic_exchange_acq): Likewise.
47778         (__arch_exchange_and_add_body): Likewise.
47779         (__arch_add_body): Likewise.
47780         (atomic_add_negative): Likewise.
47781         (atomic_add_zero): Likewise.
47783 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
47785         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
47786         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
47787         (add_fdes): Likewise.
47788         (linear_search_fdes): Likewise.
47789         (binary_search_unencoded_fdes): Likewise.
47791 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
47793         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
47795 2012-11-24  Adam Conrad  <adconrad@0c3.net>
47797         * configure.in: Autodetect C++ header directories.
47798         * configure: Regenerated.
47800 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
47802         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
47804 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
47806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47808 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
47810         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
47811         LDBL_MANT_DIG == 106]: Disable some tests.
47812         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
47813         Likewise.
47814         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
47815         Likewise.
47817         [BZ #14871]
47818         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
47819         input for small inputs.  Return +/- pi/2 for large inputs.
47820         * math/libm-test.inc (atan_test): Add more tests.
47822         * sysdeps/generic/unwind-dw2-fde-glibc.c
47823         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
47824         __attribute__ ((unused)).
47826         [BZ #14645]
47827         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
47828         x * y if x and y are nonzero and z is zero.
47830         [BZ #14811]
47831         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
47832         nonzero exponents with absolute value below 0x1p-117 to +/-
47833         0x1p-117.
47835         [BZ #14869]
47836         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
47837         up arguments below 2**-450, not just those below 2**-500.
47838         * math/libm-test.inc (hypot_test): Add another test.
47840         [BZ #14868]
47841         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
47842         Return a+b for ratio over 2**120, not 2**60.
47843         * math/libm-test.inc (hypot_test): Add another test.
47845         * math/libm-test.inc (clog_test): Use
47846         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
47847         (clog10_test): Likewise.
47849         [BZ #6778]
47850         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
47852 2012-11-22  Andreas Schwab  <schwab@suse.de>
47854         * sysdeps/i386/fpu/libm-test-ulps: Update.
47856 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
47858         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
47859         printf output with newline.
47861 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
47863         [BZ #14865]
47864         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
47865         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
47866         -z nodlopen, -z initfirst and -z execstack support.
47867         * configure: Regenerated.
47869         * elf/elf.h (DF_1_NODIRECT): New macro.
47870         (DF_1_IGNMULDEF): Likewise.
47871         (DF_1_NOKSYMS): Likewise.
47872         (DF_1_NOHDR): Likewise.
47873         (DF_1_EDITED): Likewise.
47874         (DF_1_NORELOC): Likewise.
47875         (DF_1_SYMINTPOSE): Likewise.
47876         (DF_1_GLOBAUDIT): Likewise.
47877         (DF_1_SINGLETON): Likewise.
47878         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
47879         DT_1_SUPPORTED_MASK bits.
47880         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
47882 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
47884         * sysdeps/unix/make-syscalls.sh: Document prefixes.
47886 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
47888         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
47889         macro.
47891         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
47892         (sendmmsg): Move declarations...
47893         * socket/sys/socket.h: ... here.
47894         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
47895         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
47896         include it from...
47897         * socket/recvmmsg.c: ... this new file.
47898         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
47899         (sendmmsg): Rename to __sendmmsg, create weak alias and make
47900         definition of __sendmmsg hidden.
47901         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
47902         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
47903         Move ENOSYS stub into and include it from...
47904         * socket/sendmmsg.c: ... this new file.
47905         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
47906         (sysdep_routines): Move recvmmsg and sendmmsg...
47907         * socket/Makefile (routines): ... here.
47908         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
47909         (GLIBC_PRIVATE): Add __sendmmsg.
47910         * include/sys/socket.h (__sendmmsg): Add declarations.
47911         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
47912         sendmmsg.
47914 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
47916         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
47917         variable I1 with __attribute__ ((unused)).
47918         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47920 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47922         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
47923         DUMMY variables with __attribute__ ((unused)).
47925         * bits/byteswap.h: Include <bits/types.h>.
47926         (__bswap_64): Use __uint64_t instead of unsigned long long int.
47928 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
47930         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
47931         string_t.  Do not manually set errno.
47932         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
47933         length with __strnlen.  Make sure to both set errno and return it on
47934         failure.
47936 2012-11-19  David S. Miller  <davem@davemloft.net>
47938         With help from Joseph Myers.
47939         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
47940         very large arguments properly.
47941         * math/libm-test.inc (atan_test): New tests.
47942         (atan2_test): New tests.
47943         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47944         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47946 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47948         [BZ #14856]
47949         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
47950         Define to 3.
47952         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
47953         [POSIX] (EADDRNOTAVAIL): Likewise.
47954         [POSIX] (EAFNOSUPPORT): Likewise.
47955         [POSIX] (EALREADY): Likewise.
47956         [POSIX] (ECONNABORTED): Likewise.
47957         [POSIX] (ECONNREFUSED): Likewise.
47958         [POSIX] (ECONNRESET): Likewise.
47959         [POSIX] (EDESTADDRREQ): Likewise.
47960         [POSIX] (EDQUOT): Likewise.
47961         [POSIX] (EHOSTUNREACH): Likewise.
47962         [POSIX] (EIDRM): Likewise.
47963         [POSIX] (EISCONN): Likewise.
47964         [POSIX] (ELOOP): Likewise.
47965         [POSIX] (EMULTIHOP): Likewise.
47966         [POSIX] (ENETDOWN): Likewise.
47967         [POSIX] (ENETUNREACH): Likewise.
47968         [POSIX] (ENOBUFS): Likewise.
47969         [POSIX] (ENODATA): Likewise.
47970         [POSIX] (ENOLINK): Likewise.
47971         [POSIX] (ENOMSG): Likewise.
47972         [POSIX] (ENOPROTOOPT): Likewise.
47973         [POSIX] (ENOSR): Likewise.
47974         [POSIX] (ENOSTR): Likewise.
47975         [POSIX] (ENOTCONN): Likewise.
47976         [POSIX] (ENOTSOCK): Likewise.
47977         [POSIX] (EOPNOTSUPP): Likewise.
47978         [POSIX] (EOVERFLOW): Likewise.
47979         [POSIX] (EPROTO): Likewise.
47980         [POSIX] (EPROTONOSUPPORT): Likewise.
47981         [POSIX] (EPROTOTYPE): Likewise.
47982         [POSIX] (ESTALE): Likewise.
47983         [POSIX] (ETIME): Likewise.
47984         [POSIX] (ETXTBSY): Likewise.
47985         [POSIX] (EWOULDBLOCK): Likewise.
47986         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
47987         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
47988         [POSIX] (SEEK_CUR): Likewise.
47989         [POSIX] (SEEK_END): Likewise.
47990         [POSIX || UNIX98] (mode_t): Do not require.
47991         [POSIX] (off_t): Likewise.
47992         [POSIX] (pid_t): Likewise.
47993         [POSIX] (sys/stat.h): Do not allow header.
47994         [POSIX] (unistd.h): Likewise.
47995         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
47996         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
47997         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
47998         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
47999         require.
48000         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
48001         sigevent): Specify elements.
48002         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
48003         entry.
48004         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
48005         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
48007         * conform/data/cpio.h-data [POSIX]: Disable whole file.
48008         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
48009         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
48010         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
48011         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
48012         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
48013         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
48014         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
48015         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
48016         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
48017         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
48018         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
48019         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
48020         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
48021         Likewise.
48022         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
48023         Likewise.
48024         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
48025         Likewise.
48026         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
48027         Likewise.
48028         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
48029         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
48030         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
48031         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
48032         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
48033         Specify lower bound on value.
48034         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
48035         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
48036         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
48037         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
48038         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
48039         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
48040         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
48041         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
48042         value.
48043         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
48044         as optional.
48045         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
48046         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
48047         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
48048         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
48049         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
48050         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
48051         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
48052         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
48053         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
48054         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
48055         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
48056         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
48057         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
48058         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
48059         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
48060         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
48061         entry.
48062         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
48063         optional.
48064         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
48065         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
48066         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
48067         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
48068         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
48069         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
48070         Likewise.
48071         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
48072         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
48073         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
48074         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
48075         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
48076         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
48077         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
48078         as optional.
48079         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
48080         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
48081         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
48082         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
48083         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
48084         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
48085         specify as optional.
48086         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
48087         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
48088         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
48089         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
48090         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
48091         [XPG3] (NL_LANGMAX): Likewise.
48092         [POSIX || XPG3] (NL_MSGMAX): Likewise.
48093         [POSIX || XPG3] (NL_NMAX): Likewise.
48094         [POSIX || XPG3] (NL_SETMAX): Likewise.
48095         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
48096         [XPG3] (NZERO): Likewise.
48097         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
48098         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
48099         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
48100         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
48101         (REG_ERANGE): Expect.
48102         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
48103         optional-constant.
48104         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
48105         Use (void) in prototype.
48106         [POSIX] (*_t): Allow.
48107         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
48108         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
48109         (WRDE_BADVAL): Expect.
48111         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
48112         expect.
48113         [XPG3 || XPG4] (O_RSYNC): Likewise.
48114         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
48115         Likewise.
48116         [XPG3 || XPG4] (pthread_sigmask): Likewise.
48117         [XPG3 || XPG4] (sigqueue): Likewise.
48118         [XPG3 || XPG4] (sigtimedwait): Likewise.
48119         [XPG3 || XPG4] (sigwaitinfo): Likewise.
48120         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
48121         [XPG3 || XPG4] (vsnprintf): Likewise.
48122         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
48123         Likewise.
48124         [XPG3 || XPG4] (blksize_t): Likewise.
48125         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
48126         Likewise.
48127         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
48128         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
48129         [XPG3 || XPG4] (struct itimerspec): Likewise.
48130         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
48131         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
48132         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
48133         [XPG3 || XPG4] (clockid_t): Likewise.
48134         [XPG3 || XPG4] (timer_t): Likewise.
48135         [XPG3 || XPG4] (clock_getres): Likewise.
48136         [XPG3 || XPG4] (clock_gettime): Likewise.
48137         [XPG3 || XPG4] (clock_settime): Likewise.
48138         [XPG3 || XPG4] (nanosleep): Likewise.
48139         [XPG3 || XPG4] (timer_create): Likewise.
48140         [XPG3 || XPG4] (timer_delete): Likewise.
48141         [XPG3 || XPG4] (timer_gettime): Likewise.
48142         [XPG3 || XPG4] (timer_getoverrun): Likewise.
48143         [XPG3 || XPG4] (timer_settime): Likewise.
48144         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
48145         [XPG3 || XPG4] (getlogin_r): Likewise.
48146         [XPG3 || XPG4] (pread): Likewise.
48147         [XPG3 || XPG4] (pthread_atfork): Likewise.
48148         [XPG3 || XPG4] (pwrite): Likewise.
48150         [BZ #14835]
48151         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
48152         <bits/siginfo.h>.
48154 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
48156         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
48157         finalizing MALLSTREAM.
48159         * sysdeps/mach/hurd/syncfs.c: New file.
48161 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48163         [BZ #14719]
48164         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
48165         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
48166         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
48167         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
48168         (_nss_dns_gethostbyname4_r): Likewise.
48169         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
48170         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
48172 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
48174         [BZ #13763]
48175         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
48177 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
48179         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
48180         * elf/cache.c (print_entry): Print ",AArch64" for
48181         FLAG_AARCH64_LIB64
48183         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
48184         * elf/cache.c (print_entry): Print ",hard-float" for
48185         FLAG_ARM_LIBHF.
48187 2012-11-18  David S. Miller  <davem@davemloft.net>
48189         With help from Joseph Myers.
48190         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
48191         cutoff to 2**-13.
48192         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
48193         cutoff to 2**-25.
48194         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
48195         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
48196         small.
48197         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
48198         * math/libm-test.inc (y0_test): New tests.
48199         (y1_test): New tests.
48200         * sysdeps/i386/fpu/libm-test-ulps: Update.
48201         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48202         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48204 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
48206         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
48207         64-bit targets.
48208         * configure: Regenerated.
48210 2012-11-17  David S. Miller  <davem@davemloft.net>
48212         [BZ #14811]
48213         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
48214         nonzero exponents with absolute value below 0x1p-128 to +/-
48215         0x1p-128.
48217 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
48219         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
48221         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
48223         * posix/getconf-speclist.c: New file.
48224         * posix/posix-envs.def: Likewise.
48225         * posix/confstr.c (START_ENV_GROUP): New macro.
48226         (END_ENV_GROUP): Likewise.
48227         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48228         (KNOWN_PRESENT_ENV_STRING): Likewise.
48229         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48230         (UNKNOWN_ENVIRONMENT): Likewise.
48231         (confstr): Include posix-envs.def instead of handling
48232         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
48233         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
48234         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
48235         (END_ENV_GROUP): Likewise.
48236         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48237         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48238         (UNKNOWN_ENVIRONMENT): Likewise.
48239         (__sysconf): Include posix-envs.def instead of handling associated
48240         cases directly here.
48241         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
48242         preprocessing getconf-speclist.c rather than running getconf or
48243         generating empty file.
48245 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
48247         * scripts/check-local-headers.sh: Ignore 'mach' headers.
48249 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
48251         [BZ #14672]
48252         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
48254 2012-11-16  David S. Miller  <davem@davemloft.net>
48256         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
48257         smaller than LDBL_EPSILON/2.0L, just return xm1.
48259 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
48261         * elf/tst-array1.c (init): Set constructor priority to 1000.
48262         (fini): Set destructor priority to 1000.
48263         * elf/tst-array2dep.c: Likewise.
48265 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48267         [BZ #11741]
48268         * libio/fileops.c (_IO_new_file_write): Correctly return error.
48269         (_IO_new_file_xsputn): Also return EOF if none of the input
48270         data was written when overflow failed.
48271         * libio/iopadn.c (_IO_padn): Likewise.
48272         * libio/iowpadn.c (_IO_wpadn): Likewise.
48273         * stdio-common/tst-put-error.c: Add copyright notice.
48274         (do_test): Add case for printing padded string.
48275         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
48276         _IO_padn returned error.
48277         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
48278         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
48279         return EOF.
48281 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48283         * libio/libioP.h: Add comment note that the references to C++
48284         bits are now obsolete.
48286 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48288         * math/libm-test.inc (check_complex): Use asprintf.
48290 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
48292         * debug/pcprofiledump.c (print_version): Update copyright year.
48293         * malloc/memusagestat.c (print_version): Likewise.
48295 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
48297         [BZ #14831]
48298         * elf/Makefile (tests): Add tst-audit8.
48299         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
48300         ($(objpfx)tst-audit8.out): New target.
48301         (tst-audit8-ENV): New variable.
48302         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
48303         audit if l_reloc_result is NULL.
48304         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
48305         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
48306         * elf/tst-audit8.c: New file.
48308 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48310         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
48311         * misc/Makefile (CFLAGS-select.c): Define.
48312         * posix/Makefile (CFLAGS-pause.c): Define.
48314 2012-11-13  David S. Miller  <davem@davemloft.net>
48316         * crypt/Makefile: Move test targets after toplevel Rules
48317         inclusion.  Grab any necessary sysdep routines when linking.
48318         * crypt/md5.c (md5_process_block): Remove define, we will always
48319         name it __md5_process_block.
48320         (md5_finish_ctx): Update md5_process_block call.
48321         (md5_stream): Likewise.
48322         (md5_process_bytes): Likewise.
48323         (md5_process_block): Rename to __md5_process_block and move to ...
48324         * crypt/md5-block.c: ... here.
48325         * crypt/sha256.c (sha256_process_block): Move to ...
48326         * crypt/sha256-block.c: ... here.
48327         * crypt/sha512.c (sha512_process_block): Move to ...
48328         * crypt/sha512-block.c: ... here.
48329         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
48330         path.
48331         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
48332         * sysdeps/sparc/sparc64/multiarch/Makefile
48333         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
48334         crypt subdir.
48335         (localedef-aux): Add md5 crypto assembler when in locale subdir.
48336         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
48337         multiarch changes.
48338         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
48339         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
48340         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
48341         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
48342         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
48343         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
48344         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
48345         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
48346         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
48347         file.
48348         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
48349         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
48350         file.
48351         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
48353 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
48355         * timezone/tzselect.ksh: Update from tzcode git revision
48356         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
48357         * timezone/zdump.c: Likewise.
48358         * timezone/zic.c: Likewise.
48359         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
48360         in TZVERSION setting, not $(PKGVERSION).
48361         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
48362         REPORT_BUGS_TO settings.
48364         [BZ #14838]
48365         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
48366         macro.
48368 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48370         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
48371         detection to immediately after _FP_ROUND().
48372         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
48373         bits are 0.
48375 2012-11-11  David S. Miller  <davem@davemloft.net>
48377         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
48378         inttypes.h
48379         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
48380         __close rather than their public counterparts.
48382 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
48384         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
48385         file.
48386         [UNIX98] (sem_timedwait): Do not expect.
48387         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
48388         [XPG4 || UNIX98] (sockatmark): Do not expect.
48389         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
48390         (clock_getcpuclockid): Do not expect.
48391         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
48392         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
48393         Do not expect.
48394         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
48395         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
48396         [UNIX98] (vwscanf): Likewise.
48397         [UNIX98] (vswscanf): Likewise.
48399 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
48401         * timezone/version.h: Remove file.
48402         * timezone/README: Do not refer to version.h.
48403         * timezone/Makefile ($(objpfx)zic.o): New dependency on
48404         $(objpfx)version.h.
48405         ($(objpfx)zdump.o): Likewise.
48406         ($(objpfx)version.h): New target.
48408         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
48409         2012i.
48410         * timezone/README: Don't mention modification to tzselect.ksh.
48411         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
48412         work on unmodified tzselect.ksh.  Substitute version numbers in
48413         tzselect.ksh.
48415         * Makefile (format-me): Remove.
48416         (INSTALL): Adjust indentation.  Use commands directly instead of
48417         using $(format-me).
48419         * aclocal.m4 (ACX_PKGVERSION): New macro.
48420         (ACX_BUGURL): Likewise.
48421         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
48422         (PKGVERSION): New AC_DEFINE_UNQUOTED.
48423         (REPORT_BUGS_TO): Likewise.
48424         * configure: Regenerated.
48425         * config.h.in (PKGVERSION): New macro.
48426         (REPORT_BUGS_TO): Likewise.
48427         * config.make.in (PKGVERSION): New variable.
48428         (PKGVERSION_TEXI): Likewise.
48429         (REPORT_BUGS_TO): Likewise.
48430         (REPORT_BUGS_TEXI): Likewise.
48431         * Makefile (format-me): Use -I$(common-objpfx)manual.
48432         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
48433         ($(common-objpfx)manual/%): New target.
48434         (manual/%): Remove target.
48435         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
48436         (print_version): Use PKGVERSION.
48437         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
48438         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
48439         and REPORT_BUGS_TO.
48440         ($(objpfx)xtrace): Likewise.
48441         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
48442         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
48443         (print_version): Use PKGVERSION.
48444         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
48445         (do_version): Use PKGVERSION.
48446         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
48447         REPORT_BUGS_TO.
48448         (common-ldd-rewrite): Likewise.
48449         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
48450         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
48451         (print_version): Use PKGVERSION.
48452         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
48453         * elf/pldd.c (argp_program_bug_address): Remove variable.
48454         (more_help): New function.
48455         (argp): Use more_help.
48456         (print_version): Use PKGVERSION.
48457         * elf/sln.c (main): Use PKGVERSION.
48458         (usage): Use REPORT_BUGS_TO.
48459         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
48460         (top level): Use PKGVERSION.
48461         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
48462         (print_version): Use PKGVERSION.
48463         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
48464         (print_version): Use PKGVERSION.
48465         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
48466         (print_version): Use PKGVERSION.
48467         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
48468         (print_version): Use PKGVERSION.
48469         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
48470         (print_version): Use PKGVERSION.
48471         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
48472         (print_version): Use PKGVERSION.
48473         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
48474         and BUGURL.
48475         ($(objpfx)memusage): Likewise.
48476         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
48477         (do_version): Use PKGVERSION.
48478         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
48479         (print_version): Use PKGVERSION.
48480         * malloc/mtrace.pl ($PACKAGE): Remove variable.
48481         ($PKGVERSION): New variable.
48482         ($REPORT_BUGS_TO): Likewise.
48483         (usage): Use $REPORT_BUGS_TO.
48484         (top level): Use $PKGVERSION.
48485         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
48486         ($(objpfx)pkgvers.texi): New rule.
48487         ($(objpfx)stamp-pkgvers): Likewise.
48488         * manual/install.texi: Include pkgvers.texi.
48489         (--with-pkgversion): Document new configure option.
48490         (--with-bugurl): Likewise.
48491         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
48492         than necessarily for this particular distribution.  Use
48493         REPORT_BUGS_TO for where to report bugs.
48494         * INSTALL: Regenerated.
48495         * manual/libc.texinfo: Include pkgvers.texi.
48496         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
48497         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
48498         (print_version): Use PKGVERSION.
48499         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
48500         (print_version): Use PKGVERSION.
48501         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
48502         (print_version): Use PKGVERSION.
48503         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
48504         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
48505         macro.
48506         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
48507         (print_version): Use PKGVERSION.
48508         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
48509         (print_version): Use PKGVERSION.
48510         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
48511         and PKGVERSION.
48513         * timezone/checktab.awk: Update from tzcode 2012i.
48514         * timezone/ialloc.c: Likewise.
48515         * timezone/private.h: Likewise.
48516         * timezone/scheck.c: Likewise.
48517         * timezone/tzfile.h: Likewise.
48518         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
48519         (TZVERSION): Hardcode tzcode version number.
48520         * timezone/zdump.c: Update from tzcode 2012i.
48521         * timezone/zic.c: Likewise.
48522         * timezone/version.h: New file.
48523         * timezone/README: Describe version.h.  Update upstream location.
48525         [BZ #14824]
48526         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
48527         (mktemp): Enable declaration.
48528         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
48529         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
48530         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
48531         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
48532         Likewise.
48533         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
48534         Likewise.
48535         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
48536         Likewise.
48537         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
48538         Likewise.
48539         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
48540         Likewise.
48541         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
48542         Likewise.
48544         [BZ #14821]
48545         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
48546         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
48547         for copies of such integer values.
48548         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48549         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48551 2012-11-09  Andreas Jaeger  <aj@suse.de>
48553         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
48554         definitions and declarations that are provided by
48555         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
48557 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48559         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
48560         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
48561         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
48562         definition.
48564 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48566         * elf/elf.h: Update comment before AArch64 relocations.
48568 2012-11-07  David S. Miller  <davem@davemloft.net>
48570         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
48571         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48572         (__start_context): Declare.
48573         (__makecontext_ret): Delete.
48574         (__makecontext): Hook up __start_context instead of
48575         __makecontext_ret.
48576         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
48577         (sysdep_routines): Add __start_context when in stdlib.
48579 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48581         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
48582         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
48583         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
48584         hardcoded "nm".
48585         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
48586         (READELF): New variable.  Use it instead of hardcoded "readelf".
48588 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48590         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
48591         * sysdeps/x86/Makefile: Here.
48592         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
48593         * sysdeps/x86/tst-xmmymm.sh: This.
48595 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48597         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
48598         expectations.
48599         [UNIX98] (pthread_barrier_t): Do not expect.
48600         [UNIX98] (pthread_barrierattr_t): Likewise.
48601         [UNIX98] (pthread_spinlock_t): Likewise.
48602         [UNIX98] (pthread_barrier_destroy): Likewise.
48603         [UNIX98] (pthread_barrier_init): Likewise.
48604         [UNIX98] (pthread_barrier_wait): Likewise.
48605         [UNIX98] (pthread_barrierattr_destroy): Likewise.
48606         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
48607         [UNIX98] (pthread_barrierattr_init): Likewise.
48608         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
48609         [UNIX98] (pthread_getcpuclockid): Likewise.
48610         [UNIX98] (pthread_mutex_timedlock): Likewise.
48611         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
48612         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
48613         [UNIX98] (pthread_sigmask): Likewise.
48614         [UNIX98] (pthread_spin_destroy): Likewise.
48615         [UNIX98] (pthread_spin_init): Likewise.
48616         [UNIX98] (pthread_spin_lock): Likewise.
48617         [UNIX98] (pthread_spin_trylock): Likewise.
48618         [UNIX98] (pthread_spin_unlock): Likewise.
48619         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
48620         Do not expect.
48621         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
48622         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
48623         [XPG3 || XPG4] (pthread_cond_t): Likewise.
48624         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
48625         [XPG3 || XPG4] (pthread_key_t): Likewise.
48626         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
48627         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
48628         [XPG3 || XPG4] (pthread_once_t): Likewise.
48629         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
48630         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
48631         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
48632         [XPG3 || XPG4] (pthread_t): Likewise.
48634         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
48635         not expect.
48636         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
48638         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
48639         Change function return type to int.
48641         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
48642         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
48643         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
48644         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
48645         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
48646         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
48647         [!POSIX] (posix_madvise): Likewise.
48648         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
48649         && !UNIX98].
48650         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
48651         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
48652         (mode_t): Likewise.
48653         (posix_mem_offset): Likewise.
48654         (posix_typed_mem_get_info): Likewise.
48655         (posix_typed_mem_open): Likewise.
48657         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
48658         Change condition to [XOPEN2K8].
48660         * conform/conformtest.pl: Preprocess allow-header data with -x c
48661         instead of from stdin.
48662         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
48663         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
48664         [C99-based standards] (cerfc): Likewise.
48665         [C99-based standards] (cexp2): Likewise.
48666         [C99-based standards] (cexpm1): Likewise.
48667         [C99-based standards] (clog10): Likewise.
48668         [C99-based standards] (clog1p): Likewise.
48669         [C99-based standards] (clog2): Likewise.
48670         [C99-based standards] (clgamma): Likewise.
48671         [C99-based standards] (ctgamma): Likewise.
48672         [C99-based standards] (cerff): Likewise.
48673         [C99-based standards] (cerfcf): Likewise.
48674         [C99-based standards] (cexp2f): Likewise.
48675         [C99-based standards] (cexpm1f): Likewise.
48676         [C99-based standards] (clog10f): Likewise.
48677         [C99-based standards] (clog1pf): Likewise.
48678         [C99-based standards] (clog2f): Likewise.
48679         [C99-based standards] (clgammaf): Likewise.
48680         [C99-based standards] (ctgammaf): Likewise.
48681         [C99-based standards] (cerfl): Likewise.
48682         [C99-based standards] (cerfcl): Likewise.
48683         [C99-based standards] (cexp2l): Likewise.
48684         [C99-based standards] (cexpm1l): Likewise.
48685         [C99-based standards] (clog10l): Likewise.
48686         [C99-based standards] (clog1pl): Likewise.
48687         [C99-based standards] (clog2l): Likewise.
48688         [C99-based standards] (clgammal): Likewise.
48689         [C99-based standards] (ctgammal): Likewise.
48690         * conform/data/inttypes.h-data [C99-based standards]: Include
48691         stdint.h-data.  Remove all expectations for stdint.h contents.
48692         [C99-based standards] (PRI*): Do not allow.
48693         [C99-based standards] (SCN*): Likewise.
48694         [C99-based standards] (*_t): Likewise.
48695         [C99-based-standards] (PRId8): Expect macro.
48696         [C99-based-standards] (PRIi8): Likewise.
48697         [C99-based-standards] (PRIo8): Likewise.
48698         [C99-based-standards] (PRIu8): Likewise.
48699         [C99-based-standards] (PRIx8): Likewise.
48700         [C99-based-standards] (PRIX8): Likewise.
48701         [C99-based-standards] (SCNd8): Likewise.
48702         [C99-based-standards] (SCNi8): Likewise.
48703         [C99-based-standards] (SCNo8): Likewise.
48704         [C99-based-standards] (SCNu8): Likewise.
48705         [C99-based-standards] (SCNx8): Likewise.
48706         [C99-based-standards] (PRIdLEAST8): Likewise.
48707         [C99-based-standards] (PRIiLEAST8): Likewise.
48708         [C99-based-standards] (PRIoLEAST8): Likewise.
48709         [C99-based-standards] (PRIuLEAST8): Likewise.
48710         [C99-based-standards] (PRIxLEAST8): Likewise.
48711         [C99-based-standards] (PRIXLEAST8): Likewise.
48712         [C99-based-standards] (SCNdLEAST8): Likewise.
48713         [C99-based-standards] (SCNiLEAST8): Likewise.
48714         [C99-based-standards] (SCNoLEAST8): Likewise.
48715         [C99-based-standards] (SCNuLEAST8): Likewise.
48716         [C99-based-standards] (SCNxLEAST8): Likewise.
48717         [C99-based-standards] (PRIdFAST8): Likewise.
48718         [C99-based-standards] (PRIiFAST8): Likewise.
48719         [C99-based-standards] (PRIoFAST8): Likewise.
48720         [C99-based-standards] (PRIuFAST8): Likewise.
48721         [C99-based-standards] (PRIxFAST8): Likewise.
48722         [C99-based-standards] (PRIXFAST8): Likewise.
48723         [C99-based-standards] (SCNdFAST8): Likewise.
48724         [C99-based-standards] (SCNiFAST8): Likewise.
48725         [C99-based-standards] (SCNoFAST8): Likewise.
48726         [C99-based-standards] (SCNuFAST8): Likewise.
48727         [C99-based-standards] (SCNxFAST8): Likewise.
48728         [C99-based-standards] (PRId16): Likewise.
48729         [C99-based-standards] (PRIi16): Likewise.
48730         [C99-based-standards] (PRIo16): Likewise.
48731         [C99-based-standards] (PRIu16): Likewise.
48732         [C99-based-standards] (PRIx16): Likewise.
48733         [C99-based-standards] (PRIX16): Likewise.
48734         [C99-based-standards] (SCNd16): Likewise.
48735         [C99-based-standards] (SCNi16): Likewise.
48736         [C99-based-standards] (SCNo16): Likewise.
48737         [C99-based-standards] (SCNu16): Likewise.
48738         [C99-based-standards] (SCNx16): Likewise.
48739         [C99-based-standards] (PRIdLEAST16): Likewise.
48740         [C99-based-standards] (PRIiLEAST16): Likewise.
48741         [C99-based-standards] (PRIoLEAST16): Likewise.
48742         [C99-based-standards] (PRIuLEAST16): Likewise.
48743         [C99-based-standards] (PRIxLEAST16): Likewise.
48744         [C99-based-standards] (PRIXLEAST16): Likewise.
48745         [C99-based-standards] (SCNdLEAST16): Likewise.
48746         [C99-based-standards] (SCNiLEAST16): Likewise.
48747         [C99-based-standards] (SCNoLEAST16): Likewise.
48748         [C99-based-standards] (SCNuLEAST16): Likewise.
48749         [C99-based-standards] (SCNxLEAST16): Likewise.
48750         [C99-based-standards] (PRIdFAST16): Likewise.
48751         [C99-based-standards] (PRIiFAST16): Likewise.
48752         [C99-based-standards] (PRIoFAST16): Likewise.
48753         [C99-based-standards] (PRIuFAST16): Likewise.
48754         [C99-based-standards] (PRIxFAST16): Likewise.
48755         [C99-based-standards] (PRIXFAST16): Likewise.
48756         [C99-based-standards] (SCNdFAST16): Likewise.
48757         [C99-based-standards] (SCNiFAST16): Likewise.
48758         [C99-based-standards] (SCNoFAST16): Likewise.
48759         [C99-based-standards] (SCNuFAST16): Likewise.
48760         [C99-based-standards] (SCNxFAST16): Likewise.
48761         [C99-based-standards] (PRId32): Likewise.
48762         [C99-based-standards] (PRIi32): Likewise.
48763         [C99-based-standards] (PRIo32): Likewise.
48764         [C99-based-standards] (PRIu32): Likewise.
48765         [C99-based-standards] (PRIx32): Likewise.
48766         [C99-based-standards] (PRIX32): Likewise.
48767         [C99-based-standards] (SCNd32): Likewise.
48768         [C99-based-standards] (SCNi32): Likewise.
48769         [C99-based-standards] (SCNo32): Likewise.
48770         [C99-based-standards] (SCNu32): Likewise.
48771         [C99-based-standards] (SCNx32): Likewise.
48772         [C99-based-standards] (PRIdLEAST32): Likewise.
48773         [C99-based-standards] (PRIiLEAST32): Likewise.
48774         [C99-based-standards] (PRIoLEAST32): Likewise.
48775         [C99-based-standards] (PRIuLEAST32): Likewise.
48776         [C99-based-standards] (PRIxLEAST32): Likewise.
48777         [C99-based-standards] (PRIXLEAST32): Likewise.
48778         [C99-based-standards] (SCNdLEAST32): Likewise.
48779         [C99-based-standards] (SCNiLEAST32): Likewise.
48780         [C99-based-standards] (SCNoLEAST32): Likewise.
48781         [C99-based-standards] (SCNuLEAST32): Likewise.
48782         [C99-based-standards] (SCNxLEAST32): Likewise.
48783         [C99-based-standards] (PRIdFAST32): Likewise.
48784         [C99-based-standards] (PRIiFAST32): Likewise.
48785         [C99-based-standards] (PRIoFAST32): Likewise.
48786         [C99-based-standards] (PRIuFAST32): Likewise.
48787         [C99-based-standards] (PRIxFAST32): Likewise.
48788         [C99-based-standards] (PRIXFAST32): Likewise.
48789         [C99-based-standards] (SCNdFAST32): Likewise.
48790         [C99-based-standards] (SCNiFAST32): Likewise.
48791         [C99-based-standards] (SCNoFAST32): Likewise.
48792         [C99-based-standards] (SCNuFAST32): Likewise.
48793         [C99-based-standards] (SCNxFAST32): Likewise.
48794         [C99-based-standards] (PRId64): Likewise.
48795         [C99-based-standards] (PRIi64): Likewise.
48796         [C99-based-standards] (PRIo64): Likewise.
48797         [C99-based-standards] (PRIu64): Likewise.
48798         [C99-based-standards] (PRIx64): Likewise.
48799         [C99-based-standards] (PRIX64): Likewise.
48800         [C99-based-standards] (SCNd64): Likewise.
48801         [C99-based-standards] (SCNi64): Likewise.
48802         [C99-based-standards] (SCNo64): Likewise.
48803         [C99-based-standards] (SCNu64): Likewise.
48804         [C99-based-standards] (SCNx64): Likewise.
48805         [C99-based-standards] (PRIdLEAST64): Likewise.
48806         [C99-based-standards] (PRIiLEAST64): Likewise.
48807         [C99-based-standards] (PRIoLEAST64): Likewise.
48808         [C99-based-standards] (PRIuLEAST64): Likewise.
48809         [C99-based-standards] (PRIxLEAST64): Likewise.
48810         [C99-based-standards] (PRIXLEAST64): Likewise.
48811         [C99-based-standards] (SCNdLEAST64): Likewise.
48812         [C99-based-standards] (SCNiLEAST64): Likewise.
48813         [C99-based-standards] (SCNoLEAST64): Likewise.
48814         [C99-based-standards] (SCNuLEAST64): Likewise.
48815         [C99-based-standards] (SCNxLEAST64): Likewise.
48816         [C99-based-standards] (PRIdFAST64): Likewise.
48817         [C99-based-standards] (PRIiFAST64): Likewise.
48818         [C99-based-standards] (PRIoFAST64): Likewise.
48819         [C99-based-standards] (PRIuFAST64): Likewise.
48820         [C99-based-standards] (PRIxFAST64): Likewise.
48821         [C99-based-standards] (PRIXFAST64): Likewise.
48822         [C99-based-standards] (SCNdFAST64): Likewise.
48823         [C99-based-standards] (SCNiFAST64): Likewise.
48824         [C99-based-standards] (SCNoFAST64): Likewise.
48825         [C99-based-standards] (SCNuFAST64): Likewise.
48826         [C99-based-standards] (SCNxFAST64): Likewise.
48827         [C99-based-standards] (PRIdMAX): Likewise.
48828         [C99-based-standards] (PRIiMAX): Likewise.
48829         [C99-based-standards] (PRIoMAX): Likewise.
48830         [C99-based-standards] (PRIuMAX): Likewise.
48831         [C99-based-standards] (PRIxMAX): Likewise.
48832         [C99-based-standards] (PRIXMAX): Likewise.
48833         [C99-based-standards] (SCNdMAX): Likewise.
48834         [C99-based-standards] (SCNiMAX): Likewise.
48835         [C99-based-standards] (SCNoMAX): Likewise.
48836         [C99-based-standards] (SCNuMAX): Likewise.
48837         [C99-based-standards] (SCNxMAX): Likewise.
48838         [C99-based-standards] (PRIdPTR): Likewise.
48839         [C99-based-standards] (PRIiPTR): Likewise.
48840         [C99-based-standards] (PRIoPTR): Likewise.
48841         [C99-based-standards] (PRIuPTR): Likewise.
48842         [C99-based-standards] (PRIxPTR): Likewise.
48843         [C99-based-standards] (PRIXPTR): Likewise.
48844         [C99-based-standards] (SCNdPTR): Likewise.
48845         [C99-based-standards] (SCNiPTR): Likewise.
48846         [C99-based-standards] (SCNoPTR): Likewise.
48847         [C99-based-standards] (SCNuPTR): Likewise.
48848         [C99-based-standards] (SCNxPTR): Likewise.
48849         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
48850         allow.
48851         * conform/data/stdint.h-data: Update comments to clarify
48852         requirements.
48853         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
48854         type.
48855         [C99-based standards] (INT8_MAX): Likewise.
48856         [C99-based standards] (INT16_MIN): Likewise.
48857         [C99-based standards] (INT16_MAX): Likewise.
48858         [C99-based standards] (INT32_MIN): Likewise.
48859         [C99-based standards] (INT32_MAX): Likewise.
48860         [C99-based standards] (INT64_MIN): Likewise.
48861         [C99-based standards] (INT64_MAX): Likewise.
48862         [C99-based standards] (UINT8_MAX): Likewise.
48863         [C99-based standards] (UINT16_MAX): Likewise.
48864         [C99-based standards] (UINT32_MAX): Likewise.
48865         [C99-based standards] (UINT64_MAX): Likewise.
48866         [C99-based standards] (INT_LEAST8_MIN): Likewise.
48867         [C99-based standards] (INT_LEAST8_MAX): Likewise.
48868         [C99-based standards] (INT_LEAST16_MIN): Likewise.
48869         [C99-based standards] (INT_LEAST16_MAX): Likewise.
48870         [C99-based standards] (INT_LEAST32_MIN): Likewise.
48871         [C99-based standards] (INT_LEAST32_MAX): Likewise.
48872         [C99-based standards] (INT_LEAST64_MIN): Likewise.
48873         [C99-based standards] (INT_LEAST64_MAX): Likewise.
48874         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
48875         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
48876         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
48877         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
48878         [C99-based standards] (INT_FAST8_MIN): Likewise.
48879         [C99-based standards] (INT_FAST8_MAX): Likewise.
48880         [C99-based standards] (INT_FAST16_MIN): Likewise.
48881         [C99-based standards] (INT_FAST16_MAX): Likewise.
48882         [C99-based standards] (INT_FAST32_MIN): Likewise.
48883         [C99-based standards] (INT_FAST32_MAX): Likewise.
48884         [C99-based standards] (INT_FAST64_MIN): Likewise.
48885         [C99-based standards] (INT_FAST64_MAX): Likewise.
48886         [C99-based standards] (UINT_FAST8_MAX): Likewise.
48887         [C99-based standards] (UINT_FAST16_MAX): Likewise.
48888         [C99-based standards] (UINT_FAST32_MAX): Likewise.
48889         [C99-based standards] (UINT_FAST64_MAX): Likewise.
48890         [C99-based standards] (INTPTR_MIN): Likewise.
48891         [C99-based standards] (INTPTR_MAX): Likewise.
48892         [C99-based standards] (UINTPTR_MAX): Likewise.
48893         [C99-based standards] (INTMAX_MIN): Likewise.
48894         [C99-based standards] (INTMAX_MAX): Likewise.
48895         [C99-based standards] (UINTMAX_MAX): Likewise.
48896         [C99-based standards] (PTRDIFF_MIN): Likewise.
48897         [C99-based standards] (PTRDIFF_MAX): Likewise.
48898         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
48899         [C99-based standards] (SIZE_MAX): Likewise.
48900         [C99-based standards] (WCHAR_MAX): Likewise.
48901         [C99-based standards] (WINT_MAX): Likewise.
48902         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
48903         constraint on value.
48904         [C99-based standards] (WCHAR_MIN): Likewise.
48905         [C99-based standards] (WINT_MIN): Likewise.
48906         [C99-based standards] (*_t): Allow.
48907         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
48908         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
48909         Include math.h-data and complex.h-data.  Remove all expectations
48910         of math.h and complex.h contents.
48911         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
48912         at end of line.
48913         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
48914         (struct tm): Expect tag.
48915         [C99-based-standards] (wcstof): Expect function.
48916         [C99-based-standards] (wcstold): Likewise.
48917         [C99-based-standards] (wcstoll): Likewise.
48918         [C99-based-standards] (wcstoull): Likewise.
48919         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
48920         macro-int-constant.  Specify type.
48921         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
48922         constraint on value.
48923         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48924         Specify type.
48925         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
48926         Specify value.
48927         [ISO C standards]: Do not allow headers.
48928         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
48929         wcs[abcdefghijklmnopqrstuvwxyz]*.
48930         [ISO C standards] (*_t): Do not allow.
48931         * conform/data/wctype.h-data [C99-based standards] (iswblank):
48932         Expect function.
48933         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
48934         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48935         Specify type.
48936         [ISO C standards]: Do not allow headers.
48937         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
48938         is[abcdefghijklmnopqrstuvwxyz]*.
48939         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
48940         to[abcdefghijklmnopqrstuvwxyz]*.
48941         [ISO C standards] (*_t): Do not allow.
48942         * conform/data/stdalign.h-data: New file.
48943         * conform/data/stdbool.h-data: Likewise.
48944         * conform/data/stdnoreturn.h-data: Likewise.
48946 2012-11-07  Roland McGrath  <roland@hack.frob.com>
48948         [BZ #14815]
48949         * manual/filesys.texi (Directory Entries): Typo fix.
48950         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
48952 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48954         * elf/elf.h (EM_AARCH64): New macro.
48955         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
48956         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
48957         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
48958         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
48959         (R_AARCH64_TLSDESC): Likewise.
48960         (NT_ARM_TLS): Likewise.
48961         (NT_ARM_HW_BREAK): Likewise.
48962         (NT_ARM_HW_WATCH): Likewise.
48964 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48966         [BZ #14811]
48967         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
48968         (__ieee754_powl): Saturate nonzero exponents with absolute value
48969         below 0x1p-79 to +/- 0x1p-79.
48970         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
48971         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
48972         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
48973         nonzero exponents with absolute value below 0x1p-32 to +/-
48974         0x1p-32.
48975         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
48976         (__ieee754_powl): Saturate nonzero exponents with absolute value
48977         below 0x1p-79 to +/- 0x1p-79.
48978         * math/libm-test.inc (pow_test): Add more tests.
48980 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48982         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
48983         _dl_s390_cap_flags with kernel. Increase string length.
48984         (_dl_s390_platforms): Add z196 and zEC12.
48986 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48988         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
48989         Change XOPEN21K to XOPEN2K.
48991 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
48993         * string/memmove.c: Use memcpy when possible.
48995 2012-11-06  Andreas Jaeger  <aj@suse.de>
48997         * po/eo.po: Update from translation team.
48999 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
49001         [BZ #14793]
49002         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
49003         exponent and small x and y exponents, scale x or y up.  Increase
49004         by 2 the exponent used in scaling up.
49005         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49006         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49007         * math/libm-test.inc (fma_test): Add more tests.
49008         (fma_test_towardzero): Likewise.
49009         (fma_test_downward): Likewise.
49010         (fma_test_upward): Likewise.
49012 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
49014         [BZ #14805]
49015         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
49016         fenv_t *.
49018         [BZ #14801]
49019         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
49020         namespace for names of struct fields.
49021         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
49022         fenv_t fields.
49023         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
49024         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
49026 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49028         [BZ #3665]
49029         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
49031 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
49033         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
49034         PTR_DEMANGLE.
49036         [BZ #5246]
49037         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
49038         PTR_DEMANGLE.
49040 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
49042         [BZ #14797]
49043         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
49044         definitely overflow as x * y not x * y + z.
49045         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49046         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49047         * math/libm-test.inc (fma_test): Add more tests.
49048         (fma_test_towardzero): Likewise.
49049         (fma_test_downward): Likewise.
49050         (fma_test_upward): Likewise.
49052 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
49054         [BZ #157]
49056         * include/stub-tag.h: Remove file.
49057         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
49058         '#include' of it.
49059         * manual/maint.texi (Porting): Don't reference it.
49060         * Makerules ($(objpfx)stubs): Likewise.
49061         * dirent/closedir.c: Don't include <stub-tag.h>.
49062         * dirent/dirfd.c: Likewise.
49063         * dirent/fdopendir.c: Likewise.
49064         * dirent/getdents.c: Likewise.
49065         * dirent/getdents64.c: Likewise.
49066         * dirent/opendir.c: Likewise.
49067         * dirent/readdir.c: Likewise.
49068         * dirent/readdir64.c: Likewise.
49069         * dirent/readdir64_r.c: Likewise.
49070         * dirent/readdir_r.c: Likewise.
49071         * dirent/rewinddir.c: Likewise.
49072         * dirent/seekdir.c: Likewise.
49073         * dirent/telldir.c: Likewise.
49074         * gmon/profil.c: Likewise.
49075         * grp/setgroups.c: Likewise.
49076         * inet/if_index.c: Likewise.
49077         * io/access.c: Likewise.
49078         * io/chdir.c: Likewise.
49079         * io/chmod.c: Likewise.
49080         * io/chown.c: Likewise.
49081         * io/close.c: Likewise.
49082         * io/dup.c: Likewise.
49083         * io/dup2.c: Likewise.
49084         * io/dup3.c: Likewise.
49085         * io/euidaccess.c: Likewise.
49086         * io/faccessat.c: Likewise.
49087         * io/fchdir.c: Likewise.
49088         * io/fchmod.c: Likewise.
49089         * io/fchmodat.c: Likewise.
49090         * io/fchown.c: Likewise.
49091         * io/fchownat.c: Likewise.
49092         * io/fcntl.c: Likewise.
49093         * io/flock.c: Likewise.
49094         * io/fstatfs.c: Likewise.
49095         * io/fstatfs64.c: Likewise.
49096         * io/fstatvfs.c: Likewise.
49097         * io/fstatvfs64.c: Likewise.
49098         * io/futimens.c: Likewise.
49099         * io/fxstat.c: Likewise.
49100         * io/fxstat64.c: Likewise.
49101         * io/fxstatat.c: Likewise.
49102         * io/fxstatat64.c: Likewise.
49103         * io/getcwd.c: Likewise.
49104         * io/isatty.c: Likewise.
49105         * io/lchmod.c: Likewise.
49106         * io/lchown.c: Likewise.
49107         * io/link.c: Likewise.
49108         * io/linkat.c: Likewise.
49109         * io/lseek.c: Likewise.
49110         * io/lseek64.c: Likewise.
49111         * io/lxstat64.c: Likewise.
49112         * io/mkdir.c: Likewise.
49113         * io/mkdirat.c: Likewise.
49114         * io/mkfifo.c: Likewise.
49115         * io/mkfifoat.c: Likewise.
49116         * io/open.c: Likewise.
49117         * io/open64.c: Likewise.
49118         * io/openat.c: Likewise.
49119         * io/openat64.c: Likewise.
49120         * io/pipe.c: Likewise.
49121         * io/pipe2.c: Likewise.
49122         * io/poll.c: Likewise.
49123         * io/posix_fadvise.c: Likewise.
49124         * io/posix_fadvise64.c: Likewise.
49125         * io/posix_fallocate.c: Likewise.
49126         * io/posix_fallocate64.c: Likewise.
49127         * io/read.c: Likewise.
49128         * io/readlink.c: Likewise.
49129         * io/readlinkat.c: Likewise.
49130         * io/rmdir.c: Likewise.
49131         * io/sendfile.c: Likewise.
49132         * io/sendfile64.c: Likewise.
49133         * io/statfs.c: Likewise.
49134         * io/statfs64.c: Likewise.
49135         * io/statvfs.c: Likewise.
49136         * io/statvfs64.c: Likewise.
49137         * io/symlink.c: Likewise.
49138         * io/symlinkat.c: Likewise.
49139         * io/ttyname.c: Likewise.
49140         * io/ttyname_r.c: Likewise.
49141         * io/umask.c: Likewise.
49142         * io/unlink.c: Likewise.
49143         * io/unlinkat.c: Likewise.
49144         * io/utime.c: Likewise.
49145         * io/utimensat.c: Likewise.
49146         * io/write.c: Likewise.
49147         * io/xmknod.c: Likewise.
49148         * io/xmknodat.c: Likewise.
49149         * io/xstat.c: Likewise.
49150         * io/xstat64.c: Likewise.
49151         * login/getpt.c: Likewise.
49152         * login/grantpt.c: Likewise.
49153         * login/unlockpt.c: Likewise.
49154         * math/e_acoshl.c: Likewise.
49155         * math/e_acosl.c: Likewise.
49156         * math/e_asinl.c: Likewise.
49157         * math/e_atan2l.c: Likewise.
49158         * math/e_atanhl.c: Likewise.
49159         * math/e_coshl.c: Likewise.
49160         * math/e_expl.c: Likewise.
49161         * math/e_fmodl.c: Likewise.
49162         * math/e_gammal_r.c: Likewise.
49163         * math/e_hypotl.c: Likewise.
49164         * math/e_j0l.c: Likewise.
49165         * math/e_j1l.c: Likewise.
49166         * math/e_jnl.c: Likewise.
49167         * math/e_lgammal_r.c: Likewise.
49168         * math/e_log10l.c: Likewise.
49169         * math/e_log2l.c: Likewise.
49170         * math/e_logl.c: Likewise.
49171         * math/e_powl.c: Likewise.
49172         * math/e_rem_pio2l.c: Likewise.
49173         * math/e_sinhl.c: Likewise.
49174         * math/e_sqrtl.c: Likewise.
49175         * math/fclrexcpt.c: Likewise.
49176         * math/fedisblxcpt.c: Likewise.
49177         * math/feenablxcpt.c: Likewise.
49178         * math/fegetenv.c: Likewise.
49179         * math/fegetexcept.c: Likewise.
49180         * math/fegetround.c: Likewise.
49181         * math/feholdexcpt.c: Likewise.
49182         * math/fesetenv.c: Likewise.
49183         * math/fesetround.c: Likewise.
49184         * math/feupdateenv.c: Likewise.
49185         * math/fgetexcptflg.c: Likewise.
49186         * math/fraiseexcpt.c: Likewise.
49187         * math/fsetexcptflg.c: Likewise.
49188         * math/ftestexcept.c: Likewise.
49189         * math/k_cosl.c: Likewise.
49190         * math/k_rem_pio2l.c: Likewise.
49191         * math/k_sinl.c: Likewise.
49192         * math/k_tanl.c: Likewise.
49193         * math/s_asinhl.c: Likewise.
49194         * math/s_atanl.c: Likewise.
49195         * math/s_cbrtl.c: Likewise.
49196         * math/s_erfl.c: Likewise.
49197         * math/s_expm1l.c: Likewise.
49198         * math/s_log1pl.c: Likewise.
49199         * math/s_tanhl.c: Likewise.
49200         * misc/acct.c: Likewise.
49201         * misc/brk.c: Likewise.
49202         * misc/chflags.c: Likewise.
49203         * misc/chroot.c: Likewise.
49204         * misc/fchflags.c: Likewise.
49205         * misc/fgetxattr.c: Likewise.
49206         * misc/flistxattr.c: Likewise.
49207         * misc/fremovexattr.c: Likewise.
49208         * misc/fsetxattr.c: Likewise.
49209         * misc/fsync.c: Likewise.
49210         * misc/ftruncate.c: Likewise.
49211         * misc/futimes.c: Likewise.
49212         * misc/futimesat.c: Likewise.
49213         * misc/getdomain.c: Likewise.
49214         * misc/getdtsz.c: Likewise.
49215         * misc/gethostid.c: Likewise.
49216         * misc/gethostname.c: Likewise.
49217         * misc/getloadavg.c: Likewise.
49218         * misc/getpagesize.c: Likewise.
49219         * misc/getsysstats.c: Likewise.
49220         * misc/getxattr.c: Likewise.
49221         * misc/gtty.c: Likewise.
49222         * misc/ioctl.c: Likewise.
49223         * misc/lgetxattr.c: Likewise.
49224         * misc/listxattr.c: Likewise.
49225         * misc/llistxattr.c: Likewise.
49226         * misc/lremovexattr.c: Likewise.
49227         * misc/lsetxattr.c: Likewise.
49228         * misc/lutimes.c: Likewise.
49229         * misc/madvise.c: Likewise.
49230         * misc/mincore.c: Likewise.
49231         * misc/mlock.c: Likewise.
49232         * misc/mlockall.c: Likewise.
49233         * misc/mmap.c: Likewise.
49234         * misc/mprotect.c: Likewise.
49235         * misc/msync.c: Likewise.
49236         * misc/munlock.c: Likewise.
49237         * misc/munlockall.c: Likewise.
49238         * misc/munmap.c: Likewise.
49239         * misc/preadv.c: Likewise.
49240         * misc/preadv64.c: Likewise.
49241         * misc/ptrace.c: Likewise.
49242         * misc/pwritev.c: Likewise.
49243         * misc/pwritev64.c: Likewise.
49244         * misc/readv.c: Likewise.
49245         * misc/reboot.c: Likewise.
49246         * misc/remap_file_pages.c: Likewise.
49247         * misc/removexattr.c: Likewise.
49248         * misc/revoke.c: Likewise.
49249         * misc/select.c: Likewise.
49250         * misc/setdomain.c: Likewise.
49251         * misc/setegid.c: Likewise.
49252         * misc/seteuid.c: Likewise.
49253         * misc/sethostid.c: Likewise.
49254         * misc/sethostname.c: Likewise.
49255         * misc/setregid.c: Likewise.
49256         * misc/setreuid.c: Likewise.
49257         * misc/setxattr.c: Likewise.
49258         * misc/sstk.c: Likewise.
49259         * misc/stty.c: Likewise.
49260         * misc/swapoff.c: Likewise.
49261         * misc/swapon.c: Likewise.
49262         * misc/sync.c: Likewise.
49263         * misc/syncfs.c: Likewise.
49264         * misc/syscall.c: Likewise.
49265         * misc/truncate.c: Likewise.
49266         * misc/ualarm.c: Likewise.
49267         * misc/usleep.c: Likewise.
49268         * misc/ustat.c: Likewise.
49269         * misc/utimes.c: Likewise.
49270         * misc/vhangup.c: Likewise.
49271         * misc/writev.c: Likewise.
49272         * posix/_exit.c: Likewise.
49273         * posix/alarm.c: Likewise.
49274         * posix/execve.c: Likewise.
49275         * posix/fexecve.c: Likewise.
49276         * posix/fork.c: Likewise.
49277         * posix/fpathconf.c: Likewise.
49278         * posix/getaddrinfo.c: Likewise.
49279         * posix/getegid.c: Likewise.
49280         * posix/geteuid.c: Likewise.
49281         * posix/getgid.c: Likewise.
49282         * posix/getgroups.c: Likewise.
49283         * posix/getlogin.c: Likewise.
49284         * posix/getlogin_r.c: Likewise.
49285         * posix/getpgid.c: Likewise.
49286         * posix/getpid.c: Likewise.
49287         * posix/getppid.c: Likewise.
49288         * posix/getresgid.c: Likewise.
49289         * posix/getresuid.c: Likewise.
49290         * posix/getsid.c: Likewise.
49291         * posix/getuid.c: Likewise.
49292         * posix/glob64.c: Likewise.
49293         * posix/nanosleep.c: Likewise.
49294         * posix/pathconf.c: Likewise.
49295         * posix/pause.c: Likewise.
49296         * posix/posix_madvise.c: Likewise.
49297         * posix/pread.c: Likewise.
49298         * posix/pread64.c: Likewise.
49299         * posix/pwrite.c: Likewise.
49300         * posix/pwrite64.c: Likewise.
49301         * posix/sched_getaffinity.c: Likewise.
49302         * posix/sched_getp.c: Likewise.
49303         * posix/sched_gets.c: Likewise.
49304         * posix/sched_primax.c: Likewise.
49305         * posix/sched_primin.c: Likewise.
49306         * posix/sched_rr_gi.c: Likewise.
49307         * posix/sched_setaffinity.c: Likewise.
49308         * posix/sched_setp.c: Likewise.
49309         * posix/sched_sets.c: Likewise.
49310         * posix/sched_yield.c: Likewise.
49311         * posix/setgid.c: Likewise.
49312         * posix/setlogin.c: Likewise.
49313         * posix/setpgid.c: Likewise.
49314         * posix/setresgid.c: Likewise.
49315         * posix/setresuid.c: Likewise.
49316         * posix/setsid.c: Likewise.
49317         * posix/setuid.c: Likewise.
49318         * posix/sleep.c: Likewise.
49319         * posix/spawni.c: Likewise.
49320         * posix/sysconf.c: Likewise.
49321         * posix/times.c: Likewise.
49322         * posix/wait.c: Likewise.
49323         * posix/wait3.c: Likewise.
49324         * posix/wait4.c: Likewise.
49325         * posix/waitpid.c: Likewise.
49326         * resolv/gai_sigqueue.c: Likewise.
49327         * resource/getpriority.c: Likewise.
49328         * resource/getrlimit.c: Likewise.
49329         * resource/getrusage.c: Likewise.
49330         * resource/nice.c: Likewise.
49331         * resource/setpriority.c: Likewise.
49332         * resource/setrlimit.c: Likewise.
49333         * resource/ulimit.c: Likewise.
49334         * rt/aio_cancel.c: Likewise.
49335         * rt/aio_fsync.c: Likewise.
49336         * rt/aio_read.c: Likewise.
49337         * rt/aio_sigqueue.c: Likewise.
49338         * rt/aio_suspend.c: Likewise.
49339         * rt/aio_write.c: Likewise.
49340         * rt/clock_getres.c: Likewise.
49341         * rt/clock_gettime.c: Likewise.
49342         * rt/clock_nanosleep.c: Likewise.
49343         * rt/clock_settime.c: Likewise.
49344         * rt/lio_listio.c: Likewise.
49345         * rt/mq_close.c: Likewise.
49346         * rt/mq_getattr.c: Likewise.
49347         * rt/mq_notify.c: Likewise.
49348         * rt/mq_open.c: Likewise.
49349         * rt/mq_receive.c: Likewise.
49350         * rt/mq_send.c: Likewise.
49351         * rt/mq_setattr.c: Likewise.
49352         * rt/mq_timedreceive.c: Likewise.
49353         * rt/mq_timedsend.c: Likewise.
49354         * rt/mq_unlink.c: Likewise.
49355         * rt/shm_open.c: Likewise.
49356         * rt/shm_unlink.c: Likewise.
49357         * rt/timer_create.c: Likewise.
49358         * rt/timer_delete.c: Likewise.
49359         * rt/timer_getoverr.c: Likewise.
49360         * rt/timer_gettime.c: Likewise.
49361         * rt/timer_settime.c: Likewise.
49362         * setjmp/__longjmp.c: Likewise.
49363         * setjmp/setjmp.c: Likewise.
49364         * signal/kill.c: Likewise.
49365         * signal/killpg.c: Likewise.
49366         * signal/raise.c: Likewise.
49367         * signal/sigaction.c: Likewise.
49368         * signal/sigaltstack.c: Likewise.
49369         * signal/sigblock.c: Likewise.
49370         * signal/sigignore.c: Likewise.
49371         * signal/sigintr.c: Likewise.
49372         * signal/signal.c: Likewise.
49373         * signal/sigpause.c: Likewise.
49374         * signal/sigpending.c: Likewise.
49375         * signal/sigqueue.c: Likewise.
49376         * signal/sigreturn.c: Likewise.
49377         * signal/sigset.c: Likewise.
49378         * signal/sigsetmask.c: Likewise.
49379         * signal/sigstack.c: Likewise.
49380         * signal/sigsuspend.c: Likewise.
49381         * signal/sigtimedwait.c: Likewise.
49382         * signal/sigvec.c: Likewise.
49383         * signal/sigwait.c: Likewise.
49384         * signal/sigwaitinfo.c: Likewise.
49385         * signal/sysv_signal.c: Likewise.
49386         * socket/accept.c: Likewise.
49387         * socket/accept4.c: Likewise.
49388         * socket/bind.c: Likewise.
49389         * socket/connect.c: Likewise.
49390         * socket/getpeername.c: Likewise.
49391         * socket/getsockname.c: Likewise.
49392         * socket/getsockopt.c: Likewise.
49393         * socket/isfdtype.c: Likewise.
49394         * socket/listen.c: Likewise.
49395         * socket/recv.c: Likewise.
49396         * socket/recvfrom.c: Likewise.
49397         * socket/recvmsg.c: Likewise.
49398         * socket/send.c: Likewise.
49399         * socket/sendmsg.c: Likewise.
49400         * socket/sendto.c: Likewise.
49401         * socket/setsockopt.c: Likewise.
49402         * socket/shutdown.c: Likewise.
49403         * socket/sockatmark.c: Likewise.
49404         * socket/socket.c: Likewise.
49405         * socket/socketpair.c: Likewise.
49406         * stdio-common/ctermid.c: Likewise.
49407         * stdio-common/cuserid.c: Likewise.
49408         * stdio-common/remove.c: Likewise.
49409         * stdio-common/rename.c: Likewise.
49410         * stdio-common/renameat.c: Likewise.
49411         * stdio-common/tempname.c: Likewise.
49412         * stdlib/getcontext.c: Likewise.
49413         * stdlib/makecontext.c: Likewise.
49414         * stdlib/setcontext.c: Likewise.
49415         * stdlib/swapcontext.c: Likewise.
49416         * stdlib/system.c: Likewise.
49417         * streams/fattach.c: Likewise.
49418         * streams/fdetach.c: Likewise.
49419         * streams/getmsg.c: Likewise.
49420         * streams/getpmsg.c: Likewise.
49421         * streams/putmsg.c: Likewise.
49422         * streams/putpmsg.c: Likewise.
49423         * sysdeps/unix/bsd/getpt.c: Likewise.
49424         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
49425         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
49426         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49428         Likewise.
49429         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
49430         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49431         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
49432         * sysvipc/msgctl.c: Likewise.
49433         * sysvipc/msgget.c: Likewise.
49434         * sysvipc/msgrcv.c: Likewise.
49435         * sysvipc/msgsnd.c: Likewise.
49436         * sysvipc/semctl.c: Likewise.
49437         * sysvipc/semget.c: Likewise.
49438         * sysvipc/semop.c: Likewise.
49439         * sysvipc/semtimedop.c: Likewise.
49440         * sysvipc/shmat.c: Likewise.
49441         * sysvipc/shmctl.c: Likewise.
49442         * sysvipc/shmdt.c: Likewise.
49443         * sysvipc/shmget.c: Likewise.
49444         * termios/tcdrain.c: Likewise.
49445         * termios/tcflow.c: Likewise.
49446         * termios/tcflush.c: Likewise.
49447         * termios/tcgetattr.c: Likewise.
49448         * termios/tcgetpgrp.c: Likewise.
49449         * termios/tcsendbrk.c: Likewise.
49450         * termios/tcsetattr.c: Likewise.
49451         * termios/tcsetpgrp.c: Likewise.
49452         * time/adjtime.c: Likewise.
49453         * time/clock.c: Likewise.
49454         * time/getitimer.c: Likewise.
49455         * time/gettimeofday.c: Likewise.
49456         * time/setitimer.c: Likewise.
49457         * time/settimeofday.c: Likewise.
49458         * time/stime.c: Likewise.
49459         * time/time.c: Likewise.
49461 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
49463         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
49464         /usr/old/bin.
49466         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
49467         instead of spaces.
49468         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
49470 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
49472         [BZ #14796]
49473         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
49474         FE_TONEAREST before applying Dekker multiplication and Knuth
49475         addition.  Clear inexact exceptions and check for exact zero
49476         results afterwards.
49477         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49478         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49479         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49480         * math/libm-test.inc (fma_test): Add more tests.
49481         (fma_test_towardzero): Likewise.
49482         (fma_test_downward): Likewise.
49483         (fma_test_upward): Likewise.
49484         * sysdeps/generic/math_private.h (default_libc_fesetround): New
49485         function.
49486         (libc_fesetround): New macro.
49487         (libc_fesetroundf): Likewise.
49488         (libc_fesetroundl): Likewise.
49489         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
49490         function.
49491         (libc_fesetround_387): Likewise.
49492         (libc_fesetroundf): New macro.
49493         (libc_fesetround): Likewise.
49494         (libc_fesetroundl): Likewise.
49495         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
49496         function.
49497         (libc_fesetroundf): New macro.
49498         (libc_fesetround): Likewise.
49499         (libc_fesetroundl): Likewise.
49500         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
49501         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
49502         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
49503         libm_hidden_ver.
49504         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
49505         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
49506         libm_hidden_def.
49507         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
49508         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
49509         libm_hidden_ver.
49510         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
49511         libm_hidden_def.
49513         [BZ #3439]
49514         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
49515         integer constant usable in #if and use that to give value to enum
49516         constant.
49517         (FE_DIVBYZERO): Likewise.
49518         (FE_UNDERFLOW): Likewise.
49519         (FE_OVERFLOW): Likewise.
49520         (FE_INVALID): Likewise.
49521         (FE_INVALID_SNAN): Likewise.
49522         (FE_INVALID_ISI): Likewise.
49523         (FE_INVALID_IDI): Likewise.
49524         (FE_INVALID_ZDZ): Likewise.
49525         (FE_INVALID_IMZ): Likewise.
49526         (FE_INVALID_COMPARE): Likewise.
49527         (FE_INVALID_SOFTWARE): Likewise.
49528         (FE_INVALID_SQRT): Likewise.
49529         (FE_INVALID_INTEGER_CONVERSION): Likewise.
49530         (FE_TONEAREST): Likewise.
49531         (FE_TOWARDZERO): Likewise.
49532         (FE_UPWARD): Likewise.
49533         (FE_DOWNWARD): Likewise.
49534         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
49535         (FE_DIVBYZERO): Likewise.
49536         (FE_OVERFLOW): Likewise.
49537         (FE_UNDERFLOW): Likewise.
49538         (FE_INEXACT): Likewise.
49539         (FE_TONEAREST): Likewise.
49540         (FE_DOWNWARD): Likewise.
49541         (FE_UPWARD): Likewise.
49542         (FE_TOWARDZERO): Likewise.
49543         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
49544         (FE_UNDERFLOW): Likewise.
49545         (FE_OVERFLOW): Likewise.
49546         (FE_DIVBYZERO): Likewise.
49547         (FE_INVALID): Likewise.
49548         (FE_TONEAREST): Likewise.
49549         (FE_TOWARDZERO): Likewise.
49550         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
49551         (FE_OVERFLOW): Likewise.
49552         (FE_UNDERFLOW): Likewise.
49553         (FE_DIVBYZERO): Likewise.
49554         (FE_INEXACT): Likewise.
49555         (FE_TONEAREST): Likewise.
49556         (FE_TOWARDZERO): Likewise.
49557         (FE_UPWARD): Likewise.
49558         (FE_DOWNWARD): Likewise.
49559         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
49560         (FE_DIVBYZERO): Likewise.
49561         (FE_OVERFLOW): Likewise.
49562         (FE_UNDERFLOW): Likewise.
49563         (FE_INEXACT): Likewise.
49564         (FE_TONEAREST): Likewise.
49565         (FE_DOWNWARD): Likewise.
49566         (FE_UPWARD): Likewise.
49567         (FE_TOWARDZERO): Likewise.
49569 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
49571         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
49573 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
49575         * scripts/cross-test-ssh.sh (command): Use newlines to separate
49576         commands.  Quote $PWD.
49577         (blacklist_exports): Don't use remove_newlines.  Replace "declare
49578         -x" by "export".
49579         (remove_newlines): Remove.
49581 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
49583         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
49584         * stdlib/stdlib.h (atof): Moved to ...
49585         * include/bits/stdlib-float.h: Here.  New file.
49586         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
49587         * stdlib/bits/stdlib-float.h: New file.
49588         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
49589         -mno-sse -mno-mmx.
49590         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
49591         <xmmintrin.h>.
49593 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
49595         * conform/conformtest.pl (@headers): Add fenv.h.
49596         * conform/data/fenv.h-data: New file.
49597         * include/fenv.h [_ISOMAC]: Disable all contents of file except
49598         include of <math/fenv.h>.
49600         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
49601         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
49602         && !UNIX98].  Enables tests for XOPEN2K8.
49603         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
49604         POSIX2008]: Likewise.
49606         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
49607         (struct rusage): Do not expect type or its members.
49609         [BZ #3439]
49610         * math/math.h (FP_NAN): Define macro to integer constant usable in
49611         #if and use that to give value to enum constant.
49612         (FP_INFINITE): Likewise.
49613         (FP_ZERO): Likewise.
49614         (FP_SUBNORMAL): Likewise.
49615         (FP_NORMAL): Likewise.
49617 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
49619         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
49620         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
49621         arguments.
49623 2012-11-02  Roland McGrath  <roland@hack.frob.com>
49625         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
49626         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
49627         autoconf-time if not.
49628         * configure.in: Remove AC_PREREQ.
49630 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49632         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
49633         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
49634         of the internal implementation.
49636 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
49638         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
49639         except include of <misc/sys/syslog.h>.
49641 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
49644         function returns with a NULL context exit with zero.
49646 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49648         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
49650 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
49652         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
49653         (run_program_cmd): This.
49654         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
49655         (tst_langinfo): New variable.  Use it.
49657 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
49659         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
49660         floating point opcodes.
49662 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49664         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
49665         variable.
49667         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
49669         * sysdeps/mach/hurd/powerpc: Remove directory.
49670         * sysdeps/mach/powerpc: Likewise.
49672 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49674         * scripts/check-local-headers.sh: Ignore c++ headers.
49676 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49678         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
49679         __libc_cleanup_region_start argument.
49681 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
49683         [BZ #14784]
49684         [BZ #14785]
49685         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
49686         x * y using scaling, not as x * y + z.
49687         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49688         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49689         * math/libm-test.inc (fma_test): Add more tests.
49690         (fma_test_towardzero): Likewise.
49691         (fma_test_downward): Likewise.
49692         (fma_test_upward): Likewise.
49694 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49696         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
49698 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
49700         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
49701         New variable.
49703 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
49705         * rt/tst-shm.c (worker): Correct checking for mmap failure.
49707 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
49709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49710         Fix sort order.
49711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49712         Likewise.
49714 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49717         Fix the order of the list for glibc 2.17.
49718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49719         Likewise.
49721 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
49723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49725 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
49727         [BZ #14610]
49728         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
49729         for low part of x being zero before using __atanl (y).
49730         * math/libm-test.inc (atan2_test): Add another test.
49732         * manual/install.texi (Configuring and compiling): Document
49733         general use of test-wrapper and test-wrapper-env.
49734         * INSTALL: Regenerated.
49736         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
49737         (__fma): Do not extract and scale down low bits on after-rounding
49738         systems when result rounded to normal precision would have normal
49739         exponent.
49740         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
49741         (__fmal): Do not extract and scale down low bits on after-rounding
49742         systems when result rounded to normal precision would have normal
49743         exponent.
49744         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
49745         (__fmal): Do not extract and scale down low bits on after-rounding
49746         systems when result rounded to normal precision would have normal
49747         exponent.
49748         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
49749         macro.
49750         (fma_test): Add more tests.
49751         (fma_test_towardzero): Likewise.
49752         (fma_test_downward): Likewise.
49753         (fma_test_upward): Likewise.
49755 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
49757         * sysdeps/i386/tininess.h: Renamed to ...
49758         * sysdeps/x86/tininess.h: This.
49759         * sysdeps/x86_64/tininess.h: Removed.
49761 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
49763         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
49764         input.  Use $(build-program-cmd).
49765         ($(objpfx)tst-array1-static.out): Likewise.
49766         ($(objpfx)tst-array2.out): Likewise.
49767         ($(objpfx)tst-array3.out): Likewise.
49768         ($(objpfx)tst-array4.out): Likewise.
49769         ($(objpfx)tst-array5.out): Likewise.
49770         ($(objpfx)tst-array5-static.out): Likewise.
49772 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
49774         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
49775         if defined.
49777         * nss/nsswitch.h (nss_interface_function): Provide new
49778         macro for use with NSS functions.
49779         * grp/initgroups.c: Use new macro.
49780         * nss/getXXbyYY.c: Likewise.
49781         * nss/getXXbyYY_r.c: Likewise.
49782         * nss/getXXent.c: Likewise.
49783         * nss/getXXent_r.c: Likewise.
49784         * sysdeps/posix/getaddrinfo.c: Likewise.
49786 2012-10-30  Andreas Jaeger  <aj@suse.de>
49788         * po/ru.po: Update Russion translation from translation project.
49790 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
49792         [BZ #14152]
49793         [BZ #14783]
49794         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
49795         result and shift together with sticky bit instead of replicating
49796         round-to-nearest rounding.
49797         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49798         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49799         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
49800         missing underflow exceptions.
49801         (fma_test_towardzero): Add more tests.
49802         (fma_test_downward): Likewise.
49803         (fma_test_upward): Likewise.
49805         [BZ #14047]
49806         * sysdeps/generic/tininess.h: New file.
49807         * sysdeps/i386/tininess.h: Likewise.
49808         * sysdeps/sh/tininess.h: Likewise.
49809         * sysdeps/x86_64/tininess.h: Likewise.
49810         * stdlib/tst-strtod-underflow.c: Likewise.
49811         * stdlib/tst-tininess.c: Likewise.
49812         * stdlib/strtod_l.c: Include <tininess.h>.
49813         (round_and_return): Do not set errno for exact underflow cases.
49814         Force an underflow exception when setting errno for underflow.
49815         Determine underflow based on rounding to normal precision if
49816         TININESS_AFTER_ROUNDING.
49817         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
49818         ERANGE for exact underflow cases.
49819         * stdlib/Makefile (tests): Add tst-tininess and
49820         tst-strtod-underflow.
49821         ($(objpfx)tst-tininess): Use $(link-libm).
49822         ($(objpfx)tst-strtod-underflow): Likewise.
49824 2012-10-30  Andreas Jaeger  <aj@suse.de>
49826         [BZ#14767]
49827         * elf/Makefile (tests): Remove conditional for have-initfini-array
49828         since this is now always required and the variable does not exist
49829         anymore.
49830         (tests-static): Likewise.
49831         (modules-names): Likewise.
49833         * po/eo.po: Add Esperanto translation from translation project.
49835         * elf/tst-array1.c (fini_array): Make writeable so that it can be
49836         merged with constructor/destructor.
49837         (init_array): Likewise.
49838         * elf/tst-array2dep.c (fini_array): Likewise.
49839         (init_array): Likewise.
49841 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
49843         * manual/message.texi: Delete @cartouche tags.
49845 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
49847         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
49848         EOPNOTSUPP.
49849         * sysdeps/mach/hurd/fsync.c: Likewise.
49851         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
49852         [_POSIX_REALTIME_SIGNALS]: Change condition to
49853         [_POSIX_REALTIME_SIGNALS > 0].
49855 2012-10-27  Andreas Jaeger  <aj@suse.de>
49857         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
49858         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
49859         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
49860         [__WORDSIZE != 64]: Likewise.
49862 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
49864         *  iconvdata/tst-table.sh: Remove ${SHELL}.
49865         *  iconvdata/tst-tables.sh: Likewise.
49867 2012-10-25  David S. Miller  <davem@davemloft.net>
49869         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49870         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
49871         of strtoull.
49873         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
49874         ifunc-impl-list.c
49875         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49876         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
49877         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
49878         file.
49880 2012-10-25  Roland McGrath  <roland@hack.frob.com>
49882         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49883         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
49884         __getdirentries.
49886 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49887             Jim Blandy  <jimb@codesourcery.com>
49889         * scripts/cross-test-ssh.sh: New file.
49890         * manual/install.texi (Configuring and compiling): Document use of
49891         cross-test-ssh.sh.
49892         * INSTALL: Regenerated.
49894 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
49896         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
49897         EOPNOTSUPP.
49899 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49901         * Makeconfig (run-program-prefix): Fix comment.
49903 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
49904             Jim Blandy  <jimb@codesourcery.com>
49906         * Makeconfig (test-wrapper): New variable,
49907         (test-wrapper-env): Likewise.
49908         [$(cross-compiling) = yes && $(test-wrapper) != ""]
49909         (run-built-tests): Define to yes.
49910         (run-program-prefix): Use $(test-wrapper).
49911         (built-program-cmd): Likewise.
49912         * Rules (make-test-out): Use $(test-wrapper-env) and
49913         $(host-built-program-cmd).
49914         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
49915         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
49916         tst-pathopt.sh.
49917         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
49918         $(test-wrapper-env) to tst-rtld-load-self.sh.
49919         ($(objpfx)order2.out): Use $(test-wrapper).
49920         ($(objpfx)tst-initorder.out): Likewise.
49921         ($(objpfx)tst-initorder2.out): Likewise.
49922         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
49923         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
49924         (test_wrapper_env): New variable.  Use it to run ld.so.
49925         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
49926         Use it to run ld.so.
49927         (test_wrapper_env): Likewise.
49928         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
49929         $(test-wrapper) to run-iconv-test.sh.
49930         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
49931         (ICONV): Use $test_wrapper.
49932         * posix/Makefile ($(objpfx)globtest.out): Pass
49933         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
49934         globtest.sh, not $(run-program-prefix).
49935         * posix/globtest.sh (run_via_rtld_prefix): New variable.
49936         (test_wrapper): Likewise.
49937         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
49938         set together with run_via_rtld_prefix.
49939         (run_program_prefix): Define in terms of test_wrapper and
49940         run_via_rtld_prefix.
49942 2012-10-24  Roland McGrath  <roland@hack.frob.com>
49944         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
49945         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
49946         Targets removed.
49948         [BZ #14743]
49949         * include/time.h: Remove librt_hidden_proto (clock_gettime).
49950         Declare __clock_getres, __clock_gettime, __clock_settime,
49951         __clock_nanosleep, and __clock_getcpuclockid.
49952         * rt/clock_gettime.c: Define __clock_gettime as an alias.
49953         Remove librt_hidden_def (clock_gettime).
49954         * sysdeps/unix/clock_gettime.c: Likewise.
49955         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
49956         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
49957         * rt/clock_getres.c: Define __clock_getres as an alias.
49958         * sysdeps/posix/clock_getres.c: Likewise.
49959         * rt/clock_settime.c: Define __clock_settime as an alias.
49960         * sysdeps/unix/clock_settime.c: Likewise.
49961         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
49962         * sysdeps/unix/clock_nanosleep.c: Likewise.
49963         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
49964         * rt/clock-compat.c: New file.
49965         * rt/Makefile (librt-routines): Add clock-compat and move
49966         $(clock-routines) to ...
49967         (routines): ... here, new variable.
49968         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
49969         Don't add get_clockfreq here.
49970         * rt/Versions (libc: GLIBC_2.17): New version set.
49971         Add clock_* symbols here.
49972         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
49973         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
49974         (GLIBC_2.17): Add clock_* symbols.
49975         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49977         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49979         Likewise.
49980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49981         Likewise.
49982         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49983         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49986         * NEWS: Mention the move.
49988         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
49989         Use __open, __read, __close rather than their public counterparts.
49990         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49991         (__get_clockfreq_via_cpuinfo): Likewise.
49992         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
49993         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
49995         * config.h.in (HAVE_IFUNC): New #undef.
49996         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
49997         was successful.
49998         * configure: Regenerated.
50000 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
50002         * configure.in: Move READELF check to start of file.
50003         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
50004         libc_cv_asm_gnu_indirect_function in the process.
50005         * configure: Regenerated.
50007 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
50009         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
50010         send the output to /dev/null.
50011         (libc_cv_cc_with_libunwind): Likewise.
50012         (libc_cv_as_noexecstack): Likewise.
50013         * configure: Regenerate.
50015 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
50017         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
50019         * posix/globtest.sh (TMPDIR): Do not set.
50020         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
50021         (testout): Likewise.
50023 2012-10-24  Andreas Jaeger  <aj@suse.de>
50025         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
50026         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
50027         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
50028         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
50029         posix_fadvise64, posix_fallocate64.
50031         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
50032         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
50033         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
50034         Likewise.
50035         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
50036         Likewise.
50037         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
50039         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
50040         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
50041         <bits/fcntl-linux.h>.
50042         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
50044         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
50045         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
50046         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
50047         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
50048         [__WORDSIZE != 64]: Likewise.
50050 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
50052         * Makeconfig (run-built-tests): New variable.
50053         * Rules [$(cross-compiling) = yes]: Change condition to
50054         [$(run-built-tests) = no].
50055         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
50056         to [$(run-built-tests) = yes].
50057         * elf/Makefile [$(cross-compiling) = no]: Likewise
50058         * grp/Makefile [$(cross-compiling) = no]: Likewise.
50059         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
50060         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
50061         * intl/Makefile [$(cross-compiling) = no]: Likewise.
50062         * io/Makefile [$(cross-compiling) = no]: Likewise.
50063         * libio/Makefile [$(cross-compiling) = no]: Likewise.
50064         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
50065         * misc/Makefile [$(cross-compiling) = no]: Likewise.
50066         * posix/Makefile [$(cross-compiling) = no]: Likewise.
50067         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
50068         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
50069         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
50070         * string/Makefile [$(cross-compiling) = no]: Likewise.
50072         * posix/Makefile ($(objpfx)globtest.out): Pass
50073         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
50074         $(rtld-installed-name).
50075         * posix/globtest.sh (elf_objpfx): Remove variable.
50076         (rtld_installed_name): Likewise.
50077         (library_path): Likewise.
50078         (run_program_prefix): New variable.  Use for running globtest
50079         binary.
50081 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
50082             Joseph Myers  <joseph@codesourcery.com>
50084         * Makeconfig (host-built-program-cmd): New variable.
50085         * elf/Makefile (tst-stackguard1-ARGS): Use
50086         $(host-built-program-cmd).
50087         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
50088         (tst-spawn-ARGS): Likewise.
50089         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
50091 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
50092             Jim Blandy  <jimb@codesourcery.com>
50094         * Makeconfig (run-via-rtld-prefix): New variable.
50095         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
50096         (built-program-cmd): Likewise.
50098 2012-10-22  Andreas Jaeger  <aj@suse.de>
50100         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
50101         __O_RSYNC if it exists, otherwise to O_SYNC.
50103 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
50104             Joseph Myers  <joseph@codesourcery.com>
50106         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
50107         /dev/null.
50108         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
50109         from /dev/null
50110         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
50111         /dev/null.
50113 2012-10-22  Andreas Jaeger  <aj@suse.de>
50115         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
50116         Define always.
50117         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
50119         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50120         bits/fcntl-linux.h.
50122         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
50123         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
50125         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
50126         to __O_LARGEFILE.
50127         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
50128         to __O_LARGEFILE.
50130 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
50131             Joseph Myers  <joseph@codesourcery.com>
50133         * config.make.in (NM): New variable.
50135 2012-10-21  Andreas Jaeger  <aj@suse.de>
50137         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
50138         definitions and declarations that are provided by
50139         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50141 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
50143         [BZ #14683]
50144         * elf/Makefile (tests-static): Add tst-leaks1-static.
50145         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
50146         ($(objpfx)tst-leaks1-static): New rule.
50147         ($(objpfx)tst-leaks1-static-mem): Likewise.
50148         (tst-leaks1-static-ENV): New macro.
50149         * elf/dl-open.c (dl_open_worker): Check the main application
50150         only if SHARED is defined.
50151         * elf/tst-leaks1-static.c: New file.
50153 2012-10-20  Andreas Jaeger  <aj@suse.de>
50155         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
50156         generic values for Linux.
50157         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
50158         and declarations that are provided by <bits/fcntl-linux.h> and
50159         include <bits/fcntl-linux.h>.
50160         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50161         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50163 2012-10-20  Roland McGrath  <roland@hack.frob.com>
50165         * io/fcntl.h: Move include of <bits/types.h> to the top and
50166         include it unconditionally.
50168 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
50170         * wcsmbs/Makefile (tests-ifunc): New variable.
50171         (tests): Add $(tests-ifunc).
50172         * wcsmbs/test-wcschr-ifunc.c: New file.
50173         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
50174         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
50175         * wcsmbs/test-wcslen-ifunc.c: Likewise.
50176         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
50177         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
50179         * string/Makefile (tests-ifunc): New variable.
50180         (tests): Add $(tests-ifunc).
50181         * string/test-memccpy.c (TEST_NAME): New macro.
50182         * string/test-memchr.c (TEST_NAME): Likewise.
50183         * string/test-memcmp.c (TEST_NAME): Likewise.
50184         * string/test-memcpy.c (TEST_NAME): Likewise.
50185         * string/test-memmem.c (TEST_NAME): Likewise.
50186         * string/test-memmove.c (TEST_NAME): Likewise.
50187         * string/test-memset.c (TEST_NAME): Likewise.
50188         * string/test-rawmemchr.c (TEST_NAME): Likewise.
50189         * string/test-stpcpy.c (TEST_NAME): Likewise.
50190         * string/test-stpncpy.c (TEST_NAME): Likewise.
50191         * string/test-strcasecmp.c (TEST_NAME): Likewise.
50192         * string/test-strcasestr.c (TEST_NAME): Likewise.
50193         * string/test-strcat.c (TEST_NAME): Likewise.
50194         * string/test-strchr.c (TEST_NAME): Likewise.
50195         * string/test-strcmp.c(TEST_NAME): Likewise.
50196         * string/test-strcpy.c (TEST_NAME): Likewise.
50197         * string/test-strcspn.c (TEST_NAME): Likewise.
50198         * string/test-strlen.c (TEST_NAME): Likewise.
50199         * string/test-strncasecmp.c (TEST_NAME): Likewise.
50200         * string/test-strncmp.c (TEST_NAME): Likewise.
50201         * string/test-strncpy.c (TEST_NAME): Likewise.
50202         * string/test-strnlen.c (TEST_NAME): Likewise.
50203         * string/test-strpbrk.c (TEST_NAME): Likewise.
50204         * string/test-strrchr.c (TEST_NAME): Likewise.
50205         * string/test-strspn.c (TEST_NAME): Likewise.
50206         * string/test-strstr.c (TEST_NAME): Likewise.
50207         * string/test-bcopy-ifunc.c: New file.
50208         * string/test-bzero-ifunc.c: Likewise.
50209         * string/test-memccpy-ifunc.c: Likewise.
50210         * string/test-memchr-ifunc.c: Likewise.
50211         * string/test-memcmp-ifunc.c: Likewise.
50212         * string/test-memcpy-ifunc.c: Likewise.
50213         * string/test-memmem-ifunc.c: Likewise.
50214         * string/test-memmove-ifunc.c: Likewise.
50215         * string/test-mempcpy-ifunc.c: Likewise.
50216         * string/test-memset-ifunc.c: Likewise.
50217         * string/test-rawmemchr-ifunc.c: Likewise.
50218         * string/test-stpcpy-ifunc.c: Likewise.
50219         * string/test-stpncpy-ifunc.c: Likewise.
50220         * string/test-strcasecmp-ifunc.c: Likewise.
50221         * string/test-strcasestr-ifunc.c: Likewise.
50222         * string/test-strcat-ifunc.c: Likewise.
50223         * string/test-strchr-ifunc.c: Likewise.
50224         * string/test-strchrnul-ifunc.c: Likewise.
50225         * string/test-strcmp-ifunc.c: Likewise.
50226         * string/test-strcpy-ifunc.c: Likewise.
50227         * string/test-strcspn-ifunc.c: Likewise.
50228         * string/test-strlen-ifunc.c: Likewise.
50229         * string/test-strncasecmp-ifunc.c: Likewise.
50230         * string/test-strncat-ifunc.c: Likewise.
50231         * string/test-strncmp-ifunc.c: Likewise.
50232         * string/test-strncpy-ifunc.c: Likewise.
50233         * string/test-strnlen-ifunc.c: Likewise.
50234         * string/test-strpbrk-ifunc.c: Likewise.
50235         * string/test-strrchr-ifunc.c: Likewise.
50236         * string/test-strspn-ifunc.c: Likewise.
50237         * string/test-strstr-ifunc.c: Likewise.
50239         * debug/Makefile (tests-ifunc): New variable.
50240         (tests): Add $(tests-ifunc).
50241         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
50242         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
50243         * debug/test-stpcpy_chk-ifunc.c: New file.
50244         * debug/test-strcpy_chk-ifunc.c: Likewise.
50246 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50248         [BZ #13601]
50249         * elf/dl-load.c (open_verify): Retry read if the entire ELF
50250         header is not read in.
50252 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
50254         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
50255         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
50256         directly.  Pass built executable to script as
50257         $(built-program-cmd).
50258         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
50259         $testprogram without using LD_LIBRARY_PATH and $ldso.
50261         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
50262         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
50263         $(rtld-installed-name).
50264         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
50265         (rtld_installed_name): Likewise.
50266         (library_path): Likewise.
50267         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
50268         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
50269         $(run-program-prefix) to tst-tables.sh.
50270         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
50271         it to run tst-table-from and tst-table-to.
50272         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
50273         Pass it to tst-table.sh.
50274         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
50275         $(run-program-prefix) to tst-gettext.sh.
50276         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
50277         tst-translit.sh.
50278         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
50279         tst-gettext2.sh.
50280         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
50281         to run tst-gettext.
50282         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
50283         to run tst-gettext2.
50284         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
50285         to run tst-translit.
50286         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
50287         $(run-program-prefix) to tst-mtrace.sh.
50288         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
50289         to run tst-mtrace.
50290         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
50291         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
50292         $(rtld-installed-name).
50293         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
50294         (rtld_installed_name): Likewise.
50295         (run_program_prefix): New variable.  Use it to run wordexp-test.
50297         * Makeconfig (ARCH): Remove all definitions.
50298         (machine): Likewise.
50299         [ARCH]: Remove conditional code.
50300         [!objdir]: Give error.
50301         [!objdir] (objpfx): Remove.
50302         [!objdir] (common-objpfx): Likewise.
50303         [!objdir] (common-objdir): Likewise.
50304         * configure.in (config_makefile): Remove.  Hardcode Makefile in
50305         AC_CONFIG_FILES call.
50306         * configure: Regenerated.
50308         [BZ #13888]
50309         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
50310         or TMPDIR.
50311         (testout): Likewise.
50313         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
50314         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
50315         $(rtld-installed-name).
50316         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
50317         (rtld_installed_name): Likwise.
50318         (runit): Remove function.
50319         (run_getconf): New variable,  Use it for running getconf binary.
50321 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
50323         [BZ #14716]
50324         * string/test-memmem.c (check_result): New function.
50325         (do_one_test): Use it.
50326         (check1): New function.
50327         (test_main): Use it.
50329 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
50331         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
50333 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
50335         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
50336         (_G_LSEEK64): Likewise.
50337         (_G_MMAP64): Likewise.
50338         (_G_FSTAT64): Likewise.
50339         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
50340         (_G_LSEEK64): Likewise.
50341         (_G_MMAP64): Likewise.
50342         (_G_FSTAT64): Likewise.
50343         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
50344         unconditional.  Call __mmap64 directly.
50345         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
50346         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
50347         __lseek64 directly.
50348         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
50349         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
50350         __mmap64 directly.
50351         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
50352         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50353         __lseek64 directly.
50354         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
50355         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50356         __lseek64 directly.
50357         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
50358         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
50359         __lseek64 directly.
50360         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
50361         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
50362         __fxstat64 directly.
50363         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
50364         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
50365         unconditional.
50366         (freopen64) [!_G_OPEN64]: Remove conditional code.
50367         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
50368         unconditional.
50369         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
50370         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
50371         unconditional.
50372         (ftello64) [!_G_LSEEK64]: Remove conditional code.
50373         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
50374         unconditional.
50375         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50376         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
50377         unconditional.
50378         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
50379         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
50380         unconditional.
50381         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50382         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
50383         unconditional.
50384         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50385         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
50386         unconditional.
50387         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50389 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50391         [BZ #12140]
50392         * manual/memory.texi (Malloc Tunable Parameters): Add note
50393         about free list pointers overwriting some perturb bytes.
50394         Wording suggested by Roland McGrath.
50396 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
50398         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
50399         (lgamma_test): Likewise.
50400         (tgamma_test): Likewise.
50402 2012-10-16  Florian Weimer  <fweimer@redhat.com>
50404         [BZ #14700]
50405         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
50406         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
50408 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
50410         * NEWS: Mention BZ #14716.
50411         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
50412         when removing AVAILABLE1_USES_J macro.
50414 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
50416         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
50417         (__bswap_64): __uint64_t for unsigned 64-bit int.
50419 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
50421         * include/string.h (memmem): Declare libc hidden alias.
50422         * string/memmem.c (memmem): Define libc hidden alias.
50423         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
50424         __read, __close instead of open, read, close.
50426 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
50428         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
50429         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
50430         global and hidden.
50431         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
50432         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
50433         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
50434         Likewise.
50435         (__rawmemchr_sse2): Likewise.
50436         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
50437         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
50438         (__strchr_sse2): Likewise.
50439         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
50440         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
50441         (__strcasecmp_sse2): Likewise.
50442         (__strncasecmp_sse2): Likewise.
50443         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
50444         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
50445         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
50446         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
50447         (__strrchr_sse2): Likewise.
50448         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
50449         ifunc-impl-list.c.
50450         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
50451         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
50452         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
50453         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50454         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
50455         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
50456         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50457         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50458         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
50459         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
50460         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
50461         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
50462         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
50463         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
50464         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
50465         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
50466         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
50467         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
50468         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
50469         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
50470         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
50471         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
50472         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
50473         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50474         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
50475         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50476         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
50477         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
50478         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
50479         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
50481         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
50482         global and hidden.
50483         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
50484         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
50485         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
50486         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
50487         Likewise.
50488         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
50489         Likewise.
50490         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
50491         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
50492         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
50493         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
50494         ifunc-impl-list.c.
50495         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50496         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50497         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50498         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50499         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50500         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50501         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50502         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50503         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50504         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50505         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50506         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50507         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50508         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
50509         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
50510         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50511         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
50512         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
50513         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50514         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50515         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50516         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50517         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50518         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50519         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50520         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
50521         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
50522         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
50523         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
50524         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50525         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
50526         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50527         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50528         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
50529         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50530         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50531         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50532         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50533         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50534         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50535         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
50537         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
50538         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
50539         * include/ifunc-impl-list.h: New file.
50540         * misc/ifunc-impl-list.c: Likewise.
50541         * misc/Makefile (routines): Add ifunc-impl-list.
50542         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
50543         * string/test-string.h: Include <ifunc-impl-list.h>.
50544         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
50545         TEST_NAME]: New variables.
50546         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
50547         are defined.
50548         (test_init): Call __libc_ifunc_impl_list to initialize
50549         func_list if TEST_IFUNC and TEST_NAME are defined.
50551         * string/Makefile (strop-tests): Add bcopy and bzero.
50552         * string/test-bcopy.c: New file.
50553         * string/test-bzero.c: Likewise.
50554         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
50555         defined.
50556         * string/test-memset.c: Support bzero test if TEST_BZERO is
50557         defined.
50558         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
50559         __libc_memmove.
50560         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
50561         __libc_memset.
50562         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
50563         of memset.
50565 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
50567         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
50568         * configure: Regenerated.
50570         * Makeconfig (+link-static-before-libc): Don't include
50571         $(link-static-libc).
50573         * libio/libio.h (_IO_pos_t): Remove.
50575 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50577         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
50578         McGrath.
50580 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50582         * crypt/crypt-entry.c: Include fips-private.h.
50583         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
50584         * crypt/md5c-test.c (main): Tolerate disabled MD5.
50585         * sysdeps/unix/sysv/linux/fips-private.h: New file.
50586         * sysdeps/generic/fips-private.h: New file, dummy fallback.
50588 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50590         * crypt/crypt-private.h: Include stdbool.h.
50591         (_ufc_setup_salt_r): Return bool.
50592         * crypt/crypt-entry.c: Include errno.h.
50593         (__crypt_r): Return NULL with EINVAL for bad salt.
50594         * crypt/crypt_util.c (bad_for_salt): New.
50595         (_ufc_setup_salt_r): Check that salt is long enough and within
50596         the specified alphabet.
50597         * crypt/badsalttest.c: New file.
50598         * crypt/Makefile (tests): Add it.
50599         ($(objpfx)badsalttest): New.
50601 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
50603         * NEWS: Add entry for BZ #14602.
50605 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
50607         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
50608         type-generic.
50609         * math/libm-test.inc: Update comment listing what functions and
50610         macros are tested.
50611         (isgreater_test): New function.
50612         (isgreaterequal_test): Likewise.
50613         (isless_test): Likewise.
50614         (islessequal_test): Likewise.
50615         (islessgreater_test): Likewise.
50616         (isunordered_test): Likewise.
50617         (main): Call the new functions.
50619 2012-10-09  Roland McGrath  <roland@hack.frob.com>
50621         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
50622         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
50623         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
50624         * sysdeps/i386/configure: Regenerated.
50625         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
50626         * sysdeps/mach/configure: Regenerated.
50627         * sysdeps/mach/hurd/configure: Regenerated.
50628         * sysdeps/powerpc/configure: Regenerated.
50629         * sysdeps/powerpc/powerpc32/configure: Regenerated.
50630         * sysdeps/powerpc/powerpc64/configure: Regenerated.
50631         * sysdeps/s390/s390-32/configure: Regenerated.
50632         * sysdeps/s390/s390-64/configure: Regenerated.
50633         * sysdeps/sh/configure: Regenerated.
50634         * sysdeps/sparc/configure: Regenerated.
50635         * sysdeps/unix/sysv/linux/configure: Regenerated.
50636         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
50637         * sysdeps/x86_64/configure: Regenerated.
50639         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
50640         defined.  Don't check if MAP is NULL.
50642 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
50644         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
50645         (_G_stat64): Likewise.
50646         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
50647         (_G_stat64): Likewise.
50648         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
50649         instead of struct _G_stat64.
50650         * libio/fileops.c (mmap_remap_check): Likewise.
50651         (decide_maybe_mmap): Likewise.
50652         (_IO_new_file_seekoff): Likewise.
50653         (_IO_file_stat): Likewise.
50654         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
50655         _G_off64_t.
50656         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
50657         instead of struct _G_stat64.
50658         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
50660 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
50662         [BZ #14602]
50663         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50664         Replace with ...
50665         (CHECK_EOL): New macro.
50666         (two_way_short_needle): Check beginning of haystack for EOL.  Use
50667         CHECK_EOL.
50668         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50669         Replace with CHECK_EOL.
50670         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50671         Replace with CHECK_EOL.
50673 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
50675         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
50676         type-generic.
50677         * math/libm-test.inc: Update comment listing what functions and
50678         macros are tested.
50679         (finite_test): New function.
50680         (isinf_test): Likewise.
50681         (isnan_test): Likewise.
50682         (fpclassify_test): Test subnormal input.
50683         (isfinite_test): Likewise.
50684         (isnormal_test): Likewise.
50685         (main): Call the new functions.
50687 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
50689         [BZ #14660]
50690         * Makerules (%.dynsym): Force C locale when running
50691         $(OBJDUMP) --dynamic-syms.
50693 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
50695         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
50696         <stdint.h>.
50698 2012-10-06  David S. Miller  <davem@davemloft.net>
50700         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
50701         upper 32-bits of the length value in %o2 since we use branch-on-register
50702         tests which consider the entire 64-bit register.
50704 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
50706         * string/test-strstr.c (check2): Add a test for page boundary.
50708 2012-10-05  David S. Miller  <davem@davemloft.net>
50710         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
50711         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
50712         file.
50713         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
50714         sysdep_routines.
50715         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
50716         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
50717         and bzero when HWCAP_SPARC_CRYPTO is present.
50719 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
50721         [BZ #14602]
50722         * string/test-strstr.c (check2): New function.
50723         (test_main): Call check2.
50725         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
50726         and bug-strchr1.
50727         * string/bug-strcasestr1.c (do_test): Moved to ...
50728         * string/test-strcasestr.c (check1): Here.  New function.
50729         (do_one_test): Break out result checking code into ...
50730         (check_result): This.  New function.
50731         (do_one_test): Call check_result.
50732         (test_main): Call check1.
50733         * string/bug-strchr1.c (do_test): Moved to ...
50734         * string/test-strchr.c (check1): Here.  New function.
50735         (do_one_test): Break out result checking code into ...
50736         (check_result): This.  New function.
50737         (do_one_test): Call check_result.
50738         (test_main): Call check1.
50739         * string/bug-strstr1.c (main): Moved to ...
50740         * string/test-strstr.c (check1): Here.  New function.
50741         (do_one_test): Break out result checking code into ...
50742         (check_result): This.  New function.
50743         (do_one_test): Call check_result.
50744         (test_main): Call check1.
50745         * string/bug-strcasestr1.c: Removed.
50746         * string/bug-strchr1.c: Likewise.
50747         * string/bug-strstr1.c: Likewise.
50749         * elf/Makefile (dl-routines): Add hwcaps.
50750         * elf/dl-support.c (_dl_important_hwcaps): Removed.
50751         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
50752         (_dl_important_hwcaps): Moved to ...
50753         * elf/dl-hwcaps.c: Here.  New file.
50754         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
50756         [BZ #14557]
50757         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
50758         if IS_IN_rtld isn't defined.
50760         * elf/dl-support.c (_dl_sysinfo_map): New.
50761         Include "get-dynamic-info.h" and "setup-vdso.h".
50762         (_dl_non_dynamic_init): Call setup_vdso.
50763         * elf/dynamic-link.h: Don't include <assert.h>.
50764         (elf_get_dynamic_info): Moved to ...
50765         * elf/get-dynamic-info.h: Here.  New file.
50766         * elf/dynamic-link.h: Include "get-dynamic-info.h".
50767         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
50768         * elf/setup-vdso.h: Here.  New file.
50769         * elf/rtld.c: Include "setup-vdso.h".
50770         (dl_main): Call setup_vdso.
50772 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
50774         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
50775         creal in comment listing functions tested.  List finite, isinf,
50776         isnan, isless, islessequal, isgreater, isgreaterequal,
50777         islessgreater, isunordered, lgamma_r and pow10 as functions and
50778         macros not tested.  Mention which functions not tested are aliases
50779         for other functions.  Fix typo.  Note that signs of NaNs are not
50780         tested.
50782         * scripts/config.guess: Update from config.git.
50783         * scripts/config.sub: Likewise.
50785 2012-10-04  Roland McGrath  <roland@hack.frob.com>
50787         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
50788         * misc/madvise.c (madvise): Renamed to __madvise.
50789         Make madvise a weak alias.
50790         * include/sys/mman.h: Declare __madvise.
50791         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
50792         * sysdeps/unix/syscalls.list
50793         (madvise): Make __madvise the strong name, and madvise a weak alias.
50794         * sysdeps/unix/sysv/linux/syscalls.list
50795         (madvise, mmap): Remove redundant entries.
50796         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
50797         * malloc/malloc.c (mtrim): Likewise.
50798         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
50800 2012-10-03  Roland McGrath  <roland@hack.frob.com>
50802         * sysdeps/mach/hurd/dl-cache.c: File removed.
50803         * config.h.in (USE_LDCONFIG): New #undef.
50804         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
50805         * configure: Regenerated.
50806         * elf/Makefile (dl-routines): Add dl-cache only under
50807         [$(use-ldconfig) = yes].
50808         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
50809         cache on [USE_LDCONFIG].
50810         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
50811         [USE_LDCONFIG].
50812         * elf/rtld.c (dl_main): Likewise.
50814 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
50816         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
50817         _SC_LEVEL4_CACHE_LINESIZE.
50819 2012-10-03  Roland McGrath  <roland@hack.frob.com>
50821         * sysdeps/unix/bsd/confstr.h: File removed.
50823 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
50825         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
50826         sys/sdt-config.h.
50828 2012-10-02  Roland McGrath  <roland@hack.frob.com>
50830         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
50831         Make 'mapoff' field ElfW(Off) rather than off_t.
50833 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
50835         * nscd/Makefile: Remove nscd-cflags and all its users.
50836         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
50837         (CFLAGS-nonlib): Add compiler flags for nscd modules.
50839         [BZ #10631]
50840         * malloc.c (malloc_printerr): Clarify error message.
50842 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
50844         [BZ #14648]
50845         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50846         Set bit_FMA_Usable if FMA is supported.
50847         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
50848         macro.
50849         (bit_FMA4_Usable): Updated.
50850         (index_FMA_Usable): New macro.
50851         (CPUID_FMA): Likewise
50852         (HAS_FMA): Defined with bit_FMA_Usable.
50854 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50856         * bits/types.h (__swblk_t): Type removed.
50857         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
50858         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
50859         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50860         (__SWBLK_T_TYPE): Likewise.
50861         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50862         (__SWBLK_T_TYPE): Likewise.
50863         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50864         (__SWBLK_T_TYPE): Likewise.
50865         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50866         (__SWBLK_T_TYPE): Likewise.
50868 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
50869             Honza Horak <hhorak@redhat.com>
50871         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
50872         (xdr_mapname): Use YPMAXMAP as maxsize.
50873         (xdr_peername): Use YPMAXPEER as maxsize.
50874         (xdr_keydat): Use YPAXRECORD as maxsize.
50875         (xdr_valdat): Use YPMAXRECORD as maxsize.
50877 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50879         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
50881         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
50882         * csu/init-first.c: ... here.
50883         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
50884         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
50885         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
50886         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
50887         * sysdeps/i386/init-first.c: File removed.
50888         * sysdeps/sh/init-first.c: File removed.
50890 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
50892         [BZ #14645]
50893         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
50894         if x * y might underflow to zero and z is zero.
50895         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50896         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50897         * math/libm-test.inc (min_subnorm_value): New variable.
50898         (fma_test): Add more tests.
50899         (fma_test_towardzero): Likewise.
50900         (fma_test_downward): Likewise
50901         (fma_test_upward): Likewise.
50902         (initialize): Set min_subnorm_value.
50904 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
50906         [BZ #14638]
50907         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
50908         0 + 0.
50909         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
50910         mode for addition resulting in exact zero.
50911         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
50912         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
50913         exact 0 + 0.
50914         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50915         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50916         * math/libm-test.inc (fma_test): Add more tests.
50917         (fma_test_towardzero): New function.
50918         (fma_test_downward): Likewise.
50919         (fma_test_upward): Likewise.
50920         (main): Call the new functions.
50922 2012-09-28  David S. Miller  <davem@davemloft.net>
50924         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
50926 2012-09-28  Roland McGrath  <roland@hack.frob.com>
50928         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
50929         instead of SIGALRM.
50931         * sysdeps/gnu/_G_config.h: Moved to ...
50932         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
50933         * sysdeps/mach/hurd/_G_config.h: Moved to ...
50934         * sysdeps/generic/_G_config.h: ... here.
50936         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
50938         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
50940         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
50941         Conditionalize target on [libnss_test1.so-version].
50943         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
50945         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
50946         (elfobjdir): Move out of conditionals.
50948         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
50949         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
50950         (__nss_lookup_function): Conditionalize label remove_from_tree on
50951         [!DO_STATIC_NSS || SHARED], matching its only use.
50953 2012-09-28  David S. Miller  <davem@davemloft.net>
50955         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
50956         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
50957         file.
50958         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
50959         sysdep_routines.
50960         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
50961         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
50962         when HWCAP_SPARC_CRYPTO is present.
50964 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50966         * io/tst-mknodat.c: Create a FIFO instead of a socket.
50968 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
50970         [BZ #6530]
50971         * stdio-common/vfprintf.c (process_string_arg): Revert
50972         2000-07-22 change.
50974 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
50976         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
50977         for testcase.
50978         * stdio-common/tst-sprintf.c: Include <locale.h>
50979         (main): Test sprintf's handling of incomplete multibyte
50980         characters.
50982 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
50984         * elf/dl-runtime.c (VERSYMIDX): Removed.
50985         * elf/dl-version.c (VERSYMIDX): Likewise.
50986         * elf/do-rel.h (VERSYMIDX): Likewise.
50987         (VALIDX): Likewise.
50988         * elf/dynamic-link.h (VERSYMIDX): Likewise.
50989         * elf/rtld.c (VALIDX): Likewise.
50990         (ADDRIDX): Likewise.
50991         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
50992         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
50993         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
50994         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
50995         (VALIDX): Likewise.
50996         (ADDRIDX): Likewise.
50998 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51000         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
51002 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
51004         [BZ #11438]
51005         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
51006         to global scope.
51007         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
51008         addresses are in the same scope as 192.0.2/24.
51009         * posix/gai.conf: Document new scope table defaults.
51011 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51013         [BZ #5298]
51014         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
51015         for ftell.  Compute offsets from write pointers instead.
51016         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51018 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51020         [BZ #14543]
51021         * libio/Makefile (tests): New test case tst-fseek.
51022         * libio/tst-fseek.c: New test case to verify that fseek/ftell
51023         combination works in wide mode.
51024         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
51025         state when the external buffer state changes.
51027 2012-09-27  David S. Miller  <davem@davemloft.net>
51029         [BZ #14376]
51030         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
51031         pass reloc->r_addend in as the 'high' argument to
51032         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
51034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51036 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51038         * rt/tst-aio2.c: Include <pthread.h>.
51039         * rt/tst-aio3.c: Likewise.
51041 2012-09-27  Steve Ellcey  <sellcey@mips.com>
51043         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
51045 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
51047         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
51048         contents on [SHARED].
51050 2012-09-26  Marek Polacek  <polacek@redhat.com>
51052         [BZ #14530]
51053         [BZ #13741]
51054         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
51055         for C++ and GCC <4.3 as well as for non GCC compilers.
51057 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51059         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51061 2012-09-25  Roland McGrath  <roland@hack.frob.com>
51063         * Makefile.in (all, install): Declare with .PHONY.
51064         Reported by Michael Hope <michael.hope@linaro.org>.
51066 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51068         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
51069         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
51070         system header.
51071         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
51072         Likewise.
51073         (sydep_routines): Add the new and the internal functions.
51074         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
51075         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
51076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
51077         (GLIBC_2.17): Add the new function.
51078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
51079         (GLIBC_2.17): Likewise.
51080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
51081         (GLIBC_2.17): Likewise.
51082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
51083         (GLIBC_2.17): Likewise.
51084         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
51086 2012-09-25  Alan Modra  <amodra@gmail.com>
51088         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
51089         Add release barrier before setting once_control to say
51090         initialisation is done.  Add hints on lwarx.  Use macro in
51091         place of isync.
51092         (clear_once_control): Add release barrier.
51094 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
51096         [BZ #13629]
51097         * math/s_clog.c (__clog): Handle more values close to |z| = 1
51098         specially.
51099         * math/s_clog10.c (__clog10): Likewise.
51100         * math/s_clog10f.c (__clog10f): Likewise.
51101         * math/s_clog10l.c (__clog10l): Likewise.
51102         * math/s_clogf.c (__clogf): Likewise.
51103         * math/s_clogl.c (__clogl): Likewise.
51104         * math/Makefile (libm-calls): Add x2y2m1.
51105         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
51106         (__x2y2m1): Likewise.
51107         (__x2y2m1l): Likewise.
51108         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
51109         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
51110         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
51111         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
51112         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
51113         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
51114         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
51115         * sysdeps/i386/fpu/libm-test-ulps: Update.
51116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51118         [BZ #14621]
51119         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
51120         int as type of variable DEPTH.
51121         (glob): Use size_t instead of int as type of variables NEWCOUNT
51122         and OLD_PATHC.
51124 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51126         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
51127         Add s_sincosf-sse2.
51128         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
51129         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
51130         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
51131         macros for using routine as __sincosf_ia32.
51132         Use macro for function declaration and weak_alias.
51133         * sysdeps/i386/fpu/libm-test-ulps: Update.
51135         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
51136         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51138         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
51139         subnormal argument.
51140         * math/s_cexpf.c (__cexpf): Likewise.
51141         * math/s_csinf.c (__csinf): Likewise.
51142         * math/s_csinhf.c (__csinhf): Likewise.
51143         * math/s_ctanf.c (__ctanf): Likewise.
51144         * math/s_ctanhf.c (__ctanhf): Likewise.
51145         * math/s_ccosh.c (__ccoshf): Likewise.
51146         * math/s_cexp.c (__cexpl): Likewise.
51147         * math/s_csin.c (__csin): Likewise.
51148         * math/s_csinh.c (__csinh): Likewise.
51149         * math/s_ctan.c (__ctan): Likewise.
51150         * math/s_ctanh.c (ctanh): Likewise.
51151         * math/s_ccoshl.c (__ccoshl): Likewise.
51152         * math/s_cexpl.c (__cexpl): Likewise.
51153         * math/s_csinl.c (__csinl): Likewise.
51154         * math/s_csinhl.c (__csinhl): Likewise.
51155         * math/s_ctanl.c (__ctanl): Likewise.
51156         * math/s_ctanhl.c (__ctanhl): Likewise.
51158 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
51160         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
51161         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
51162         (_IO_off_t): Define to __off_t, not _G_off_t.
51163         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
51164         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
51165         (_IO_wint_t): Define to wint_t, not _G_wint_t.
51166         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
51167         type of __dummy and __dummy2 fields.
51168         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
51169         (_G_ssize_t): Likewise.
51170         (_G_off_t): Likewise.
51171         (_G_pid_t): Likewise.
51172         (_G_uid_t): Likewise.
51173         (_G_wchar_t): Likewise.
51174         (_G_wint_t): Likewise.
51175         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
51176         (_G_ssize_t): Likewise.
51177         (_G_off_t): Likewise.
51178         (_G_pid_t): Likewise.
51179         (_G_uid_t): Likewise.
51180         (_G_wchar_t): Likewise.
51181         (_G_wint_t): Likewise.
51182         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
51183         (_G_ssize_t): Likewise.
51184         (_G_off_t): Likewise.
51185         (_G_pid_t): Likewise.
51186         (_G_uid_t): Likewise.
51187         (_G_wchar_t): Likewise.
51188         (_G_wint_t): Likewise.
51190 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51192         * malloc/arena.c: Include malloc-sysdep.h.
51193         (shrink_heap): Use check_may_shrink_heap to decide if madvise
51194         is sufficient to shrink the heap or an unmap is needed.
51195         * sysdeps/generic/malloc-sysdep.h: New file.  Define
51196         new function check_may_shrink_heap.
51197         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
51198         new function check_may_shrink_heap.
51200 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51202         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
51203         comments.
51205 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
51207         * catgets/test-gencat.sh: Add "set -e".
51208         * elf/tst-pathopt.sh: Likewise.
51209         * grp/tst_fgetgrent.sh: Likewise.
51210         * iconvdata/run-iconv-test.sh: Likewise.
51211         * intl/tst-gettext.sh: Likewise.
51212         * intl/tst-gettext2.sh: Likewise.
51213         * intl/tst-gettext4.sh: Likewise.
51214         * intl/tst-gettext6.sh: Likewise.
51215         * intl/tst-translit.sh: Likewise.
51216         * io/ftwtest-sh: Likewise.
51217         * libio/test-freopen.sh: Likewise.
51218         * malloc/tst-mtrace.sh: Likewise.
51219         * posix/globtest.sh: Likewise.
51220         * posix/tst-getconf.sh: Likewise.
51221         * posix/wordexp-tst.sh: Likewise.
51222         * stdio-common/tst-printf.sh: Likewise.
51223         * stdio-common/tst-unbputc.sh: Likewise.
51224         * stdlib/tst-fmtmsg.sh: Likewise.
51225         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51226         * catgets/Makefile: Do not specify -e option when running
51227         testsuite shell scripts.
51228         * elf/Makefile: Likewise.
51229         * grp/Makefile: Likewise.
51230         * iconvdata/Makefile: Likewise.
51231         * intl/Makefile: Likewise.
51232         * io/Makefile: Likewise.
51233         * libio/Makefile: Likewise.
51234         * malloc/Makefile: Likewise.
51235         * posix/Makefile: Likewise.
51236         * stdio-common/Makefile: Likewise.
51237         * stdlib/Makefile: Likewise.
51238         * sysdeps/x86_64/Makefile: Likewise.
51240         * io/ftwtest-sh: Add copyright header.
51241         * posix/globtest.sh: Likewise.
51242         * posix/tst-getconf.sh: Likewise.
51243         * posix/wordexp-tst.sh: Likewise.
51244         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51246 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
51248         [BZ #13679]
51249         * Makeconfig (+link): Defined as $(+link-static) if
51250         $(build-shared) isn't yes.
51251         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
51252         isn't yes.
51253         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
51255         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
51257         [BZ #14562]
51258         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
51259         new chunk size with MALLOC_ALIGN_MASK.
51261 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
51263         [BZ #5044]
51264         * stdio-common/printf_fphex.c: Include <stdbool.h> and
51265         <rounding-mode.h>.
51266         (__printf_fphex): Determine rounding using get_rounding_mode and
51267         round_away.
51268         * stdio-common/tst-printf-round.c (struct hex_test): New
51269         structure.
51270         (hex_tests): New variable.
51271         (test_hex_in_one_mode): New function.
51272         (do_test): Also run tests for hex float output.
51274 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
51276         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51277         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51278         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
51279         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51280         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51281         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
51282         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51283         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51285 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
51287         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
51288         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
51289         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
51290         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
51292 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
51294         [BZ #14579]
51295         * elf/rtld.c (dl_main): Limit the check for self loading to normal
51296         mode only.
51297         * elf/tst-rtld-load-self.sh: New test.
51298         * elf/Makefile: Run it.
51300 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
51302         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
51303         (tst-writev-ENV): Remove.
51304         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
51306 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
51308         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
51310 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
51312         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
51313         unconditional.
51314         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
51315         Likewise.
51316         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
51317         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
51318         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
51319         Likewise.
51321 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
51323         [BZ #14587]
51324         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
51325         * config.make.in (have-cpp-asm-debuginfo): Removed.
51326         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
51327         * configure: Regenerated.
51329 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
51331         [BZ #5044]
51332         * stdio-common/printf_fp.c: Include <stdbool.h> and
51333         <rounding-mode.h>.
51334         (___printf_fp): Determine rounding using get_rounding_mode and
51335         round_away.
51336         * stdio-common/tst-printf-round.c: New file.
51337         * stdio-common/Makefile (tests): Add tst-printf-round.
51338         (link-libm): New variable.
51339         ($(objpfx)tst-printf-round): Depend in $(link-libm).
51341 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
51343         [BZ #14576]
51344         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
51345         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
51346         Likewise.
51347         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
51348         Likewise.
51350 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
51352         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
51353         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51354         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51355         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51357 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
51359         [BZ #14518]
51360         * include/rounding-mode.h: New file.
51361         * sysdeps/generic/get-rounding-mode.h: Likewise.
51362         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
51363         * stdlib/strtod_l.c: Include <rounding-mode.h>.
51364         (MAX_VALUE): New macro.
51365         (MIN_VALUE): Likewise.
51366         (overflow_value): New function.
51367         (underflow_value): Likewise.
51368         (round_and_return): Use overflow_value and underflow_value to
51369         determine return values in overflow and underflow cases.  Use
51370         round_away to determine rounding depending on rounding mode.
51371         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
51372         determine return values in overflow and underflow cases.
51373         * stdlib/tst-strtod-round.c: Include <fenv.h>.
51374         (struct test_results): New structure.
51375         (struct test): Use struct test_results to store expected results
51376         for all rounding modes.
51377         (TEST): Include expected results for all rounding modes.
51378         (test_in_one_mode): New function.
51379         (do_test): Use test_in_one_mode to compute and check results.
51380         Check results for all rounding modes.
51381         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
51382         $(link-libm).
51384 2012-12-09  Allan McRae  <allan@archlinux.org>
51386         * sysdeps/i386/fpu/libm-test-ulps: Update
51388 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
51390         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
51391         (_G_int32_t): Likewise.
51392         (_G_uint16_t): Likewise.
51393         (_G_uint32_t): Likewise.
51394         (_G_HAVE_BOOL): Likewise.
51395         (_G_HAVE_ATEXIT): Likewise.
51396         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51397         (_G_HAVE_IO_FILE_OPEN): Likewise.
51398         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
51399         (_G_int32_t): Likewise.
51400         (_G_uint16_t): Likewise.
51401         (_G_uint32_t): Likewise.
51402         (_G_HAVE_BOOL): Likewise.
51403         (_G_HAVE_ATEXIT): Likewise.
51404         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51405         (_G_HAVE_IO_FILE_OPEN): Likewise.
51406         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
51407         (_G_int32_t): Likewise.
51408         (_G_uint16_t): Likewise.
51409         (_G_uint32_t): Likewise.
51410         (_G_HAVE_BOOL): Likewise.
51411         (_G_HAVE_ATEXIT): Likewise.
51412         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51413         (_G_HAVE_IO_FILE_OPEN): Likewise.
51415 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
51417         * csu/libc-tls.c: Update copyright years.
51419 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
51421         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
51422         [!_G_USING_THUNKS]: Remove conditional code.
51423         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
51424         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
51426         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
51427         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
51428         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51429         (_G_VTABLE_LABEL_PREFIX): Likewise.
51430         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51431         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51432         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51433         (_G_VTABLE_LABEL_PREFIX): Likewise.
51434         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51435         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51436         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51437         (_G_VTABLE_LABEL_PREFIX): Likewise.
51438         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51440 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
51442         * libio/Makefile: Include ../Makeconfig before tests.
51443         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
51444         only if $(build-shared) is yes.
51446         * iconv/gconv_db.c: Update copyright years.
51448 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51450         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
51451         unwind info if defined PIC. Fix special cases description.
51452         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
51454         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
51455         DP_HI_MASK entry.
51456         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
51458 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
51460         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
51462         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
51463         is NULL.
51465         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
51466         (LDLIBS-tst-chk4): This.
51467         (LDFLAGS-tst-chk5): Renamed to ...
51468         (LDLIBS-tst-chk5): This.
51469         (LDFLAGS-tst-chk6): Renamed to ...
51470         (LDLIBS-tst-chk6): This.
51471         (LDFLAGS-tst-lfschk4): Renamed to ...
51472         (LDLIBS-tst-lfschk4): This.
51473         (LDFLAGS-tst-lfschk5): Renamed to ...
51474         (LDLIBS-tst-lfschk5): This.
51475         (LDFLAGS-tst-lfschk6): Renamed to ...
51476         (LDLIBS-tst-lfschk6): This.
51478         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
51479         on $(common-objpfx)soversions.mk.
51481 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
51483         [BZ #10014]
51484         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
51485         example host name.
51487 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51489         * malloc/arena.c (arena_get_retry): New function that gets
51490         another arena for the caller to try its request on.
51491         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
51492         current arena cannot fulfill the request.
51493         (__libc_memalign): Likewise.
51494         (__libc_memalign): Likewise.
51495         (__libc_pvalloc): Likewise.
51496         (__libc_calloc): Likewise.
51498 2012-09-05  John Tobey  <john.tobey@gmail.com>
51500         [BZ #13542]
51501         * manual/arith.texi (Operations on Complex): Fix description
51502         of carg branch cut.
51504 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
51506         [BZ #10014]
51507         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
51508         host name.
51510         [BZ #10038]
51511         * manual/memory.texi (Memory): Make order of menu items match
51512         order of sections.
51514 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51516         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
51517         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
51518         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
51520 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51522         * csu/libc-tls.c (static_dtv): Renamed to ...
51523         (_dl_static_dtv): This.  Make it global.
51524         (_dl_initial_dtv): Removed.
51525         (__libc_setup_tls): Updated.
51526         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
51527         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
51528         DL_INITIAL_DTV.
51530 2012-09-06  Petr Machata  <pmachata@redhat.com>
51532         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
51533         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
51534         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
51535         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
51537 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51539         [BZ #14545]
51540         * csu/libc-tls.c (_dl_initial_dtv): New variable.
51541         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
51542         freeing dtv[-1].
51544 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51546         [BZ #14544]
51547         * Makeconfig (link-static-before-libc): Replace $(+prector)
51548         with $(+prectorT).
51549         (link-static-after-libc): Replace $(+postctor) with
51550         $(+postctorT).
51551         (link-bounded): Replace $(+prector)/$(+postctor) with
51552         $(+prectorT)/$(+postctorT).
51553         (+prectorT): New macro.
51554         (+postctorT): Likewise.
51556 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
51558         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
51559         (round_str): Handle values above the maximum for IBM long double
51560         as inexact.
51561         * stdlib/tst-strtod-round.c (tests): Regenerated.
51563 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51565         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
51566         assembler flag.
51567         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
51568         zarch_nohighgprs around the zarch optimized routines.
51569         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
51570         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
51571         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
51572         for zarch.
51574 2012-09-05  David S. Miller  <davem@davemloft.net>
51576         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51578         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
51579         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
51580         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
51581         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51582         entries.
51584 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51586         * malloc/arena.c: Fold copyright years.
51587         * malloc/mcheck.c, malloc/memusage.c: Likewise.
51589 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51591         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
51593 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51595         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
51597 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51599         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
51600         change internal state upon failure.
51602 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51604         * malloc/mcheck.c (mcheck_check_all): Fix typo.
51605         * malloc/memusage.c (mmap): Likewise.
51606         (mmap64, mremap): Likewise.  Adjust name in comment.
51608 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51610         * libio/fileops.c: Fix typos in comments.
51611         * libio/oldfileops.c: Likewise.
51612         * libio/wfileops.c: Likewise.
51614 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51616         [BZ #1349]
51617         * malloc/Makefile (tests): Add tst-malloc-usable test case.
51618         (tst-malloc-usable-ENV): Set environment for test case.
51619         * malloc/hooks.c (malloc_check_get_size): New function to get
51620         requested size.
51621         * malloc/malloc.c (musable): Use malloc_check_get_size.
51622         * malloc/tst-malloc-usable.c: New test case.
51624 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51626         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
51628 2012-09-05  Allan McRae  <allan@archlinux.org>
51630         [BZ #13966]
51631         * configure.in (CXX_SYSINCLUDES): Use compiler output to
51632         determine header location.
51633         * configure: Regenerated.
51635 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51637         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
51638         float format.
51639         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
51640         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
51641         format.
51642         (test): Regenerate.
51644 2012-09-04  David S. Miller  <davem@davemloft.net>
51646         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
51647         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
51648         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
51650 2012-09-04  Florian Weimer  <fweimer@redhat.com>
51652         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
51653         failures.
51655         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
51657 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
51659         [BZ #9914]
51660         * libio/iogetdelim.c: Include <limits.h>.
51661         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
51662         + len + 1 would overflow.
51664 2012-09-03  Andreas Jaeger  <aj@suse.de>
51666         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51667         * sysdeps/i386/fpu/libm-test-ulps: Update.
51669 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51671         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
51672         Add s_sinf-sse2, s_conf-sse2.
51674         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
51675         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
51676         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
51677         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
51679         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
51680         for using routine as __sinf_ia32.
51681         Use macro for function declaration and weak_alias.
51682         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
51683         for using routine as __cosf_ia32.
51684         Use macro for function declaration and weak_alias.
51686         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
51687         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
51689         * sysdeps/x86_64/fpu/s_sinf.S: New file.
51690         * sysdeps/x86_64/fpu/s_cosf.S: New file.
51691         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51693         * math/libm-test.inc (cos_test): Add more test cases.
51694         (sin_test): Likewise.
51695         (sincos_test): Likewise.
51697 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51699         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
51700         (IFUNC_RESOLVE): Make pointers to the specialized implementations
51701         hidden.
51702         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51704 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
51706         [BZ #14538]
51707         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
51708         first element of the GOT.
51709         (elf_machine_load_address): Return the difference between
51710         the runtime address of _DYNAMIC and elf_machine_dynamic ().
51712 2012-09-01  Allan McRae  <allan@archlinux.org>
51714         [BZ #13412]
51715         * configure.in (AWK): Require gawk version 3.0 or later.
51716         * configure: Regenerated.
51718 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
51720         * sysdeps/unix/sysv/linux/kernel-features.h
51721         (__ASSUME_POSIX_CPU_TIMERS): Remove.
51722         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51723         [__NR_clock_getres]: Make code unconditional.
51724         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
51725         (clock_getcpuclockid): Remove code left unreachable by removal of
51726         conditionals.
51727         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
51728         code unconditional.
51729         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
51730         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51731         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
51732         Make code unconditional.
51733         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
51734         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51735         * sysdeps/unix/sysv/linux/clock_settime.c
51736         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
51737         conditional code.
51738         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
51739         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51741 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
51743         [BZ #14476]
51744         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
51745         scripts/test-installation.pl.
51747         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
51748         and $ld_so_version if it is set.
51750 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51752         [BZ #14516]
51753         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
51754         failure if reading from procfs failed.
51755         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
51757 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
51759         * sysdeps/unix/sysv/linux/kernel-features.h
51760         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
51761         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
51762         Remove conditional code.
51763         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51764         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
51765         Remove conditional code.
51766         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51767         * sysdeps/unix/sysv/linux/i386/fxstat.c
51768         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51769         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51770         * sysdeps/unix/sysv/linux/i386/fxstatat.c
51771         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51772         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51773         * sysdeps/unix/sysv/linux/i386/lxstat.c
51774         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51775         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51776         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
51777         Remove conditional code.
51778         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51779         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
51780         Remove conditional code.
51781         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51782         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
51783         <kernel-features.h>.
51784         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
51785         Remove.
51786         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
51787         Remove conditional code.
51788         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51789         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
51790         Remove conditional.
51792 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
51794         [BZ #5400]
51795         * NEWS: Add fixed bug number.
51797 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
51799         [BZ #14519]
51800         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
51801         underflowing exponent in case of negative sign.
51802         * stdlib/tst-strtod-round-data: Add more tests.
51803         * stdlib/tst-strtod-round.c (tests): Regenerated.
51805         [BZ #3479]
51806         * stdlib/strtod_l.c (NDIG): Remove.
51807         (HEXNDIG): Likewise.
51808         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
51809         smallest representable value.
51810         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
51811         lie within an exact representation of 1/2 ulp of the result.
51812         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
51813         unconditionally.
51814         (TENS_P9_IDX): Define unconditionally.
51815         (TENS_P9_SIZE): Likewise.
51816         (TENS_P10_IDX): Likewise.
51817         (TENS_P10_SIZE): Likewise.
51818         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
51819         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
51820         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
51821         entries for 10^2^13 and 10^2^14.
51822         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
51823         (TENS_P13_IDX): Define.
51824         (TENS_P13_SIZE): Likewise.
51825         (TENS_P14_IDX): Likewise.
51826         (TENS_P14_SIZE): Likewise.
51827         (_fpioconst_pow10): Change array size to
51828         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
51829         unconditional.
51830         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
51831         1024]: Add entries for 10^2^13 and 10^2^14.
51832         [LAST_POW10 > _LAST_POW10]: Remove #error.
51833         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
51834         (_fpioconst_pow10): Change array size to
51835         FPIOCONST_POW10_ARRAY_SIZE.
51836         * stdlib/gen-fpioconst.c: New file.
51837         * stdlib/gen-tst-strtod-round.c: Likewise.
51838         * stdlib/tst-strtod-round-data: Likewise.
51839         * stdlib/tst-strtod-round.c: Likewise.
51840         * stdlib/Makefile (tests): Add tst-strtod-round.
51842         [BZ #14459]
51843         * stdlib/strtod_l.c: Include <stdint.h>.
51844         (NDEBUG): Do not define.
51845         (round_and_return): Change EXPONENT parameter to type intmax_t.
51846         Rearrange calculations to avoid internal overflow possibilities.
51847         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
51848         Rearrange calculations to avoid internal overflow possibilities.
51849         Assert that number fits inside MPNSIZE limbs.
51850         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
51851         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
51852         calculations and add assertions to avoid internal overflow
51853         possibilities.  Add casts to avoid signed/unsigned operations.
51854         * stdlib/tst-strtod-overflow.c: New file.
51855         * stdlib/Makefile (tests): Add tst-strtod-overflow.
51857 2012-08-25  Marek Polacek  <polacek@redhat.com>
51859         * time/time.h: Fix some typos in comments.
51861 2012-08-23  Roland McGrath  <roland@hack.frob.com>
51863         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
51864         * posix/tst-rfc3484-2.c: Likewise.
51865         * posix/tst-rfc3484-3.c: Likewise.
51867 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
51869         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
51870         (EF_ARM_ABI_FLOAT_HARD): Likewise.
51872 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
51874         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
51875         #include of fxstatat64.c.
51877 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51879         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
51880         * shadow/getspent_r.c: Likewise.
51881         * shadow/getspnam.c: Likewise.
51882         * shadow/getspnam_r.c: Likewise.
51883         * gshadow/getsgent.c: Likewise.
51884         * gshadow/getsgent_r.c: Likewise.
51885         * gshadow/getsgnam.c: Likewise.
51886         * gshadow/getsgnam_r.c: Likewise.
51887         * inet/getnetbyad.c: Likewise.
51888         * inet/getnetbyad_r.c: Likewise.
51889         * inet/getnetbynm.c: Likewise.
51890         * inet/getnetbynm_r.c: Likewise.
51891         * inet/getnetent.c: Likewise.
51892         * inet/getnetent_r.c: Likewise.
51893         * inet/getproto.c: Likewise.
51894         * inet/getproto_r.c: Likewise.
51895         * inet/getprtent.c: Likewise.
51896         * inet/getprtent_r.c: Likewise.
51897         * inet/getprtname.c: Likewise.
51898         * inet/getprtname_r.c: Likewise.
51899         * inet/getrpcbyname.c: Likewise.
51900         * inet/getrpcbyname_r.c: Likewise.
51901         * inet/getrpcbynumber.c: Likewise.
51902         * inet/getrpcbynumber_r.c: Likewise.
51903         * inet/getrpcent.c: Likewise.
51904         * inet/getrpcent_r.c: Likewise.
51905         * inet/getaliasent.c: Likewise.
51906         * inet/getaliasent_r.c: Likewise.
51907         * inet/getaliasname.c: Likewise.
51908         * inet/getaliasname_r.c: Likewise.
51909         * nscd/getgrgid_r.c: Likewise.
51910         * nscd/getgrnam_r.c: Likewise.
51911         * nscd/gethstbyad_r.c: Likewise.
51912         * nscd/gethstbynm3_r.c: Likewise.
51913         * nscd/getpwnam_r.c: Likewise.
51914         * nscd/getpwuid_r.c: Likewise.
51915         * nscd/getsrvbynm_r.c: Likewise.
51916         * nscd/getsrvbypt_r.c: Likewise.
51917         * nscd/gai.c: Likewise.
51919         * configure.in (build_nscd): New substituted variable, set
51920         by --disable-build-nscd and defaults to $use_nscd.
51921         * configure: Regenerated.
51922         * config.make.in (build-nscd): New substituted variable.
51923         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
51924         Change conditional to require [$(build-nscd) = yes] as well.
51925         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
51927         [BZ# 13696]
51928         * configure.in (use_nscd): New substituted variable, set by
51929         --disable-nscd.  If enabled, define USE_NSCD.
51930         * configure: Regenerated.
51931         * config.h.in: Add USE_NSCD.
51932         * config.make.in (use-nscd): New substituted variable.
51933         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
51934         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
51935         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
51936         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
51937         (CFLAGS-getgrnam_r.c): Likewise.
51938         (CFLAGS-initgroups.c): Likewise.
51939         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
51940         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
51941         Variables removed.
51942         * inet/getnetgrent_r.c
51943         (nscd_setnetgrent): New function, broken out of ...
51944         (setnetgrent): ... here.  Call it.
51945         (innetgr): Conditionalize nscd bits on [USE_NSCD].
51946         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
51947         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
51948         * nscd/Makefile (routines, aux): Move definitions after include of
51949         Makeconfig.  Conditionalize on [$(use-nscd) != no].
51950         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
51951         Conditionalize on [USE_NSCD].
51952         (is_nscd, nscd_init_cb): Likewise.
51953         (nss_load_library): Conditionalize init callback on [USE_NSCD].
51954         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
51955         * nss/nss_db/db-init.c: Likewise.
51956         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
51957         [USE_NSCD].
51958         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
51959         (make_request): Use it.
51960         (cache_valid_p): New function.
51961         (__check_pf): Use it.
51962         * NEWS: Add item for --disable-nscd.
51964 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
51966         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
51967         to support sed >= 4.2.1-20-ga9bf076.
51968         * configure: Regenerated.
51970 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51972         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
51973         Conditionalize whole body on [IREL].
51975 2012-08-22  Jeff Law <law@redhat.com>
51977         [BZ #14505]
51978         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
51979         if the family is PF_UNSPEC.
51981 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
51983         * Makerules (lib-version): Rename from V.
51984         (install-lib-nosubdir): Change V to lib-version.
51986 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
51988         [BZ #14252]
51989         * powerpc32/power6/wcschr.c: New file.
51990         * powerpc32/power6/wcscpy.c: New file.
51991         * powerpc32/power6/wcsrchr.c: New file.
51992         * powerpc64/power6/wcschr.c: New file.
51993         * powerpc64/power6/wcscpy.c: New file.
51994         * powerpc64/power6/wcsrchr.c: New file.
51996 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
51998         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
51999         (two_way_short_needle): Use it.
52000         * string/strstr.c (AVAILABLE1_USES_J): Define.
52001         * string/strcasestr.c: Likewise.
52003         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
52004         array references.
52005         * string/strcasestr.c (TOLOWER): Make side-effect safe.
52007         [BZ #11607]
52008         * NEWS: Add an entry.
52009         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
52010         define their defaults.
52011         (two_way_short_needle): Detect end-of-string on-the-fly.
52012         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
52013         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
52014         * string/bug-strcasestr1.c: New test.
52015         * string/Makefile: Run it.
52017 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
52019         [BZ #11607]
52020         * string/str-two-way.h (two_way_short_needle): Optimize matching of
52021         the first character.
52023 2012-08-21  Roland McGrath  <roland@hack.frob.com>
52025         * csu/elf-init.c (__libc_csu_irel): Function removed.
52026         * csu/libc-start.c (apply_irel): New function.
52027         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
52029 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
52031         * sysdeps/unix/sysv/linux/kernel-features.h
52032         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
52033         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52034         <kernel-features.h>.
52035         [__NR_fadvise64_64]: Make code unconditional.
52036         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
52037         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
52038         !__NR_fadvise64_64)]: Likewise.
52039         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
52040         !__NR_fadvise64_64))]: Likewise.
52041         [__NR_fadvise64]: Make code unconditional.
52042         [!__NR_fadvise64]: Remove conditional code.
52043         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
52044         <kernel-features.h>.
52045         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52046         unconditional.
52047         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52048         conditional code.
52049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
52050         not include <kernel-features.h>.
52051         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52052         unconditional.
52053         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52054         conditional code.
52055         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
52056         include <kernel-features.h>.
52057         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52058         unconditional.
52059         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52060         conditional code.
52062 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
52064         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
52065         slight instruction rearrangements per scrollpipe analysis.
52066         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
52068 2012-08-20  Roland McGrath  <roland@hack.frob.com>
52070         * manual/syslog.texi (syslog; vsyslog, closelog):
52071         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
52072         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
52074         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
52075         DSOCAPS to match condition on defining it.
52077 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
52079         * sysdeps/unix/sysv/linux/kernel-features.h
52080         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
52081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
52082         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52083         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
52085         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52086         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
52088         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52089         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52091         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
52092         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
52094         * sysdeps/unix/sysv/linux/kernel-features.h
52095         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
52096         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
52097         unconditional.
52098         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52099         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
52100         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
52101         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52102         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
52103         Make code unconditional.
52104         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52105         (__mmap64) [!__NR_mmap2]: Likewise.
52106         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
52107         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
52108         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52109         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
52110         [__NR_mmap2]: Make code unconditional.
52111         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52112         (__mmap64) [!__NR_mmap2]: Likewise.
52114 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52116         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
52118 2012-08-18  Andreas Jaeger  <aj@suse.de>
52120         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
52122 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
52124         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
52125         * include/unistd.h (__have_sock_cloexec): Likewise.
52126         (__have_pipe2): Likewise.
52127         (__have_dup3): Likewise.
52129 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
52131         [BZ #9685]
52132         * include/unistd.h (__have_pipe2): Change define into an extern int.
52133         (__have_dup3): Likewise.
52134         * socket/have_sock_cloexec.c: Include fcntl.h.
52135         (__have_pipe2): New variable.
52136         (__have_dup3): Likewise.
52138 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
52140         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
52142 2012-08-17  Marek Polacek  <polacek@redhat.com>
52144         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
52145         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
52147 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52149         * configure.in: Add AC_SUBST for sysheaders.
52150         * configure: Regenerated.
52151         * config.make.in (sysheaders): New substituted variable.
52153         * sysdeps/unix/mkfifo.c: Moved ...
52154         * sysdeps/posix/mkfifo.c: ... here.
52155         * sysdeps/unix/mkfifoat.c: Moved ...
52156         * sysdeps/posix/mkfifoat.c: ... here.
52158         * sysdeps/unix/utime.c: Moved ...
52159         * sysdeps/posix/utime.c: ... here.
52161         * sysdeps/unix/time.c: Moved ...
52162         * sysdeps/posix/time.c: ... here.
52163         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
52164         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
52166         * sysdeps/unix/nice.c: Moved ...
52167         * sysdeps/posix/nice.c: ... here.
52169         * sysdeps/unix/alarm.c: Moved ...
52170         * sysdeps/posix/alarm.c: ... here.
52172         * intl/Makefile ($(codeset_mo)): Depend on the input file.
52174 2012-08-17  Jeff Law <law@redhat.com>
52176         * intl/Makefile (codeset_mo): New variable.
52177         ($(codeset_mo)): New target.
52178         (tst-codeset.out): Depend on that.  Remove explicit rule.
52179         (tst-gettext3.out, tst-gettext5.out): Likewise.
52180         (LOCPATH-ENV, tst-codeset-ENV): New variables.
52181         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
52182         * intl/tst-codeset.sh: Remove.
52183         * intl/tst-gettext3.sh: Likewise.
52184         * intl/tst-gettext5.sh: Likewise.
52186 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52188         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
52189         * sysdeps/unix/syscalls.list: ... here.
52191         * sysdeps/posix/getaddrinfo.c
52192         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
52193         (gaiconf_init, gaiconf_reload): Use them.
52194         [!_STATBUF_ST_NSEC]
52195         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
52196         Define using time_t rather than struct timespec.
52198         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
52199         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
52200         Macros removed.
52201         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
52202         [!NO_THREADS].
52203         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
52204         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
52205         Likewise.
52207         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
52208         __libc_cleanup_push argument.
52210         * bits/param.h: New file.
52211         * misc/sys/param.h: New file.
52212         * include/sys/param.h: New file.
52213         * misc/Makefile (headers): Add bits/param.h.
52214         * sysdeps/generic/sys/param.h: File removed.
52215         * sysdeps/unix/sysv/linux/bits/param.h: New file.
52216         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
52217         * sysdeps/mach/hurd/bits/param.h: New file.
52218         * sysdeps/mach/hurd/sys/param.h: File removed.
52220         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
52221         last change.
52223         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
52224         [_IO_MTSAFE_IO].
52225         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
52226         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
52227         New macros.
52229         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
52230         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
52231         rather than -D_IO_MTSAFE_IO conditionally.
52232         * stdio-common/Makefile (CPPFLAGS): Likewise.
52233         * wcsmbs/Makefile (CPPFLAGS): Likewise.
52234         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
52235         Use $(libio-mtsafe).
52236         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
52237         of -D_IO_MTSAFE_IO.
52238         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
52239         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
52240         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
52241         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
52242         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
52243         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
52244         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
52245         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
52246         (CFLAGS-fread_u_chk.c): Likewise.
52247         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
52248         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
52249         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
52250         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
52251         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
52252         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
52253         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
52254         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
52255         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
52257         * libio/Makefile: Test [$(libc-reentrant) = yes]
52258         instead of [$(filter %REENTRANT, $(defines)) nonempty].
52260         * Makeconfig
52261         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
52262         * sysdeps/pthread/configure: File removed.
52263         * sysdeps/pthread/Makeconfig: New file.
52264         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
52265         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
52267 2012-08-16  Gary Benson  <gbenson@redhat.com>
52269         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
52270         unmapping the first object in a namespace.
52272 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52274         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
52275         (__internal_setnetgrent): ... this.  Add internal_function to
52276         definition.  Add libc_hidden_def.
52277         (setnetgrent): Update caller.
52278         (internal_endnetgrent): Renamed to ...
52279         (__internal_endnetgrent): ... this.  Add internal_function to
52280         definition.  Add libc_hidden_def.
52281         (endnetgrent): Update caller.
52282         (internal_getnetgrent_r): Renamed to ...
52283         (__internal_getnetgrent_r): ... this.  Add internal_function to
52284         definition.  Add libc_hidden_def.
52285         (__getnetgrent_r): Update caller.
52286         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
52288 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52290         * stdlib/longlong.h: Update from GCC.
52292 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52294         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
52295         on _QL, which is set by umul_ppmm but never used.
52296         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
52297         variables, which are set by GMP macros but never used.
52298         * stdio-common/_itowa.c (_itowa): Likewise.
52299         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
52300         * stdlib/mod_1.c (mpn_mod_1): Likewise.
52302 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
52304         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
52305         struct La_sh_regs is not constant.
52306         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
52307         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
52308         and struct La_sparc64_regs are not constant.
52310 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52312         * sysdeps/unix/sysv/linux/kernel-features.h
52313         (__ASSUME_POSIX_TIMERS): Remove.
52314         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52315         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52316         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
52317         Make code unconditional.
52318         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52319         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
52320         Make code unconditional.
52321         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52322         * sysdeps/unix/sysv/linux/clock_nanosleep.c
52323         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
52324         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52325         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
52326         Make code unconditional.
52327         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52328         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
52329         (__libc_missing_posix_timers): Remove.
52331 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52333         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
52334         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
52336         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
52338         * elf/dl-sym.c: Include <stdlib.h>.
52340         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
52341         constants, which avoids warnings in 32-bit builds.
52343         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
52344         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
52346         * misc/lseek.c: File moved to ...
52347         * io/lseek.c: ... here.
52349         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
52351         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
52352         shifting LEN more than 31 bits at once.
52354 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52356         [BZ #14195]
52357         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
52358         segmentation fault for a case of two empty input strings.
52359         * string/test-strncasecmp.c (check1): Renamed to...
52360         (bz12205): ...this.
52361         (bz14195): Add new testcase for two empty input strings and N > 0.
52362         (test_main): Call new testcase, adapt for renamed function.
52364 2012-08-15  Andreas Jaeger  <aj@suse.de>
52366         [BZ #14090]
52367         * crypt/md5test2.c: New test, based on test supplied by Serge
52368         Belyshev <belyshev@depni.sinp.msu.ru>.
52369         * crypt/Makefile (xtests): Add md5test-giant..
52370         * crypt/Makefile ($(objpfx)md5test-giant): Add.
52372 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
52374         [BZ #14090]
52375         * crypt/md5.c (md5_process_block): Don't assume the buffer
52376         length is less than 2**32.
52377         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
52378         length is less than 2**64.
52380 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52382         * string/str-two-way.h: Include <sys/param.h>.
52383         (MAX): Macro removed.
52385         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
52386         Move #define and #undef of memmove to just before and after
52387         including <string.h>.
52389         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
52390         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
52391         and after including <string.h>.  Move declarations of
52392         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
52393         to before #include "string/memmove.c".
52395         * include/dirent.h: Declare __getdirentries.
52397         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
52398         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
52400 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
52402         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
52403         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
52404         * sysdeps/i386/configure: Regenerated.
52405         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
52406         STABS_CURRENT_FILE, and STABS_FUN.
52407         (END): Remove call to STABS_FUN_END.
52408         (STABS_CURRENT_FILE1): Delete.
52409         (STABS_CURRENT_FILE): Likewise.
52410         (STABS_FUN): Likewise.
52411         (STABS_FUN_END): Likewise.
52412         (STABS_FUN2): Likewise.
52413         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
52414         * sysdeps/x86_64/configure: Regenerated.
52416 2012-08-14  Roland McGrath  <roland@hack.frob.com>
52418         * elf/dl-open.c: Include <atomic.h>.
52419         * elf/dl-lookup.c: Likewise.
52421 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
52423         * sysdeps/unix/sysv/linux/kernel-features.h
52424         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
52425         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
52426         unconditionally.
52427         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
52428         unconditionally.
52429         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
52430         condition on __ASSUME_CLONE_THREAD_FLAGS.
52432 2012-08-14  Andreas Jaeger  <aj@suse.de>
52434         * sysdeps/i386/fpu/libm-test-ulps: Update.
52436 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
52438         * include/atomic.h (atomic_exchange_and_add): Split into ...
52439         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
52440         New atomic macros.
52442 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
52444         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52446 2012-08-13  Jeff Law <law@redhat.com>
52448         * manual/stdio.texi (snprintf): Clarify handling of the trailing
52449         null byte in the output string.
52451 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
52453         * sysdeps/unix/sysv/linux/kernel-features.h
52454         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
52455         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
52456         (__ASSUME_ARG_MAX_STACK_BASED): Define.
52457         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52458         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
52459         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
52460         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
52462 2012-08-09  Jeff Law <law@redhat.com>
52464         [BZ #13939]
52465         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
52466         When avoid_arena is set, don't retry in the that arena.  Pick the
52467         next one, whatever it might be.
52468         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
52469         (arena_lock): Pass in new parameter to arena_get2.
52470         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
52471         arena_get2.
52472         (__libc_malloc): Unify retrying after main arena failure with
52473         __libc_memalign version.
52474         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
52476 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
52478         [BZ #14166]
52479         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
52480         to __redirect_strstr.
52481         (__strstr_sse42): Use typeof __redirect_strstr.
52482         (__strstr_ia32): Likewise.
52483         (__libc_strstr): New prototype.
52484         (strstr): Renamed to ...
52485         (__libc_strstr): This.
52486         (strstr): New strong alias of __libc_strstr.
52487         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
52488         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
52489         __redirect_time.
52490         Include <time.h>.
52491         (__libc_time): New prototype.
52492         (time_ifunc): Replace time with __libc_time.
52493         (time): New strong alias and hidden definition of __libc_time.
52494         (__GI_time): Remove strong alias.
52495         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
52496         Include <stddef.h>.
52497         (memmove): Redefined to __redirect_memmove.
52498         (__memmove_sse2): Use typeof __redirect_memmove.
52499         (__memmove_ssse3): Likewise.
52500         (__memmove_ssse3_back): Likewise.
52501         (__libc_memmove): New prototype.
52502         (memmove): Renamed to ...
52503         (__libc_memmove): This.
52504         (memmove): New strong alias of __libc_memmove.
52506 2012-08-08  Mark Salter  <msalter@redhat.com>
52508         * elf/elf.h
52509         (R_MN10300_TLS_GD): Define.
52510         (R_MN10300_TLS_LD): Likewise.
52511         (R_MN10300_TLS_LDO): Likewise.
52512         (R_MN10300_TLS_GOTIE): Likewise.
52513         (R_MN10300_TLS_IE): Likewise.
52514         (R_MN10300_TLS_LE): Likewise.
52515         (R_MN10300_TLS_DTPMOD): Likewise.
52516         (R_MN10300_TLS_DTPOFF): Likewise.
52517         (R_MN10300_TLS_TPOFF): Likewise.
52518         (R_MN10300_SYM_DIFF): Likewise.
52519         (R_MN10300_ALIGN): Likewise.
52520         (R_MN10300_NUM): Update.
52522 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
52524         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
52525         Remove.
52527 2012-08-08  Roland McGrath  <roland@hack.frob.com>
52529         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
52531         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
52532         sysdeps/unix -> sysdeps/posix move.
52533         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
52535 2012-08-07      Allan McRae     <allan@archlinux.org>
52537         [BZ #14303]
52538         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
52539         (SUNOS_CPP): Likewise.
52540         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
52541         not found.
52542         (open_input): Call CPP using execvp.
52544 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
52546         * sysdeps/unix/sysv/linux/kernel-features.h
52547         (__ASSUME_PROT_GROWSUPDOWN): Remove.
52548         (__ASSUME_NO_CLONE_DETACHED): Likewise.
52549         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
52550         (__ASSUME_WAITID_SYSCALL): Likewise.
52551         * sysdeps/unix/sysv/linux/dl-execstack.c
52552         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
52553         code unconditional.
52554         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
52555         conditional code.
52556         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
52557         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
52558         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
52559         code.
52560         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
52561         unconditional.
52562         [__ASSUME_WAITID_SYSCALL]: Likewise.
52563         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
52565 2012-08-07  Roland McGrath  <roland@hack.frob.com>
52567         * sysdeps/unix/closedir.c: Renamed to ...
52568         * sysdeps/posix/closedir.c: ... here.
52569         * sysdeps/unix/dirfd.c: Renamed to ...
52570         * sysdeps/posix/dirfd.c: ... here.
52571         * sysdeps/unix/dirstream.h: Renamed to ...
52572         * sysdeps/posix/dirstream.h: ... here.
52573         * sysdeps/unix/fdopendir.c: Renamed to ...
52574         * sysdeps/posix/fdopendir.c: ... here.
52575         * sysdeps/unix/opendir.c: Renamed to ...
52576         * sysdeps/posix/opendir.c: ... here.
52577         * sysdeps/unix/readdir.c: Renamed to ...
52578         * sysdeps/posix/readdir.c: ... here.
52579         * sysdeps/unix/readdir_r.c: Renamed to ...
52580         * sysdeps/posix/readdir_r.c: ... here.
52581         * sysdeps/unix/rewinddir.c: Renamed to ...
52582         * sysdeps/posix/rewinddir.c: ... here.
52583         * sysdeps/unix/seekdir.c: Renamed to ...
52584         * sysdeps/posix/seekdir.c: ... here.
52585         * sysdeps/unix/telldir.c: Renamed to ...
52586         * sysdeps/posix/telldir.c: ... here.
52587         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
52588         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
52589         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
52590         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
52592         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
52593         * bits/fcntl.h: ... here.
52595         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
52596         not 0.
52597         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
52598         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
52599         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
52600         (struct flock): Move l_start, l_len to the beginning.
52601         Use __pid_t for l_pid.
52602         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
52603         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
52604         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
52605         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
52606         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
52607         [__USE_LARGEFILE64] (struct flock64): New type.
52608         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
52610         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
52611         * bits/dirent.h: ... here.
52613         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
52614         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
52616 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
52618         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52619         Change from 2.6.0 to 2.6.16.
52620         * sysdeps/unix/sysv/linux/configure: Regenerated.
52621         * sysdeps/unix/sysv/linux/kernel-features.h
52622         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
52623         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
52624         version.
52625         (__ASSUME_UTIMES): Likewise.
52626         (__ASSUME_CLONE_STOPPED): Remove.
52627         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
52628         architectures, not kernel version.
52629         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
52630         (__ASSUME_NO_CLONE_DETACHED): Likewise.
52631         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
52632         (__ASSUME_WAITID_SYSCALL): Likewise.
52633         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
52634         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
52635         * README: State 2.6.16 as minimum Linux kernel version.  Do not
52636         refer to older versions.
52638 2012-08-06  Roland McGrath  <roland@hack.frob.com>
52640         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
52641         Define alphasort64 as an alias.
52642         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
52643         Define versionsort64 as an alias.
52644         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
52645         Define scandir64 as an alias.
52646         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
52647         Define scandirat64 as an alias.
52648         * dirent/alphasort64.c (alphasort64):
52649         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
52650         * dirent/versionsort64.c: Likewise.
52651         * dirent/scandir64.c: Likewise.
52652         * dirent/scandirat64.c: Likewise.
52653         * sysdeps/wordsize-64/alphasort.c: File removed.
52654         * sysdeps/wordsize-64/alphasort64.c: File removed.
52655         * sysdeps/wordsize-64/scandir.c: File removed.
52656         * sysdeps/wordsize-64/scandir64.c: File removed.
52657         * sysdeps/wordsize-64/scandirat.c: File removed.
52658         * sysdeps/wordsize-64/scandirat64.c: File removed.
52659         * sysdeps/wordsize-64/versionsort.c: File removed.
52660         * sysdeps/wordsize-64/versionsort64.c: File removed.
52661         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
52662         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
52663         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
52664         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
52665         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
52666         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
52667         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
52668         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
52670         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
52671         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
52672         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
52673         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52674         [defined __arch64__ || defined __sparcv9]
52675         (__INO_T_MATCHES_INO64_T): New macro.
52676         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52677         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
52678         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
52679         * sysdeps/unix/sysv/linux/bits/dirent.h
52680         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
52681         (_DIRENT_MATCHES_DIRENT64): New macro.
52683         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
52684         Define lockf64 as an alias.
52685         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
52686         Define fseeko64 as an alias.
52687         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
52688         Define ftello64 as an alias.
52689         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
52690         Define _IO_fgetpos64 and fgetpos64 as aliases.
52691         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
52692         Define _IO_fsetpos64 and fsetpos64 as aliases.
52693         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
52694         Conditionalize body on this.
52695         * libio/fseeko64.c: Likewise.
52696         * libio/ftello64.c: Likewise.
52697         * libio/iofgetpos64.c: Likewise.
52698         * libio/iofsetpos64.c: Likewise.
52699         * sysdeps/wordsize-64/lockf.c: File removed.
52700         * sysdeps/wordsize-64/lockf64.c: File removed.
52701         * sysdeps/wordsize-64/fseeko.c: File removed.
52702         * sysdeps/wordsize-64/fseeko64.c: File removed.
52703         * sysdeps/wordsize-64/ftello.c: File removed.
52704         * sysdeps/wordsize-64/ftello64.c: File removed.
52705         * sysdeps/wordsize-64/iofgetpos.c: File removed.
52706         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
52707         * sysdeps/wordsize-64/iofsetpos.c: File removed.
52708         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
52709         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
52710         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
52711         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
52712         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
52713         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
52714         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
52715         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
52716         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
52717         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
52718         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
52720         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
52721         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
52722         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
52723         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52724         [defined __arch64__ || defined __sparcv9]
52725         (__OFF_T_MATCHES_OFF64_T): New macro.
52726         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52727         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
52728         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52729         (__OFF_T_MATCHES_OFF64_T): New macro.
52731 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
52733         * stdlib/secure-getenv.c (__secure_getenv): Replace
52734         GLIBC_2_16 with GLIBC_2_17.
52736 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
52738         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
52739         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
52741 2012-08-03  David S. Miller  <davem@davemloft.net>
52743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52745 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
52747         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
52748         Remove.
52749         (__ASSUME_CORRECT_SI_PID): Likewise.
52750         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
52751         (__ASSUME_TMPFS_NAME): Likewise.
52752         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
52753         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
52754         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
52755         (HAVE_AUX_SECURE): Make definition unconditional.
52756         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
52757         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
52759 2012-08-03  Roland McGrath  <roland@hack.frob.com>
52761         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
52762         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
52763         * sysdeps/mach/hurd/eloop-threshold.h: New file.
52764         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52765         __eloop_threshold instead of SYMLOOP_MAX.
52767         * sysdeps/generic/eloop-threshold.h: New file.
52768         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
52769         of MAXSYMLINKS.
52770         * elf/chroot_canon.c (chroot_canon): Likewise.
52772 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
52774         [BZ #13717]
52775         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52776         Change to 2.6.0 everywhere.
52777         * sysdeps/unix/sysv/linux/configure: Regenerated.
52778         * sysdeps/unix/sysv/linux/kernel-features.h
52779         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
52780         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
52781         kernel versions.
52782         (__ASSUME_POSIX_TIMERS): Define unconditionally.
52783         (__ASSUME_FUTEX_REQUEUE): Remove.
52784         (__ASSUME_STATFS64): Define unconditionally.
52785         (__ASSUME_AT_SECURE): Likewise.
52786         (__ASSUME_CORRECT_SI_PID): Likewise.
52787         (__ASSUME_TGKILL): Define without depending on kernel version for
52788         i386.
52789         (__ASSUME_UTIMES): Likewise.
52790         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
52791         kernel version.
52792         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
52793         (__ASSUME_TMPFS_NAME): Likewise.
52794         * README: Update reference to Linux kernel versions.
52796 2012-08-02  Marek Polacek  <polacek@redhat.com>
52798         [BZ# 14150]
52799         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
52800         libc_cv_asm_type_prefix with %.
52801         * configure: Regenerated.
52802         * include/libc-symbols.h: Remove comment about
52803         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
52804         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
52805         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
52806         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
52807         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
52808         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
52809         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
52810         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
52811         * elf/tst-unique2mod1.c: Likewise.
52812         * elf/tst-unique1mod2.c: Likewise.
52813         * elf/tst-unique1mod1.c: Likewise.
52814         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
52815         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
52816         Replace ASM_TYPE_DIRECTIVE with .type.
52817         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52818         * sysdeps/i386/sysdep.h: Likewise.
52819         * sysdeps/x86_64/sysdep.h: Likewise.
52820         * sysdeps/sh/sysdep.h: Likewise.
52821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52822         Do not define ASM_TYPE_DIRECTIVE.
52823         * sysdeps/powerpc/sysdep.h: Likewise.
52824         * sysdeps/powerpc/powerpc32/sysdep.h:
52825         Replace ASM_TYPE_DIRECTIVE with .type.
52826         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
52827         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52828         * sysdeps/i386/fpu/e_powf.S: Likewise.
52829         * sysdeps/i386/fpu/e_expl.S: Likewise.
52830         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52831         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52832         * sysdeps/i386/fpu/e_pow.S: Likewise.
52833         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52834         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52835         * sysdeps/i386/fpu/s_expm1.S: Likewise.
52836         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52837         * sysdeps/i386/fpu/e_log2.S: Likewise.
52838         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52839         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52840         * sysdeps/i386/fpu/e_powl.S: Likewise.
52841         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52842         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52843         * sysdeps/i386/fpu/e_logl.S: Likewise.
52844         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52845         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52846         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52847         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52848         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52849         * sysdeps/i386/fpu/e_log.S: Likewise.
52850         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52851         * sysdeps/i386/fpu/e_logf.S: Likewise.
52852         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52853         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52854         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52855         * sysdeps/i386/fpu/e_log10.S: Likewise.
52856         * sysdeps/i386/fpu/s_frexp.S: Likewise.
52857         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52858         * sysdeps/i386/fpu/s_asinh.S: Likewise.
52859         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52860         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52861         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
52862         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52863         * sysdeps/i386/i686/strtok.S: Likewise.
52864         * sysdeps/i386/i386-mcount.S: Likewise.
52865         * sysdeps/i386/strtok.S: Likewise.
52866         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
52867         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52868         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52869         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52870         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52871         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52872         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52873         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52874         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52875         * sysdeps/x86_64/_mcount.S: Likewise.
52876         * sysdeps/x86_64/strtok.S: Likewise.
52877         * sysdeps/sh/_mcount.S: Likewise.
52879 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52881         * libio/iofopen.c: Include <fcntl.h>.
52882         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
52883         (_IO_fopen64, fopen64): Define as aliases.
52884         * libio/iofopen64.c: Include <fcntl.h>.
52885         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
52886         Conditionalize body on this.
52887         * sysdeps/wordsize-64/iofopen.c: File removed.
52888         * sysdeps/wordsize-64/iofopen64.c: File removed.
52890 2012-08-01  Marek Polacek  <polacek@redhat.com>
52892         * libc/Makeconfig: Use elf in place of binfmt-subdir.
52893         Use dlfcn directly instead of a variable.
52894         (binfmt-subdir): Do not define.
52895         (dlfcn): Likewise.
52897 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
52899         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
52900         Remove all definitions.
52901         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
52902         <kernel-features.h>.
52903         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52904         (miss_F_GETOWN_EX): Remove all definitions.
52905         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
52906         macro definition.
52907         [!__ASSUME_FCNTL64]: Remove conditional code.
52908         [__ASSUME_FCNTL64]: Make code unconditional.
52909         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
52910         <kernel-features.h>.
52911         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52912         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
52913         (lockf64) [__NR_fcntl64]: Make code unconditional.
52914         (lockf64) [__ASSUME_FCNTL64]: Likewise.
52916         * sysdeps/unix/sysv/linux/kernel-features.h
52917         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
52918         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
52919         Make code unconditional.
52920         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52921         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
52923         [__NR_vfork]: Make code unconditional.
52924         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52925         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
52927         [__NR_vfork]: Make code unconditional.
52928         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52929         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52931 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52933         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
52934         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
52936         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52937         Define mkstemp64 as an alias.
52938         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52939         Define mkstemps64 as an alias.
52940         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52941         Define mkostemp64 as an alias.
52942         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52943         Define mkostemps64 as an alias.
52944         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
52945         Conditionalize body on this.
52946         * misc/mkostemp64.c: Likewise.
52947         * misc/mkostemps64.c: Likewise.
52948         * misc/mkstemps64.c: Likewise.
52949         * sysdeps/wordsize-64/mkstemp64.c: File removed.
52950         * sysdeps/wordsize-64/mkostemp64.c: File removed.
52951         * sysdeps/wordsize-64/mkostemp.c: File removed.
52952         * sysdeps/wordsize-64/mkstemp.c: File removed.
52953         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
52954         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
52955         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
52956         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
52958         [BZ #14138]
52959         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
52960         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
52961         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
52962         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
52964         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
52965         compat_symbol macros from <shlib-compat.h> rather than the underlying
52966         default_symbol_version and symbol_version macros, so that DEFAULT
52967         lines in shlib-versions are respected.
52968         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
52970 2012-08-01  Florian Weimer  <fweimer@redhat.com>
52972         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
52973         Declare with warn_unused_result.
52974         (setgid, setregid, setegid, setresgid): Likewise.
52975         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
52976         Likewise.
52977         * WUR-REPORT: Remove set*id functions.
52979 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
52981         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
52983 2012-07-31  Roland McGrath  <roland@hack.frob.com>
52985         [BZ #10191]
52986         * include/sys/socket.h (__libc_accept, __libc_accept4):
52987         Add attribute_hidden.
52988         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
52990         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
52991         use of PTR_MANGLE.
52992         * inet/getnetgrent_r.c (setup): Likewise.
52994         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
52996 2012-07-31  David S. Miller  <davem@davemloft.net>
52998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53000 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
53002         [BZ #13629]
53003         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
53004         value between 1.0 and 2.0 and smaller part has absolute value less
53005         than 1.0.
53006         * math/s_clog10.c (__clog10): Likewise.
53007         * math/s_clog10f.c (__clog10f): Likewise.
53008         * math/s_clog10l.c (__clog10l): Likewise.
53009         * math/s_clogf.c (__clogf): Likewise.
53010         * math/s_clogl.c (__clogl): Likewise.
53011         * math/libm-test.inc (clog_test): Add more tests.
53012         (clog10_test): Likewise.
53013         * sysdeps/i386/fpu/libm-test-ulps: Update.
53014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53016 2012-07-31  Florian Weimer  <fweimer@redhat.com>
53018         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
53019         Exit with zero in case no suitable GID is found, and write a
53020         message to standard error.
53022 2012-07-30  Roland McGrath  <roland@hack.frob.com>
53024         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
53025         rather than to 1.
53026         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
53027         (MAXPATHLEN): Removed.
53028         (NOGROUP, NODEV): New macros.
53029         (setbit, clrbit, isset, isclr): New macros.
53030         (howmany, roundup, powerof2): New macros.
53031         (DEV_BSIZE): New macro.
53033         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
53034         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
53036         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
53037         definition on [!__NO_LONG_DOUBLE_MATH].
53039         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
53040         PTR_MANGLE and PTR_DEMANGLE.
53042         * socket/accept4.c (accept4): Rename to __libc_accept4.
53043         Define accept4 as a weak alias.
53045         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
53046         on [_DIRENT_HAVE_D_TYPE].
53047         * io/ftw.c (ftw_dir): Likewise.
53049         * io/xmknod.c (__xmknod): Don't check PATH for being null.
53051         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
53053         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
53054         Use the BSD numbers rather than the arbitrary ones we had.
53055         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
53056         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
53057         (SIGXCPU, SIGXFSZ): New macros.
53058         (_NSIG): Now 32.
53060         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
53061         initializer on [_LIBC_REENTRANT].
53063         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
53064         definitions inside [_POSIX_MAPPED_FILES].
53066         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
53068         * dirent/opendir.c: Include <fcntl.h>.
53070         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
53071         (__libc_getspecific): Likewise.
53072         (__libc_key_create): Likewise.
53074         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
53075         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
53076         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
53077         (tmpfile64): Define as alias.
53078         * sysdeps/wordsize-64/tmpfile.c: File removed.
53079         * sysdeps/wordsize-64/tmpfile64.c: File removed.
53080         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
53081         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
53083         * stdio-common/vfscanf.c: Include <stdbool.h>.
53084         * nss/makedb.c: Likewise.
53085         * stdio-common/_i18n_number.h: Likewise.
53086         * argp/argp-help.c: Likewise.
53087         * posix/wordexp.c: Likewise.
53088         * sysdeps/posix/spawni.c: Likewise.
53089         * nss/nss_files/files-initgroups.c: Likewise.
53090         * stdio-common/reg-modifier.c: Include <stdlib.h>.
53091         * nss/nss_files/files-initgroups.c: Likewise.
53092         * nss/nss_db/db-netgrp.c: Likewise.
53093         * nss/nss_db/db-initgroups.c: Likewise.
53094         * io/fchmodat.c: Include <sys/stat.h>.
53096         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
53097         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
53099         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
53100         [HAVE_MMAP].
53102         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
53103         Add multiple inclusion protection.
53105 2012-07-27  David S. Miller  <davem@davemloft.net>
53107         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53109 2012-07-27  Gary Benson  <gbenson@redhat.com>
53111         [BZ #14298]
53112         * elf/rtld.c: Include <stap-probe.h>.
53113         (dl_main): Added static probes "init_start" and "init_complete".
53114         * elf/dl-load.c: Include <stap-probe.h>.
53115         (lose): Take new parameter "nsid".
53116         Added static probe "map_failed".
53117         (_dl_map_object_from_fd): Pass namespace id to lose.
53118         Added static probe "map_start".
53119         (open_verify): Pass namespace id to lose.
53120         * elf/dl-open.c: Include <stap-probe.h>.
53121         (dl_open_worker) Added static probes "map_complete", "reloc_start"
53122         and "reloc_complete".
53123         * elf/dl-close.c: Include <stap-probe.h>.
53124         (_dl_close_worker): Added static probes "unmap_start" and
53125         "unmap_complete".
53126         * elf/rtld-debugger-interface.txt: New file documenting the above.
53128 2012-07-26  Roland McGrath  <roland@hack.frob.com>
53130         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
53131         rather than a string variable.
53132         * sunrpc/rpc_main.c (h_output): Likewise.
53133         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
53135 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
53137         * inet/check_native.c: New file.
53139 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
53141         [BZ #13629]
53142         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
53143         if larger part has absolute value 1.0.
53144         * math/s_clog10.c (__clog10): Likewise.
53145         * math/s_clog10f.c (__clog10f): Likewise.
53146         * math/s_clog10l.c (__clog10l): Likewise.
53147         * math/s_clogf.c (__clogf): Likewise.
53148         * math/s_clogl.c (__clogl): Likewise.
53149         * math/libm-test.inc (clog_test): Add more tests.
53150         (clog10_test): Likewise.
53151         * sysdeps/i386/fpu/libm-test-ulps: Update.
53152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53154         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
53155         (pltexit): Likewise.
53156         (La_regs): Likewise.
53157         (La_retval): Likewise.
53158         (int_retval): Likewise.
53159         Update #error for removed macros to refer only to definitions in
53160         tst-audit.h.
53161         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
53162         macro.
53163         (pltexit): Likewise.
53164         (La_regs): Likewise.
53165         (La_retval): Likewise.
53166         (int_retval): Likewise.
53167         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
53168         macro.
53169         (pltexit): Likewise.
53170         (La_regs): Likewise.
53171         (La_retval): Likewise.
53172         (int_retval): Likewise.
53173         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
53174         macro.
53175         (pltexit): Likewise.
53176         (La_regs): Likewise.
53177         (La_retval): Likewise.
53178         (int_retval): Likewise.
53179         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
53180         macro.
53181         (pltexit): Likewise.
53182         (La_regs): Likewise.
53183         (La_retval): Likewise.
53184         (int_retval): Likewise.
53185         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
53186         macro.
53187         (pltexit): Likewise.
53188         (La_regs): Likewise.
53189         (La_retval): Likewise.
53190         (int_retval): Likewise.
53191         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
53192         macro.
53193         (pltexit): Likewise.
53194         (La_regs): Likewise.
53195         (La_retval): Likewise.
53196         (int_retval): Likewise.
53197         * sysdeps/generic/tst-audit.h: Update comment to refer only to
53198         macro definitions in tst-audit.h.
53199         * sysdeps/i386/tst-audit.h: New file.
53200         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
53201         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
53202         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
53203         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
53204         * sysdeps/sh/tst-audit.h: Likewise.
53205         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
53206         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
53207         * sysdeps/x86_64/tst-audit.h: Likewise.
53209 2012-07-26  Andreas Jaeger  <aj@suse.de>
53211         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
53212         ptrace.
53214         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
53215         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
53216         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
53217         PTRACE_O_MASK.
53218         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
53219         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
53220         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
53222         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
53223         value.
53225         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
53226         _sigsys.
53227         (si_call_addr, si_syscall, si_arch): Define new macro.
53228         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
53229         _sigsys.
53230         (si_call_addr, si_syscall, si_arch): Define new marcro.
53231         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
53232         _sigsys.
53233         (si_call_addr, si_syscall, si_arch): Define new macro.
53234         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
53235         _sigsys.
53236         (si_call_addr, si_syscall, si_arch): Define new macro.
53238 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53240         [BZ #13717]
53241         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53242         Change to 2.4.21 where previously 2.4.1.
53243         * sysdeps/unix/sysv/linux/configure: Regenerated.
53244         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
53245         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
53246         Linux kernel version.
53247         (__ASSUME_STD_AUXV): Remove.
53248         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
53249         kernel version.
53250         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
53251         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
53252         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
53253         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
53254         (__ASSUME_NETLINK_SUPPORT): Likewise.
53255         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
53256         (__no_netlink_support): Remove conditional definition.
53257         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
53258         Remove.
53259         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53260         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
53261         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
53262         (if_nameindex_ioctl): Remove.
53263         (if_nameindex_netlink): Do not handle __no_netlink_support.
53264         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53265         code.
53266         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
53267         Remove conditional code.
53268         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53269         code.
53270         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
53271         unconditional.
53272         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53273         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
53274         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
53275         Remove.
53276         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
53277         [!__ASSUME_STD_AUXV]: Remove conditional code.
53278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
53279         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
53280         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
53281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
53282         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
53283         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53284         code.
53285         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53287         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
53288         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53289         conditional code.
53290         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
53292         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53293         code.
53294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53295         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53296         conditional code.
53297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
53298         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53299         code unconditional.
53300         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53301         conditional code.
53302         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53303         unconditional.
53304         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53305         conditional code.
53306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53307         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53308         unconditional.
53309         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53310         conditional code.
53311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
53312         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53313         code unconditional.
53314         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53315         conditional code.
53316         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53317         unconditional.
53318         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53319         conditional code.
53320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
53321         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53322         code unconditional.
53323         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53324         conditional code.
53325         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53326         unconditional.
53327         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53328         conditional code.
53330 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
53332         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
53333         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
53334         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
53335         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
53336         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
53337         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
53338         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
53339         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
53340         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
53341         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
53342         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
53343         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
53344         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
53345         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
53346         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
53347         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
53348         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
53349         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
53350         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
53351         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
53352         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
53353         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
53354         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
53356 2012-07-25  Florian Weimer  <fweimer@redhat.com>
53358         * Versions.def: Add GLIBC_2.17.
53359         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
53360         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
53361         Introduce __libc_secure_getenv.
53362         * stdlib/Versions (2.17): Add secure_getenv
53363         (GLIBC_PRIVATE): Add __libc_secure_getenv.
53364         * stdlib/secure-getenv.c: Rename __secure_getenv to
53365         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
53366         symbol __secure_getenv for GLIBC_2.0.
53367         * stdlib/tst-secure-getenv.c: New.
53368         * stdlib/Makefile (tests): Add testcase.
53369         * manual/startup.texi (Environment Access): Document
53370         secure_getenv.
53371         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
53372         __libc_secure_getenv.
53373         * inet/ruserpass.c (ruserpass): Likewise.
53374         * malloc/mtrace.c (mtrace): Likewise.
53375         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
53376         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
53377         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
53378         * sysdeps/posix/tempname.c: Likewise.  Evaluate
53379         HAVE_SECURE_GETENV.
53380         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
53381         __secure_getenv to __libc_secure_getenv.
53382         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
53383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53384         Likewise.
53385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53386         Likewise.
53387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
53388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
53389         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53390         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
53391         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
53392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53393         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
53395 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53397         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
53398         (struct La_i86_retval): Likewise.
53399         (struct La_x86_64_regs): Likewise.
53400         (struct La_x86_64_retval): Likewise.
53401         (struct La_x32_regs): Likewise.
53402         (struct La_x32_retval): Likewise.
53403         (struct La_ppc32_regs): Likewise.
53404         (struct La_ppc32_retval): Likewise.
53405         (struct La_ppc64_regs): Likewise.
53406         (struct La_ppc64_retval): Likewise.
53407         (struct La_sh_regs): Likewise.
53408         (struct La_sh_retval): Likewise.
53409         (struct La_s390_32_regs): Likewise.
53410         (struct La_s390_32_retval): Likewise.
53411         (struct La_s390_64_regs): Likewise.
53412         (struct La_s390_64_retval): Likewise.
53413         (struct La_sparc32_regs): Likewise.
53414         (struct La_sparc32_retval): Likewise.
53415         (struct La_sparc64_regs): Likewise.
53416         (struct La_sparc64_retval): Likewise.
53417         (struct audit_ifaces): Remove architecture-specific pltenter and
53418         pltexit members.
53419         * sysdeps/i386/ldsodefs.h: New file.
53420         * sysdeps/powerpc/ldsodefs.h: Likewise.
53421         * sysdeps/s390/ldsodefs.h: Likewise.
53422         * sysdeps/sh/ldsodefs.h: Likewise.
53423         * sysdeps/sparc/ldsodefs.h: Likewise.
53424         * sysdeps/x86_64/ldsodefs.h: Likewise.
53426 2012-07-25  Marek Polacek  <polacek@redhat.com>
53428         [BZ #6808]
53429         * math/libm-test.inc (yn_test): Add another test.
53430         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
53431         to ERANGE when the result is +-Inf.
53432         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53433         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
53434         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
53435         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
53437 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
53439         * conform/data/time.h-data (NULL): Use macro-constant.  Require
53440         equal to 0.
53441         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
53442         clock_t.
53443         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
53445 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
53447         * configure.in <sysdeps resolving>: Correct printing
53448         Implies_before.
53449         * configure: Regenerate.
53451 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
53453         * math/w_ilogb.c: Include <limits.h>.
53454         * math/w_ilogbl.c: Likewise.
53456 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
53458         * manual/lang.texi (__va_copy): Document primarily as ISO C99
53459         va_copy.  Document allowing for unavailable va_copy only as
53460         pre-C99 compatibility.
53461         * manual/string.texi (Copying and Concatenation): Use va_copy
53462         instead of __va_copy in concat example.
53464 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
53466         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
53467         (__sendto): Use create_address_port.  Initialize APORT and deallocate
53468         it if not null.
53470         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
53471         with O_NOLINK passed to __file_name_lookup.
53473         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
53474         with O_NOLINK passed to __file_name_lookup.
53476         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
53477         negative N or less than NGIDS.
53479         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
53480         type to string_t.  Set ERANGE as errno and return it if NAME is not big
53481         enough.  Use memcpy instead of strncpy.
53483 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
53485         * elf/Makefile (check-data): Remove.
53486         (localplt.data): New vpath directive.
53487         ($(objpfx)check-localplt.out): Use localplt.data from vpath
53488         instead of $(check-data).
53489         * scripts/data/localplt-generic.data: Move to ...
53490         * sysdeps/generic/localplt.data: ... here.
53491         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
53492         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
53493         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
53494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
53495         ... here.
53496         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
53497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
53498         ... here.
53499         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
53500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
53501         ... here.
53502         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
53503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
53504         ... here.
53505         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
53506         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
53507         ... here.
53508         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
53509         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
53510         ... here.
53512 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53514         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
53515         PPC32 and PPC64 files.
53516         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
53517         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
53519 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53521         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
53522         __makecontext_ret to ...
53523         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
53524         ... here and call exit if uc_link is NULL.  New file.
53525         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
53526         __makecontext_ret.S.
53527         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
53528         __makecontext_ret to ...
53529         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
53530         ... here and call exit if uc_link is NULL.  New file.
53531         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
53532         __makecontext_ret.S.
53534 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53536         * elf/elf.h (R_390_IRELATIVE): New definition.
53537         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
53538         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
53539         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
53540         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
53541         (elf_machine_lazy_rel): Likewise.
53542         * sysdeps/s390/dl-irel.h: New file.
53543         * sysdeps/s390/s390-64/memcpy.S: New asm code.
53544         * sysdeps/s390/s390-64/memset.S: New asm code.
53545         * sysdeps/s390/s390-64/memcmp.S: New asm code.
53546         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
53547         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
53548         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
53549         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
53550         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
53551         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
53552         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
53553         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
53554         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
53555         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
53556         * sysdeps/s390/s390-32/memcpy.S: New asm code.
53557         * sysdeps/s390/s390-32/memset.S: New asm code.
53558         * sysdeps/s390/s390-32/memcmp.S: New asm code.
53560 2012-07-17  Marek Polacek  <polacek@redhat.com>
53562         [BZ #14349]
53563         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
53564         * sysdeps/s390/s390-64/configure.in: Likewise.
53565         * sysdeps/sparc/configure.in: Likewise.
53566         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
53567         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
53568         * sysdeps/i386/configure.in: Likewise.
53569         * sysdeps/x86_64/configure.in: Likewise.
53570         * sysdeps/sh/configure.in: Likewise.
53571         * sysdeps/s390/s390-32/configure: Regenerated.
53572         * sysdeps/s390/s390-64/configure: Likewise.
53573         * sysdeps/x86_64/configure: Likewise.
53574         * sysdeps/sh/configure: Likewise.
53575         * sysdeps/powerpc/powerpc64/configure: Likewise.
53576         * sysdeps/powerpc/powerpc32/configure: Likewise.
53577         * sysdeps/sparc/configure: Likwise.
53578         * sysdeps/i386/configure: Likewise.
53580         * elf/dl-open.c: Comment fixes.
53582 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
53584         * Makefile [CXX] (check-data): Remove.
53585         [CXX] (c++-types.data): New vpath directive.
53586         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
53587         vpath.  Do not allow for C++ type data being missing.
53588         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
53589         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
53590         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
53591         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
53592         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
53593         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
53594         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
53595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
53596         ... here.
53597         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
53598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
53599         ... here.
53600         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
53601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
53602         ... here.
53603         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
53604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
53605         ... here.
53606         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
53607         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
53608         ... here.
53609         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
53610         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
53611         ... here.
53612         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
53613         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
53614         ... here.
53615         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
53616         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
53618         * elf/tls-macros.h (TLS_LE): Move architecture-specific
53619         definitions to architecture-specific files.
53620         (TLS_IE): Likewise.
53621         (TLS_LD): Likewise.
53622         (TLS_GD): Likewise.
53623         * sysdeps/i386/tls-macros.h: New file.
53624         * sysdeps/powerpc/tls-macros.h: Likewise.
53625         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
53626         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
53627         * sysdeps/sh/tls-macros.h: Likewise.
53628         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
53629         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
53630         * sysdeps/x86_64/tls-macros.h: Likewise.
53632 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
53634         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
53635         zero value for regular exit case.
53637         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
53638         (__start_context): Preserve zero value for regular exit case.
53640 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
53641             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53643         * manual/setjmp.texi (setcontext): Clarify normal process
53644         termination when uc_link is the null pointer.
53645         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
53646         exit call.
53648 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
53650         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
53651         preprocessor.  Test for each exception mask separately.
53653 2012-07-16  Andreas Jaeger  <aj@suse.de>
53655         * po/ru.po: Update from translation team.
53657 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
53659         * conform/data/string.h-data (NULL): Use macro-constant.  Require
53660         equal to 0.
53661         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
53662         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
53663         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
53664         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
53665         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53667 2012-07-13  Andreas Jaeger  <aj@suse.de>
53669         * po/fr.po: Update from translation team.
53671 2012-07-12  Marek Polacek  <polacek@redhat.com>
53673         [BZ #14173]
53674         * math/libm-test.inc (yn_test): Add test for BZ #14173.
53675         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
53676         loop condition.
53678 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
53680         [BZ #13717]
53681         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53682         Change to 2.4.1 where previously 2.4.0.
53683         * sysdeps/unix/sysv/linux/configure: Regenerated.
53684         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
53685         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
53686         version.
53687         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
53688         (__ASSUME_AT_CLKTCK): Remove.
53689         (__ASSUME_AT_PAGESIZE): Likewise.
53690         (__ASSUME_AT_XID): Likewise.
53691         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
53692         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
53693         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
53694         unconditionally.
53695         (HAVE_AUX_PAGESIZE): Likewise.
53696         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
53697         [__ASSUME_AT_CLKTCK]: Make code unconditional.
53698         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
53700 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
53702         [BZ #14307]
53703         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
53704         the temporary buffer used to invoke __gethostbyname2_r,
53705         __gethostbyaddr_r and gethostbyname4_r to make room for struct
53706         host_data / struct gaih_addrtuple.
53707         * resolv/nss_dns/dns-host.c (global scope): Move definition of
53708         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
53709         header file nss/nsswitch.h.
53710         * nss/nsswitch.h (global scope): Add definition of implementation
53711         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
53712         resolv/nss_dns/dns-host.c).
53714 2012-07-11  Andreas Jaeger  <aj@suse.de>
53716         * po/fr.po: Update from translation team.
53718         * po/sv.po: Update from translation team
53719         * po/fr.po: Another update from translation team.
53721 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53723         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
53724         for subnormals or multiply small sinh result by itself.
53725         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53728 2012-07-11  David S. Miller  <davem@davemloft.net>
53730         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53732 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
53734         [BZ #14347]
53735         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
53736         (INTERNAL_MARK): Shift it here.
53738 2012-07-10  Marek Polacek  <polacek@redhat.com>
53740         [BZ #14151]
53741         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
53742         libc_cv_asm_global_directive with .globl.
53743         * configure: Regenerated.
53744         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
53745         with .globl.
53746         * sysdeps/i386/configure: Regenerated.
53747         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
53748         with .globl.
53749         * sysdeps/x86_64/configure: Regenerated.
53750         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
53751         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
53752         * elf/tst-unique2mod2.c: Likewise.
53753         * elf/tst-unique2mod1.c: Likewise.
53754         * elf/tst-unique1mod2.c: Likewise.
53755         * elf/tst-unique1mod1.c: Likewise.
53756         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53757         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
53758         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53759         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53760         * sysdeps/mach/sysdep.h: Likewise.
53761         * sysdeps/i386/sysdep.h: Likewise.
53762         * sysdeps/i386/i386-mcount.S: Likewise.
53763         * sysdeps/x86_64/_mcount.S: Likewise.
53764         * sysdeps/x86_64/sysdep.h: Likewise.
53765         * sysdeps/sh/_mcount.S: Likewise.
53766         * sysdeps/sh/sysdep.h: Likewise.
53767         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
53768         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
53769         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
53770         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53771         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
53772         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
53773         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
53774         * locale/localeinfo.h: Likewise.
53775         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
53776         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
53778 2012-07-09  Roland McGrath  <roland@hack.frob.com>
53780         [BZ #14336]
53781         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
53782         system".
53783         * manual/message.texi (The Uniforum approach): Likewise.
53784         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
53785         (glibc iconv Implementation): Likewise.
53787 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
53789         [BZ #14337]
53790         * math/s_clog.c (__clog): Avoid scaling a value down where that
53791         could result in underflow.
53792         * math/s_clog10.c (__clog10): Likewise.
53793         * math/s_clog10f.c (__clog10f): Likewise.
53794         * math/s_clog10l.c (__clog10l): Likewise.
53795         * math/s_clogf.c (__clogf): Likewise.
53796         * math/s_clogl.c (__clogl): Likewise.
53797         * math/libm-test.inc (clog_test): Add more tests.
53798         (clog10_test): Likewise.
53799         * sysdeps/i386/fpu/libm-test-ulps: Update.
53800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53802 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
53804         [BZ #14283]
53805         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
53806         by 7 not 8 to examine high bit of fractional part.
53808         [BZ #14042]
53809         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
53810         for call to __mcount_internal.
53811         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
53812         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
53813         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
53815 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
53817         [BZ #14154]
53818         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
53819         approximation for values within 0x1p-13f of an odd multiple of
53820         pi/4.
53821         * math/libm-test.inc (tan_test): Do not allow spurious underflow
53822         exception.  Add more tests.
53823         * sysdeps/i386/fpu/libm-test-ulps: Update.
53825         [BZ #6778]
53826         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
53827         inputs and return -1 for them.  Do not check for +Inf in case not
53828         reachable for +Inf.
53829         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
53830         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
53831         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
53832         and return -1 for them.  Do not check for +Inf in case not
53833         reachable for +Inf.
53834         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
53835         define.
53836         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
53837         and return -1 for them.  Do not check for +Inf in case not
53838         reachable for +Inf.
53839         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
53840         spurious underflow.
53841         * sysdeps/i386/fpu/libm-test-ulps: Update.
53842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53844 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
53846         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
53848 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
53850         [BZ #14157]
53851         [BZ #14331]
53852         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
53853         could result in spurious underflow.  Scale down values above
53854         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
53855         * math/s_csqrtf.c (__csqrtf): Likewise.
53856         * math/s_csqrtl.c (__csqrtl): Likewise.
53857         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
53858         spurious underflow.
53859         * sysdeps/i386/fpu/libm-test-ulps: Update.
53860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53862 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
53864         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
53865         xopen-msg.sed.
53866         * catgets/xopen-msg.awk: New file.
53867         * catgets/xopen-msg.sed: Removed.
53869         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
53870         po2text.sed.
53871         * intl/po2test.awk: New file.
53872         * intl/po2test.sed: Removed.
53874 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
53876         [BZ #14328]
53877         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
53878         or multiply small sinh result by itself.
53879         * math/s_ctanf.c (__ctanf): Likewise.
53880         * math/s_ctanh.c (__ctanh): Likewise.
53881         * math/s_ctanhf.c (__ctanhf): Likewise.
53882         * math/s_ctanhl.c (__ctanhl): Likewise.
53883         * math/s_ctanl.c (__ctanl): Likewise.
53884         * math/libm-test.inc (ctan_test_tonearest): New function.
53885         (ctan_test_towardzero): Likewise.
53886         (ctan_test_downward): Likewise.
53887         (ctan_test_upward): Likewise.
53888         (ctanh_test_tonearest): Likewise.
53889         (ctanh_test_towardzero): Likewise.
53890         (ctanh_test_downward): Likewise.
53891         (ctanh_test_upward): Likewise.
53892         (main): Call these new functions.
53893         * sysdeps/i386/fpu/libm-test-ulps: Update.
53894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53896 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
53898         * .gitignore: Delete /ports entry.
53900 2012-07-03  Andreas Jaeger  <aj@suse.de>
53902         * po/bg.po: Update from translation team.
53903         * po/cs.po: Likewise.
53904         * po/de.po: Likewise.
53905         * po/hr.po: Likewise.
53906         * po/nl.pl: Likewise.
53907         * po/pl.po: Likewise.
53908         * po/vi.po: Likewise.
53910 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
53912         * Makeconfig [!+link] (+link-before-libc): New variable.
53913         [!+link] (+link-after-libc): Likewise.
53914         [!+link] (+link-tests): Likewise.
53915         [!+link] (+link): Define in terms of $(+link-before-libc) and
53916         $(+link-after-libc).
53917         [!+link-static] (+link-static-before-libc): New variable.
53918         [!+link-static] (+link-static-after-libc): Likewise.
53919         [!+link-static] (+link-static-tests): Likewise.
53920         [!+link-static] (+link-static): Define in terms of
53921         $(+link-static-before-libc) and $(+link-static-after-libc).
53922         [build-shared] (link-libc-before-gnulib): New variable.
53923         [build-shared] (link-libc-tests): Likewise.
53924         [build-shared] (link-libc): Define in terms of
53925         $(link-libc-before-gnulib).
53926         [!build-shared] (link-libc-tests): New variable.
53927         (link-libc-static-tests): New variable.
53928         [!gnulib] (gnulib-arch): New variable.
53929         [!gnulib] (gnulib-tests): Likewise.
53930         [!gnulib] (static-gnulib-arch): Likewise.
53931         [!gnulib] (static-gnulib-tests): Likewise.
53932         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
53933         Define with "=" instead of ":=".
53934         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
53935         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
53936         * Rules (binaries-all-notests): New variable.
53937         (binaries-all-tests): Likewise.
53938         (binaries-static-notests): Likewise.
53939         (binaries-static-tests): Likewise.
53940         (binaries-all): Define using $(binaries-all-notests) and
53941         $(binaries-all-tests).
53942         (binaries-static): Define using $(binaries-static-notests) and
53943         $(binaries-static-tests).
53944         (binaries-shared-tests): New variable.
53945         (binaries-shared-notests): Likewise.
53946         (binaries-shared): Remove variable.
53947         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
53948         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
53949         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
53950         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
53951         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
53952         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
53953         * elf/Makefile (sln-modules): New variable.
53954         (extra-objs): Add $(sln-modules:=.o).
53955         (ldconfig-modules): Add static-stubs.
53956         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
53957         * elf/static-stubs.c: New file.
53959         [BZ #14283]
53960         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
53961         by 7 not 8 to examine high bit of fractional part.  Use volatile
53962         variables when splitting into final array of floats if
53963         __FLT_EVAL_METHOD__ != 0.
53964         * math/libm-test.inc (cos_test): Add another test.
53965         (sin_test): Likewise.
53966         * sysdeps/i386/fpu/libm-test-ulps: Update.
53968         [BZ #14273]
53969         * math/libm-test.inc (cosh_test): Add more tests.
53971         * version.h (RELEASE): Set to "development".
53972         (VERSION): Set to "2.16.90".
53974 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
53976         * NEWS: Update copyright. Remove last-updated date.
53977         Mention math library bug fixes and timezone data changes.
53978         * README: Mention GNU/Hurd, x32, and HPPA support status.
53980 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
53982         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
53984 2012-06-27  Andreas Jaeger  <aj@suse.de>
53986         * manual/contrib.texi (Contributors): Add Samuel Thibault.
53988 2012-06-25  Andreas Jaeger  <aj@suse.de>
53990         * sysdeps/s390/fpu/libm-test-ulps: Update.
53992 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
53993             Thomas Schwinge  <thomas@codesourcery.com>
53995         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
53996         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
53997         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
53998         fanotify_mark.
54000 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
54002         * sysdeps/mach/start.c: Remove file.
54003         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
54004         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
54005         * sysdeps/sh/init-first.c: Likewise.
54007         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
54008         registers for frame unwinding purposes, add CFI directives.
54009         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
54010         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
54011         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
54012         Likewise.
54014         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
54015         __fortify_fail returning.
54016         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
54018         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
54019         sysdeps/sh/____longjmp_chk.S.
54020         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
54021         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
54022         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
54023         (gen-as-const-headers): Append sigaltstack-offsets.sym.
54025         * sysdeps/sh/abort-instr.h: New file.
54026         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
54027         process in case exit returns.
54029         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
54030         initialize the GOT register before use.
54032         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
54033         calculation of ARGC > 4.
54035         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
54036         meaningful names to some local labels.
54038 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54039             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54041         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
54042         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
54043         (__arch_compare_and_exchange_val_16_acq): Likewise.
54044         (__arch_compare_and_exchange_val_32_acq): Likewise.
54045         (atomic_exchange_and_add): Fix gUSA sequence.
54046         (atomic_add): Likewise.
54047         (atomic_add_negative): Likewise.
54048         (atomic_add_zero): Likewise.
54049         (atomic_bit_test_set): Likewise.
54051 2012-06-22  Andreas Schwab  <schwab@redhat.com>
54053         [BZ #13579]
54054         * include/link.h (struct link_map): Add l_free_initfini.
54055         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
54056         l_initfini.
54057         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
54058         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
54059         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
54060         set.
54062 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
54064         * configure.in: Use AC_LANG_SOURCE.
54065         * configure: Regenerate.
54067 2012-06-22  Roland McGrath  <roland@hack.frob.com>
54069         * configure.in (libc_cv_localstatedir): New substituted variable.
54070         * configure: Regenerated.
54071         * config.make.in (localstatedir): New variable, substituted from
54072         libc_cv_localstatedir.
54073         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
54074         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
54075         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
54076         * sysdeps/gnu/configure: Regenerated.
54078 2012-06-21  Jeff Law  <law@redhat.com>
54080         [BZ #14277]
54081         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
54082         free.  Simplify list management for _LIBC case.
54084 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
54086         [BZ #14273]
54087         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
54088         Clear sign bit of 64-bit integer value before comparing against
54089         overflow value.
54091         * sysdeps/mach/configure: Regenerated.
54093 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
54095         [BZ #14278]
54096         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
54098 2012-06-21  Jeff Law  <law@redhat.com>
54100         [BZ #13882]
54101         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
54102         uint16_t for elements in the "seen" array to avoid char overflows.
54103         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54104         * elf/dl-open.c (dl_open_worker): Likewise.
54106 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
54108         * scripts/list-sources.sh: Scan PORTS for translations.
54109         * po/libc.pot: Regenerated.
54111 2012-06-21  Andreas Jaeger  <aj@suse.de>
54113         [BZ #12194]
54114         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
54115         warning.
54116         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
54117         * bits/byteswap-16.h (__bswap_16): Likewise.
54118         * bits/byteswap.h (__bswap_constant_16): Likewise.
54120 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
54122         [BZ #14117]
54123         * sysdeps/i386/fpu_control.h: Removed.
54124         * sysdeps/x86_64/fpu_control.h: Moved to ...
54125         * sysdeps/x86/fpu_control.h: Here.
54127         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
54128         (_FPU_SETCW): Likewise.
54130 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
54132         [BZ #14117]
54133         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
54134         * sysdeps/x86/fpu/bits/mathinline.h: This.
54135         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
54137         [BZ #14050]
54138         [BZ #14117]
54139         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
54140         functions if __x86_64__ is defined.
54142 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
54144         * string/endian.h: Add !__ASSEMBLER__ condition for including
54145         conversion interfaces.
54147 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
54149         [BZ #14241]
54150         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
54151         of ABS(x) in calculating zero to negative powers other than odd
54152         integers.
54153         * math/libm-test.inc (pow_test): Add more tests.
54155 2012-06-15  Andreas Jaeger  <aj@suse.de>
54157         * manual/contrib.texi (Contributors): Update entry of Liubov
54158         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
54159         Machado Filho.
54161 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
54163         * string/string.h: Add __wur to GNU version of strerror_r.
54165 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
54167         [BZ #14229]
54168         * string/Makefile (tests): Add tst-strtok_r.
54169         * string/tst-strtok_r.c: New file.
54170         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
54171         RAX_LP/RDX_LP on SAVE_PTR.
54173 2012-06-14  Roland McGrath  <roland@hack.frob.com>
54175         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
54177 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
54179         * libm_test.inc (csqrt_test): Allow more spurious underflow
54180         exceptions.
54181         (j0_test): Likewise.
54182         (j1_test): Likewise.
54183         (y0_test): Likewise.
54184         (y1_test): Likewise.
54186 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
54188         * po/Makefile (libc.pot): Use UTF-8 charset.
54190 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
54192         [BZ #14210]
54193         Suppress sign-conversion warning from FD_SET.
54194         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
54195         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
54196         not unsigned long int.
54197         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
54199 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
54201         [BZ #14050]
54202         [BZ #14117]
54203         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
54204         __extern_always_inline instead of __extern_inline.
54205         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
54206         (__signbit): Likewise.
54207         (__signbitl): Support C++ namespace.
54208         (lrintf): New inline function.
54209         (lrint): Likewise.
54210         (llrintf): Likewise.
54211         (llrint): Likewise.
54212         (fmaxf): Likewise.
54213         (fmax): Likewise.
54214         (fminf): Likewise.
54215         (fmin): Likewise.
54216         (rint): Likewise.
54217         (rintf): Likewise.
54218         (ceil): Likewise.
54219         (ceilf): Likewise.
54220         (floor): Likewise.
54221         (floorf): Likewise.
54222         (nearbyint): Likewise.
54223         (nearbyintf): Likewise.
54225 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
54227         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
54228         non-default versions.
54230 2012-06-11  Roland McGrath  <roland@hack.frob.com>
54232         [BZ #14218]
54233         * manual/argp.texi (Argp): Reword argp_parse description slightly.
54235 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
54237         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
54238         (FE_UPWARD, FE_DOWNWARD): Don't define.
54239         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
54240         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54242         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
54243         reading it.
54244         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54245         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54247 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54249         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54250         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
54251         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
54252         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
54254 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
54256         [BZ #14117]
54257         * sysdeps/i386/fpu/bits/fenv.h: Removed.
54258         * sysdeps/i386/fpu/Implies: New file.
54259         * sysdeps/x86_64/fpu/Implies: Likewise.
54260         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
54261         * sysdeps/x86/fpu/bits/fenv.h: This.
54263         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
54264         __SSE_MATH__.
54266 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54268         [BZ #14134]
54269         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
54270         character 0xffff that matches the last element of the
54271         conversion table.
54273 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54275         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
54276         fmodl commit.
54278 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54280         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
54281         values higher than 25.6283.
54283 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54285         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
54286         subnormal exponent extraction and add some __builtin_expect.
54287         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
54288         Fix for subnormal mantissa calculation.
54290 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
54292         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
54293         cpu2 is -1 and errno is not ENOSYS.
54295 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
54297         [BZ #14117]
54298         * sysdeps/i386/i486/bits/string.h: Renamed to ...
54299         * sysdeps/x86/bits/string.h: This.
54300         * sysdeps/x86_64/bits/string.h: Removed.
54302         * sysdeps/i386/i486/bits/string.h: Define inline functions only
54303         if not compiling for x86-64, but compiling for >= i486.
54305         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
54306         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
54308         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
54309         New macro from Linux kernel 3.4.0.
54310         (FP_XSTATE_MAGIC2): Likewise.
54311         (FP_XSTATE_MAGIC2_SIZE): Likewise.
54312         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
54313         (struct _fpx_sw_bytes): New struct.
54314         (struct _xsave_hdr): Likewise.
54315         (struct _ymmh_state): Likewise.
54316         (struct _xstate): Likewise.
54318         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
54319         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
54320         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
54321         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
54322         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
54323         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
54325         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
54326         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
54327         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
54328         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
54329         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
54330         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
54332 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54334         [BZ #13743]
54335         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
54336         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
54337         (sysdep_headers): Include sys/platform/ppc.h.
54338         * sysdeps/powerpc/test-gettimebase.c: Test for
54339         __ppc_get_timebase() to catch future ISA opcode/insn changes.
54340         * manual/Makefile (appendices): Include platform.texi.
54341         * manual/contrib.texi (Contributors): Update @node pointers.
54342         * manual/maint.texi (Maintenance): Likewise.
54343         (Platform): New node.
54344         * manual/platform.texi: New file.  Document the new features.
54346 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54347             Jakub Jelinek  <jakub@redhat.com>
54349         [BZ #14188]
54350         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
54351         where __builtin_expect is unavailable.
54353 2012-06-03  David S. Miller  <davem@davemloft.net>
54355         * stdlib/longlong.h: Updated from GCC.
54357 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
54359         [BZ #14042]
54360         * sysdeps/powerpc/powerpc32/mcount.c: New file.
54361         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
54362         __mcount_internal.
54363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
54364         (GLIBC_2.16): Likewise.
54366 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54368         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
54370 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
54373         (default-abi): New variable.
54374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
54375         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
54376         variable.
54377         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
54378         Likewise.
54379         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
54380         Likewise.
54381         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
54382         Likewise.
54384         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
54385         definition.  Document in comment.
54387 2012-06-01  David S. Miller  <davem@davemloft.net>
54389         * stdlib/longlong.h: Updated from GCC.
54391 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54393         [BZ #14117]
54394         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
54395         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
54396         sys/debugreg.h sys/io.h here.
54397         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
54398         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
54399         sys/io.h.
54400         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
54401         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
54402         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
54403         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
54404         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
54405         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
54407         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
54408         Define only if __x86_64__ is defined.
54410 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54412         [BZ #14048]
54413         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
54414         Use int64_t for variable i.
54415         * math/libm-test.inc (fmod_test): Add more tests.
54417         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
54418         z computation is not scheduled after fetestexcept.
54419         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
54420         Use math_force_eval instead of asm to ensure calculation scheduled
54421         before exception test.
54422         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
54423         Ensure a1 + u.d computation is not scheduled after fetestexcept.
54425 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
54427         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
54428         computation is not scheduled after fetestexcept.
54430 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54432         [BZ #14117]
54433         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
54434         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
54436 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54438         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
54439         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54441 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
54443         [BZ #14117]
54444         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
54445         <bits/wordsize.h>.
54446         (__WCHAR_MIN): Support __WORDSIZE == 64.
54447         (__WCHAR_MAX): Likewise.
54449         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
54450         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
54452         [BZ #14183]
54453         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
54454         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
54456         [BZ #14117]
54457         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
54458         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
54460         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
54461         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
54463         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
54464         Defined to 1 if __x86_64__ isn't defined.
54465         (_STAT_VER_LINUX_OLD): New.
54466         (st_atime): Remove duplicate.
54467         (st_mtime): Likewise.
54468         (st_ctime): Likewise.
54470 2012-05-31  David S. Miller  <davem@davemloft.net>
54472         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
54473         entries.
54475 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
54477         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
54478         gen-libm-test.pl.
54480         [BZ #14132]
54481         * elf/dl-reloc.c: Include <_itoa.h>.
54482         (_dl_reloc_bad_type): Remove use of INTUSE.
54483         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
54484         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
54485         * stdio-common/psiginfo.c (psiginfo): Likewise.
54486         * stdio-common/psignal.c (psignal): Likewise.
54487         * string/strsignal.c (strsignal): Likewise.
54488         * include/signal.h (_sys_siglist): Declare hidden proto.
54489         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
54490         INTVARDEF with libc_hidden_data_def.
54491         * stdio-common/itoa-udigits.c: Likewise.
54492         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
54493         (_itoa_lower_digits_internal): Remove declaration.
54494         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
54495         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
54496         (_sys_sigabbrev_internal): Remove aliases.
54497         (_sys_siglist): Define hidden alias.
54499 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
54501         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54502         bits/sysctl.h.
54504 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
54506         [BZ #14117]
54507         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
54508         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
54510         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
54511         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
54512         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
54513         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
54514         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
54515         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
54517         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
54518         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
54519         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
54521         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
54522         with __addr.
54523         (insw): Likewise.
54524         (insl): Likewise.
54525         (outsb): Likewise.
54526         (outsw): Likewise.
54527         (outsl): Likewise.
54529         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
54530         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
54531         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
54533         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
54534         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
54535         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
54536         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
54537         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
54538         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
54540         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
54541         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
54543         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
54544         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
54546         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
54547         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
54548         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
54550         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
54551         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
54552         to ...
54553         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
54555         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
54556         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
54557         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
54559         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
54560         for x86-64.
54561         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
54563 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
54565         * math/math.h (M_El): Use two more decimal places.
54566         (M_LOG2El): Likewise.
54567         (M_LOG10El): Likewise.
54568         (M_LN2l): Likewise.
54569         (M_LN10l): Likewise.
54570         (M_PIl): Likewise.
54571         (M_PI_2l): Likewise.
54572         (M_PI_4l): Likewise.
54573         (M_1_PIl): Likewise.
54574         (M_2_PIl): Likewise.
54575         (M_2_SQRTPIl): Likewise.
54576         (M_SQRT2l): Likewise.
54577         (M_SQRT1_2l): Likewise.
54579 2012-05-31  David S. Miller  <davem@davemloft.net>
54581         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
54582         values between float registers.
54583         * sysdeps/sparc/sparc64/memset.S: Likewise.
54584         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54586 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
54588         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
54589         -D_FORTIFY_SOURCE=1.
54590         (CPPFLAGS-tst-longjmp_chk.c): Define.
54591         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
54592         (CPPFLAGS-tst-longjmp_chk2.c): Define.
54593         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
54594         CFLAGS-tst-wchar-h.c.
54596 2012-05-31  Marek Polacek  <polacek@redhat.com>
54598         [BZ #14132]
54599         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
54600         __endmntent_internal): Remove declaration.
54601         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
54602         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
54603         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
54605 2012-05-30  David S. Miller  <davem@davemloft.net>
54607         * sysdeps/sparc/sparc32/soft-fp/q_util.c
54608         (___Q_simulate_exceptions): Use real FP ops rather than writing
54609         into the %fsr.
54610         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
54611         Likewise.
54613 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54615         [BZ #14117]
54616         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
54617         * sysdeps/x86/bits/xtitypes.h: This.
54619         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
54620         * sysdeps/x86/bits/wordsize.h: This.
54622         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
54623         * sysdeps/x86/bits/huge_vall.h: This.
54625         * sysdeps/i386/bits/select.h: Removed.
54626         * sysdeps/x86_64/bits/select.h: Renamed to ...
54627         * sysdeps/x86/bits/select.h: This.
54629         * sysdeps/i386/bits/setjmp.h: Removed.
54630         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
54631         * sysdeps/x86/bits/setjmp.h: This.
54633         * sysdeps/i386/bits/mathdef.h: Removed.
54634         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
54635         * sysdeps/x86/bits/mathdef.h: This.
54637 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
54639         [BZ #14132]
54640         * include/sys/socket.h (__connect_internal)
54641         (__libc_sa_len_internal): Remove declaration.
54642         (__connect, __libc_sa_len): Declare hidden_proto.
54643         (SA_LEN): Remove use of INTUSE.
54644         * socket/connect.c: Add libc_hidden_def.
54645         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
54646         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
54647         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
54648         alias.
54649         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
54650         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
54651         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
54652         of adding _internal alias.
54654 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54656         [BZ #14117]
54657         * sysdeps/i386/bits/link.h: Removed.
54658         * sysdeps/i386/bits/linkmap.h: Likewise.
54659         * sysdeps/x86_64/bits/link.h: Renamed to ...
54660         * sysdeps/x86/bits/link.h: This.
54661         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
54662         * sysdeps/x86/bits/linkmap.h: This.
54664         * sysdeps/i386/bits/endian.h: Removed.
54665         * sysdeps/x86_64/bits/endian.h: Renamed to ...
54666         * sysdeps/x86/bits/endian.h: This.
54668         * sysdeps/i386/bits/byteswap.h: Removed.
54669         * sysdeps/i386/bits/byteswap-16.h: Likewise.
54670         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
54671         * sysdeps/x86/bits/byteswap.h: This.
54672         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
54673         * sysdeps/x86/bits/byteswap-16.h: This.
54674         * sysdeps/i386/Implies: Add x86.
54675         * sysdeps/x86_64/Implies: Likewise.
54677 2012-05-30  David S. Miller  <davem@davemloft.net>
54679         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
54680         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
54681         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
54682         (FP_TRAPPING_EXCEPTIONS): Define.
54683         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
54684         (FP_TRAPPING_EXCEPTIONS): Define.
54685         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
54686         subnormals only when inexact has been signalled or underflow
54687         exceptions are enabled.
54688         (_FP_PACK_CANONICAL): Likewise.
54690 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54692         [BZ #14183]
54693         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
54694         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
54696 2012-05-30  Richard Henderson  <rth@twiddle.net>
54698         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
54699         with #ifndef NOT_IN_libc.
54701         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
54702         marked to avoid plt entry.
54704 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54706         [BZ #14112]
54707         * Makeconfig (default-abi): New macro.
54708         (abi-includes): Likewise.
54709         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
54710         $(abi-$(default-abi)-lib-soname) for soname if defined.
54711         ($(common-objpfx)gnu/lib-names.stmp): Generate from
54712         abi-variants.
54713         * Makefile (installed-stubs): Likewise.
54714         * include/stubs-biarch.h: Removed.
54715         * scripts/lib-names.awk: Only handle one library at a time.
54716         * scripts/soversions.awk: Remove WORDSIZE support.
54717         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
54718         entries.
54719         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
54720         Removed.
54721         (syscall-list-default-condition): Likewise.
54722         (syscall-list-default-condition): Likewise.
54723         (syscall-list-includes): Likewise.
54724         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
54725         syscall-list-* with abi-*.  Handle undefined abi-variants.
54726         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
54727         * sysdeps/unix/sysv/linux/i386/Implies: New file.
54728         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
54729         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
54730         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
54731         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
54732         Removed.
54733         (syscall-list-32-options): Likewise.
54734         (syscall-list-32-condition): Likewise.
54735         (syscall-list-64-options): Likewise.
54736         (syscall-list-64-condition): Likewise.
54737         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
54738         macro.
54739         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
54740         Renamed to ...
54741         (abi-*): This.
54742         (abi-64-ld-soname): New macro.
54743         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
54744         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
54745         Renamed to ...
54746         (abi-*): This.
54747         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
54748         * sysdeps/x86_64/x32/shlib-versions: Likewise.
54750 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
54752         * sysdeps/unix/sysv/linux/kernel-features.h
54753         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
54754         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
54755         include <kernel-features.h>.
54756         [!__NR_ftruncate64]: Remove conditional code.
54757         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54758         [__NR_ftruncate64]: Make code unconditional.
54759         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54760         * sysdeps/unix/sysv/linux/truncate64.c: Do not
54761         include <kernel-features.h>.
54762         [!__NR_ftruncate64]: Remove conditional code.
54763         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54764         [__NR_ftruncate64]: Make code unconditional.
54765         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
54767         include <kernel-features.h>.
54768         [!__NR_ftruncate64]: Remove conditional code.
54769         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54770         [__NR_ftruncate64]: Make code unconditional.
54771         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54773         include <kernel-features.h>.
54774         [!__NR_ftruncate64]: Remove conditional code.
54775         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54776         [__NR_ftruncate64]: Make code unconditional.
54777         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54779         * configure.in (libc_cv_fpie): Weaken to a compile test using
54780         LIBC_TRY_CC_OPTION.
54781         * configure: Regenerated.
54783 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
54786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
54787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
54788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54789         Refreshed.
54790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
54791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
54792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
54793         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
54794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
54795         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54796         Refreshed.
54798 2012-05-27  David S. Miller  <davem@davemloft.net>
54800         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
54801         (___Q_zero): New.
54802         (__Q_simulate_exceptions): Return void.  Change to simulate
54803         exceptions by writing into the %fsr.
54804         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
54805         (__Qp_handle_exceptions): Likewise.
54806         (numbers): Delete.
54807         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
54808         __Qp_handle_exceptions.
54809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
54810         __Qp_handle_exceptions.
54811         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
54812         as unused and give dummy FP_RND_NEAREST initializer.
54813         (FP_INHIBIT_RESULTS): Define.
54814         (___Q_simulate_exceptions): Update declaration.
54815         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
54816         formatting.
54817         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
54818         as unused and give dummy FP_RND_NEAREST initializer.
54819         (__Qp_handle_exceptions): Update declaration.
54820         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
54821         formatting.
54823 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
54825         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
54826         the temporary FPU control word.
54827         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
54828         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
54829         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
54830         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54831         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
54832         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
54833         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
54834         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54835         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
54836         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
54837         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54839 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54841         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
54842         fields.
54844 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
54846         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
54847         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
54848         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
54849         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
54850         Likewise.
54851         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
54852         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
54853         Likewise.
54855 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
54857         * po/h.po: Update from translation team.
54859 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
54861         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
54863         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
54864         handling of denormals.
54865         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
54866         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
54867         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
54868         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
54869         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54870         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
54871         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
54872         Likewise.
54874 2012-05-26  Marek Polacek  <polacek@redhat.com>
54876         [BZ #14152]
54877         * math/libm-test.inc (fma_test): Don't always expect underflow
54878         exception.
54880 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54882         [BZ #12416]
54883         * elf/tst-execstack.c: Include stackinfo.h.
54884         (do_test): Adjust test case to ensure that pthread_getattr_np
54885         behaviour remains the same after marking stack executable.
54887 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54889         * sysdeps/unix/sysv/linux/kernel-features.h
54890         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
54891         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
54892         kernel-features.h.
54893         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54894         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54895         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
54896         kernel-features.h.
54897         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54898         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54900 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
54902         * configure.in: Define the default includes to being none.
54903         * configure: Regenerated.
54905 2012-05-25  Roland McGrath  <roland@hack.frob.com>
54907         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
54908         * sysdeps/x86_64/setjmp.S: Likewise.
54909         * sysdeps/i386/bsd-setjmp.S: Likewise.
54910         * sysdeps/i386/bsd-_setjmp.S: Likewise.
54911         * sysdeps/i386/setjmp.S: Likewise.
54912         * sysdeps/i386/__longjmp.S: Likewise.
54913         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
54914         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
54916         * include/stap-probe.h: New file.
54917         * configure.in: Handle --enable-systemtap.
54918         * configure: Regenerated.
54919         * config.h.in (USE_STAP_PROBE): New #undef.
54920         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
54921         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
54922         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
54924 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54926         [BZ #13717]
54927         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
54928         to 2.4.0 where earlier.
54929         * sysdeps/unix/sysv/linux/configure: Regenerated.
54930         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54931         <kernel-features.h>.
54932         [__ASSUME_32BITUIDS]: Make code unconditional.
54933         [!__ASSUME_32BITUIDS]: Remove conditional code.
54934         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
54935         <kernel-features.h>.
54936         [__ASSUME_32BITUIDS]: Make code unconditional.
54937         [!__ASSUME_32BITUIDS]: Remove conditional code.
54938         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
54939         [__ASSUME_32BITUIDS]: Make code unconditional.
54940         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
54941         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
54942         <kernel-features.h>.
54943         [__ASSUME_32BITUIDS]: Make code unconditional.
54944         [!__ASSUME_32BITUIDS]: Remove conditional code.
54945         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
54946         <kernel-features.h>.
54947         [__ASSUME_32BITUIDS]: Make code unconditional.
54948         [!__ASSUME_32BITUIDS]: Remove conditional code.
54949         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
54950         <kernel-features.h>.
54951         [__ASSUME_32BITUIDS]: Make code unconditional.
54952         [!__ASSUME_32BITUIDS]: Remove conditional code.
54953         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
54954         <kernel-features.h>.
54955         [__ASSUME_32BITUIDS]: Make code unconditional.
54956         [!__ASSUME_32BITUIDS]: Remove conditional code.
54957         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54958         <kernel-features.h>.
54959         [__ASSUME_32BITUIDS]: Make code unconditional.
54960         [!__ASSUME_32BITUIDS]: Remove conditional code.
54961         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54962         <kernel-features.h>.
54963         [__ASSUME_32BITUIDS]: Make code unconditional.
54964         [!__ASSUME_32BITUIDS]: Remove conditional code.
54965         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
54966         <kernel-features.h>.
54967         [__ASSUME_32BITUIDS]: Make code unconditional.
54968         [!__ASSUME_32BITUIDS]: Remove conditional code.
54969         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
54970         <kernel-features.h>.
54971         [__ASSUME_32BITUIDS]: Make code unconditional.
54972         [!__ASSUME_32BITUIDS]: Remove conditional code.
54973         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54974         <kernel-features.h>.
54975         [__ASSUME_32BITUIDS]: Make code unconditional.
54976         [!__ASSUME_32BITUIDS]: Remove conditional code.
54977         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
54978         <kernel-features.h>.
54979         [__ASSUME_32BITUIDS]: Make code unconditional.
54980         [!__ASSUME_32BITUIDS]: Remove conditional code.
54981         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
54982         <kernel-features.h>.
54983         [__NR_setresgid] (__setresgid): Do not declare.
54984         [__ASSUME_32BITUIDS]: Make code unconditional.
54985         [!__ASSUME_32BITUIDS]: Remove conditional code.
54986         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
54987         <kernel-features.h>.
54988         [__NR_setresuid] (__setresuid): Do not declare.
54989         [__ASSUME_32BITUIDS]: Make code unconditional.
54990         [!__ASSUME_32BITUIDS]: Remove conditional code.
54991         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
54992         <kernel-features.h>.
54993         [__ASSUME_32BITUIDS]: Make code unconditional.
54994         [!__ASSUME_32BITUIDS]: Remove conditional code.
54995         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
54996         <kernel-features.h>.
54997         [__ASSUME_32BITUIDS]: Make code unconditional.
54998         [!__ASSUME_32BITUIDS]: Remove conditional code.
54999         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
55000         <kernel-features.h>.
55001         [__ASSUME_32BITUIDS]: Make code unconditional.
55002         [!__ASSUME_32BITUIDS]: Remove conditional code.
55003         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
55004         <kernel-features.h>.
55005         [__ASSUME_32BITUIDS]: Make code unconditional.
55006         [!__ASSUME_32BITUIDS]: Remove conditional code.
55007         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
55008         <kernel-features.h>.
55009         [__ASSUME_32BITUIDS]: Make code unconditional.
55010         [!__ASSUME_32BITUIDS]: Remove conditional code.
55011         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
55012         <kernel-features.h>.
55013         [__ASSUME_32BITUIDS]: Make code unconditional.
55014         [!__ASSUME_32BITUIDS]: Remove conditional code.
55015         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
55016         <kernel-features.h>.
55017         [__ASSUME_32BITUIDS]: Make code unconditional.
55018         [!__ASSUME_32BITUIDS]: Remove conditional code.
55019         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
55020         <kernel-features.h>.
55021         [__ASSUME_32BITUIDS]: Make code unconditional.
55022         [!__ASSUME_32BITUIDS]: Remove conditional code.
55023         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
55024         <kernel-features.h>.
55025         [__ASSUME_32BITUIDS]: Make code unconditional.
55026         [!__ASSUME_32BITUIDS]: Remove conditional code.
55027         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55028         <kernel-features.h>.
55029         [__ASSUME_32BITUIDS]: Make code unconditional.
55030         [!__ASSUME_32BITUIDS]: Remove conditional code.
55031         * sysdeps/unix/sysv/linux/kernel-features.h
55032         (__ASSUME_SETRESUID_SYSCALL): Remove.
55033         (__ASSUME_SETRESGID_SYSCALL): Likewise.
55034         (__ASSUME_32BITUIDS): Likewise.
55035         (__ASSUME_LDT_WORKS): Likewise.
55036         (__ASSUME_O_DIRECTORY): Likewise.
55037         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
55038         architecture but not kernel version.
55039         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
55040         (__ASSUME_MMAP2_SYSCALL): Likewise.
55041         (__ASSUME_STAT64_SYSCALL): Likewise.
55042         (__ASSUME_IPC64): Likewise.
55043         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
55044         <kernel-features.h>.
55045         [__ASSUME_32BITUIDS]: Make code unconditional.
55046         [!__ASSUME_32BITUIDS]: Remove conditional code.
55047         * sysdeps/unix/sysv/linux/opendir.c: Do not include
55048         <kernel-features.h>.
55049         [__ASSUME_O_DIRECTORY]: Make code unconditional.
55050         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
55051         132096]: Remove conditional code.
55052         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
55053         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55054         <kernel-features.h>.
55055         [__ASSUME_32BITUIDS]: Make code unconditional.
55056         [!__ASSUME_32BITUIDS]: Remove conditional code.
55057         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55058         <kernel-features.h>.
55059         [__ASSUME_32BITUIDS]: Make code unconditional.
55060         [!__ASSUME_32BITUIDS]: Remove conditional code.
55061         * sysdeps/unix/sysv/linux/setegid.c: Do not include
55062         <kernel-features.h>.
55063         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
55064         unconditional.
55065         (__setresgid): Do not declare.
55066         [__ASSUME_32BITUIDS]: Make code unconditional.
55067         [!__ASSUME_32BITUIDS]: Remove conditional code.
55068         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
55069         <kernel-features.h>.
55070         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
55071         unconditional.
55072         (__setresuid): Do not declare.
55073         [__ASSUME_32BITUIDS]: Make code unconditional.
55074         [!__ASSUME_32BITUIDS]: Remove conditional code.
55075         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55076         <kernel-features.h>.
55077         [__ASSUME_32BITUIDS]: Make code unconditional.
55078         [!__ASSUME_32BITUIDS]: Remove conditional code.
55079         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
55080         <kernel-features.h>.
55081         [__ASSUME_32BITUIDS]: Make code unconditional.
55082         [!__ASSUME_32BITUIDS]: Remove conditional code.
55084 2012-05-25  Richard Henderson  <rth@twiddle.net>
55086         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
55087         dl_hwcap to ifunc resolver.
55088         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
55089         elf_ifunc_invoke.
55090         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
55091         dl_hwcap to ifunc resolver.
55092         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
55094 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55096         [BZ #14153]
55097         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
55098         for |x| <= 2**-26, not 2**-57.
55099         * math/libm-test.inc (acos_test): Do not allow spurious underflow
55100         exception.
55102 2012-05-24  Jeff Law  <law@redhat.com>
55104         * stdio-common/Makefile (tests): Add bug25.
55105         * stdio-common/bug25.c: New test.
55107 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
55109         [BZ #13576]
55110         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
55111         multiple of MALLOC_ALIGNMENT in size.
55112         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
55114 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55116         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
55117         Require >= 256.
55118         (FILENAME_MAX): Use macro-int-constant.
55119         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
55120         (_IOFBF): Use macro-int-constant.
55121         (_IOLBF): Likewise.
55122         (_IONBF): Likewise.
55123         (SEEK_CUR): Likewise.
55124         (SEEK_END): Likewise.
55125         (SEEK_SET): Likewise.
55126         (TMP_MAX): Likewise.
55127         (EOF): Use macro-int-constant.  Require < 0.
55128         (NULL): Use macro-constant.  Require == 0.
55129         (stdin): Require type to be FILE *.
55130         (stdout): Likewise.
55131         (stderr): Likewise.
55132         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
55133         macro-int-constant.
55134         (EXIT_SUCCESS): Likewise.
55135         (NULL): Use macro-constant.  Require == 0.
55136         (RAND_MAX): Use macro-int-constant.
55137         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
55138         [C99-based standards] (strtof): Require function.
55139         [C99-based standards] (strtold): Likewise.
55140         [C99-based standards] (strtoll): Likewise.
55141         [C99-based standards] (strtoull): Likewise.
55142         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55143         [ISO || ISO99 || ISO11] (limits.h): Likewise.
55144         [ISO || ISO99 || ISO11] (math.h): Likewise.
55145         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
55146         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55147         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55149 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
55151         [BZ #14132]
55152         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
55153         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
55154         * intl/dgettext.c (DCGETTEXT): Likewise.
55155         * intl/gettext.c (DCGETTEXT): Likewise.
55156         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
55157         * posix/regex_internal.h (gettext): Likewise.
55158         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
55159         Remove declaration.
55160         * include/argz.h (__argz_count_internal)
55161         (__argz_stringify_internal): Remove declaration.
55162         (__argz_count, __argz_stringify): Declare hidden proto.
55163         * intl/dcgettext.c: Remove use of INTDEF.
55164         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
55165         * string/argz-stringify.c: Likewise.
55166         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55167         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55168         Declare hidden proto.
55169         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55170         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55171         Declare hidden proto.
55172         * include/stdio.h (__asprintf_internal): Don't declare.
55173         (__asprintf): Don't define as macro.  Declare hidden proto.
55174         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
55175         (__fsetlocking): Declare hidden proto.
55176         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
55177         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
55178         hidden proto.
55179         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
55180         (_IO_setlinebuf): Remove use of INTUSE.
55181         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
55182         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
55183         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
55184         Remove declaration.
55185         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
55186         (_IO_do_flush): Remove use of INTUSE.
55187         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
55188         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
55189         (_IO_adjust_column, _IO_least_wmarker)
55190         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
55191         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
55192         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
55193         (_IO_default_doallocate, _IO_wdefault_doallocate)
55194         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
55195         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
55196         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
55197         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
55198         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
55199         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
55200         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
55201         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
55202         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
55203         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
55204         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
55205         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
55206         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
55207         proto.
55208         (_IO_flush_all_internal, _IO_adjust_column_internal)
55209         (_IO_default_uflow_internal, _IO_default_finish_internal)
55210         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
55211         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
55212         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
55213         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
55214         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
55215         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
55216         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
55217         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
55218         (_IO_file_close_internal, _IO_file_close_it_internal)
55219         (_IO_file_underflow_internal, _IO_file_overflow_internal)
55220         (_IO_file_init_internal, _IO_file_attach_internal)
55221         (_IO_file_fopen_internal, _IO_file_read_internal)
55222         (_IO_file_sync_internal, _IO_file_seek_internal)
55223         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
55224         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
55225         (_IO_str_underflow_internal, _IO_str_overflow_internal)
55226         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
55227         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
55228         (_IO_list_all_internal, _IO_link_in_internal)
55229         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
55230         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
55231         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
55232         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
55233         (_IO_do_write_internal, _IO_padn_internal)
55234         (_IO_getline_info_internal, _IO_getline_internal)
55235         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
55236         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
55237         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
55238         (_IO_vfscanf_internal, _IO_vfprintf_internal)
55239         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
55240         (_IO_init_internal, _IO_un_link_internal): Don't declare.
55241         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
55242         with libc_hidden_ver, remove use of INTUSE.
55243         * libio/genops.c: Likewise.
55244         * libio/freopen.c: Likewise.
55245         * libio/freopen64.c: Likewise.
55246         * libio/iofclose.c: Likewise.
55247         * libio/iofdopen.c: Likewise.
55248         * libio/iofflush.c: Likewise.
55249         * libio/iofflush_u.c: Likewise.
55250         * libio/iofgets.c: Likewise.
55251         * libio/iofgets_u.c: Likewise.
55252         * libio/iofopen.c: Likewise.
55253         * libio/iofopncook.c: Likewise.
55254         * libio/iofread.c: Likewise.
55255         * libio/iofread_u.c: Likewise.
55256         * libio/ioftell.c: Likewise.
55257         * libio/iofwrite.c: Likewise.
55258         * libio/iogetline.c: Likewise.
55259         * libio/iogets.c: Likewise.
55260         * libio/iogetwline.c: Likewise.
55261         * libio/iopadn.c: Likewise.
55262         * libio/iopopen.c: Likewise.
55263         * libio/ioseekoff.c: Likewise.
55264         * libio/ioseekpos.c: Likewise.
55265         * libio/iosetbuffer.c: Likewise.
55266         * libio/iosetvbuf.c: Likewise.
55267         * libio/ioungetc.c: Likewise.
55268         * libio/ioungetwc.c: Likewise.
55269         * libio/iovdprintf.c: Likewise.
55270         * libio/iovsprintf.c: Likewise.
55271         * libio/iovsscanf.c: Likewise.
55272         * libio/memstream.c: Likewise.
55273         * libio/obprintf.c: Likewise.
55274         * libio/oldfileops.c: Likewise.
55275         * libio/oldiofclose.c: Likewise.
55276         * libio/oldiofdopen.c: Likewise.
55277         * libio/oldiofopen.c: Likewise.
55278         * libio/oldiopopen.c: Likewise.
55279         * libio/oldstdfiles.c: Likewise.
55280         * libio/putc.c: Likewise.
55281         * libio/setbuf.c: Likewise.
55282         * libio/setlinebuf.c: Likewise.
55283         * libio/stdfiles.c: Likewise.
55284         * libio/strops.c: Likewise.
55285         * libio/vasprintf.c: Likewise.
55286         * libio/vscanf.c: Likewise.
55287         * libio/vsnprintf.c: Likewise.
55288         * libio/vswprintf.c: Likewise.
55289         * libio/wfiledoalloc.c: Likewise.
55290         * libio/wfileops.c: Likewise.
55291         * libio/wgenops.c: Likewise.
55292         * libio/wmemstream.c: Likewise.
55293         * libio/wstrops.c: Likewise.
55294         * libio/__fpurge.c: Likewise.
55295         * libio/__fsetlocking.c: Likewise.
55296         * assert/assert.c: Likewise.
55297         * debug/fgets_chk.c: Likewise.
55298         * debug/fgets_u_chk.c: Likewise.
55299         * debug/fread_chk.c: Likewise.
55300         * debug/fread_u_chk.c: Likewise.
55301         * debug/gets_chk.c: Likewise.
55302         * debug/obprintf_chk.c: Likewise.
55303         * debug/vasprintf_chk.c: Likewise.
55304         * debug/vdprintf_chk.c: Likewise.
55305         * debug/vsnprintf_chk.c: Likewise.
55306         * debug/vsprintf_chk.c: Likewise.
55307         * malloc/mtrace.c: Likewise.
55308         * misc/error.c: Likewise.
55309         * misc/syslog.c: Likewise.
55310         * stdio-common/asprintf.c: Likewise.
55311         * stdio-common/fxprintf.c: Likewise.
55312         * stdio-common/getw.c: Likewise.
55313         * stdio-common/isoc99_fscanf.c: Likewise.
55314         * stdio-common/isoc99_scanf.c: Likewise.
55315         * stdio-common/isoc99_vfscanf.c: Likewise.
55316         * stdio-common/isoc99_vscanf.c: Likewise.
55317         * stdio-common/isoc99_vsscanf.c: Likewise.
55318         * stdio-common/printf-prs.c: Likewise.
55319         * stdio-common/printf_fp.c: Likewise.
55320         * stdio-common/printf_fphex.c: Likewise.
55321         * stdio-common/printf_size.c: Likewise.
55322         * stdio-common/putw.c: Likewise.
55323         * stdio-common/scanf.c: Likewise.
55324         * stdio-common/sprintf.c: Likewise.
55325         * stdio-common/tmpfile.c: Likewise.
55326         * stdio-common/vfprintf.c: Likewise.
55327         * stdio-common/vfscanf.c: Likewise.
55328         * stdlib/strfmon_l.c: Likewise.
55329         * sunrpc/openchild.c: Likewise.
55330         * sunrpc/xdr_stdio.c: Likewise.
55331         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
55332         * sysdeps/mach/hurd/tmpfile.c: Likewise.
55334 2012-05-24  Roland McGrath  <roland@hack.frob.com>
55336         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55338         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
55339         in the third column, to generate for the shared library an IFUNC
55340         that uses _dl_vdso_vsym.
55341         * Makerules (COMPILE.c, compile-stdin.c): New variables.
55342         * Makeconfig (object-suffixes-noshared): New variable.
55344         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
55345         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
55346         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
55347         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
55349         [BZ #14132]
55350         * include/sys/time.h (__gettimeofday): Remove macro.
55351         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
55352         * time/gettimeofday.c (__gettimeofday): Remove #undef.
55353         Remove INTDEF.
55354         (__gettimeofday): Add libc_hidden_def.
55355         (gettimeofday): Add libc_hidden_weak.
55356         * sysdeps/mach/gettimeofday.c: Likewise.
55357         * sysdeps/posix/gettimeofday.c: Likewise.
55358         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
55359         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
55360         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
55361         (__gettimeofday_internal): Remove strong_alias.
55362         (__gettimeofday): Add libc_hidden_def.
55363         (gettimeofday): Add libc_hidden_weak.
55364         * sysdeps/unix/syscalls.list (gettimeofday):
55365         Remove __gettimeofday_internal alias.
55367 2012-05-24  Daniel Jacobowitz  <drow@false.org>
55368             H.J. Lu  <hongjiu.lu@intel.com>
55370         [BZ #12495]
55371         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
55372         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
55373         (largebin_index_32_big): New.
55374         (largebin_index): Use it for 16-byte alignment.
55375         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
55376         correction with front_misalign.
55378 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
55380         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
55381         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
55382         Likewise.
55383         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
55384         Likewise.
55385         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55386         Likewise.
55387         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
55388         Likewise.
55389         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
55390         Likewise.
55391         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
55392         Likewise.
55393         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
55394         Likewise.
55395         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
55396         Likewise.
55397         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
55398         Likewise.
55399         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
55400         Likewise.
55401         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
55402         Likewise.
55403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
55404         Likewise.
55406         * scripts/data/c++-types-x32-linux-gnu.data: New file.
55407         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
55409 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55411         [BZ #10846]
55412         [BZ #14036]
55413         * math/libm-test.inc (exp_test): Add test from bug 14036.
55414         (pow_test): Add test from bug 10846.
55416         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
55417         and other flags.
55418         (special_function): Do not include flags in test name.
55419         (parse_args): Likewise.
55420         * sysdeps/i386/fpu/libm-test-ulps: Update.
55421         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55422         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55423         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55426         * math/gen-libm-test.pl (%beautify): Add entries for underflow
55427         exceptions.
55428         * math/libm-test.inc ("Philosophy"): Update comment about
55429         exception testing.
55430         (UNDERFLOW_EXCEPTION): New macro.
55431         (UNDERFLOW_EXCEPTION_OK): Likewise.
55432         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
55433         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
55434         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
55435         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
55436         (INVALID_EXCEPTION_OK): Update value.
55437         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55438         (OVERFLOW_EXCEPTION_OK): Likewise.
55439         (IGNORE_ZERO_INF_SIGN): Likewise.
55440         (test_exceptions): Handle underflow exceptions.
55441         (acos_test): Update for underflow exception expectations.
55442         (cexp_test): Likewise.
55443         (clog_test): Likewise.
55444         (clog10_test): Likewise.
55445         (csqrt_test): Likewise.
55446         (ctan_test): Likewise.
55447         (ctanh_test): Likewise.
55448         (exp_test): Likewise.
55449         (exp10_test): Likewise.
55450         (exp2_test): Likewise.
55451         (expm1_test): Likewise.
55452         (fma_test): Likewise.
55453         (j0_test): Likewise.
55454         (jn_test): Likewise.
55455         (nexttoward_test): Likewise.
55456         (pow_test): Likewise.
55457         (scalbn_test): Likewise.
55458         (scalbln_test): Likewise.
55459         (tan_test): Likewise.
55460         (y1_test): Likewise.
55461         * sysdeps/i386/fpu/libm-test-ulps: Update.
55462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55464 2012-05-23  David S. Miller  <davem@davemloft.net>
55466         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
55467         (__libc_sigaction): Remove unused local variables.
55469 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55471         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
55473 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
55475         mktime: avoid signed integer overflow
55476         * time/mktime.c (__mktime_internal): Do not mishandle the case
55477         where diff == INT_MIN.
55479         mktime: simplify computation of average
55480         * time/mktime.c (ranged_convert): Use new time_t_avg function
55481         instead of rolling our own (probably-slower) code.
55483         mktime: do not assume signed right shift propagates sign bit
55484         * time/mktime.c (isdst_differ): New static function.
55485         (__mktime_internal): No need to normalize tm_isdst now.
55486         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
55487         tm_isdst values.
55489         mktime: merge another wrapv change from gnulib
55490         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
55491         from some compilers.
55493         mktime: remove incorrect attempt at unusual arithmetics
55494         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
55495         The code didn't really work on such machines anyway.
55496         (TYPE_MINIMUM): Assume two's complement.
55497         (twos_complement_arithmetic): Verify that long_int and time_t
55498         are two's complement (or unsigned, in the latter case).
55500         mktime: check signed shifts on long_int and time_t, too
55501         * time/mktime.c (SHR): Check that shifts work as desired
55502         on the types long_int and time_t too, as SHR is used on
55503         such types.
55505         mktime: do not assume 'long' is wide enough
55506         * time/mktime.c (verify): Move decl up.
55507         (long_int): New type.
55508         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
55509         to remove assumption in the code that 'long' is wide enough to
55510         store year values.  This assumption is not true on x32 and on
55511         some non-glibc platforms.
55513         mktime: merge wrapv change from gnulib
55514         * time/mktime.c (WRAPV): New macro.
55515         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
55516         (guess_time_tm, __mktime_internal): Do not assume that signed
55517         integer overflow wraps around; modern compilers generate code
55518         where this assumption is no longer valid.
55520 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55522         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
55523         Replace "jmp L(pseudo_end)" with "ret".
55524         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
55525         Likewise.
55527 2012-05-23  Andreas Jaeger  <aj@suse.de>
55529         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
55530         * sysdeps/unix/sysv/linux/poll.c: Remove file.
55532 2012-05-23  Andreas Jaeger  <aj@suse.de>
55533             Maximilian Attems  <max@stro.at>
55535         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
55536         New macros.
55538 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55540         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
55541         code so that pseudo_end is just ret and the stack pointer is
55542         correct also for static library in error case.
55544 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
55546         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
55547         move to syscalls.list.
55548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
55549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
55550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
55551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
55553         * manual/install.texi (Running make install): Do not mention Linux
55554         kernel version for which pt_chown is not needed.
55555         (Linux): Do not mention problems with nscd with 2.0 kernels.
55556         * INSTALL: Regenerated.
55558 2012-05-23  Andreas Jaeger  <aj@suse.de>
55560         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
55561         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
55562         macro.
55563         * sysdeps/unix/sysv/linux/s390/bits/mman.h
55564         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55565         * sysdeps/unix/sysv/linux/sh/bits/mman.h
55566         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55567         * sysdeps/unix/sysv/linux/i386/bits/mman.h
55568         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55569         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
55570         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55571         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
55572         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55573         * sysdeps/unix/sysv/linux/bits/in.h
55574         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
55576 2012-05-22  Roland McGrath  <roland@hack.frob.com>
55578         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
55579         (PREPARE_VERSION): Just use assert instead, it will be elided
55580         under [NDEBUG] anyway.
55582 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55584         * sysdeps/unix/sysv/linux/Makefile: Include
55585         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
55586         (sysdep_routines): Remove sysctl.
55587         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
55588         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
55589         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
55590         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
55591         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
55593 2012-05-22  Andreas Jaeger  <aj@suse.de>
55595         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
55596         that pseudo_end is just ret and the stack pointer is correct also
55597         for static library in error case.
55599 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
55601         [BZ #14122]
55602         * nss/nsswitch.c (defconfig_entries): New variable.
55603         (__nss_database_lookup): Don't leak defconfig entries.
55604         (nss_parse_service_list): Don't leak on error paths.
55605         (free_database_entries): New function.
55606         (free_defconfig): New function.
55607         (free_mem): Move common code to free_database_entries.
55609 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55611         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
55612         Add arch_prctl.
55613         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
55615         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
55616         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
55617         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
55618         New macro.
55619         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
55620         (INTERNAL_SYSCALL_TYPES): Likewise.
55621         (LOAD_ARGS_TYPES_[1-6]): Likewise.
55622         (LOAD_REGS_TYPES_[1-6]): Likewise.
55623         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
55624         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
55626 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55628         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
55629         copysignl for GLIBC_2_0.
55630         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
55631         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
55632         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
55633         logbl for GLIBC_2_0.
55634         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
55635         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
55637 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55639         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
55640         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
55642         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
55643         Use "neg %eax".
55645         * time/mktime.c: Update copyright years.
55647 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
55649         mktime: merge comment-quoting-style change from gnulib
55650         * time/mktime.c: Quote 'like this' in comments.
55651         The GNU coding standards suggest that we no longer quote `like this',
55652         as "`" and "'" are typically rendered asymmetrically nowadays.
55653         The typical gnulib style is to quote 'like this' when quoting
55654         code, and "like this" when quoting English.
55656         * time/mktime.c (compile-command): Add "-I.".
55658         mktime: merge mktime-internal.h change from gnulib
55659         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
55661         mktime: merge time_r change from gnulib
55662         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
55664         mktime: merge DEBUG change from gnulib
55665         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
55666         case system <time.h> has a #define.
55668         mktime: merge <sys/types.h> change from gnulib
55669         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
55670         since <time.t> is now guaranteed to define time_t.
55672         mktime: merge HAVE_CONFIG_H change from gnulib
55673         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
55675 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55677         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
55678         Use "neg %eax".
55680         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
55681         __rlim_t cast.
55682         (struct rusage): Use anonymous union to pad each field to
55683         __syscall_slong_t.
55685 2012-05-21  David S. Miller  <davem@davemloft.net>
55687         * Makefules (o-iterator): Remove .s cases.
55688         (compile-command.s): Delete.
55689         (COMPILE.s): Delete.
55690         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
55692 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
55694         * configure.in (libc_cv_predef_stack_protector): Only consider
55695         "foobar" and "__stack_chk_fail" lines in libc_undefs.
55696         * configure: Regenerated.
55698 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55700         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
55701         New macro.  Use R*LP on int and pointer.
55702         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
55703         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
55704         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
55705         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
55707         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
55708         [__WORDSIZE_TIME64_COMPAT32] instead of
55709         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
55710         (struct utmp): Likewise.
55711         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
55712         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
55713         Renamed to ...
55714         (__WORDSIZE_TIME64_COMPAT32): This.
55715         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
55716         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
55717         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
55718         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
55719         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
55720         (__WORDSIZE_TIME64_COMPAT32): New macro.
55722 2012-05-21  Andreas Jaeger  <aj@suse.de>
55724         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
55725         only if [SHARED]. Add prototype for __wcschr_ia32.
55727 2012-05-21  Roland McGrath  <roland@hack.frob.com>
55729         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
55730         of %rbp unmolested in the jmp_buf while mangling the low bits.
55731         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
55732         unmolested high bits of %rbp while demangling the low bits.
55733         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
55735 2012-05-21  Andreas Jaeger  <aj@suse.de>
55737         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
55738         * sunrpc/svc_simple.c: Use it for registerrpc.
55739         * sunrpc/xcrypt.c: Use it for passwd2des.
55741         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
55743 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55745         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
55746         Don't define if [__SYSCALL_WORDSIZE != 32].
55747         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
55748         New macro.
55750 2012-05-21  Bruno Haible  <bruno@clisp.org>
55751             Andreas Jaeger  <aj@suse.de>
55753         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
55754         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
55755         inptr and inend for must_buffer_ch.
55756         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
55757         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
55758         * stdio-common/Makefile (tests): Remove bug15.
55759         (bug15-ENV): Remove macro.
55760         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
55761         anymore.
55763 2012-05-19  Andreas Jaeger  <aj@suse.de>
55764             Roland McGrath  <roland@hack.frob.com>
55766         * manual/contrib.texi: Completely rewritten. It contains now an
55767         alphabetical list of contributors and their contributions.
55769 2012-05-21  Richard Henderson  <rth@twiddle.net>
55771         * misc/getauxval.c (__getauxval): Use unsigned long int.
55772         * misc/sys/auxv.h: Include <sys/cdefs.h>.
55773         (getauxval): Use unsigned long int.
55775 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55777         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55779 2012-05-21  Roland McGrath  <roland@hack.frob.com>
55781         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
55782         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
55783         __alignof__ (long double).
55785 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55789 2012-05-20  Richard Henderson  <rth@twiddle.net>
55791         * misc/getauxval.c: New file.
55792         * misc/sys/auxv.h: New file.
55793         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
55794         (routines): Add getauxval.
55795         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
55796         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
55797         * elf/dl-sysdep.c (_dl_auxv): Remove.
55798         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
55799         * elf/dl-support.c (_dl_auxv): New variable.
55800         (_dl_aux_init): Initialize it.
55801         * manual/startup.texi (Auxiliary Vector): New node.
55802         * sysdeps/generic/bits/hwcap.h: New file.
55803         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
55804         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
55805         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
55806         * sysdeps/sparc/sysdep.h: ... here.  Include it.
55807         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
55808         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
55809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55810         Update.
55811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
55812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
55813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
55814         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
55815         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
55816         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
55817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
55818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
55820 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55824 2012-05-19  David S. Miller  <davem@davemloft.net>
55826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55828 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
55830         [BZ #14123]
55831         * math/s_ccosh.c: Include <float.h>
55832         (__ccosh): Avoid internal overflow calculating sinh and cosh
55833         values before multiplying by sin and cos values.
55834         * math/s_ccoshf.c: Likewise.
55835         * math/s_ccoshl.c: Likewise.
55836         * math/s_csin.c: Likewise.
55837         * math/s_csinf.c: Likewise.
55838         * math/s_csinl.c: Likewise.
55839         * math/s_csinh.c: Likewise.
55840         * math/s_csinhf.c: Likewise.
55841         * math/s_csinhl.c: Likewise.
55842         * math/libm-test.inc (ccos_test): Add more tests.
55843         (ccosh_test): Likewise.
55844         (csin_test): Likewise.
55845         (csinh_test): Likewise.
55846         * sysdeps/i386/fpu/libm-test-ulps: Update.
55847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55849 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
55851         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
55852         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
55854         * sysdeps/x86_64/x32/_itoa.h: Add comment.
55856 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
55858         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
55859         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
55860         * sysdeps/powerpc/soft-fp/Versions: Likewise.
55861         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
55862         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
55863         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
55864         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
55865         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
55866         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
55867         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
55868         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
55869         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
55870         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
55871         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
55872         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
55873         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
55874         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
55875         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
55876         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
55877         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
55878         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
55879         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
55880         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
55881         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
55882         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
55883         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
55884         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
55885         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
55886         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
55887         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
55888         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
55890 2012-05-18  Andreas Jaeger  <aj@suse.de>
55892         * csu/.gitignore: Delete.
55894 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55896         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
55897         (timex): Use __syscall_slong_t.
55899 2012-05-18  Andreas Jaeger  <aj@suse.de>
55900             Carlos O'Donell  <carlos_odonell@mentor.com>
55902         * manual/install.texi (Configuring and compiling): Update
55903         description about files modified in the source directory.
55904         * INSTALL: Regenerated.
55906 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55908         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
55909         value.  Use "or" to set return value to -1.
55910         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
55911         negate return value.
55913 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55915         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
55916         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
55917         failure if the compiler has Graphite support disabled.
55918         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
55919         Likewise.
55920         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
55921         (CFLAGS-memmove.c): Likewise.
55922         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
55923         Likewise.
55925 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55927         * sysdeps/x86_64/x32/_itoa.h: New file.
55929         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
55930         getdents system call only if kernel and user dirents have the
55931         same d_ino and d_off.
55933         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55934         LLONG_MAX != LONG_MAX.
55935         (_itoa_word): Use _ITOA_WORD_TYPE on value.
55936         (_fitoa_word): Likewise.
55938         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
55939         years.
55940         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
55941         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
55942         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
55944         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
55945         include <bits/wordsize.h>.  Check __x86_64__ instead of
55946         __WORDSIZE.
55947         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
55948         if __x86_64__ is defined.  Use anonymous union on fpstate.
55950         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
55951         anonymous union.
55953 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
55955         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
55956         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
55957         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
55958         Refer to _rtld_local_ro instead of _rtld_global_ro.
55959         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
55960         Likewise.
55961         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
55962         Likewise.
55963         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
55964         Likewise.
55965         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
55966         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
55967         of _rtld_global, and rtld_progname instead of _dl_argv[0].
55969         [BZ #10882]
55970         * sysdeps/powerpc/powerpc32/dl-machine.c
55971         (__elf_machine_runtime_setup) [PROF]: Don't reference
55972         _dl_prof_resolve.
55974 2012-05-18  Andreas Jaeger  <aj@suse.de>
55976         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
55977         function only available for GCCs before 3.4 since GCC 3.4
55978         introduced a builtin.
55979         (lrint): Likewise.
55980         (llrintf): Likewise.
55981         (llrint): Likewise.
55982         (fmaxf): Likewise.
55983         (fmax): Likewise.
55984         (fminf): Likewise.
55985         (fmin): Likewise.
55986         (rint): Likewise.
55987         (rintf): Likewise.
55988         (nearbyint): Likewise.
55989         (nearbyintf): Likewise.
55990         (ceil): Likewise.
55991         (ceilf): Likewise.
55992         (floor): Likewise.
55993         (floorf): Likewise.
55995 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55997         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
55998         on both fields and cast pointer to __syscall_ulong_t.
56000         * bits/types.h (__fsword_t): New type.
56001         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
56002         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
56003         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56004         (__FSWORD_T_TYPE): Likewise.
56005         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56006         (__FSWORD_T_TYPE): Likewise.
56007         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56008         (__FSWORD_T_TYPE): Likewise.
56009         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
56010         (__FSWORD_T_TYPE): Likewise.
56011         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
56012         __SWORD_TYPE with __fsword_t.
56013         (statfs64): Likewise.
56015 2012-05-17  David S. Miller  <davem@davemloft.net>
56017         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
56019 2012-05-17  Andreas Jaeger  <aj@suse.de>
56021         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
56022         warning.
56024 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56026         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
56028 2012-05-17  Andreas Jaeger  <aj@suse.de>
56030         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
56031         when it is used.
56033 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
56035         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
56037 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56039         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
56040         * sysdeps/x86_64/tst-mallocalign1.c: New file.
56042 2012-05-17  Andreas Jaeger  <aj@suse.de>
56043             Carlos O'Donell  <carlos_odonell@mentor.com>
56045         [BZ #14059]
56046         * sysdeps/x86_64/multiarch/init-arch.h
56047         (bit_YMM_Usable): Rename to...
56048         (bit_AVX_Usable): ... this.
56049         (bit_FMA4_Usable): New macro.
56050         (bit_XMM_state): New macro.
56051         (bit_YMM_state): New macro.
56052         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
56053         [__ASSEMBLER__] (index_AVX_Usable): ... this.
56054         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
56055         (CPUID_OSXSAVE): New macro.
56056         (CPUID_AVX): New macro.
56057         (CPUID_FMA4): New macro.
56058         (index_YMM_Usable): Rename to...
56059         (index_AVX_Usable): ... this.
56060         (HAS_AVX): Use HAS_ARCH_FEATURE.
56061         (HAS_FMA4): Likewise.
56062         (HAS_YMM_USABLE): Remove.
56063         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56064         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
56065         are present.
56066         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
56067         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
56068         * sysdeps/x86_64/multiarch/Makefile: Likewise.
56069         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
56070         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
56072 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
56074         * math/libm-test.c: Support platforms without multiple rounding modes.
56075         * math/bug-nextafter.c: Support platforms without FP exceptions.
56076         * math/bug-nexttoward.c: Likewise.
56077         * math/test-fenv.c: Likewise.
56078         * math/test-misc.c: Likewise.
56079         * stdlib/bug-getcontext.c: Likewise.
56081 2012-05-17  Andreas Jaeger  <aj@suse.de>
56083         * manual/examples/search.c (critter_cmp): Change signature to
56084         avoid warnings.
56085         * manual/string.texi (Collation Functions): Likewise.
56087 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56089         * bits/types.h: Fold copyright years.
56090         * bits/typesizes.h: Likewise.
56091         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
56092         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
56093         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
56094         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
56095         * time/time.h: Likewise.
56097 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
56099         [BZ #208]
56100         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
56101         in instead of returning them.  Return void.
56102         (__libc_mallinfo): Accumulate over all arenas.
56103         (__malloc_stats): Adjust for change in int_mallinfo interface.
56105 2012-05-16  Roland McGrath  <roland@hack.frob.com>
56107         [BZ #10375]
56108         * configure.in (NM): Add AC_CHECK_TOOL for it.
56109         (libc_extra_cflags): New substituted variable.
56110         Check for -fstack-protector being used implicitly.
56111         * configure: Regenerated.
56112         * config.make.in (config-extra-cflags): New variable,
56113         gets @libc_extra_cflags@.
56114         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
56116         [BZ #10375]
56117         * configure.in: Check for _FORTIFY_SOURCE being predefined.
56118         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
56119         * configure: Regenerated.
56120         * config.make.in (CPPUNDEFS): New substituted variable.
56121         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
56122         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
56123         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
56125 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56127         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
56128         (mq_attr): Use __syscall_slong_t.
56130 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56132         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
56133         Check __x86_64__ instead of __WORDSIZE.
56134         (_STAT_VER_LINUX): Likewise.
56135         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
56136         __syscall_ulong_t and __syscall_slong_t.
56137         (stat64): Likewise.
56139 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56141         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
56143 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56145         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
56147 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56149         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
56150         __syscall_ulong_t.
56152         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
56153         include <bits/wordsize.h>.  Check __x86_64__ instead of
56154         __WORDSIZE.
56155         (greg_t): Use "__extension__ long long int" if __x86_64__ is
56156         defined.
56157         (mcontext_t): Replace "unsigned long" with "unsigned long long".
56159         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
56160         include <bits/wordsize.h>.  Check __x86_64__ instead of
56161         __WORDSIZE.
56162         (user_regs_struct): Use "__extension__ unsigned long long"
56163         instead of "unsigned long" if __x86_64__ is defined.
56164         (user): Likewise.  Pad after pointer field if __ILP32__ is
56165         defined.
56167 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
56169         * configure.in (makeinfo): Require version 4.5 or later.  Allow
56170         versions 5 to 9.
56171         * configure: Regenerated.
56172         * manual/install.texi (texinfo): Increase version requirement to
56173         4.5 or later.
56174         * INSTALL: Regenerated.
56176         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
56178 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56180         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
56182         * sysdeps/x86_64/x32/ffs.c: New file.
56184         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
56185         __syscall_ulong_t.
56186         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
56187         defined.  Use __syscall_ulong_t.
56188         (shminfo): Use __syscall_ulong_t.
56189         (shm_info): Likewise.
56191         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
56192         __syscall_ulong_t.
56194         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
56195         <bits/wordsize.h>.
56196         (msgqnum_t): Use __syscall_ulong_t.
56197         (msglen_t): Likewise.
56198         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
56199         __syscall_ulong_t.
56201         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
56202         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56204         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
56206         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
56207         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
56209         * sysvipc/sys/msg.h (msgbuf): Replace long int with
56210         __syscall_slong_t.
56212         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
56213         include <bits/wordsize.h>.  Check __x86_64__ instead of
56214         __WORDSIZE.
56216         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
56217         "unsigned long long int" if __x86_64__ is defined.
56218         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
56220         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
56221         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56222         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
56224         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
56225         <stdint.h>.
56226         (GET_PC): Cast to uintptr_t first.
56227         (GET_FRAME): Likewise.
56228         (GET_STACK): Likewise.
56230         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
56231         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
56232         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
56233         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
56234         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
56235         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
56236         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
56237         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
56238         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
56239         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
56240         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
56241         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
56242         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
56243         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
56244         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
56245         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
56246         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
56247         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
56248         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
56249         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
56250         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
56251         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
56252         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
56253         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
56254         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
56255         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
56256         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
56257         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
56258         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
56260 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
56262         * Makerules (+depfiles): Also collect depfiles from .oS in
56263         $(extra-objs).
56264         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
56265         .oS, $(libnldbl-routines)).
56267         * Makerules (native-compile-mkdep-flags): Define.
56268         * sunrpc/Makefile (extra-objs): Add $(addprefix
56269         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
56270         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
56271         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
56272         calling $(make-target-directory).
56274 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56276         * bits/types.h (__snseconds_t): Removed.
56277         * time/time.h (struct timespec): Replace __snseconds_t with
56278         __syscall_slong_t.
56279         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
56280         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
56281         Likewise.
56282         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56283         (__SNSECONDS_T_TYPE): Likewise.
56284         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56285         (__SNSECONDS_T_TYPE): Likewise.
56286         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56287         (__SNSECONDS_T_TYPE): Likewise.
56289 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56291         * sysdeps/mach/hurd/bits/typesizes.h
56292         (__SYSCALL_SLONG_TYPE): New macro.
56293         (__SYSCALL_ULONG_TYPE): Likewise.
56295 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56297         * bits/types.h (__syscall_slong_t): New type.
56298         (__syscall_ulong_t): Likewise.
56300         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
56301         (__SYSCALL_ULONG_TYPE): Likewise.
56302         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56303         (__SYSCALL_SLONG_TYPE): Likewise.
56304         (__SYSCALL_ULONG_TYPE): Likewise.
56305         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56306         (__SYSCALL_SLONG_TYPE): Likewise.
56307         (__SYSCALL_ULONG_TYPE): Likewise.
56308         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56309         (__SYSCALL_SLONG_TYPE): Likewise.
56310         (__SYSCALL_ULONG_TYPE): Likewise.
56312 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56314         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
56315         Add sigaltstack-offsets.sym.
56316         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
56317         <sigaltstack-offsets.h>.
56318         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
56319         longjmp_msg pointer.
56320         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
56321         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
56322         signal stack.
56323         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
56325 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56327         * elf/stackguard-macros.h: Remove file.
56328         * sysdeps/generic/stackguard-macros.h: New file.
56329         * sysdeps/i386/stackguard-macros.h: Likewise.
56330         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
56331         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
56332         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
56333         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
56334         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
56335         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
56336         * sysdeps/x86_64/stackguard-macros.h: Likewise.
56337         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
56338         <elf/stackguard-macros.h>.
56340         [BZ #14109]
56341         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
56342         __aligned__ in attribute.
56343         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
56344         (gregset_t): Likewise.
56346 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56348         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
56349         * sysdeps/x86_64/64/Implies-after: Here.  New file.
56350         * sysdeps/x86_64/x32/Implies-after: New file.
56352 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56354         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
56355         and access return value for _dl_profile_fixup.  Use R10_LP to
56356         load frame size.
56358 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56360         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
56362 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56364         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
56365         * sysdeps/x86_64/x32/sysdep.h: New file.
56367 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56369         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
56370         * sysdeps/x86_64/setjmp.S: Likewise.
56372 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56374         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
56375         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
56376         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
56377         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
56378         remove unused global constant.
56380 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
56382         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
56383         include of <not-cancel.h>.
56385 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56387         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
56389 2012-05-15  Jeff Law  <law@redhat.com>
56390             Andreas Jaeger  <aj@suse.de>
56392         [BZ #13594]
56393         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
56394         out from...
56395         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
56396         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
56397         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
56398         code changing __hst_map_handle.map.
56400 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56402         * configure.in (sysnames): Look for Implies-before and Implies-after
56403         files.
56404         * configure: Regenerated.
56406 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56408         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
56409         8-byte data alignment with LP_SIZE alignment.
56411 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56413         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
56414         into R10_LP.
56416 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56418         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
56420 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56422         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
56423         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
56424         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
56425         Likewise.
56426         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56428 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56430         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
56431         (stackinfo_sub_sp): Likewise.
56433 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56435         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
56436         RAX_LP.
56438 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56440         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
56441         into R*_LP.
56443 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56445         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
56446         sizes into R*_LP.
56448 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56450         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
56452 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56454         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
56455         into R11_LP and load __x86_64_shared_cache_size_half into
56456         R8_LP.
56458 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56460         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
56461         R8_LP.
56463 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56465         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
56466         logb for POWER7.
56467         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
56468         logbf for POWER7.
56469         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
56470         logbl for POWER7.
56471         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
56472         powerpc32/power7/fpu/s_logb.c via #include.
56473         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
56474         powerpc32/power7/fpu/s_logbf.c via #include.
56475         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
56476         powerpc32/power7/fpu/s_logbl.c via #include.
56478 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56480         * README.libm: Remove file.
56482 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56484         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
56485         count for x32.  Use R*_LP and omit operand-size suffix.
56487 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56489         * shlib-versions: Move x86_64-.*-linux.* entries to ...
56490         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
56491         * sysdeps/x86_64/x32/shlib-versions: New file.
56493 2012-05-14  Roland McGrath  <roland@hack.frob.com>
56495         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
56496         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
56497         Use _dl_fatal_printf instead.
56499 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
56501         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
56502         set if not set by the user.  Do not allow for being unset.
56503         * sysdeps/unix/sysv/linux/configure: Regenerated.
56505 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56507         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
56508         the `q' suffix from lea and replace .quad with ASM_ADDR.
56510 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56512         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
56513         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
56514         instead of $17.
56515         (PTR_DEMANGLE): Likewise.
56517 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56519         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
56520         (LP_OP): Likewise.
56521         (ASM_ADDR): Likewise.
56522         (RAX_LP): Likewise.
56523         (RBP_LP): Likewise.
56524         (RBX_LP): Likewise.
56525         (RCX_LP): Likewise.
56526         (RDI_LP): Likewise.
56527         (RSI_LP): Likewise.
56528         (RSP_LP): Likewise.
56529         (R8_LP): Likewise.
56530         (R9_LP): Likewise.
56531         (R10_LP): Likewise.
56532         (R10_LP): Likewise.
56533         (R11_LP): Likewise.
56534         (R12_LP): Likewise.
56535         (R13_LP): Likewise.
56536         (R14_LP): Likewise.
56537         (R15_LP): Likewise.
56539 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56541         * sysdeps/x86_64/x32/dl-machine.h: New file.
56543 2012-05-14  Andreas Jaeger  <aj@suse.de>
56545         * manual/Makefile (subdir): Remove export of subdir.
56546         (all): Remove target.
56547         (.PHONY): Remove all from list.
56548         (mkinstalldirs): Remove.
56549         (.PHONY): Remove installdirs from list.
56550         ($(inst_infodir)/libc.info): Use make-target-directory.
56551         (installdirs): Remove.
56552         (subdir_%): Remove.
56553         (glibc-targets): Remove.
56554         (lib): Remove.
56555         (stubs): Remove.
56556         ($(objpfx)stubs ../po/manual.pot): Remove.
56557         ($(objpfx)stamp%): Remove.
56558         (make-target-directory): Remove.
56559         (subdir_install): Remove.
56560         (routines): Remove.
56561         (aux): Remove.
56562         (sources): Remove.
56563         (objects): Remove.
56564         (headers): Remove.
56566         [BZ #13750]
56567         * manual/.gitignore: Remove, it's not needed anymore.
56568         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
56569         all files in it.
56570         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
56571         directory.
56572         (texis): Renamed to $(objpfx)texis.
56573         (texis-path): New, contains path to generated files.
56574         (chapters.%): Use texis-path for complete path, add extra argument
56575         libc-texinfo.sh.
56576         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
56577         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
56578         (summary,texi, stamp-summary): Use complete path of
56579         files. Generate files in build dir.
56580         (dir-add.texi): Build in build dir.
56581         (libm-err.texi,stamp-libm-err): Likewise.
56582         (version.texi, stamp-version): Likewise.
56583         (.%c.texi): Likewise.
56584         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
56585         (mostlyclean): Remove target.
56586         (realclean): Remove target.
56587         (generated): Add new variable with contents from mostlyclean and
56588         realclean, remove entries duplicated in common-mostlyclean, add
56589         stamp-libm-err and stamp-version.
56590         (generated-dirs): Add libc directory.
56591         ($(inst_infodir)/libc.info): Install files from build dir.
56593         * manual/install.texi (Configuring and compiling): Adjust since
56594         the info files are not part of the tar ball anymore.
56596 2012-05-14  Andreas Jaeger  <aj@suse.de>
56598         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
56599         variable.
56601 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
56603         [BZ #13717]
56604         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56605         to 2.2.0 where earlier.
56606         * sysdeps/unix/sysv/linux/configure: Regenerated.
56607         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
56608         Remove conditional code.
56609         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
56610         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
56611         Remove conditional code.
56612         [!__NR_lchown]: Likewise.
56613         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56614         [__NR_lchown]: Likewise.
56615         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
56616         comment referencing __ASSUME_LCHOWN_SYSCALL.
56617         * sysdeps/unix/sysv/linux/i386/sigaction.c
56618         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56619         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56620         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
56621         Remove conditional code.
56622         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
56623         (__protocol_available): Remove #if 0 code.
56624         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
56625         conditional code.
56626         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
56627         * sysdeps/unix/sysv/linux/kernel-features.h
56628         (__ASSUME_GETCWD_SYSCALL): Don't define.
56629         (__ASSUME_REALTIME_SIGNALS): Likewise.
56630         (__ASSUME_PREAD_SYSCALL): Likewise.
56631         (__ASSUME_PWRITE_SYSCALL): Likewise.
56632         (__ASSUME_POLL_SYSCALL): Likewise.
56633         (__ASSUME_LCHOWN_SYSCALL): Likewise.
56634         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
56635         non-SPARC.
56636         (__ASSUME_SIOCGIFNAME): Don't define.
56637         (__ASSUME_MSG_NOSIGNAL): Likewise.
56638         (__ASSUME_SENDFILE): Define unconditionally.
56639         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
56640         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
56641         conditional code.
56642         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
56643         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
56644         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
56645         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56646         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
56647         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
56648         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
56650         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56651         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
56653         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56654         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
56656         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56657         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
56659         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56660         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
56662         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56663         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
56665         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56666         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
56668         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56669         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
56671         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56672         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56673         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
56674         Remove conditional code.
56675         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56676         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
56677         Remove conditional code.
56678         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56679         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
56680         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
56681         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
56682         Remove conditional code.
56683         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56684         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
56685         Remove conditional code.
56686         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56687         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
56688         Remove conditional code.
56689         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56690         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
56691         Remove conditional code.
56692         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56693         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
56694         Remove conditional code.
56695         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56696         * sysdeps/unix/sysv/linux/sh/pwrite64.c
56697         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56698         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56699         * sysdeps/unix/sysv/linux/sigaction.c
56700         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56701         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56702         * sysdeps/unix/sysv/linux/sigpending.c
56703         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56704         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56705         * sysdeps/unix/sysv/linux/sigprocmask.c
56706         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56707         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56708         * sysdeps/unix/sysv/linux/sigsuspend.c
56709         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56710         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56711         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56712         (__libc_missing_rt_sigs): Remove.
56713         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
56714         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
56715         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
56716         Remove conditional code.
56717         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
56718         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
56719         return 1.
56720         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
56721         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
56722         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
56723         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
56725 2012-05-14  Andreas Jaeger  <aj@suse.de>
56727         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
56728         it's not used in glibc.
56729         (__coshm1): Likewise.
56730         (__acosh1p): Likewise.
56731         (__sgn): Likewise.
56733         * manual/string.texi (Copying and Concatenation): Add missing
56734         variable in concat example.
56735         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
56737 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56739         [BZ #14103]
56740         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
56741         __builtin_clzl with __builtin_clzll.
56743 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56745         [BZ #14104]
56746         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
56747         libc_freeres_ptr.
56749 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56751         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
56752         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
56753         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
56754         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
56756 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
56758         * NEWS: Update ia64 info.
56760 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
56762         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
56763         used as bcopy.
56765 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
56767         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
56768         * sysdeps/unix/syscalls.list (dup3): Likewise.
56769         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
56770         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
56772 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
56774         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
56775         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
56777 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
56779         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
56780         thread pointer.
56781         (TLS_IE): Use mov/add instead of movq/addq to load thread
56782         pointer.
56783         (TLS_GD_PREFIX): New.
56784         (TLS_GD): Use it.
56786 2012-05-11  David S. Miller  <davem@davemloft.net>
56788         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
56789         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
56790         (_FPU_SETCW): Likewise.
56792 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56794         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
56795         is 32-byte aligned.
56797 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
56799         [BZ #11837]
56800         * iconvdata/gb18030.c: Update tables.
56801         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
56802         characters specially.
56803         (BODY for TO_LOOP): Add encoding of missing ranges.
56805 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
56807         [BZ #13673]
56808         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
56809         * sysdeps/mach/hurd/dup3.c: Likewise.
56810         * sysdeps/mach/hurd/readlinkat.c: Likewise.
56811         * sysdeps/powerpc/memmove.c:: Likewise.
56813 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56815         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
56816         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
56818 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56820         * elf/elf.h (R_X86_64_RELATIVE64): New.
56821         (R_X86_64_NUM): Updated.
56822         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56823         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
56824         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
56825         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
56826         tst-quad1pie tst-quad2pie
56827         (modules-names): Add tst-quadmod1 tst-quadmod2.
56828         ($(objpfx)tst-quad1): New dependency.
56829         ($(objpfx)tst-quad2): Likewise.
56830         ($(objpfx)tst-quad1pie): Likewise.
56831         ($(objpfx)tst-quad2pie): Likewise.
56832         * sysdeps/x86_64/tst-quad1.c: New file.
56833         * sysdeps/x86_64/tst-quad1pie.c: New file.
56834         * sysdeps/x86_64/tst-quad2.c: Likewise.
56835         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
56836         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
56837         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
56838         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
56839         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
56841 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56843         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
56844         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
56845         * streams/stropts.h (t_scalar_t): Define type.
56847         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
56848         (_PATH_PRESERVE): Set to "/var/lib".
56849         (_PATH_RWHODIR): Set to "/var/spool/rwho".
56851         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
56852         instead of int.
56854         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
56855         if __dir_mkfile succeeded.
56857         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
56858         checking for _hurd_dtablesize.  Unlock it right after having
56859         finished _hurd_dtable allocation.
56861 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56863         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
56864         * sysdeps/mach/hurd/configure: Regenerated.
56865         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
56866         special-casing to...
56867         * sysdeps/gnu/configure.in: ... this new file.
56868         * sysdeps/unix/sysv/linux/configure: Regenerated.
56869         * sysdeps/gnu/configure: New generated file.
56871         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
56872         for Linux: use nsec instead of usec, as well as:
56873         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
56874         members of type struct timespec.
56875         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
56876         New macros.
56877         (struct stat64): Likewise.
56878         (_STATBUF_ST_NSEC): New macro.
56879         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
56881         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
56882         __strtoul_internal rather than strtoul.
56884 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56886         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
56887         and reject them.
56889 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56891         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
56892         which preserves existing values.
56893         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
56895 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56897         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
56898         TIMEOUT values.  Return EINVAL for NFDS values either negative or
56899         greater than FD_SETSIZE.
56901 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56903         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
56904         allocated, call __vm_protect to finish enabling the existing space, and
56905         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
56906         allocate the remainder.
56908 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56910         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
56911         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
56913 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56915         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
56916         sysdeps/mach/hurd/readlink.c.
56918         * posix/tst-sysconf.c (posix_options): Only use
56919         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
56920         _POSIX_SYNCHRONIZED_IO when they are defined
56921         * sysdeps/mach/hurd/bits/posix_opt.h:
56922         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
56923         (_XOPEN_REALTIME): Undefine macro.
56924         (_XOPEN_REALTIME_THREADS): Undefine macro.
56925         (_XOPEN_SHM): Undefine macro.
56926         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
56927         macro to -1.
56928         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
56929         macro to -1.
56930         (_POSIX_ASYNC_IO): Undefine macro.
56931         (_POSIX_PRIORITIZED_IO): Undefine macro.
56932         (_POSIX_SPIN_LOCKS): Define macro to -1.
56934         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
56935         SA_NODEFER, SA_RESETHAND.
56936         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
56937         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
56938         F_DUPFD_CLOEXEC.
56940 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56942         * elf/Makefile (pldd-modules): Define unconditionally.
56944 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56946         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
56948 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56950         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
56951         Return ENOENT when name is empty.
56952         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
56954 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56956         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
56958         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
56960 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56962         Fix mlock in all cases except non-readable pages.
56963         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
56964         instead of VM_PROT_ALL as parameter to __vm_wire function.
56966         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
56967         (__mkdir): When path is `/', just fail with EEXIST.
56968         * sysdeps/mach/hurd/mkdirat.c: Likewise.
56970 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56972         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
56973         <sys/uio.h> (for writev).
56974         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
56975         and <sys/param.h> (for MIN).
56977 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56979         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
56980         REQUESTED_TIME.  Properly set the remaining time and return EINTR
56981         if interrupted.
56983 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56985         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
56986         Depend on against $(link-rpcuserlibs).
56988 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56990         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
56991         (__libc_stack_end): Do not use attribute_relro.
56992         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
56993         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
56994         to libthread-provided value.
56995         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
56996         attribute_relro.
56998 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57000         [BZ #3748]
57001         * bits/libc-lock.h (__libc_once_get): New macro.
57002         * sysdeps/mach/bits/libc-lock.h: Likewise.
57003         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
57004         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
57005         instead of using implementation details.
57007         * libio/fileops.c: Unconditionally include <kernel-features.h>.
57008         * libio/freopen.c: Likewise.
57009         * libio/freopen64.c: Likewise.
57010         * misc/syslog.c: Likewise.
57011         * nscd/connections.c: Likewise.
57012         * nscd/netgroupcache.c: Likewise.
57013         * sysdeps/posix/getcwd.c: Likewise.
57015 2012-05-10  Roland McGrath  <roland@hack.frob.com>
57017         * math/w_ilogbf.c: Add #include <limits.h>.
57019 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57021         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
57022         path instead of returning without unlocking.
57024         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
57025         immediate-write ioctls.
57026         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
57028 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57030         * sysdeps/mach/hurd/i386/init-first.c (init): Use
57031         __builtin_frame_address instead of making assumptions about the
57032         location of the return address relative to DATA.  Force early load of
57033         the return address.
57034         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
57035         __builtin_frame_address.
57037         dup3 for GNU Hurd.
57038         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
57039         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
57040         implement dup3 and do some further code clean-ups.
57041         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
57042         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
57044 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57046         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
57048         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
57049         HURD_CRITICAL_END around holding _hurd_dtable_lock.
57050         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
57051         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
57052         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
57053         d->port.lock.
57055         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
57056         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
57057         when handler == SIG_ERR, not when handler != SIG_ERR.
57059 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57061         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
57062         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
57063         definitions.
57065         accept4 for GNU Hurd.
57066         * include/sys/socket.h (__libc_accept4): New prototype.
57067         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
57068         to implement __libc_accept4.
57069         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
57070         __libc_accept4.
57071         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
57073         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
57074         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
57075         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
57076         signal-defines.sym.
57078 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57080         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
57082 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57084         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
57085         assertion on O_CLOEXEC flag.
57086         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
57087         * hurd/intern-fd.c: Likewise.
57088         * hurd/port2fd.c: Likewise.
57090 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57092         [BZ #3906]
57093         * bits/in.h (IPV6_PKTINFO): Define new macro.
57094         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
57096 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57098         [BZ #13954]
57099         [BZ #13955]
57100         [BZ #13956]
57101         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
57102         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57103         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
57104         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
57105         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57106         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
57107         * math/libm-test.inc (logb_test) : Additional logb tests.
57109 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
57110             Andreas Jaeger  <aj@suse.de>
57112         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
57113         * configure: Regenerated.
57114         * config.h.in (LINK_OBSOLETE_RPC): New macro.
57115         * config.make.in (link-obsolete-rpc): New substituted variable.
57116         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
57117         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
57118         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57119         (shared-only-routines): Don't set it under [link-obsolete-rpc],
57120         so that libc.a contains the symbols.
57121         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57122         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
57123         * sunrpc/auth_none.c: Likewise.
57124         * sunrpc/auth_unix.c: Likewise.
57125         * sunrpc/authdes_prot.c: Likewise.
57126         * sunrpc/authuxprot.c: Likewise.
57127         * sunrpc/clnt_gen.c: Likewise.
57128         * sunrpc/clnt_perr.c: Likewise.
57129         * sunrpc/clnt_raw.c: Likewise.
57130         * sunrpc/clnt_simp.c: Likewise.
57131         * sunrpc/clnt_tcp.c: Likewise.
57132         * sunrpc/clnt_udp.c: Likewise.
57133         * sunrpc/clnt_unix.c: Likewise.
57134         * sunrpc/des_crypt.c: Likewise.
57135         * sunrpc/des_soft.c: Likewise.
57136         * sunrpc/get_myaddr.c: Likewise.
57137         * sunrpc/key_call.c: Likewise.
57138         * sunrpc/key_prot.c: Likewise.
57139         * sunrpc/netname.c: Likewise.
57140         * sunrpc/pm_getmaps.c: Likewise.
57141         * sunrpc/pm_getport.c: Likewise.
57142         * sunrpc/pmap_clnt.c: Likewise.
57143         * sunrpc/pmap_prot.c: Likewise.
57144         * sunrpc/pmap_prot2.c: Likewise.
57145         * sunrpc/pmap_rmt.c: Likewise.
57146         * sunrpc/publickey.c: Likewise.
57147         * sunrpc/rpc_cmsg.c: Likewise.
57148         * sunrpc/rpc_common.c: Likewise.
57149         * sunrpc/rpc_dtable.c: Likewise.
57150         * sunrpc/rpc_prot.c: Likewise.
57151         * sunrpc/rpc_thread.c: Likewise.
57152         * sunrpc/rtime.c: Likewise.
57153         * sunrpc/svc.c: Likewise.
57154         * sunrpc/svc_auth.c: Likewise.
57155         * sunrpc/svc_raw.c: Likewise.
57156         * sunrpc/svc_run.c: Likewise.
57157         * sunrpc/svc_tcp.c: Likewise.
57158         * sunrpc/svc_udp.c: Likewise.
57159         * sunrpc/svc_unix.c: Likewise.
57160         * sunrpc/svcauth_des.c: Likewise.
57161         * sunrpc/xcrypt.c: Likewise.
57162         * sunrpc/xdr.c: Likewise.
57163         * sunrpc/xdr_array.c: Likewise.
57164         * sunrpc/xdr_float.c: Likewise.
57165         * sunrpc/xdr_intXX_t.c: Likewise.
57166         * sunrpc/xdr_mem.c: Likewise.
57167         * sunrpc/xdr_rec.c: Likewise.
57168         * sunrpc/xdr_ref.c: Likewise.
57169         * sunrpc/xdr_sizeof.c: Likewise.
57170         * sunrpc/xdr_stdio.c: Likewise.
57172 2012-05-10  Roland McGrath  <roland@hack.frob.com>
57174         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
57175         change.  Update copyright years.
57177 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57179         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
57181 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
57182             Joseph Myers  <joseph@codesourcery.com>
57183             Paul Pluzhnikov  <ppluzhnikov@google.com>
57185         [BZ #14012]
57186         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
57187         requiring rpcgen.
57188         [cross-compiling] (extra-libs): Likewise.
57189         [cross-compiling] (extra-libs-others): Likewise.
57190         [cross-compiling] (librpcsvc-routines): Likewise.
57191         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
57192         [cross-compiling] (omit-deps): Likewise.
57193         (sunrpc-CPPFLAGS): New variable.
57194         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
57195         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
57196         (cross-rpcgen-objs): New variable.
57197         (extra-objs): Append $(cross-rpcgen-objs).
57198         ($(cross-rpcgen-objs)): New rule.
57199         ($(objpfx)cross-rpcgen): Likewise.
57200         (rpcgen-cmd): Define to use $(built-program-file).  Expand
57201         comment.
57202         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
57203         ($(objpfx)x%.stmp): Likewise.
57204         * sunrpc/proto.h [IS_IN_build] (_): Define.
57205         [IS_IN_build] (_libc_intl_domainname): Likewise.
57207 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57209         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
57210         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
57211         and R_X86_64_TPOFF64.
57213 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57215         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
57216         sysdeps/unix/sysv/syscalls.list.
57217         (stime): Likewise.
57218         (utime): Likewise.
57219         * sysdeps/unix/sysv/syscalls.list: Remove file.
57221 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
57223         [BZ #3440]
57224         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
57225         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
57226         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
57227         (__LC_IDENTIFICATION): Make these macros useful in #if
57228         expressions, as required by C99.
57230 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
57232         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
57233         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
57234         after this.
57236 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
57238         * stdlib/longlong.h: Updated from GCC.
57240 2012-05-09  Andreas Jaeger  <aj@suse.de>
57242         * nscd/nscd.c (run_modes): Make named enum, reorder so that
57243         default is first entry.
57244         (run_mode): Set type.
57245         (main): Remove informal message about syslog.
57246         (options): Fix typo.
57248         [BZ #14053]
57249         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
57250         to asm.
57251         (lrint): Likewise.
57252         (llrintf): Likewise.
57253         (llrint): Likewise.
57254         (rint): Likewise.
57255         (rintf): Likewise.
57256         (nearbyint): Likewise.
57257         (nearbyintf): Likewise.
57259 2012-05-09  Andreas Jaeger  <aj@suse.de>
57260             Pedro Alves  <palves@redhat.com>
57262         * nscd/nscd.c (run_mode): Use enum.
57263         (main): Cleanup coding style issue.
57265 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
57266             Andreas Jaeger  <aj@suse.de>
57268         * nscd/nscd.c (go_background): Replaced with...
57269         (run_mode): ... this.
57270         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
57271         (options): Add -F --foreground.
57272         (main): Implement it.
57273         (parse_opt): Parse it.
57275 2012-05-09  Andreas Jaeger  <aj@suse.de>
57277         [BZ #14083]
57278         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
57279         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
57280         -Wconversion warning.
57281         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
57282         Likewise.
57284 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
57286         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
57287         == 0.
57288         (LC_ALL): Use macro-int-constant.
57289         (LC_COLLATE): Likewise.
57290         (LC_CTYPE): Likewise.
57291         (LC_MESSAGES): Likewise.
57292         (LC_MONETARY): Likewise.
57293         (LC_NUMERIC): Likewise.
57294         (LC_TIME): Likewise.
57295         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
57296         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57297         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57298         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
57299         Specify type.
57300         [C99-based standards] (float_t): Expect type.
57301         [C99-based standards] (double_t): Expect type.
57302         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
57303         type.
57304         [C99-based standards] (HUGE_VALL): Likewise.
57305         [C99-based standards] (INFINITY): Likewise.
57306         [C99-based standards] (NAN): Likewise.
57307         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
57308         [C99-based standards] (FP_NAN): Likewise.
57309         [C99-based standards] (FP_NORMAL): Likewise.
57310         [C99-based standards] (FP_SUBNORMAL): Likewise.
57311         [C99-based standards] (FP_ZERO): Likewise.
57312         [C99-based standards] (FP_FAST_FMA): Use
57313         optional-macro-int-constant.  Specify type.  Require == 1.
57314         [C99-based standards] (FP_FAST_FMAF): Likewise.
57315         [C99-based standards] (FP_FAST_FMAL): Likewise.
57316         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
57317         [C99-based standards] (FP_ILOGBNAN): Likewise.
57318         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
57319         Specify type.
57320         [C99-based standards] (MATH_ERREXCEPT): Likewise.
57321         [C99-based standards] (math_errhandling): Specify type.
57322         [ISO99 || ISO11] (signgam): Do not allow.
57323         [non-C99-based standards] (copysignf): Do not allow.
57324         [non-C99-based standards] (exp2f): Likewise.
57325         [non-C99-based standards] (log2f): Likewise.
57326         [non-C99-based standards] (modff): Allow.
57327         [non-C99-based standards] (erff): Do not allow.
57328         [non-C99-based standards] (erfcf): Likewise.
57329         [non-C99-based standards] (gammaf): Likewise.
57330         [non-C99-based standards] (hypotf): Likewise.
57331         [non-C99-based standards] (j0f): Likewise.
57332         [non-C99-based standards] (j1f): Likewise.
57333         [non-C99-based standards] (jnf): Likewise.
57334         [non-C99-based standards] (lgammaf): Likewise.
57335         [non-C99-based standards] (tgammaf): Likewise.
57336         [non-C99-based standards] (y0f): Likewise.
57337         [non-C99-based standards] (y1f): Likewise.
57338         [non-C99-based standards] (ynf): Likewise.
57339         [non-C99-based standards] (isnanf): Likewise.
57340         [non-C99-based standards] (acoshf): Likewise.
57341         [non-C99-based standards] (asinhf): Likewise.
57342         [non-C99-based standards] (atanhf): Likewise.
57343         [non-C99-based standards] (cbrtf): Likewise.
57344         [non-C99-based standards] (expm1f): Likewise.
57345         [non-C99-based standards] (ilogbf): Likewise.
57346         [non-C99-based standards] (log1pf): Likewise.
57347         [non-C99-based standards] (logbf): Likewise.
57348         [non-C99-based standards] (nextafterf): Likewise.
57349         [non-C99-based standards] (remainderf): Likewise.
57350         [non-C99-based standards] (rintf): Likewise.
57351         [non-C99-based standards] (scalbf): Likewise.
57352         [non-C99-based standards] (copysignl): Likewise.
57353         [non-C99-based standards] (exp2l): Likewise.
57354         [non-C99-based standards] (log2l): Likewise.
57355         [non-C99-based standards] (modfl): Allow.
57356         [non-C99-based standards] (erfl): Do not allow.
57357         [non-C99-based standards] (erfcl): Likewise.
57358         [non-C99-based standards] (gammal): Likewise.
57359         [non-C99-based standards] (hypotl): Likewise.
57360         [non-C99-based standards] (j0l): Likewise.
57361         [non-C99-based standards] (j1l): Likewise.
57362         [non-C99-based standards] (jnl): Likewise.
57363         [non-C99-based standards] (lgammal): Likewise.
57364         [non-C99-based standards] (tgammal): Likewise.
57365         [non-C99-based standards] (y0l): Likewise.
57366         [non-C99-based standards] (y1l): Likewise.
57367         [non-C99-based standards] (ynl): Likewise.
57368         [non-C99-based standards] (isnanl): Likewise.
57369         [non-C99-based standards] (acoshl): Likewise.
57370         [non-C99-based standards] (asinhl): Likewise.
57371         [non-C99-based standards] (atanhl): Likewise.
57372         [non-C99-based standards] (cbrtl): Likewise.
57373         [non-C99-based standards] (expm1l): Likewise.
57374         [non-C99-based standards] (ilogbl): Likewise.
57375         [non-C99-based standards] (log1pl): Likewise.
57376         [non-C99-based standards] (logbl): Likewise.
57377         [non-C99-based standards] (nextafterl): Likewise.
57378         [non-C99-based standards] (remainderl): Likewise.
57379         [non-C99-based standards] (rintl): Likewise.
57380         [non-C99-based standards] (scalbl): Likewise.
57381         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57382         [non-C99-based standards] (FP_*): Do not allow.
57383         [C99-based standards] (FP_*): Change to
57384         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57385         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57386         allow.
57387         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
57388         (SIG_ERR): Likewise.
57389         [X/Open-based standards] (SIG_HOLD): Likewise.
57390         (SIG_IGN): Likewise.
57391         (SIGABRT): Use macro-int-constant.  Specify type.  Require
57392         positive value.
57393         (SIGFPE): Likewise.
57394         (SIGILL): Likewise.
57395         (SIGINT): Likewise.
57396         (SIGSEGV): Likewise.
57397         (SIGTER): Likewise.
57398         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
57399         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
57400         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
57401         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
57402         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
57403         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
57404         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
57405         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
57406         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
57407         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
57408         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
57409         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
57410         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
57411         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
57412         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
57413         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
57414         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
57415         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
57416         [X/Open-based standards] (SIGTRAP): Likewise.
57417         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
57418         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
57419         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
57420         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
57421         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57422         allow.
57424 2012-05-08  Ian Wienand  <ianw@vmware.com>
57426         [BZ #14080]
57427         * time/tzset.c (__tzset_parse_tz): Update default rules for
57428         daylight time changes in the Energy Policy Act of 2005.
57430 2012-05-09  Andreas Jaeger  <aj@suse.de>
57432         [BZ #13983]
57433         * elf/ldconfig.c (parse_conf): Change string to make clear that
57434         ldconfig only issued a warning if ld.so.conf does not exist.
57436 2012-05-08  David S. Miller  <davem@davemloft.net>
57438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
57439         movxtod instead of popping the value on the stack.
57441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57443 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
57445         * config.h.in: Add HAVE_ARM_PCS_VFP.
57447 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
57449         [BZ #13979]
57450         * include/features.h: Warn if user requests __FORTIFY_SOURCE
57451         checking but the checks are disabled for any reason.
57453 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
57455         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
57456         and ELF64_R_TYPE with ELFW(R_TYPE).
57458 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
57460         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
57461         (ulimit): Likewise.
57463         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
57464         (settimeofday): Likewise.
57466 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
57468         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
57469         a struct th_u2 inside the union, and move tu_block/tu_code into
57470         a new th_u3 union of tu_block/tu_code inside of that.  Move
57471         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
57472         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
57473         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
57474         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
57475         (th_stuff): Change to th_u1.tu_stuff.
57476         (th_data): Define.
57477         (th_msg): Change to th_u1.th_u2.tu_data.
57479 2012-05-07  David S. Miller  <davem@davemloft.net>
57481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57483         [BZ #14074]
57484         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
57485         (SETUP_PIC_REG): Use it.
57486         (SETUP_PIC_REG_LEAF): Use it.
57488 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
57490         [BZ #13885]
57491         [BZ #13923]
57492         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57493         USE_AS_EXPM1L.
57494         (EXPL_FINITE): Likewise.
57495         (FLDLOG): Likewise.
57496         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
57497         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
57498         e_expl.S.
57499         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57500         USE_AS_EXPM1L.
57501         (EXPL_FINITE): Likewise.
57502         (FLDLOG): Likewise.
57503         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
57504         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
57505         e_expl.S.
57506         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
57507         test of -max_value argument for long double.
57508         * sysdeps/i386/fpu/libm-test-ulps: Update.
57509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57511 2012-05-06  David S. Miller  <davem@davemloft.net>
57513         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
57514         quad soft-float symbols whose references which are compiler
57515         generated.
57516         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57518 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
57520         [BZ #13884]
57521         [BZ #13914]
57522         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57523         USE_AS_EXP10L.
57524         (EXPL_FINITE): Likewise.
57525         (FLDLOG): Likewise.
57526         (c0): Likewise.
57527         (c1): Likewise.
57528         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
57529         Adjust comments for base varying.
57530         (__expl_finite): Change alias to EXPL_FINITE.
57531         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
57532         e_expl.S.
57533         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
57534         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
57535         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
57536         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
57537         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57538         USE_AS_EXP10L.
57539         (EXPL_FINITE): Likewise.
57540         (FLDLOG): Likewise.
57541         (c0): Likewise.
57542         (c1): Likewise.
57543         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
57544         Adjust comments for base varying.
57545         (__expl_finite): Change alias to EXPL_FINITE.
57546         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
57547         tests for bugs.
57548         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57550         [BZ #14064]
57551         * math/libm-test.inc (check_float_internal): Correct ulp
57552         calculation for subnormal expected results.
57554 2012-05-06  Andreas Jaeger  <aj@suse.de>
57556         * Makeconfig (+math-flags): New, set to -frounding-math.
57557         (+cflags): Add +math-flags so that all of glibc gets compiled with
57558         it.
57560         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
57562 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
57564         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
57565         Disable one test.
57567         [BZ #13787]
57568         [BZ #13922]
57569         [BZ #14036]
57570         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
57571         (__ieee754_expl): Allow for and saturate large arguments.
57572         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
57573         (u_threshold): Likewise.
57574         (__exp): Call __ieee754_exp before checking for overflow and
57575         underflow.
57576         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
57577         (u_threshold): Likewise.
57578         (__expf): Call __ieee754_expf before checking for overflow and
57579         underflow.
57580         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
57581         (u_threshold): Likewise.
57582         (__expl): Call __ieee754_expl before checking for overflow and
57583         underflow.
57584         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
57585         (__ieee754_expl): Allow for and saturate large arguments.
57586         * math/libm-test.inc (exp_test): Add another test.  Do not allow
57587         missing overflow exception on overflow.
57588         (expm1_test): Do not allow missing overflow exception on overflow.
57590         * sysdeps/i386/fpu/e_expl.c: Move to ...
57591         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
57592         rather than using inline asm.
57593         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
57594         * sysdeps/x86_64/fpu/e_expl.S: Copy from
57595         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
57597         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
57598         (nice): Likewise.
57599         (poll): Likewise.
57600         (signal): Likewise.
57601         (time): Likewise.
57602         (times): Likewise.
57604 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57606         * sysdeps/unix/syscalls.list (adjtime): Add entry from
57607         sysdeps/unix/common/syscalls.list.
57608         (fchmod): Likewise.
57609         (fchown): Likewise.
57610         (ftruncate): Likewise.
57611         (getrusage): Likewise.
57612         (gettimeofday): Likewise.
57613         (setpgid): Likewise.
57614         (setregid): Likewise.
57615         (setreuid): Likewise.
57616         (sigaction): Likewise.
57617         (truncate): Likewise.
57618         (vhangup): Likewise.
57619         * sysdeps/unix/common/syscalls.list: Remove file.
57620         * sysdeps/unix/bsd/Implies: Don't include unix/common.
57621         * sysdeps/unix/sysv/linux/Implies: Likewise.
57623 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
57625         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
57626         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
57627         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
57628         Moved to ...
57629         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
57630         Here.
57631         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
57632         to ...
57633         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
57634         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
57635         to ...
57636         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
57637         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
57638         to ...
57639         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
57640         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
57641         to ...
57642         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
57643         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
57644         to ...
57645         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
57646         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
57647         to ...
57648         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
57649         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
57650         to ...
57651         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
57652         Here.
57653         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
57654         to ...
57655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
57656         Here.
57657         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
57658         to ...
57659         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
57660         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
57661         Moved to ...
57662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
57663         Here.
57664         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
57665         to ...
57666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
57668 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57670         * sysdeps/unix/common/bits/dirent.h: Remove file.
57671         * sysdeps/unix/common/bits/fcntl.h: Likewise.
57673         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
57674         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
57675         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
57676         * sysdeps/unix/bsd/isatty.c: Likewise.
57677         * sysdeps/unix/bsd/tcdrain.c: Likewise.
57678         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
57679         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
57681 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57683         [BZ #13563]
57684         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
57685         long double comparison inaccuracies.
57686         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
57687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57689 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
57691         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
57692         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
57694 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57696         [BZ #14049]
57697         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
57698         nonzero digits before rounding a hex value.
57699         * stdlib/tst-strtod.c (tests): Add another test.
57701 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57703         * sysdeps/s390/fpu/libm-test-ulps: Update.
57705 2012-05-03  Andreas Jaeger  <aj@suse.de>
57707         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
57708         does not get optimized out.
57709         (malloc_opt_barrier): New.
57711 2012-05-03  Andreas Jaeger  <aj@suse.de>
57712             Roland McGrath  <roland@hack.frob.com>
57714         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
57715         intermediate file deletion.
57716         (generated): Add .symlist files.
57718 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
57720         [BZ #13775]
57721         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
57722         Redirect under this condition.
57723         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
57724         [__USE_GNU] (__dprintf_chk): Not under this condition.
57725         [__USE_GNU] (__vdprintf_chk): Likewise.
57726         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
57727         under this condition.
57728         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
57729         [__USE_XOPEN2K8] (dprintf): Define under this condition.
57730         [__USE_XOPEN2K8] (vdprintf): Likewise.
57731         [__USE_GNU] (__dprintf_chk): Not under this condition.
57732         [__USE_GNU] (__vdprintf_chk): Likewise.
57733         [__USE_GNU] (dprintf): Likewise.
57734         [__USE_GNU] (vdprintf): Likewise.
57736 2012-05-03  Roland McGrath  <roland@hack.frob.com>
57738         * elf/Makefile (common-generated): Set this instead of generated for
57739         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
57740         $(all-built-dso)-derived lists.
57742 2012-05-03  Andreas Jaeger  <aj@suse.de>
57744         * sysdeps/i386/fpu/libm-test-ulps: Update.
57746         * FAQ: Removed.
57747         * FAQ.in: Likewise.
57748         * scripts/gen-FAQ.pl: Likewise.
57749         * manual/install.texi (Installation): Point to online location of
57750         FAQ.
57751         * Makefile (files-for-dist): Remove FAQ.
57752         (FAQ): Remove.
57754 2012-05-02  Allan McRae  <allan@archlinux.org>
57756         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
57757         (LDFLAGS-reldepmod5.so): Likewise.
57758         (LDFLAGS-reldep6mod1.so): Likewise.
57759         (LDFLAGS-reldep6mod4.so): Likewise.
57760         (LDFLAGS-reldep8mod3.so): Likewise.
57761         (LDFLAGS-unload4mod1.so): Likewise.
57762         (LDFLAGS-unload4mod2.so): Likewise.
57763         (LDFLAGS-tst-initorder): Likewise.
57764         (LDFLAGS-tst-initordera2.so): Likewise.
57765         (LDFLAGS-tst-initordera3.so): Likewise.
57766         (LDFLAGS-tst-initordera4.so): Likewise.
57767         (LDFLAGS-tst-initorderb2.so): Likewise.
57768         (LDFLAGS-noload): Likewise.
57769         (LDFLAGS-next): Likewise.
57770         (LDFLAGS-order2mod1.so): Likewise.
57771         (LDFLAGS-order2mod2.so): Likewise.
57772         (LDFLAGS-tst-initorder2): Likewise.
57773         (LDFLAGS-tst-initorder2a.so): Likewise.
57774         (LDFLAGS-tst-initorder2b.so): Likewise.
57775         (LDFLAGS-tst-initorder2c.so): Likewise.
57776         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
57778 2012-05-02  David S. Miller  <davem@davemloft.net>
57780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57782 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
57784         [BZ #14055]
57785         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
57787 2012-05-02  Andreas Jaeger  <aj@suse.de>
57789         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
57790         since we manipulate rounding mode.
57791         (CPPFLAGS-test-idouble.c): Likewise.
57792         (CPPFLAGS-test-ifloat.c): Likewise.
57793         (CFLAGS-test-ldouble.c): Likewise.
57794         (CFLAGS-test-double.c): Likewise.
57795         (CFLAGS-test-float.c): Likewise.
57796         (CFLAGS-test-misc.c): Likewise.
57797         (CFLAGS-test-test-fenv.c): Likewise.
57799 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57801         [BZ #2550]
57802         [BZ #2570]
57803         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
57804         comparisons to determine direction to adjust input.
57806 2012-05-01  Roland McGrath  <roland@hack.frob.com>
57808         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
57809         output to the target.
57811         * scripts/localplt.awk: New file.
57812         * elf/Makefile ($(objpfx)check-localplt): Target removed.
57813         (check-localplt-CFLAGS): Variable removed.
57814         ($(all-built-dso:=.jmprel)): New static pattern rule.
57815         (generated): Add those targets.
57816         (localplt-built-dso): New variable.
57817         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
57819         * elf/check-localplt.c: File removed.
57821         * scripts/check-execstack.awk: New file.
57822         * elf/Makefile ($(objpfx)check-execstack): Target removed.
57823         (check-execstack-CFLAGS): Variable removed.
57824         ($(objpfx)check-execstack.h): Target removed.
57825         ($(objpfx)execstack-default): New target.
57826         (generated): Add that instead of check-execstack.h.
57827         ($(all-built-dso:=.phdr)): New static pattern rule.
57828         (generated): Add those targets.
57829         * elf/check-execstack.c: File removed.
57831         * scripts/check-textrel.awk: New file.
57832         * elf/Makefile ($(objpfx)check-textrel): Target removed.
57833         (check-textrel-CFLAGS): Variable removed.
57834         (all-built-dso): Use := to define.o
57835         ($(all-built-dso:=.dyn)): New static pattern rule.
57836         (generated): Add those targets.
57837         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
57838         * config.make.in (READELF): New substituted variable.
57839         * elf/check-textrel.c: File removed.
57841 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
57843         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57844         allow.
57845         * conform/data/ctype.h-data [C99-based standards] (isblank):
57846         Expect function.
57847         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
57848         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
57849         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57850         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
57851         Specify type.  Require positive value.
57852         (EILSEQ): Likewise.
57853         (ERANGE): Likewise.
57854         [ISO || POSIX] (EILSEQ): Do not expect.
57855         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
57856         Specify type.  Require positive value.
57857         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
57858         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
57859         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
57860         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
57861         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
57862         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
57863         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
57864         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
57865         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
57866         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
57867         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
57868         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
57869         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
57870         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
57871         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
57872         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
57873         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
57874         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
57875         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
57876         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
57877         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
57878         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
57879         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
57880         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
57881         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
57882         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
57883         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
57884         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
57885         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
57886         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
57887         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
57888         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
57889         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
57890         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
57891         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
57892         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
57893         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
57894         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
57895         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
57896         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
57897         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
57898         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
57899         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
57900         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
57901         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
57902         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
57903         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
57904         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
57905         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
57906         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
57907         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
57908         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
57909         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
57910         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
57911         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
57912         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
57913         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
57914         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
57915         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
57916         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
57917         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
57918         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
57919         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
57920         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
57921         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
57922         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
57923         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
57924         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
57925         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
57926         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
57927         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
57928         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
57929         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
57930         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
57931         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
57932         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
57933         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
57934         Require >= 2.
57935         (FLT_ROUNDS): Expect as macro, not constant.
57936         (FLT_MANT_DIG): Use macro-int-constant.
57937         (DBL_MANT_DIG): Likewise.
57938         (LDBL_MANT_DIG): Likewise.
57939         (FLT_DIG): Likewise.
57940         (DBL_DIG): Likewise.
57941         (LDBL_DIG): Likewise.
57942         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
57943         (DBL_MIN_EXP): Likewise.
57944         (LDBL_MIN_EXP): Likewise.
57945         (FLT_MAX_EXP): Use macro-int-constant.
57946         (DBL_MAX_EXP): Likewise.
57947         (LDBL_MAX_EXP): Likewise.
57948         (FLT_MAX_10_EXP): Likewise.
57949         (DBL_MAX_10_EXP): Likewise.
57950         (LDBL_MAX_10_EXP): Likewise.
57951         (FLT_MAX): Use macro-constant.
57952         (DBL_MAX): Likewise.
57953         (LDBL_MAX): Likewise.
57954         (FLT_EPSILON): Use macro-constant.  Give upper bound.
57955         (DBL_EPSILON): Likewise.
57956         (LDBL_EPSILON): Likewise.
57957         (FLT_MIN): Likewise.
57958         (DBL_MIN): Likewise.
57959         (LDBL_MIN): Likewise.
57960         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
57961         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
57962         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
57963         [ISO11] (FLT_HAS_SUBNORM): Likewise.
57964         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
57965         [ISO11] (DBL_DECIMAL_DIG): Likewise.
57966         [ISO11] (FLT_DECIMAL_DIG): Likewise.
57967         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
57968         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
57969         [ISO11] (FLT_TRUE_MIN): Likewise.
57970         [ISO11] (LDBL_TRUE_MIN): Likewise.
57971         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57972         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
57973         (SCHAR_MIN): Use macro-int-constant.  Specify type.
57974         (SCHAR_MAX): Likewise.
57975         (UCHAR_MAX): Likewise.
57976         (CHAR_MIN): Likewise.
57977         (CHAR_MAX): Likewise.
57978         (MB_LEN_MAX): Use macro-int-constant.
57979         (SHRT_MIN): Use macro-int-constant.  Specify type.
57980         (SHRT_MAX): Likewise.
57981         (USHRT_MAX): Likewise.
57982         (INT_MAX): Likewise.
57983         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
57984         bound negative.
57985         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57986         bound with "U".
57987         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57988         bound with "L".
57989         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
57990         bound negative.  Suffix upper bound with "L".
57991         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57992         bound with "UL".
57993         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
57994         Specify type.
57995         [C99-based standards] (LLONG_MAX): Likewise.
57996         [C99-based standards] (ULLONG_MAX): Likewise.
57997         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
57998         == 0.
57999         [ISO11] (max_align_t): Require type.
58000         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58002         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
58003         from $CFLAGS, without defining away __attribute__ calls.
58004         (checknamespace): Use $CFLAGS_namespace.
58006         * conform/conformtest.pl (@keywords): Only include C99 keywords
58007         for standards based on C99 or C11.
58009         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
58010         Disable tests.
58011         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
58012         UNIX98]: Likewise.
58014         * conform/conformtest.pl: Handle "macro-int-constant" and test for
58015         usability of symbols in #if.
58017         * conform/conformtest.pl: If macro or constant types start
58018         "promoted:", expect the symbol to be of the following type
58019         promoted by the integer promotions.
58021         * conform/conformtest.pl: Parse all "constant" and "macro" lines
58022         in one place.  Also handle "macro-constant".
58024         * conform/conformtest.pl: Only accept expected macro values with
58025         "==".  Parse all "macro" lines in one place.
58026         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
58028         * conform/conformtest.pl: Handle braced types on "constant" lines
58029         instead of handling "typed-constant".
58030         * conform/data/signal.h-data: Use "constant" instead of
58031         "typed-constant".
58033         * conform/conformtest.pl: Handle "optional-" at start of lines in
58034         one place rather than duplicating several cases.  Handle each
58035         format of "macro" line with initial "optional-".
58037         * conform/conformtest.pl: Only accept expected constant or
58038         optional-constant values with "==".  Parse all "constant" lines in
58039         one place.  Parse all "optional-constant" lines in one place.
58040         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
58041         * conform/data/fmtmsg.h-data: Likewise.
58042         * conform/data/netinet/in.h-data: Likewise.
58043         * conform/data/tar.h-data: Likewise.
58044         * conform/data/limits.h-data: Use "==" form on "constant" and
58045         "optional-constant" lines.
58047         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
58048         Use -std=c99 for XOPEN2K.
58049         (@knownproblems): Remove.
58050         (newtoken): Don't check %isknown.
58052         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
58053         Do not expect macro.
58054         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
58055         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
58056         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
58057         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
58058         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
58059         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
58060         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
58061         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
58062         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
58063         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
58064         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
58065         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
58066         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
58067         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
58068         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
58069         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
58070         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
58071         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
58072         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
58073         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
58074         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
58075         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
58076         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
58077         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
58078         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
58079         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
58080         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
58081         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
58082         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
58083         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
58084         [XPG3] (acosh): Likewise.
58085         [XPG3] (asinh): Likewise.
58086         [XPG3] (atanh): Likewise.
58087         [XPG3] (cbrt): Likewise.
58088         [XPG3] (expm1): Likewise.
58089         [XPG3] (ilogb): Likewise.
58090         [XPG3] (log1p): Likewise.
58091         [XPG3] (logb): Likewise.
58092         [XPG3] (nextafter): Likewise.
58093         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
58094         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
58095         [XPG3] (remainder): Likewise.
58096         [XPG3] (rint): Likewise.
58097         [XPG3 || XPG4 || UNIX98] (round): Likewise.
58098         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
58099         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
58100         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
58101         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
58102         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
58103         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
58104         [UNIX98 || XOPEN2K] (scalb): Expect.
58105         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
58106         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
58107         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
58108         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
58109         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
58110         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
58111         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
58112         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
58113         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
58114         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
58115         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
58116         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
58117         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
58118         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
58119         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
58120         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
58121         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
58122         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
58123         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
58124         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
58125         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
58126         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
58127         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
58128         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
58129         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
58130         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
58131         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
58132         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
58133         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
58134         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
58135         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
58136         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
58137         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
58138         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
58139         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
58140         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
58141         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
58142         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
58143         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
58144         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
58145         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
58146         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
58147         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
58148         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
58149         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
58150         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
58151         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
58152         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
58153         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
58154         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
58155         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
58156         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
58157         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
58158         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
58159         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
58160         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
58161         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
58162         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
58163         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
58164         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
58165         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
58166         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
58167         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
58168         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
58169         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
58170         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
58171         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
58172         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
58173         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
58174         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
58175         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
58176         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
58177         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
58178         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
58179         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
58180         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
58181         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
58182         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
58183         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
58184         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
58185         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
58186         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
58187         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
58188         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
58189         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
58190         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
58191         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
58192         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
58193         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
58194         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
58195         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
58196         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
58197         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
58198         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
58199         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
58200         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
58201         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
58202         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
58203         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
58204         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
58205         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
58206         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
58207         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
58208         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
58209         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
58210         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
58211         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
58212         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
58213         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
58214         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
58215         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
58216         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
58217         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
58218         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
58219         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
58220         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
58221         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
58222         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
58223         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
58224         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
58225         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
58226         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
58227         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
58228         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
58229         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
58230         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
58231         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
58232         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
58233         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
58234         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
58235         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
58236         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
58237         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
58238         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
58239         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
58240         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
58241         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
58243         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
58244         _XOPEN_SOURCE_EXTENDED for XPG4.
58246         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
58248         * Makeconfig (localtime): Remove variable.
58249         (inst_localtime-file): Likewise.
58251 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
58254         Update.
58255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58256         Update.
58257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
58258         Update.
58259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58260         Update.
58261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
58262         Update.
58263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
58264         Update.
58265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58266         Update.
58267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
58268         Update.
58269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58270         Update.
58272 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
58274         [BZ #2550]
58275         [BZ #2570]
58276         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
58277         comparisons to determine direction to adjust input.
58278         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
58279         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
58280         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
58281         Likewise.
58282         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
58283         Likewise.
58284         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
58285         Likewise.
58286         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
58287         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
58288         Likewise.
58289         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
58290         Likewise.
58291         * math/libm-test.inc (nexttoward_test): Add more tests.
58293 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58295         [BZ #14040]
58296         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
58297         in version GLIBC_2.1, not GLIBC_2.0.
58298         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
58299         Likewise.
58301 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
58303         [BZ #13942]
58304         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
58305         (1 - x) * (1 + x).
58306         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58307         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
58308         * math/libm-test.inc (acos_test): Add more tests.
58309         (asin_test): Likewise.
58310         * sysdeps/i386/fpu/libm-test-ulps: Update.
58311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58313         [BZ #14034]
58314         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
58315         of square root.
58316         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
58317         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58318         * math/libm-test.inc (acos_test_tonearest): New function.
58319         (acos_test_towardzero): Likewise.
58320         (acos_test_downward): Likewise.
58321         (acos_test_upward): Likewise.
58322         (asin_test_tonearest): Likewise.
58323         (asin_test_towardzero): Likewise.
58324         (asin_test_downward): Likewise.
58325         (asin_test_upward): Likewise.
58326         (main): Call the new functions.
58327         * sysdeps/i386/fpu/libm-test-ulps: Update.
58328         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58330         [BZ #13884]
58331         [BZ #13924]
58332         * math/e_exp10.c: Include <float.h>.
58333         (__ieee754_exp10): Handle underflow here rather than multiplying
58334         large negative argument by M_LN10.
58335         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
58336         of __ieee754_expf.
58337         * math/e_exp10l.c: Include <float.h>.
58338         (__ieee754_exp10l): Handle underflow here rather than multiplying
58339         large negative argument by M_LN10l.
58340         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
58341         spurious overflow exception on underflow.
58343 2012-04-29  Marek Polacek  <polacek@redhat.com>
58345         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
58346         (__fortify_function): New macro.
58347         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
58348         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
58349         __extern_always_inline.
58350         * libio/bits/stdio2.h: Likewise.
58351         * libio/bits/stdio.h: Likewise.
58352         * string/string.h: Likewise.
58353         * string/bits/string3.h: Likewise.
58354         * include/stdio.h: Likewise.
58355         * stdlib/bits/stdlib.h: Likewise.
58356         * stdlib/stdlib.h: Likewise.
58357         * rt/bits/mqueue2.h: Likewise.
58358         * rt/mqueue.h: Likewise.
58359         * posix/bits/unistd.h: Likewise.
58360         * posix/unistd.h: Likewise.
58361         * io/bits/poll2.h: Likewise.
58362         * io/bits/fcntl2.h: Likewise.
58363         * io/fcntl.h: Likewise.
58364         * io/sys/poll.h: Likewise.
58365         * misc/bits/syslog.h: Likewise.
58366         * misc/bits/syslog-ldbl.h: Likewise.
58367         * misc/sys/syslog.h: Likewise.
58368         * socket/bits/socket2.h: Likewise.
58369         * socket/sys/socket.h: Likewise.
58370         * debug/tst-chk1.c: Likewise.
58371         * wcsmbs/bits/wchar2.h: Likewise.
58372         * wcsmbs/bits/wchar-ldbl.h: Likewise.
58373         * wcsmbs/wchar.h: Likewise.
58375 2012-04-29  Andreas Jaeger  <aj@suse.de>
58377         * Makerules (tests): Remove enable-check-abi protection.
58378         (check-abi-warn): Remove.
58379         (check-abi-%): Remove check-abi-warn usage.
58381         * configure.in: Remove check-abi configure option.
58382         * configure: Regenerated.
58383         * config.make.in (enable-check-abi): Remove.
58385 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
58387         [BZ #14033]
58388         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
58389         double functions to double *_finite functions.
58391         [BZ #13941]
58392         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
58393         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
58394         LDBL_MIN_EXP.
58395         * stdio-common/Makefile (tests): Add tst-sprintf3.
58396         * stdio-common/tst-sprintf3.c: New file.
58398         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
58399         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
58401 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
58403         * conform/conformtest.pl: Remove duplicate typed-constant
58404         handling.
58406 2012-04-28  David S. Miller  <davem@davemloft.net>
58408         * Makerules (%.abilist): Add vpath on sysdep_dirs.
58409         (check-abi-%): Remove AWK script prerequisite and explicit
58410         abilist directory.
58411         (check-abi): Rewrite to just diff the symlist with the abilist.
58412         (config-tls, config-abi-config): Delete, no longer used.
58413         (update-abi-%): Remove AWK script and explicit abilist directory.
58414         (update-abi): Rewrite to simply compare and conditionally copy the
58415         symlist and the sysdep abilist file.  Remove update-abi-config
58416         checks.
58417         * abilist/ld.abilist: Remove.
58418         * abilist/libBrokenLocale.abilist: Remove.
58419         * abilist/libanl.abilist: Remove.
58420         * abilist/libcrypt.abilist: Remove.
58421         * abilist/libdl.abilist: Remove.
58422         * abilist/librt.abilist: Remove.
58423         * abilist/libthread_db.abilist: Remove.
58424         * abilist/libutil.abilist: Remove.
58425         * scripts/extract-abilist.awk: Remove.
58426         * scripts/merge-abilist.awk: Remove.
58427         * sysdeps/generic/libcidn.abilist: New file.
58428         * sysdeps/generic/libnss_compat.abilist: New file.
58429         * sysdeps/generic/libnss_db.abilist: New file.
58430         * sysdeps/generic/libnss_dns.abilist: New file.
58431         * sysdeps/generic/libnss_files.abilist: New file.
58432         * sysdeps/generic/libnss_hesiod.abilist: New file.
58433         * sysdeps/generic/libnss_nis.abilist: New file.
58434         * sysdeps/generic/libnss_nisplus.abilist: New file.
58435         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
58436         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
58437         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
58438         file.
58439         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
58440         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
58441         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
58442         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
58443         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
58444         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
58445         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
58446         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
58447         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
58448         file.
58449         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
58450         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
58451         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
58452         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
58453         file.
58454         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
58455         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
58456         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
58457         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
58458         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
58459         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
58460         file.
58461         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
58462         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
58463         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
58464         file.
58465         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
58466         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
58467         New file.
58468         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
58469         New file.
58470         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
58471         New file.
58472         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
58473         New file.
58474         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
58475         New file.
58476         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
58477         New file.
58478         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
58479         New file.
58480         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
58481         New file.
58482         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
58483         New file.
58484         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
58485         New file.
58486         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
58487         New file.
58488         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
58489         New file.
58490         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
58491         New file.
58492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
58493         file.
58494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
58495         New file.
58496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
58497         New file.
58498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
58499         file.
58500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
58501         New file.
58502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
58503         New file.
58504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
58505         file.
58506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
58507         New file.
58508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58509         New file.
58510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
58511         New file.
58512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
58513         New file.
58514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
58515         New file.
58516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
58517         New file.
58518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
58519         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
58520         file.
58521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
58522         New file.
58523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
58524         file.
58525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
58526         file.
58527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
58528         file.
58529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
58530         file.
58531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
58532         file.
58533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58534         New file.
58535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
58536         file.
58537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
58538         file.
58539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
58540         New file.
58541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
58542         file.
58543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
58544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
58545         file.
58546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
58547         New file.
58548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
58549         file.
58550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
58551         file.
58552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
58553         file.
58554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
58555         file.
58556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
58557         file.
58558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58559         New file.
58560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
58561         file.
58562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
58563         file.
58564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
58565         New file.
58566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
58567         file.
58568         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
58569         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
58570         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
58571         file.
58572         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
58573         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
58574         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
58575         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
58576         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
58577         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
58578         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
58579         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
58580         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
58581         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
58582         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
58583         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
58584         file.
58585         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
58586         New file.
58587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
58588         file.
58589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
58590         file.
58591         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
58592         file.
58593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
58594         file.
58595         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
58596         file.
58597         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
58598         New file.
58599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
58600         New file.
58601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
58602         file.
58603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
58604         New file.
58605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
58606         file.
58607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
58608         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
58609         file.
58610         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
58611         New file.
58612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
58613         file.
58614         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
58615         file.
58616         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
58617         file.
58618         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
58619         file.
58620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
58621         file.
58622         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
58623         New file.
58624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
58625         New file.
58626         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
58627         file.
58628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
58629         New file.
58630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
58631         file.
58633 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
58635         * conform/conformtest.pl: Fix typo in handling typed-constant from
58636         allow-header.
58638 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
58640         * README: Cut down references to pre-2.6 Linux kernels and
58641         Linuxthreads.  Update lists of configurations in libc and ports
58642         and sort alphabetically.  Say "or newer" with Linux kernel version
58643         requirements.
58645         * config.h.in [IS_IN_build]: Allow compiling without optimization.
58647 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58649         [BZ #887]
58650         * math/libm-test.inc (logb_test_downward): New test to expose
58651         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
58652         rounding mode.
58654 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
58656         [BZ #14027]
58657         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
58658         to be done.
58659         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
58660         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
58662 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
58664         * sysdeps/unix/i386/brk.S: Remove file.
58665         * sysdeps/unix/i386/dl-brk.S: Likewise.
58666         * sysdeps/unix/i386/pipe.S: Likewise.
58667         * sysdeps/unix/i386/sigreturn.S: Likewise.
58668         * sysdeps/unix/i386/syscall.S: Likewise.
58669         * sysdeps/unix/i386/vfork.S: Likewise.
58670         * sysdeps/unix/i386/wait.S: Likewise.
58672         * sysdeps/unix/common/tcsendbrk.c: Move to ...
58673         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
58675         * configure.in (arm*-none*): Do not allow without
58676         --enable-hacker-mode.
58677         (netbsd*): Remove case setting base_os.
58678         (386bsd*): Likewise.
58679         (freebsd*): Likewise.
58680         (bsdi*): Likewise.
58681         (osf*): Likewise.
58682         (sunos*): Likewise.
58683         (ultrix*): Likewise.
58684         (newsos*): Likewise.
58685         (dynix*): Likewise.
58686         (*bsd*): Likewise.
58687         (sysv*): Likewise.
58688         (isc*): Likewise.
58689         (esix*): Likewise.
58690         (sco*): Likewise.
58691         (minix*): Likewise.
58692         (irix4*): Likewise.
58693         (irix6*): Likewise.
58694         (solaris[2-9]*): Likewise.
58695         (none): Likewise.
58696         * configure: Regenerated.
58698 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58700         [BZ #11521]
58701         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
58702         overflow or cancellation in calculating denominator.
58703         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
58704         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
58705         down expression to avoid unexpected rounding in newer GCCs.
58706         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
58708 2012-04-26  David S. Miller  <davem@davemloft.net>
58710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
58711         long-double compat symbols.
58712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
58714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
58715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
58716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
58717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
58718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
58719         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
58720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
58721         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
58722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
58723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
58724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
58726 2012-04-25  David S. Miller  <davem@davemloft.net>
58728         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
58729         HWCAP_* values only after the memory barriers have been defined.
58730         (atomic_full_barrier): Define.
58731         (atomic_read_barrier): Define.
58732         (atomic_write_barrier): Define.
58734 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58736         * shlib-versions: Add libgcc_s version information.
58737         * sysdeps/generic/libgcc_s.h: Remove.
58738         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
58739         libgcc_s.h.
58740         * sysdeps/gnu/unwind-resume.c: Likewise.
58741         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
58743 2012-04-25  David S. Miller  <davem@davemloft.net>
58745         * sysdeps/unix/sparc/brk.S: Delete.
58746         * sysdeps/unix/sparc/dl-brk.S: Delete.
58747         * sysdeps/unix/sparc/pipe.S: Delete.
58748         * sysdeps/unix/sparc/sysdep.S: Delete.
58749         * sysdeps/unix/sparc/sysdep.h: Delete.
58750         * sysdeps/unix/sparc/vfork.S: Delete.
58751         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
58752         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
58753         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
58754         (ret_ERRVAL, r0, r1, MOVE): Define.
58755         (JUMPTARGET): Remove.
58756         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
58757         sysdeps/unix/sparc/sysdep.h
58758         (ENTRY, END): Remove.
58759         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58761 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
58763         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
58764         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
58765         -DIS_IN_build.
58767         * timezone/README: Update upstream location and email address for
58768         tzcode and tzdata.
58769         * timezone/zdump.c: Update from tzcode 2012b.
58770         * timezone/zic.c: Likewise.
58772         * configure.in (libc_cv_as_needed): Remove test.
58773         * configure: Regenerated.
58774         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
58775         conditional definition.
58776         [$(have-as-needed) != yes] (no-as-needed): Likewise.
58777         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
58778         * config.make.in (have-as-needed): Remove variable.
58780 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58781             Paul Pluzhnikov  <ppluzhnikov@google.com>
58783         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
58784         strings correctly.
58786 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
58788         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
58789         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
58790         * sysdeps/sh/strlen.S: Likewise.
58792 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58794         * sysdeps/unix/fork.S: Remove file.
58795         * sysdeps/unix/i386/fork.S: Likewise.
58796         * sysdeps/unix/sparc/fork.S: Likewise.
58798         * sysdeps/unix/system.c: Remove file.
58799         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
58801         * sysdeps/unix/getegid.S: Remove file.
58802         * sysdeps/unix/geteuid.S: Likewise.
58804 2012-04-24  Roland McGrath  <roland@hack.frob.com>
58806         * scripts/check-localplt.awk: New file.
58807         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
58808         of diff.
58809         * scripts/data/localplt-generic.data: Add a comment.
58811         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
58812         NODE when __dir_mkfile failed.
58813         * sysdeps/mach/hurd/symlinkat.c: Likewise.
58814         Reported by Ludovic Courtès <ludo@gnu.org>.
58816 2012-04-24  Andreas Jaeger  <aj@suse.de>
58818         * Makerules (common-clean): Also remove gen-as-const-headers
58819         files.
58821 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58823         * Makerules (native-compile): Do not change working directory for
58824         build.  Use $(OUTPUT_OPTION) in command.
58825         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
58827 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58829         [BZ #13886]
58830         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
58831         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
58832         * math/libm-test.inc (floor_test): Add more tests.
58833         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
58835 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58837         * sysdeps/unix/getdents.c: Remove file.
58838         * sysdeps/unix/sysv/getdents.c: Likewise.
58839         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
58841         * sysdeps/unix/syscalls.list (madvise): Add syscall from
58842         sysdeps/unix/mman/syscalls.list.
58843         (mmap): Likewise.
58844         (mprotect): Likewise.
58845         (msync): Likewise.
58846         (munmap): Likewise.
58847         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
58848         * sysdeps/unix/mman/syscalls.list: Remove.
58849         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
58851         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
58852         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
58853         * configure: Regenerated.
58854         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
58855         $(libgcc_s_suffix).
58856         * config.make.in (libgcc_s_suffix): Remove variable.
58858 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
58860         * sysdeps/unix/sysv/gethostname.c: Move to ...
58861         * sysdeps/posix/gethostname.c: ... here.
58863         * sysdeps/unix/execve.S: Remove file.
58865         * sysdeps/unix/_exit.S: Remove file.
58867 2012-04-23  Andreas Jaeger  <aj@suse.de>
58869         [BZ #13739]
58870         * manual/Makefile: Remove make dist support, there's no
58871         need for a stand-alone documentation tar ball.
58872         (TEXI2DVI): Define always, it's not in Makeconfig.
58873         (dist): Removed.
58874         (tar-it): Removed.
58875         (edition): Removed.
58876         (glibc-doc-$(edition).tar): Removed
58877         (%.Z): Removed.
58878         (%.gz): Removed.
58879         (%.uu): Removed.
58880         (ETAGS): Remove, it's in Makeconfig.
58881         (move-if-change): Remove, it's in Makeconfig.
58883 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
58885         [BZ #13970]
58886         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
58887         (strtod, strtof, strtold, strtol, strtoul, strtoq)
58888         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
58889         (strtod_l, strtof_l, strtold_l): Remove __wur.
58890         It is not necessarily an error to ignore strtol's return value.
58891         One can reliably look at the stored endptr to decide whether
58892         the number had valid syntax.
58894 2012-04-21  Andreas Jaeger  <aj@suse.de>
58896         [BZ #13739]
58897         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
58899 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
58901         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
58902         * sysdeps/unix/sysv/Versions: Remove file.
58904 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
58906         [BZ #13927]
58907         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58909 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
58911         [BZ #7064]
58912         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
58913         version from __vm86.
58915 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
58917         * sysdeps/unix/common/lxstat.c: Remove file.
58918         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
58920         * sysdeps/unix/sysv/Makefile: Remove file.
58922         * sysdeps/unix/sysv/direct.h: Remove file.
58924         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
58925         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
58926         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
58927         * sysdeps/unix/sysv/bits/signum.h: Likewise.
58928         * sysdeps/unix/sysv/bits/stat.h: Likewise.
58929         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
58930         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
58932         * sysdeps/unix/sysv/setrlimit.c: Remove file.
58934         * sysdeps/unix/xmknod.c: Remove file.
58935         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
58937         * sysdeps/unix/sysv/settimeofday.c: Remove file.
58939         * sysdeps/unix/sysv/i386/time.S: Remove file.
58941         * sysdeps/unix/fxstat.c: Remove file.
58942         * sysdeps/unix/xstat.c: Likewise.
58943         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
58945         * sysdeps/unix/sysv/sigaction.c: Remove file.
58947         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
58948         (sysdep_headers): Remove variable.
58949         [termio.h not in sysdep_headers] (generated): Likewise.
58950         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
58951         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
58952         * sysdeps/unix/sysv/tcdrain.c: Likewise.
58953         * sysdeps/unix/sysv/tcflow.c: Likewise.
58954         * sysdeps/unix/sysv/tcflush.c: Likewise.
58955         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
58956         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
58957         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
58958         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
58959         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
58961         * sysdeps/unix/siglist.c: Remove file.
58963         * sysdeps/unix/getppid.S: Remove file.
58965         * sysdeps/unix/mkdir.c: Remove file.
58966         * sysdeps/unix/rmdir.c: Likewise.
58968 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
58970         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
58971         ERR_MAX value.
58972         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
58973         errlist-compat value.
58975 2012-04-18  David S. Miller  <davem@davemloft.net>
58977         * sysdeps/generic/memcopy.h (reg_char): Delete.
58978         * debug/strcat_chk.c: Use char, not reg_char.
58979         * debug/strcpy_chk.c: Likewise.
58980         * debug/strncat_chk.c: Likewise.
58981         * debug/strncpy_chk.c: Likewise.
58982         * string/memchr.c: Likewise.
58983         * string/memrchr.c: Likewise.
58984         * string/rawmemchr.c: Likewise.
58985         * string/strcat.c: Likewise.
58986         * string/strchr.c: Likewise.
58987         * string/strchrnul.c: Likewise.
58988         * string/strcmp.c: Likewise.
58989         * string/strcpy.c: Likewise.
58990         * string/strncat.c: Likewise.
58991         * string/strncmp.c: Likewise.
58992         * string/strncpy.c: Likewise.
58994 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58996         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
58997         __builtin_memcopy is called when src and dest ranges are known to not
58998         overlap.
59000 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59002         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
59003         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
59004         fwd_align_merge macro call.
59005         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
59006         bwd_align_merge macro call.
59007         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59009 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59011         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
59012         bwd_align_merge macros.
59013         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
59014         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
59015         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59017 2012-04-18  David S. Miller  <davem@davemloft.net>
59019         * sysdeps/sparc/sparc64/memcopy.h: Delete.
59021 2012-04-18  Andreas Jaeger  <aj@suse.de>
59023         [BZ# 6794]
59024         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
59025         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
59026         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59028         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
59029         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
59030         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59032         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
59033         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
59034         Adjust for changed ldbl-128 files.
59036         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
59037         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
59038         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59040 2012-04-17  David S. Miller  <davem@davemloft.net>
59042         * sysdeps/sparc/sparc32/memcopy.h: Delete.
59044 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
59046         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
59047         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
59048         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
59049         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
59050         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
59051         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
59053 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59055         [BZ #6794]
59056         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
59057         * math/libm-test.inc: Add ilogb errno and exception tests.
59058         * math/w_ilogb.c: New file: ilogb wrapper.
59059         * math/w_ilogbf.c: New file: ilogbf wrapper.
59060         * math/w_ilogbl.c: New file: ilogbl wrapper.
59061         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
59062         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
59063         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
59064         exception being thrown with 0.0 as argument.
59065         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
59066         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
59067         exception being thrown with 0.0 as argument.
59068         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
59069         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
59070         exception being thrown with 0.0 as argument.
59071         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
59072         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
59073         exception being thrown with 0.0 as argument.
59074         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
59075         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
59076         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
59077         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
59078         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
59079         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
59080         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
59081         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
59082         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
59084 2012-04-17  Petr Baudis  <pasky@ucw.cz>
59086         * include/sys/uio.h: Change __vector to __iovec to avoid clash
59087         with altivec.
59089 2012-04-16  Marek Polacek  <polacek@redhat.com>
59091         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
59093 2012-04-16  Marek Polacek  <polacek@redhat.com>
59095         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
59096         operands of fdivp instruction.
59098 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
59100         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
59101         * elf/tst-auditmod3b.c: Likewise.
59102         * elf/tst-auditmod4b.c: Likewise.
59103         * elf/tst-auditmod5b.c: Likewise.
59104         * elf/tst-auditmod6b.c: Likewise.
59105         * elf/tst-auditmod6c.c: Likewise.
59106         * elf/tst-auditmod7b.c: Likewise.
59107         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
59108         * sysdeps/x86_64/preconfigure.in: Likewise.
59109         * sysdeps/x86_64/preconfigure: Regenerated.
59111 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
59113         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
59114         __ILP32__.
59116 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
59118         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59119         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
59121 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
59123         [BZ #13973]
59124         * locale/iso-639.def: Fix gl language name. Spotted by
59125         Yaron Shahrabani.
59127 2012-04-12  Roland McGrath  <roland@hack.frob.com>
59129         [BZ #2074]
59130         * libio/libio.h (__io_write_fn): Update comment.
59132 2012-04-12  Petr Baudis  <pasky@ucw.cz>
59134         [BZ #2074]
59135         * stdio.texi (Hook Functions): The user provided writer function
59136         is not allowed to return -1.
59138 2012-04-11  David S. Miller  <davem@davemloft.net>
59140         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59142 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
59144         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
59145         Add a leading slash to rtkaio.
59147 2012-04-11  Jim Meyering  <meyering@redhat.com>
59149         [BZ #11959]
59150         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
59151         It is not necessarily an error to ignore fwrite's return
59152         value.  One can reliably use ferror to test for errors after
59153         the fact.
59155 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
59157         * bits/types.h (__snseconds_t): New type.
59158         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
59160         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
59161         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59162         (__SNSECONDS_T_TYPE): Likewise.
59163         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59164         (__SNSECONDS_T_TYPE): Likewise.
59165         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59166         (__SNSECONDS_T_TYPE): Likewise.
59168 2012-04-10  Andreas Jaeger  <aj@suse.de>
59170         [BZ #2636]
59171         * manual/time.texi (Processor Time): Return type of times is
59172         elapsed real time since an arbitrary point in the past.
59173         (CPU Time): Move CLK_TCK from here...
59174         (Processor Time): ...to here.  Correct description.
59175         * manual/conf.texi (Constants for Sysconf): Correct description of
59176         _SC_CLK_TCK.
59178 2012-04-10  David S. Miller  <davem@davemloft.net>
59180         [BZ #13967]
59181         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
59182         where the is a gap between DT_REL(A) and DT_JMPREL.
59184 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
59186         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
59187         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59188         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59190 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59192         * elf/dl-support.c (_dl_inhibit_cache): New variable.
59193         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
59194         (dl_main): Handle --inhibit-cache.
59195         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
59196         _dl_inhibit_cache.
59197         * elf/dl-load.c (_dl_map_object): Use it.
59198         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
59200 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59202         [BZ #13872]
59203         * sysdeps/i386/fpu/e_powl.S (p78): New object.
59204         (__ieee754_powl): Saturate large exponents rather than testing for
59205         overflow of y*log2(x).
59206         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59207         * math/libm-test.inc (pow_test): Do not permit spurious overflow
59208         exceptions.
59210         [BZ #11521]
59211         * math/s_ctan.c: Include <float.h>.
59212         (__ctan): Avoid internal overflow or cancellation in calculating
59213         denominator.
59214         * math/s_ctanf.c: Likewise.
59215         * math/s_ctanl.c: Likewise.
59216         * math/s_ctanh.c: Likewise.
59217         * math/s_ctanhf.c: Likewise.
59218         * math/s_ctanhl.c: Likewise.
59219         * math/libm-test.inc (ctan_test): Add more tests.
59220         (ctanh_test): Likewise.
59221         * sysdeps/i386/fpu/libm-test-ulps: Update.
59222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59224 2012-04-09  Andreas Jaeger  <aj@suse.de>
59226         [BZ #6894]
59227         * manual/filesys.texi (Directory Entries): Mention that d_namlen
59228         is an optional BSD extension.
59230         [BZ #10254]
59231         * manual/stdio.texi (Opening Streams): Document additional fopen
59232         parameters.
59234 2012-04-09  Roland McGrath  <roland@hack.frob.com>
59236         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
59237         %eax without telling the compiler.
59239 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
59241         [BZ # 13963]
59242         * manual/install.texi: Use sourceware.org.
59244 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59246         [BZ #13873]
59247         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
59248         (__ieee754_pow): Generate overflow and underflow using huge*huge
59249         and tiny*tiny rather than just returning constant infinity or zero
59250         for large exponents.
59251         * math/libm-test.inc (pow_test): Require overflow exceptions for
59252         applicable cases of large exponents.
59254         [BZ #706]
59255         * sysdeps/i386/fpu/e_pow.S (p10): New object.
59256         (__ieee754_pow): Use iterative multiplication algorithm only for
59257         integer exponents with absolute value below 1024.  Check for odd
59258         integer exponents when using algorithm for real exponents.
59259         * math/libm-test.inc (pow_test): Add more tests.
59260         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59262 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
59264         [BZ #13705]
59265         * math/libm-test.inc (exp_test): Do not allow overflow exception
59266         on underflow test.
59268 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
59270         [BZ #13705]
59271         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
59272         instead of __kernel_standard_f.
59274 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
59276         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
59277         * sysdeps/x86_64/memset_chk.S: Likewise.
59279 2012-04-08  Andreas Jaeger  <aj@suse.de>
59281         [BZ #10153]
59282         * manual/startup.texi (Environment Access): Describe return value
59283         for putenv and setenv.
59285         [BZ #6895]
59286         * manual/filesys.texi (Directory Entries): Add description for
59287         DT_LNK.
59289         [BZ #6890]
59290         * manual/filesys.texi (Directory Entries): Clarify that it's file
59291         system not operating system in the description of DT_UNKNOWN.
59293         [BZ #6578]
59294         * manual/syslog.texi (closelog): Fix reference, it's openlog.
59296 2012-04-08  Stephen Compall  <s11@member.fsf.org>
59298         [BZ #6649]
59299         * manual/llio.texi (Opening and Closing Files): Add cross
59300         reference to explain mode argument.
59302 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
59304         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
59305         * sysdeps/x86_64/memset_chk.S: Likewise.
59307 2012-04-07  David S. Miller  <davem@davemloft.net>
59309         * elf/elf.h (R_SPARC_WDISP10): Define.
59310         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
59311         R_SPARC_SIZE32.
59312         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
59313         R_SPARC_SIZE64 and R_SPARC_H34.
59315 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
59317         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
59318         conditions and remove no longer applicable assertion.
59320 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59322         * bits/byteswap.h: Include <features.h>.
59323         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59324         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59326 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59328         * bits/byteswap.h (__bswap_16): Removed.
59329         Include <bits/byteswap-16.h> to get __bswap_16.
59330         * sysdeps/i386/bits/byteswap.h: Likewise.
59331         * sysdeps/s390/bits/byteswap.h: Likewise.
59332         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59333         * bits/byteswap-16.h: New file.
59334         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59335         * sysdeps/s390/bits/byteswap-16.h: Likewise.
59336         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
59337         * string/Makefile (headers): Add bits/byteswap-16.h.
59339 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59341         [BZ #13895]
59342         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
59343         extra indirection.
59344         * nss/Makefile (tests-static, tests): Add tst-nss-static.
59345         * nss/tst-nss-static.c: New.
59347 2012-04-06  Robert Millan  <rmh@gnu.org>
59349         [BZ #6486]
59350         * manual/llio.texi (File Position Primitive): lseek
59351         refers to WHENCE when it really means OFFSET.
59353 2012-04-06  Andreas Jaeger  <aj@suse.de>
59355         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
59356         strncmp declarations.
59358         * abilist/libc.abilist: Add __poll and __ppoll.
59360 2012-04-05  David S. Miller  <davem@davemloft.net>
59362         * scripts/check-local-headers.sh: Accept a host triplet in the
59363         path matched by the exclude regexp.
59365         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
59366         definition.
59367         * sysdeps/powerpc/powerpc32/dl-machine.h
59368         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
59369         * sysdeps/s390/s390-32/dl-machine.h
59370         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59371         * sysdeps/sparc/sparc32/dl-machine.h
59372         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59373         * sysdeps/sparc/sparc64/dl-machine.h
59374         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59376         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
59377         lazy binding.
59378         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
59379         undefined symbol errors.
59381         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
59382         DT_NEEDED entries.
59384 2012-04-05  Michael Matz  <matz@suse.de>
59386         [BZ #13592]
59387         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
59389 2012-04-05  Andreas Jaeger  <aj@suse.de>
59391         [BZ #13908]
59392         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
59393         comment.
59395 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59397         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
59398         which ROUND is no valid rounding mode.
59400 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59402         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
59403         read again.
59404         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
59406 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59408         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
59409         an exception using FPU order intentionally.
59411 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59413         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
59414         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
59415         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
59416         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
59418 2012-04-05  Simon Josefsson  <simon@josefsson.org>
59420         [BZ #12340]
59421         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
59422         EINVAL when BUFLEN is too smal.
59424 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
59426         [BZ #13553]
59427         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
59428         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
59430 2012-04-03  Andreas Jaeger  <aj@suse.de>
59432         [BZ #13938]
59433         * manual/setjmp.texi (System V contexts): Fix sentence.
59435         [BZ #13926]
59436         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
59437         New macro for this case.
59438         [!__GNUC__] (__bswap_64): New inline function for this case.
59439         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59440         * bits/byteswap.h: Likewise.
59441         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
59442         ull, guard with __GLIBC_HAVE_LONG_LONG.
59444         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
59445         __GLIBC_HAVE_LONG_LONG.
59447         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
59448         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
59450 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
59452         [BZ #13691]
59453         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
59454         inptr and inend, rather than using last_ch.
59456 2012-04-02  David S. Miller  <davem@davemloft.net>
59458         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
59459         * stdio-common/printf-parse.h (read_int): Change return type to
59460         'int', return -1 on INT_MAX overflow.
59461         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
59462         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
59463         overflows INT_MAX.  Check for overflow of in-format-string precision
59464         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
59465         SIZE_MAX not INT_MAX for integer overflow test.
59466         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
59467         skip the construct in the format string but do not record anything.
59468         * stdio-common/bug22.c: Adjust to test both width/prevision
59469         INT_MAX overflow as well as total length INT_MAX overflow.  Check
59470         explicitly for proper errno values.
59472 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
59474         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
59475         CHAR_MAX.
59476         * string/test-strcmp.c [! WIDE]: Likewise.
59477         * time/tst-mktime2.c: Likewise for INT_MAX.
59478         * string/test-string.h: #include <sys/param.h> for MIN.
59480         * csu/init-first.c (__libc_init_first): Call __ctype_init.
59481         * sysdeps/i386/init-first.c (init): Likewise.
59482         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
59483         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
59484         * sysdeps/sh/init-first.c (init): Likewise.
59486 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
59488         * po/ru.po: Update from translation team.
59489         * po/vi.po: Likewise.
59491 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
59493         * resolv/nss_dns/dns-host.c: Merge copyright years.
59495 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59497         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59498         Optimize memcpy with prefetch if
59499         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
59500         src, dst pointers have unequal 16 byte alignments.
59502 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59504         [BZ #13928]
59505         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
59506         from a CNAME entry and return the minimum ttl for the query.
59507         (gaih_getanswer_slice): Likewise.
59509 2012-03-30  Jeff Law  <law@redhat.com>
59511         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
59512         due to long keys.
59513         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
59514         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
59516         * resolv/nss_dns/dns-host.c: Update copyright year.
59518 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
59520         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
59521         requests to save a system call.  Fix check that all bytes are sent.
59523         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
59524         comments for sendmmsg.
59526 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59528         [BZ #13691]
59529         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
59530         with only 1 character between 0x0041 and 0x01b0.
59531         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
59532         * wcsmbs/tst-mbsnrtowcs.c: New file.
59534 2012-03-29  David S. Miller  <davem@davemloft.net>
59536         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
59537         small copies by hand.
59539 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59541         [BZ #13761]
59542         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
59543         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
59544         group memberships.
59546 2012-03-28  David S. Miller  <davem@davemloft.net>
59548         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
59549         that branches into memcpy.
59550         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
59551         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
59552         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
59553         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
59554         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
59555         bits.
59556         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
59557         implementation too.
59558         * sysdeps/sparc/mempcpy.S: New file.
59560         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
59561         the IFUNC routine in the libc case.
59562         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
59564         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
59565         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
59566         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
59567         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
59568         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
59569         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
59570         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
59571         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
59573         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
59574         loop to 256 bytes instead of 64 bytes and fix test signedness.
59576         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
59577         * sysdeps/sparc/sparc32/Makefile: rather than here...
59578         * sysdeps/sparc/sparc64/Makefile: and here.
59580 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
59582         * malloc/mallocbug.c: Avoid warnings about unused variables.
59584 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59586         [BZ #13760]
59587         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
59588         in the right place. Discard and retry query if response is
59589         larger than input buffer size.
59591 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
59593         [BZ #369]
59594         [BZ #2678]
59595         [BZ #3866]
59596         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
59597         x for large integer exponent.
59598         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
59599         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
59600         sign of result as needed afterwards.
59601         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
59602         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
59603         result for underflowing pow the same as for overflow.
59604         (__kernel_standard_l): Handle powl overflow and underflow here
59605         rather than calling __kernel_standard.
59606         * math/libm-test.inc (pow_test): Add more tests.
59608         [BZ #3868]
59609         [BZ #13879]
59610         [BZ #13910]
59611         [BZ #13911]
59612         [BZ #13912]
59613         [BZ #13913]
59614         [BZ #13915]
59615         [BZ #13916]
59616         [BZ #13917]
59617         [BZ #13918]
59618         [BZ #13919]
59619         [BZ #13920]
59620         [BZ #13921]
59621         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
59622         * sysdeps/ieee754/k_standard.c: Include <float.h>.
59623         (__kernel_standard_l): New function.
59624         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
59625         __kernel_standard.
59626         * math/w_acosl.c (__acosl): Likewise.
59627         * math/w_asinl.c (__asinl): Likewise.
59628         * math/w_atan2l.c (__atan2l): Likewise.
59629         * math/w_atanhl.c (__atanhl): Likewise.
59630         * math/w_coshl.c (__coshl): Likewise.
59631         * math/w_exp10l.c (__exp10l): Likewise.
59632         * math/w_exp2l.c (__exp2l): Likewise.
59633         * math/w_fmodl.c (__fmodl): Likewise.
59634         * math/w_hypotl.c (__hypotl): Likewise.
59635         * math/w_j0l.c (__j0l, __y0l): Likewise.
59636         * math/w_j1l.c (__j1l, __y1l): Likewise.
59637         * math/w_jnl.c (__jnl, __ynl): Likewise.
59638         * math/w_lgammal.c (__lgammal): Likewise.
59639         * math/w_log10l.c (__log10l): Likewise.
59640         * math/w_log2l.c (__log2l): Likewise.
59641         * math/w_logl.c (__logl): Likewise.
59642         * math/w_powl.c (__powl): Likewise.
59643         * math/w_remainderl.c (__remainderl): Likewise.
59644         * math/w_scalbl.c (sysv_scalbl): Likewise.
59645         * math/w_sinhl.c (__sinhl): Likewise.
59646         * math/w_sqrtl.c (__sqrtl): Likewise.
59647         * math/w_tgammal.c (__tgammal): Likewise.
59648         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
59649         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
59650         * math/libm-test.inc (acos_test): Add more tests.
59651         (acosh_test): Likewise.
59652         (asin_test): Likewise.
59653         (atanh_test): Likewise.
59654         (exp_test): Likewise.
59655         (exp10_test): Likewise.
59656         (exp2_test): Likewise.
59657         (expm1_test): Likewise.
59658         (lgamma_test): Likewise.
59659         (log_test): Likewise.
59660         (log10_test): Likewise.
59661         (log1p_test): Likewise.
59662         (log2_test): Likewise.
59663         (pow_test): Do not allow some spurious overflow exceptions.
59664         (sqrt_test): Add more tests.
59665         (tgamma_test): Likewise.
59666         (y0_test): Likewise.
59667         (y1_test): Likewise.
59668         (yn_test): Likewise.
59670 2012-03-27  Anton Blanchard  <anton@samba.org>
59672         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
59673         MAP_HUGETLB.
59674         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59675         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59676         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59678 2012-03-27  David S. Miller  <davem@davemloft.net>
59680         * conform/Makefile: Run run-conformtest.sh using $(BASH).
59682         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
59683         have-as-vis3 check.
59685 2012-03-27  Andreas Jaeger  <aj@suse.de>
59687         * sysdeps/x86_64/elf/configure.in: Moved to ...
59688         * sysdeps/x86_64/configure.in: ... here.
59689         * sysdeps/x86_64/elf/start.S: Moved to ...
59690         * sysdeps/x86_64/start.S: ... here.
59691         * sysdeps/x86_64/elf/configure: Delete.
59693         * sysdeps/x86_64/configure.in: Merge contents from
59694         sysdeps/i386/configure.in (without i686 check).
59696         * sysdeps/i386/elf/Versions: Merge into ...
59697         * sysdeps/i386/Versions: ... this.
59698         * sysdeps/i386/elf/Versions: Delete file.
59699         * sysdeps/i386/elf/start.S: Moved to ...
59700         * sysdeps/i386/start.S: ...here.
59701         * sysdeps/i386/elf/configure.in: Merge into...
59702         * sysdeps/i386/configure.in: ...here.
59703         * sysdeps/i386/elf/configure.in: Delete file.
59704         * sysdeps/i386/elf/configure: Delete file.
59706         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
59707         * debug/backtracesyms.c: ... here.
59708         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
59709         * debug/backtracesymsfd.c: ... here.
59710         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
59711         * sysdeps/generic/ifunc-sel.h: ... here.
59713         * sysdeps/unix/i386/start.c: Delete file.
59714         * sysdeps/unix/sparc/start.c: Delete file.
59715         * sysdeps/unix/start.c: Delete file.
59717         * sysdeps/sh/elf/configure.in: Moved to ...
59718         * sysdeps/sh/configure.in: ... here.
59719         * sysdeps/sh/elf/start.S: Moved to ...
59720         * sysdeps/sh/start.S: ... here.
59721         * sysdeps/sh/elf/configure: Delete file.
59723         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
59724         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
59725         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
59726         * sysdeps/powerpc/powerpc64/entry.h: ... here.
59727         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
59728         * sysdeps/powerpc/powerpc64/start.S: here.
59729         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
59730         * sysdeps/powerpc/powerpc64/Makefile: ... this.
59731         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
59732         * sysdeps/powerpc/powerpc64/configure.in: ... this.
59733         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
59735         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
59736         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
59737         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
59738         * sysdeps/powerpc/powerpc32/start.S: ... here.
59739         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
59740         * sysdeps/powerpc/powerpc32/configure.in: ... this.
59741         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
59743         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
59744         * sysdeps/powerpc/ifunc-sel.h: ... here.
59745         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
59746         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
59748         * sysdeps/sparc/elf/configure.in: Moved to ...
59749         * sysdeps/sparc/configure.in: ... here.
59750         * sysdeps/sparc/elf/configure: Delete file.
59751         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
59752         * sysdeps/sparc/sparc32/start.S: ... here.
59753         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
59754         * sysdeps/sparc/sparc64/start.S: ... here.
59755         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
59756         * sysdeps/sparc/sparc32/Makefile: ... this.
59757         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
59758         * sysdeps/sparc/sparc64/Makefile: ... this.
59760         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
59761         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
59762         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
59763         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
59764         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
59765         * sysdeps/s390/s390-32/setjmp.S: ... here.
59766         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
59767         * sysdeps/s390/s390-32/configure.in: ... here.
59768         * sysdeps/s390/s390-32/elf/configure: Delete file.
59769         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
59770         * sysdeps/s390/s390-32/start.S: ... here.
59772         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
59773         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
59774         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
59775         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
59776         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
59777         * sysdeps/s390/s390-64/setjmp.S: ... here.
59778         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
59779         * sysdeps/s390/s390-64/configure.in: ... here
59780         * sysdeps/s390/s390-64/elf/configure: Delete file.
59781         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
59782         * sysdeps/s390/s390-64/start.S: ... here.
59783         * sysdeps/s390/s390-64/elf/configure: Delete.
59785         * configure.in: Remove support for elf directories in sysdeps.
59787         * configure: Regenerated.
59788         * sysdeps/i386/configure: Regenerated.
59789         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59790         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59791         * sysdeps/s390/s390-32/configure: Regenerated.
59792         * sysdeps/s390/s390-64/configure: Regenerated.
59793         * sysdeps/sh/configure: Regenerated.
59794         * sysdeps/sparc/configure: Regenerated.
59795         * sysdeps/x86_64/configure: Regenerated.
59797 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
59799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59801         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
59802         denormal result into account.
59804 2012-03-25  Roland McGrath  <roland@hack.frob.com>
59806         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
59807         Reported by Allan McRae <allan@archlinux.org>.
59809 2012-03-23  Jeff Law  <law@redhat.com>
59811         * nss/getnssent.c (__nss_getent): Fix typo.
59813 2012-03-23  David S. Miller  <davem@davemloft.net>
59815         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59817 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
59819         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
59820         to pad to uint64_t for each field.
59821         (dl_tls_index): Replace unsigned long with uint64_t.
59823 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
59824         Paul Pluzhnikov  <ppluzhnikov@google.com>
59826         [BZ #6528]
59827         * grp/Makefile (otherlibs): Don't set it.
59828         * inet/Makefile (otherlibs): Likewise.
59829         * login/Makefile (otherlibs): Likewise.
59830         * nscd/Makefile (otherlibs): Likewise.
59831         * posix/Makefile (otherlibs): Likewise.
59832         * pwd/Makefile (otherlibs): Likewise.
59833         * rt/Makefile (otherlibs): Likewise.
59834         * sunrpc/Makefile (otherlibs): Likewise.
59835         * nss/Makefile (otherlibs): Likewise.
59836         Add libnss_files to routines and static-only-routines.
59837         ($(objpfx)getent): Remove rule.
59838         * resolv/Makefile: Add libnss_dns and libresolv to routines and
59839         static-only-routines.
59841 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59843         [BZ #13892]
59844         * math/s_cexp.c: Include <float.h>.
59845         (__cexp): Handle exp result overflowing not necessarily
59846         overflowing both real and imaginary parts of result.
59847         * math/s_cexpf.c: Likewise.
59848         * math/s_cexpl.c: Likewise.
59849         * math/libm-test.inc (cexp_test): Add more tests.
59850         * sysdeps/i386/fpu/libm-test-ulps: Update.
59851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59853 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59855         * include/link.h (ELFW): New macro.
59856         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
59857         Replace ELF64_R_TYPE with ELFW(R_TYPE).
59859 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59861         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
59862         with uint64_t.
59864 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59866         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
59867         declaration.
59868         (struct La_x32_retval): Likewise.
59870 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59872         * sysdeps/x86_64/preconfigure.in: New file.
59873         * sysdeps/x86_64/preconfigure: New generated file.
59875 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59877         [BZ #13824]
59878         * math/e_exp2l.c: Include <float.h>.
59879         (__ieee754_exp2l): Handle overflow and underflow cases
59880         separately.  Only pass fractional part of argument to
59881         __ieee754_expl.
59882         * math/libm-test.inc (exp2_test): Add more tests.
59884         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
59885         negating x to take absolute value.
59886         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
59887         Likewise.
59888         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
59889         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
59890         Likewise.
59891         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
59892         computing low part if x was negated.
59893         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
59895 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59897         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
59898         la_x32_gnu_pltexit.
59899         (pltexit): Cast int_retval to ptrdiff_t.
59900         * elf/tst-auditmod3b.c: Likewise.
59901         * elf/tst-auditmod4b.c: Likewise.
59902         * elf/tst-auditmod5b.c: Likewise.
59903         * elf/tst-auditmod6b.c: Likewise.
59904         * elf/tst-auditmod6c.c: Likewise.
59905         * elf/tst-auditmod7b.c: Likewise.
59907         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
59908         and x32_gnu_pltexit.
59910         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
59911         __ELF_NATIVE_CLASS.
59912         (La_x32_regs): New macro.
59913         (La_x32_retval): Likewise.
59914         (la_x32_gnu_pltenter): New function prototype.
59915         (la_x32_gnu_pltexit): Likewise.
59917 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
59919         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
59920         exponent.
59922         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59924         * configure.in (libc_cv_cc_nofma): Check for option to disable
59925         generation of FMA instructions.
59926         * configure: Regenerate.
59927         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
59928         * sysdeps/ieee754/dbl-64/Makefile: New file.
59929         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
59930         Remove brandred-fma4.
59931         (CFLAGS-brandred-fma4.c): Remove.
59932         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
59933         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
59934         define.
59935         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
59936         define.
59938 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59940         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
59941         LLONG_MAX != LONG_MAX.
59942         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59943         (_fitoa_word): Likewise.
59944         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
59945         LLONG_MAX != LONG_MAX.
59946         * stdio-common/_itowa.h: Include <_itoa.h>.
59947         (_itowa_word): Use _ITOA_WORD_TYPE on value.
59948         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
59949         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
59950         only if not defined.
59951         (_ITOA_WORD_TYPE): Likewise.
59952         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59953         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
59955 2012-03-21  David S. Miller  <davem@davemloft.net>
59957         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59959 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59961         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
59962         of x86_64 when setting libc_cv_slibdir, libdir and
59963         libc_cv_localedir.
59964         * sysdeps/unix/sysv/linux/configure: Regenerated.
59966 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59968         * manual/lang.texi (Old Varargs): Remove section.
59969         (How Variadic): Update menu.
59970         (va_start): Do not mention varargs.h.
59972 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59973             Joseph Myers  <joseph@codesourcery.com>
59975         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
59976         link test.
59977         * configure: Regenerated.
59979 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59981         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
59982         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
59983         conformtest.pl
59985 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59987         * NOTES: Remove.
59988         * Makefile (files-for-dist): Remove NOTES.
59989         (NOTES): Remove rule.
59990         * README: Don't refer to NOTES.
59991         * manual/creature.texi: Don't include macros.texi.
59992         * manual/intro.texi (creature.texi): Remove comment referring to
59993         NOTES.
59995         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
59996         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
59997         * configure: Regenerated.
59998         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
59999         LIBC_TRY_CC_OPTION.
60000         (libc_cv_as_i686): Likewise.
60001         (libc_cv_cc_avx): Likewise.
60002         (libc_cv_cc_sse2avx): Likewise.
60003         (libc_cv_cc_fma4): Likewise.
60004         (libc_cv_cc_novzeroupper): Likewise.
60005         * sysdeps/i386/configure: Regenerated.
60007         [BZ #13883]
60008         * sysdeps/i386/fpu/s_cexp.S: Remove.
60009         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
60010         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
60011         * math/libm-test.inc (cexp_test): Add more tests.
60012         * sysdeps/i386/fpu/libm-test-ulps: Update.
60013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60015 2012-03-21  Allan McRae  <allan@archlinux.org>
60017         * timezone/Makefile: Do not install iso3166.tab and zone.tab
60019 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60021         [BZ #13871]
60022         * math/w_exp2.c: Do not include <float.h>.
60023         (o_threshold, u_threshold): Remove.
60024         (__exp2): Calculate result before checking finiteness and calling
60025         __kernel_standard.
60026         * math/w_exp2f.c: Likewise.
60027         * math/w_exp2l.c: Likewise.
60028         * math/libm-test.inc (exp2_test): Require overflow exception for
60029         1e6 input.
60031         [BZ #3866]
60032         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
60033         range of signed 64-bit integers before using fistpll.  Remove
60034         checks for whether integers fit in mantissa bits.
60035         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
60036         the range of signed 32-bit integers before using fistpl.  Remove
60037         checks for whether integers fit in mantissa bits.
60038         * sysdeps/i386/fpu/e_powl.S (p64): New object.
60039         (__ieee754_powl): Test for y outside the range of signed 64-bit
60040         integers before using fistpll.  Reduce 64-bit values to 63-bit
60041         ones as needed.
60042         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
60043         divide-by-zero is raised for zero to large negative powers.
60044         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
60045         (__ieee754_powl): Test for y outside the range of signed 64-bit
60046         integers before using fistpll.  Reduce 64-bit values to 63-bit
60047         ones as needed.
60048         * math/libm-test.inc (pow_test): Add more tests.
60050 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60052         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
60053         <stdio-common/_itoa.h>.
60054         * debug/segfault.c: Likewise.
60055         * elf/dl-cache.c: Likewise.
60056         * elf/dl-minimal.c: Likewise.
60057         * elf/dl-misc.c: Likewise.
60058         * elf/dl-sysdep.c: Likewise.
60059         * elf/dl-version.c: Likewise.
60060         * elf/rtld.c: Likewise.
60061         * hurd/hurdsock.c: Likewise.
60062         * hurd/lookup-retry.c: Likewise.
60063         * malloc/malloc.c: Likewise.
60064         * malloc/mtrace.c: Likewise.
60065         * nscd/nscd_getgr_r.c: Likewise.
60066         * nscd/nscd_getpw_r.c: Likewise.
60067         * nscd/nscd_getserv_r.c: Likewise.
60068         * posix/getopt_init.c: Likewise.
60069         * posix/wordexp.c: Likewise.
60070         * stdio-common/_itoa.c: Likewise.
60071         * stdio-common/printf_fphex.c: Likewise.
60072         * stdio-common/vfprintf.c: Likewise.
60073         * string/_strerror.c: Likewise.
60074         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
60075         * sysdeps/i386/i686/hp-timing.h: Likewise.
60076         * sysdeps/mach/_strerror.c: Likewise.
60077         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
60078         * sysdeps/mach/hurd/sethostid.c: Likewise.
60079         * sysdeps/mach/hurd/xmknodat.c: Likewise.
60080         * sysdeps/mach/xpg-strerror.c: Likewise.
60081         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
60082         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
60083         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
60084         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
60085         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
60086         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
60087         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
60088         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
60089         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
60090         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
60091         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
60092         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
60093         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
60094         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
60095         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
60096         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
60097         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
60098         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
60099         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
60100         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
60101         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
60103         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
60105         * stdio-common/_itoa.h: Moved to ...
60106         * sysdeps/generic/_itoa.h: Here.
60108         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
60110         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
60111         instead of "_itoa.h" and "_itowa.h".
60112         * stdio-common/vfprintf.: Likewise.
60114 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60116         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
60117         <bits/wordsize.h>.
60118         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
60119         (__signbit): Likwise.
60120         (llrintf): Likwise.
60121         (llrint): Likwise.
60123 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60125         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
60126         __WORDSIZE != 64.
60128 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
60130         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
60131         OVERFLOW_EXCEPTION_OK.
60132         * math/libm-test.inc ("Philosophy"): Update comment about
60133         exception testing.
60134         (OVERFLOW_EXCEPTION): Define.
60135         (OVERFLOW_EXCEPTION_OK): Likewise.
60136         (INVALID_EXCEPTION_OK): Renumber.
60137         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60138         (IGNORE_ZERO_INF_SIGN): Likewise.
60139         (test_exceptions): Handle FE_OVERFLOW.
60140         (exp10_test): Expect overflow exceptions.
60141         (exp2_test): Likewise.
60142         (expm1_test): Likewise.
60143         (nextafter_test): Likewise.
60144         (pow_test): Likewise.
60145         (scalbn_test): Likewise.
60146         (scalbln_test): Likewise.
60148 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60150         * sysdeps/x86_64/bits/atomic.h
60151         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
60152         64bit integer.
60153         (atomic_exchange_acq): Likewise.
60154         (__arch_exchange_and_add_body): Likewise.
60155         (__arch_add_body): Likewise.
60156         (atomic_add_negative): Likewise.
60157         (atomic_add_zero): Likewise.
60159 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60161         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
60162         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
60164 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60166         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
60167         Check __x86_64__ instead of __WORDSIZE.
60169 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60171         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
60173 2012-03-19  David S. Miller  <davem@davemloft.net>
60175         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60177         * sysdeps/sparc/fpu/fenv_private.h: New file.
60178         * sysdeps/sparc/fpu/math_private.h: Use it.
60179         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
60180         Remove.
60181         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
60182         (libc_feholdexcept_setroundl): Remove.
60183         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
60184         Remove.
60185         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
60186         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
60188 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60190         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
60191         int64_t instead of long int.
60192         (INSERT_WORDS64): Likwise.
60194 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60196         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
60197         _Unwind_GetCFA return to _Unwind_Ptr first.
60199 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
60201         [BZ #13629]
60202         * math/s_clog.c: Include <float.h>.
60203         (__clog): Scale large or subnormal inputs.
60204         * math/s_clogf.c: Likewise.
60205         * math/s_clogl.c: Likewise.
60206         * math/s_clog10.c: Include <float.h>.
60207         (M_LOG10_2): Define.
60208         (__clog10): Scale large or subnormal inputs.
60209         * math/s_clog10f.c: Likewise.
60210         * math/s_clog10l.c: Likewise.
60211         * math/libm-test.inc (clog_test): Add more tests.
60212         (clog10_test): Likewise.
60213         * sysdeps/i386/fpu/libm-test-ulps: Update.
60214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60216         [BZ #11451]
60217         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
60218         x and y.
60219         * math/libm-test.inc (atan2_test): Add another test.
60221         * Makerules (common-objdir-compile): Remove.
60222         * sysdeps/unix/Makefile (config-generated): Do not add
60223         $(unix-generated) to variable.
60224         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
60225         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
60226         Remove rule.
60227         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
60228         Likewise.
60229         [generic bits/local_lim.h] (before-compile): Do not append to
60230         variable.
60231         [generic bits/local_lim.h] (common-generated): Likewise.
60232         [generic sys/param.h] (before-compile): Do not append to variable.
60233         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
60234         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
60235         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
60236         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
60237         include.
60238         [generic sys/param.h] (sys/param.h-includes): Remove variable.
60239         [generic sys/param.h] (sys/param.h-includes): Remove rule.
60240         [generic sys/param.h] ($(addprefix
60241         $(common-objpfx),$(sys/param.h-includes))): Likewise.
60242         [generic sys/param.h] (common-generated): Do not append to
60243         variable.
60244         [generic sys/param.h] (sysdep_headers): Likewise.
60245         [generic bits/errno.h] (before-compile): Do not append to
60246         variable.
60247         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
60248         rule.
60249         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
60250         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
60251         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
60252         [generic bits/errno.h] (common-generated): Do not append to
60253         variable.
60254         [generic bits/ioctls.h] (before-compile): Do not append to
60255         variable.
60256         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
60257         rule.
60258         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
60259         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
60260         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
60261         rule.
60262         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
60263         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
60264         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
60265         [generic bits/ioctls.h] (common-generated): Do not append to
60266         variable.
60267         [generic sys/syscall.h] (syscall.h): Remove variable.
60268         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
60269         rule.
60270         [generic sys/syscall.h] (before-compile): Do not append to
60271         variable.
60272         [generic sys/syscall.h] (common-generated): Likewise.
60273         * sysdeps/unix/errnos-tmpl.c: Remove file.
60274         * sysdeps/unix/errnos.awk: Likewise.
60275         * sysdeps/unix/ioctls-tmpl.c: Likewise.
60276         * sysdeps/unix/ioctls.awk: Likewise.
60277         * sysdeps/unix/mk-local_lim.c: Likewise.
60278         * sysdeps/unix/snarf-ioctls: Likewise.
60280 2012-03-19  Richard Henderson  <rth@twiddle.net>
60282         * sysdeps/i386/fpu/fenv_private.h: New file.
60283         * sysdeps/i386/fpu/math_private.h: Use it.
60284         (math_opt_barrier, math_force_eval): Remove.
60285         (libc_feholdexcept_setround_53bit): Remove.
60286         (libc_feupdateenv_53bit): Remove.
60287         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60288         (math_opt_barrier, math_force_eval): Remove.
60289         (libc_feholdexcept): Remove.
60290         (libc_feholdexcept_setround): Remove.
60291         (libc_fetestexcept, libc_fesetenv): Remove.
60292         (libc_feupdateenv_test): Remove.
60293         (libc_feupdateenv, libc_feholdsetround): Remove.
60294         (libc_feresetround): Remove.
60296         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
60297         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
60299         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
60300         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
60301         (libc_feupdateenv_testl): New.
60302         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
60303         (libc_feupdateenv_testf): New.
60304         (libc_feupdateenv): Use libc_feupdateenv_test.
60305         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
60306         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
60308         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
60309         (libc_feholdsetroundf, libc_feholdsetroundl): New.
60310         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
60311         (libc_feresetround_noex): New.
60312         (libc_feresetround_noexf): New.
60313         (libc_feresetround_noexl): New.
60314         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
60315         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
60316         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
60317         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
60318         SET_RESTORE_ROUND.
60319         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
60320         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
60321         (__cos): Likewise.
60322         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
60323         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
60324         SET_RESTORE_ROUND_NOEX.
60325         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
60326         SET_RESTORE_ROUND_NOEXF.
60327         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
60328         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
60329         (libc_feholdsetroundf): New.
60330         (libc_feresetround, libc_feresetroundf): New.
60332         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
60333         (libc_feholdexcept_setround_53bit): Convert from macro to function.
60334         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
60336         * sysdeps/generic/math_private.h: Include <fenv.h>.
60337         (default_libc_feholdexcept): New.
60338         (default_libc_feholdexcept_setround): New.
60339         (default_libc_fesetenv, default_libc_feupdateenv): New.
60340         (libc_feholdexcept): Only define if undefined.
60341         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
60342         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
60343         (libc_feholdexcept_setroundl): Likewise.
60344         (libc_feholdexcept_setround_53bit): Likewise.
60345         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
60346         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
60347         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
60348         (libc_feupdateenv_53bit): Likewise.
60349         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
60350         (libc_feholdexcept): Convert from macro to inline function.
60351         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
60352         (libc_fesetenv, libc_feupdateenv): Likewise.
60354         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
60355         not previously defined.
60356         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
60357         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
60358         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
60359         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
60360         * sysdeps/ieee754/flt-32/math_private.h: New file.
60361         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
60362         math_private.h below SET_FLOAT_WORD.
60363         (__isnan, __isinf_ns, __finite): Remove.
60364         (__isnanf, __isinf_nsf, __finitef): Remove.
60366 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
60368         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60370 2012-03-17  David S. Miller  <davem@davemloft.net>
60372         [BZ #6471]
60373         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
60374         for 2.16.
60376 2012-03-16  David S. Miller  <davem@davemloft.net>
60378         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
60379         warnings.
60381         [BZ #6471]
60382         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
60383         properly.
60384         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
60385         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
60386         sysdep_routines when subdir is sysvipc.
60387         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
60388         __getshmlba helper.
60390         * sysdeps/sparc/fpu/libm-test/ulps: Update.
60392 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60394         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
60395         [__LP64__].
60397 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60399         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
60400         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
60401         (__lround): Renamed to ...
60402         (__llround): This.  Replace long int with long long int.
60403         Define lround functions as aliases of llround functions.
60404         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
60406 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60408         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
60409         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
60410         adresses to uintptr_t.  Replace "long int" and "unsigned long
60411         int" with "greg_t" on va_arg.
60413 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60415         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
60416         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
60418         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
60419         Move e_machine check before EI_CLASS check.  Handle x32
60420         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
60421         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
60422         SKIP_EM_IA_64 and include
60423         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
60425         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
60426         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
60427         (add_system_dir): New macro.
60429         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
60430         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
60432 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
60434         [BZ #2551]
60435         [BZ #2552]
60436         [BZ #2553]
60437         [BZ #2554]
60438         [BZ #2562]
60439         [BZ #2563]
60440         [BZ #2565]
60441         [BZ #2566]
60442         [BZ #2576]
60443         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
60444         (y0): Likewise.
60445         * math/w_j0f.c (j0f): Likewise.
60446         (y0f): Likewise.
60447         * math/w_j0l.c (__j0l): Likewise.
60448         (__y0l): Likewise.
60449         * math/w_j1.c (j1): Likewise.
60450         (y1): Likewise.
60451         * math/w_j1f.c (j1f): Likewise.
60452         (y1f): Likewise.
60453         * math/w_j1l.c (__j1l): Likewise.
60454         (__y1l): Likewise.
60455         * math/w_jn.c (jn): Likewise.
60456         (yn): Likewise.
60457         * math/w_jnf.c (jnf): Likewise.
60458         (ynf): Likewise.
60459         * math/w_jnl.c (__jnl): Likewise.
60460         (__ynl): Likewise.
60461         * math/libm-test.inc (j0_test): Add more tests.
60462         (j1_test): Likewise.
60463         (jn_test): Likewise.  Add trailing semicolon to existing test.
60464         (y0_test): Likewise.
60465         (y1_test): Likewise.
60466         * sysdeps/i386/fpu/libm-test-ulps: Update.
60467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60469         [BZ #13851]
60470         [BZ #13854]
60471         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
60472         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
60473         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
60474         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
60475         (__tanl): Set errno for infinite argument.
60476         * sysdeps/i386/fpu/mptan.c: Remove.
60477         * sysdeps/i386/fpu/s_tan.S: Likewise.
60478         * sysdeps/i386/fpu/s_tanl.S: Likewise.
60479         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
60480         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
60481         * math/libm-test.inc (tan_test): Add more tests and enable more
60482         tests for double and long double.
60483         * sysdeps/i386/fpu/libm-test-ulps: Update.
60484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60486 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
60488         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
60489         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
60491 2012-03-16  Roland McGrath  <roland@hack.frob.com>
60493         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
60494         * configure.in: Use it for both main tree and add-ons.
60495         * configure: Regenerated.
60497 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60499         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
60501 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
60503         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
60504         in comment.
60506         [BZ #13851]
60507         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
60508         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
60509         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
60510         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
60511         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
60512         infinite argument.
60513         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
60514         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
60515         != 0 for prec == 2.
60516         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
60517         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
60518         * sysdeps/i386/fpu/s_cosl.S: Likewise.
60519         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
60520         * sysdeps/i386/fpu/s_sinl.S: Likewise.
60521         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
60522         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
60523         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
60524         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
60525         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
60526         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
60527         * math/libm-test.inc (cos_test): Add more tests and enable more
60528         tests for long double.
60529         (sin_test): Likewise.
60530         (sincos_test): Likewise.
60531         * sysdeps/i386/fpu/libm-test-ulps: Update.
60532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60534 2012-03-16  David S. Miller  <davem@davemloft.net>
60536         * sysdeps/sparc/fpu/math_private.h: New file.
60538 2012-03-15  David S. Miller  <davem@davemloft.net>
60540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
60541         file.
60542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
60543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
60544         file.
60545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
60546         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
60547         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
60548         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
60549         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
60550         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
60551         sysdep routines.
60552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
60554         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
60555         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
60557         * sysdeps/sparc/sparc-ifunc.h: New file.
60558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
60559         sparc-ifunc.h
60560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
60561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
60562         Likewise.
60563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
60564         Likewise.
60565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
60566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
60567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
60569         Likewise.
60570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
60572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
60574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
60575         Likewise.
60576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
60577         Likewise.
60578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
60580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
60581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
60582         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
60583         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
60584         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
60585         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
60586         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
60587         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
60588         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
60589         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
60590         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
60591         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
60592         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
60593         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
60594         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
60595         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
60596         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
60597         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
60598         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
60599         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
60600         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
60601         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
60603 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
60605         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
60606         scaling.
60607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60609 2012-03-15  Andreas Jaeger  <aj@suse.de>
60611         [BZ #13852]
60612         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
60613         ieee754/flt-32 implementation for sin, cos and sincos.
60614         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
60615         * sysdeps/i386/fpu/s_cosf.S: Likewise.
60616         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
60617         * sysdeps/i386/fpu/s_sinf.S: Likewise.
60618         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
60619         ieee754/flt-32 implementation for tan.
60621         * math/libm-test.inc (cos_test): Enable some large input tests for
60622         float as well
60623         (sin_test): Likewise.
60624         (sincos_test): Likewise.
60625         (tan_test): Add tests for large input.
60627         * sysdeps/i386/fpu/libm-test-ulps: Update.
60629 2012-03-15  Andreas Jaeger  <aj@suse.de>
60631         [BZ #13658]
60632         * math/libm-test.inc (cos_test): Add more test cases.
60633         (sin_test): Likewise.
60634         (sincos_test): Likewise.
60636 2012-03-15  Andreas Jaeger  <aj@suse.de>
60638         [BZ #13837]
60639         * math/libm-test.inc (cos_test): Add a test case for large input
60640         value.
60641         (sin_test): Likewise.
60642         (sincos_test): Likewise.
60644 2012-03-15  Andreas Jaeger  <aj@suse.de>
60645             Joseph Myers  <joseph@codesourcery.com>
60647         [BZ #13658]
60648         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
60649         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
60650         * sysdeps/i386/fpu/branred.c: Likewise.
60651         * sysdeps/i386/fpu/dosincos.c: Likewise.
60652         * sysdeps/i386/fpu/mpa.c: Likewise.
60653         * sysdeps/i386/fpu/s_cos.S: Likewise.
60654         * sysdeps/i386/fpu/s_sin.S: Likewise.
60655         * sysdeps/i386/fpu/s_sincos.S: Likewise.
60656         * sysdeps/i386/fpu/sincos32.c: Likewise.
60658         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
60659         Define.
60660         (libc_feupdateenv_53bit): Define.
60661         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
60662         Define.
60663         (libc_feupdateenv_53bit): Define.
60665         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
60666         53 bit (without extend i386 double precision).
60668         * math/libm-test.inc (sincos_test): Add tests for large input.
60669         (sin): Likewise.
60670         (cos): Likewise.
60672         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
60674 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
60676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60678 2012-03-15  David S. Miller  <davem@davemloft.net>
60680         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
60681         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
60682         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
60683         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
60684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
60685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
60686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
60687         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
60688         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
60689         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
60690         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
60691         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
60692         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
60693         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
60694         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
60695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
60696         file.
60697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
60698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
60699         file.
60700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
60701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
60702         file.
60703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
60704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
60705         file.
60706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
60707         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
60708         fmin/fmax sysdep routines.
60709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
60711 2012-03-14  David S. Miller  <davem@davemloft.net>
60713         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
60714         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
60715         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
60716         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
60717         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
60718         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
60719         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
60720         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
60721         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
60722         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
60723         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
60724         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
60725         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
60726         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
60727         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
60728         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
60729         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
60730         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
60731         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
60732         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
60733         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
60734         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
60735         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
60736         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
60737         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
60738         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
60739         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
60740         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
60741         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
60742         routines.
60743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
60744         file.
60745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
60746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
60747         file.
60748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
60749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
60750         file.
60751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
60752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
60753         file.
60754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
60755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
60756         file.
60757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
60758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
60759         file.
60760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
60761         file.
60762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
60763         file.
60764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
60765         file.
60766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
60767         New file.
60768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
60769         file.
60770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
60771         file.
60772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
60773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
60774         file.
60775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
60776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
60777         file.
60778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
60779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
60780         file.
60781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
60782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
60783         VIS3 routines.
60785         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
60786         New file.
60788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60790         * sysdeps/sparc/configure.in: New file.
60791         * sysdeps/sparc/configure: Generate.
60792         * configure.in (libc_cv_sparc_as_vis3): Substitute.
60793         * configure: Regenerate.
60794         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
60795         * config.make.in (have-as-vis3): New.
60796         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
60797         available use -Av9d instead of -Av9a.
60798         * sysdeps/sparc/sparc64/Makefile: Likewise.
60799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
60800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
60801         New file.
60802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
60803         file.
60804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
60805         New file.
60806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
60807         file.
60808         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
60809         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
60810         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
60811         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
60812         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
60814         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
60815         fzeros/fnegs to load 0x80000000 into a float register instead of
60816         using the stack.
60817         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
60819 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
60821         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60822         bits/syscall.h.
60823         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
60824         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
60825         ($(inst_includedir)/bits/syscall.h): Remove rule.
60826         ($(objpfx)bits/syscall.d): Include instead of
60827         $(objpfx)syscall-list.d.
60828         (generated): Change syscall-list.h and syscall-list.d to
60829         bits/syscall.h and bits/syscall.d.
60831 2012-03-14  Roland McGrath  <roland@hack.frob.com>
60833         [BZ #13846]
60834         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
60836 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
60838         [BZ #13841]
60839         * math/s_csqrt.c: Include <float.h>.
60840         (__csqrt): Scale large or subnormal inputs.
60841         * math/s_csqrtf.c: Likewise.
60842         * math/s_csqrtl.c: Likewise.
60843         * math/libm-test.inc (csqrt_test): Add more tests.
60844         * sysdeps/i386/fpu/libm-test-ulps: Update.
60845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60847         [BZ #13840]
60848         * math/libm-test.inc (hypot_test): Add more tests.
60850 2012-03-13  David S. Miller  <davem@davemloft.net>
60852         [BZ #13840]
60853         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
60854         double-precision for the calculation instead of scaling.
60856 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
60858         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
60859         manipulate bits before adding and subtracting TWO52[sx].
60860         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
60861         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
60862         Likewise.
60863         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
60865 2012-03-13  David S. Miller  <davem@davemloft.net>
60867         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
60868         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
60869         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
60870         rtld-global-offsets.h
60871         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60873         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
60874         large parameters.
60876         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
60878         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
60879         'err' in the ifdef scope in which it is actually used.
60881         * nss/nss_db/db-init.c: Include string.h
60883 2012-03-12  David S. Miller  <davem@davemloft.net>
60885         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60886         masking out of the most significant byte of random value used.
60887         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60888         Fix coding style in previous change.
60890         * sysdeps/unix/sysv/linux/kernel-features.h
60891         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
60892         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
60893         expression.
60894         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
60895         later.
60897 2012-03-11  David S. Miller  <davem@davemloft.net>
60899         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
60900         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
60901         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
60902         for 'resultvar' otherwise things get truncated on 64-bit.
60904         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60905         Fix masking out of the most significant byte of random value used.
60907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60909 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
60911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60913 2012-03-09  David S. Miller  <davem@davemloft.net>
60915         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
60916         variables with appropriate CPP guards.
60917         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
60918         from the frame pointer, not the stack pointer.  Correct layout
60919         comments.  Fix test on resulting framesize and the management of
60920         the outregs buffer for pltexit.  Preserve floating point return
60921         values across _dl_call_pltexit call.
60922         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
60923         framesize and the management of the outregs buffer for pltexit.
60924         Preserve floating point return values across _dl_call_pltexit
60925         call.
60926         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
60927         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
60928         (la_sparc64_gnu_pltexit): New functions.
60929         (print_exit): Fix format string for return register value.
60931 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
60933         * sunrpc/Makefile (others): Add rpcgen.
60934         ($(objpfx)rpcgen): Remove special build rule and dependency on
60935         libc.
60936         * sunrpc/rpcgen.c: New file.
60938 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
60940         [BZ #13673]
60941         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
60942         * stdio-common/bug-vfprintf-nargs.c: Likewise.
60943         * sysdeps/i386/crti.S: Likewise.
60944         * sysdeps/i386/crtn.S: Likewise.
60945         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
60946         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
60947         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
60948         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
60949         * sysdeps/sh/crti.S: Likewise.
60950         * sysdeps/sh/crtn.S: Likewise.
60951         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60953         [BZ #13673]
60954         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
60955         with URL.
60956         * locale/programs/locfile-kw.gperf: Likewise.
60957         * locale/programs/charmap-kw.h: Regenerated.
60958         * locale/programs/locfile-kw.h: Likewise.
60960         [BZ #13673]
60961         * intl/plural.y: Replace FSF snail mail address with URL.
60962         * intl/plural.c: Regenerated.
60964 2012-03-09  Richard Henderson  <rth@twiddle.net>
60966         * include/math_private.h: Remove file.
60967         * math/math_private.h: Move file ...
60968         * sysdeps/generic/math_private.h: ... here.
60970         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
60971         * sysdeps/powerpc/fpu/math_private.h: Likewise.
60972         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60974         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
60975         and <math_private.h>.
60976         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
60977         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
60978         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
60979         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
60980         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
60981         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
60982         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60983         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60984         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60985         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60986         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60987         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60988         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60989         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60990         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60991         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60992         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60993         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60994         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60995         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60996         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60997         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60998         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60999         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61000         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61001         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61002         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61003         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61004         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61005         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61006         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61007         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61008         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61009         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61010         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61011         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61012         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61013         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61014         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61015         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61016         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
61017         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61018         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
61019         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61020         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61021         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61022         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
61023         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61024         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61025         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61026         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61027         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
61028         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61029         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61030         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61031         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61032         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
61033         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61034         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61035         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
61036         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61037         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61038         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61039         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61040         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
61041         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61042         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61043         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61044         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
61045         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
61046         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
61047         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61048         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
61049         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61050         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
61051         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
61052         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
61053         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61054         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
61055         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
61056         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
61057         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
61058         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
61059         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
61060         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61061         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
61062         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
61063         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
61064         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61065         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61066         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61067         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61068         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61069         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61070         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61071         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61072         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61073         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61074         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61075         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61076         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61077         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61078         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61079         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61080         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61081         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61082         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61083         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61084         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61085         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61086         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61087         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61088         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61089         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61090         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
61091         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61092         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61093         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
61094         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61095         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
61096         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61097         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
61098         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61099         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
61100         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61101         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
61102         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61103         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
61104         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
61105         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
61106         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
61107         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
61108         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61109         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
61110         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
61111         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
61112         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
61113         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
61114         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
61115         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
61116         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
61117         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
61118         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
61119         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
61120         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
61121         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
61122         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
61123         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
61124         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
61125         * sysdeps/ieee754/k_standard.c: Likewise.
61126         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61127         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61128         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61129         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61130         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61131         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61132         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61133         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61134         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61135         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61136         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61137         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61138         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61139         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61140         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61141         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61142         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
61143         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61144         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61145         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
61146         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
61147         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
61148         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61149         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
61150         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
61151         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
61152         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
61153         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
61154         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
61155         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61156         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
61157         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
61158         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
61159         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
61160         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
61161         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
61162         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
61163         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
61164         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
61165         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
61166         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
61167         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
61168         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
61169         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
61170         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
61171         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
61172         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
61173         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
61174         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
61175         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61176         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61177         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
61178         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
61179         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
61180         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61181         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61182         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
61183         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
61184         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
61185         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
61186         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61187         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
61188         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
61189         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61190         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61191         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61192         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61193         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61194         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61195         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61196         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61197         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61198         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61199         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61200         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61201         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61202         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
61203         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61204         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61205         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
61206         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
61207         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
61208         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
61209         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
61210         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
61211         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
61212         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
61213         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
61214         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61215         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
61216         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
61217         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
61218         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
61219         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
61220         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
61221         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
61222         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
61223         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
61224         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
61225         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
61226         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
61227         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
61228         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61229         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
61230         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
61231         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61232         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61233         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
61234         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
61235         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
61236         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
61237         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
61238         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61239         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61240         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61241         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61242         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61243         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61244         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61245         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61246         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61247         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61248         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61249         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61250         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61251         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
61252         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61253         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
61254         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
61255         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61256         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61257         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61258         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61259         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
61260         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
61261         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
61262         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
61263         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
61264         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61265         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
61266         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
61267         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61268         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
61269         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
61270         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
61271         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61272         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61273         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
61274         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
61275         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
61276         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61277         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
61278         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
61279         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61280         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
61281         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
61282         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
61283         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
61284         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
61285         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
61286         * sysdeps/ieee754/s_lib_version.c: Likewise.
61287         * sysdeps/ieee754/s_matherr.c: Likewise.
61288         * sysdeps/ieee754/s_signgam.c: Likewise.
61289         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61290         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61291         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
61292         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
61293         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
61294         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61295         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
61296         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
61297         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
61298         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
61299         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
61300         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
61301         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
61302         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
61303         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
61304         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61305         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61306         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61307         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61308         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61309         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61311 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61313         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
61314         * sunrpc/rpc_main.c: Likewise.
61315         * sunrpc/rpc_svcout.c: Likewise.
61317 2012-03-09  David S. Miller  <davem@davemloft.net>
61319         * include/math_private.h: New file.
61321 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61323         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
61324         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
61325         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
61326         from <bits/socket_type.h>.
61327         (enum __socket_type): Don't define here.
61328         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
61329         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61330         bits/socket_type.h.
61332         [BZ #13566]
61333         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
61334         checking __USE_GNU.
61336         * Makerules ($(inst_includedir)/%.h): New rule.
61337         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
61338         (install-others): Remove variable setting.
61339         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
61341 2012-03-08  Richard Henderson  <rth@twiddle.net>
61343         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
61344         from macro to inline function; merge with the
61345         !__LIBC_INTERNAL_MATH_INLINES version.
61346         (__ieee754_sqrtf): Likewise.
61348         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
61349         to inline function.
61350         (__rintf, __floor, __floorf): Likewise.
61352         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
61353         macro to inline function.
61354         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
61356         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
61357         not <math/math_private.h>.
61359 2012-03-08  David S. Miller  <davem@davemloft.net>
61361         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
61362         copyright year.
61363         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
61365 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
61367         * resolv/gai_misc.c (handle_requests): Fix struct timespec
61368         normalization.
61369         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
61370         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
61372 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
61374         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
61375         be defined individually, they must be defined as a block.  Define
61376         S for printing a string instead of hidint the different by using a
61377         macro for adding the 'l'.
61378         * stdio-common/tst-fphex-wide.c: Adjust.
61380 2012-03-07  Marek Polacek  <polacek@redhat.com>
61382         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
61384 2012-03-08  Marek Polacek  <polacek@redhat.com>
61386         [BZ #13806]
61387         * stdio-common/Makefile (tests): Add tst-fphex-wide.
61388         * stdio-common/tst-fphex.c: Define a few macros to make the
61389         test reusable.  Use them.
61390         * stdio-common/tst-fphex-wide.c: New file.
61392 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
61394         [BZ #6911]
61395         * manual/macros.texi (gnusystems): New macro.
61396         (nongnusystems): Likewise.
61397         (gnulinuxhurdsystems): Likewise.
61398         (gnuhurdsystems): Likewise..
61399         (gnulinuxsystems): Likewise.
61400         * manual/charset.texi: Use new macros or @theglibc{} to refer to
61401         variants of the GNU system, not "GNU system".
61402         * manual/conf.texi: Likewise.
61403         * manual/errno.texi: Likewise.  Update example of errno macro
61404         expansion.
61405         * manual/filesys.texi: Likewise.
61406         (getumask): Document as specific to GNU/Hurd.
61407         * manual/install.texi: Likewise.  Reword some references to
61408         GNU/Linux.
61409         * manual/intro.texi: Likewise.
61410         * manual/io.texi: Likewise.
61411         (File Name Portability): Detail which constraints are inapplicable
61412         to all GNU systems and which are only inapplicable to GNU/Hurd.
61413         * manual/job.texi: Likewise.
61414         * manual/llio.texi: Likewise.
61415         (O_NOCTTY): Document as present on GNU/Linux.
61416         * manual/maint.texi: Likewise.
61417         * manual/memory.texi: Likewise.
61418         * manual/pattern.texi: Likewise.
61419         * manual/pipe.texi: Likewise.
61420         * manual/process.texi: Likewise.
61421         * manual/resource.texi: Likewise.
61422         (RUSAGE_CHILDREN): Remove statement about specifying a particular
61423         child on GNU/Hurd.
61424         * manual/setjmp.texi: Likewise.
61425         * manual/signal.texi: Likewise.
61426         * manual/startup.texi: Likewise.
61427         * manual/stdio.texi: Likewise.
61428         * manual/terminal.texi: Likewise.
61429         (ONLCR): Document as POSIX.
61430         (OXTABS): Document availability on GNU/Linux as XTABS.
61431         (ONOEOT): Document availability separately from other bits.
61432         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
61433         * manual/time.texi: Likewise.
61434         * manual/users.texi: Likewise.
61435         * INSTALL: Regenerated.
61436         * sysdeps/gnu/errlist.c: Regenerated.
61438         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
61439         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
61440         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
61441         puts.
61442         * configure: Regenerated.
61444 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
61446         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
61447         default includes instead of AC_HEADER_CHECK.
61448         * sysdeps/i386/configure: Regenerated.
61450         [BZ #10716]
61451         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
61452         * math/s_cacoshf.c (__cacoshf): Likewise.
61453         * math/s_cacoshl.c (__cacoshl): Likewise.
61454         * math/s_casinh.c (__casinh): Set signs of result from argument.
61455         * math/s_casinhf.c (__casinhf): Likewise.
61456         * math/s_casinhl.c (__casinhl): Likewise.
61457         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
61458         (casinh_test): Add more tests.
61459         * sysdeps/i386/fpu/libm-test-ulps: Update.
61460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61462 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
61464         * po/zh_TW.po: Update from translation team.
61466         * login/Makefile (distribute): Remove variable.
61467         * catgets/Makefile: Likewise.
61468         * mach/Makefile: Likewise.
61469         * malloc/Makefile: Likewise.
61470         * misc/Makefile: Likewise.
61471         * iconv/Makefile: Likewise.
61472         * nscd/Makefile: Likewise.
61473         * hurd/Makefile: Likewise.
61474         * manual/Makefile: Likewise.
61475         * locale/Makefile: Likewise.
61476         * intl/Makefile: Likewise.
61477         * conform/Makefile: Likewise.
61478         * nss/Makefile: Likewise.
61479         * time/Makefile: Likewise.
61480         * soft-fp/Makefile: Likewise.
61481         * dirent/Makefile: Likewise.
61482         * gmon/Makefile: Likewise.
61483         * po/Makefile: Likewise.
61484         * rt/Makefile: Likewise.
61485         * socket/Makefile: Likewise.
61486         * math/Makefile: Likewise.
61487         * signal/Makefile: Likewise.
61488         * debug/Makefile: Likewise.
61489         * elf/Makefile: Likewise.
61490         * timezone/Makefile: Likewise.
61491         * stdlib/Makefile: Likewise.
61492         * iconvdata/Makefile: Likewise.
61493         * sunrpc/Makefile: Likewise.
61494         * io/Makefile: Likewise.
61495         * argp/Makefile: Likewise.
61496         * inet/Makefile: Likewise.
61497         * hesiod/Makefile: Likewise.
61498         * grp/Makefile: Likewise.
61499         * csu/Makefile: Likewise.
61500         * wctype/Makefile: Likewise.
61501         * crypt/Makefile: Likewise.
61502         * libio/Makefile: Likewise.
61503         * string/Makefile: Likewise.
61504         * nis/Makefile: Likewise.
61505         * resolv/Makefile: Likewise.
61506         * stdio-common/Makefile: Likewise.
61507         * wcsmbs/Makefile: Likewise.
61508         * dlfcn/Makefile: Likewise.
61509         * posix/Makefile: Likewise.
61511         [BZ #6959]
61512         * timezone/Makefile: Don't install timezone files, just the programs
61513         and scripts.
61515 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
61517         * nss/databases.def: Add missing gshadow entry.
61519         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
61521 2012-03-06  Marek Polacek  <polacek@redhat.com>
61523         [BZ #13726]
61524         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
61525         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
61526         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
61527         * stdio-common/tst-long-dbl-fphex.c: New file.
61529 2012-03-06  David S. Miller  <davem@davemloft.net>
61531         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61532         (set_obp_int): New function.
61533         (get_obp_int): New function.
61534         (__get_clockfreq_via_dev_openprom): Likewise.
61535         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
61536         Avoid unused variable warnings on 'val' and use builtin_expect.
61537         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
61538         __builtin_expect.
61539         (INLINE_CLONE_SYSCALL): Likewise.
61541 2012-03-05  David S. Miller  <davem@davemloft.net>
61543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61545 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
61547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61549         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
61550         only for |x| >= 40.
61551         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61553 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
61555         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
61556         Replace gettimeofday with __vdso_gettimeofday.
61558         * sysdeps/unix/sysv/linux/x86_64/init-first.c
61559         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
61560         __vdso_clock_gettime and __vdso_getcpu.
61562         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
61563         time with __vdso_time.
61565 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
61567         * manual/lang.texi (size_t): Note types to which size_t may be
61568         equivalent with the GNU C Library, but do not describe when
61569         differences between them are significant.
61571 2012-03-05  Andreas Jaeger  <aj@suse.de>
61573         * sysdeps/i386/fpu/libm-test-ulps: Update.
61575 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
61577         [BZ #3976]
61578         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
61579         (__ieee754_pow): Save and restore rounding mode and use
61580         round-to-nearest for main computations.
61581         * math/libm-test.inc (pow_test_tonearest): New function.
61582         (pow_test_towardzero): Likewise.
61583         (pow_test_downward): Likewise.
61584         (pow_test_upward): Likewise.
61585         (main): Call the new functions.
61586         * sysdeps/i386/fpu/libm-test-ulps: Update.
61587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61589         [BZ #3976]
61590         * math/libm-test.inc (cosh_test_tonearest): New function.
61591         (cosh_test_towardzero): Likewise.
61592         (cosh_test_downward): Likewise.
61593         (cosh_test_upward): Likewise.
61594         (sinh_test_tonearest): Likewise.
61595         (sinh_test_towardzero): Likewise.
61596         (sinh_test_downward): Likewise.
61597         (sinh_test_upward): Likewise.
61598         (main): Call the new functions.
61599         * sysdeps/i386/fpu/libm-test-ulps: Update.
61600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61602 2012-03-05  Tom de Vries  <tom@codesourcery.com>
61604         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
61605         default stack guard is set in last bytes.
61606         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
61608 2012-03-05  Kees Cook  <keescook@chromium.org>
61610         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
61612         [BZ #13656]
61613         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
61614         possibly allocate from heap instead of stack.
61615         * stdio-common/bug-vfprintf-nargs.c: New file.
61616         * stdio-common/Makefile (tests): Add nargs overflow test.
61618 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
61620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61622 2012-03-03  Marek Polacek  <polacek@redhat.com>
61624         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
61625         * math/math_private.h: Likewise.
61626         * stdlib/tst-strtod.c: Likewise.
61627         * sysdeps/i386/i486/bits/atomic.h: Likewise.
61628         * sysdeps/x86_64/bits/atomic.h: Likewise.
61630 2012-03-02  David S. Miller  <davem@davemloft.net>
61632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
61633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
61634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
61635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
61636         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
61637         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
61638         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
61639         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
61641 2012-03-02  Roland McGrath  <roland@hack.frob.com>
61643         [BZ #13792]
61644         * manual/examples/README: New file, says the example source files
61645         can be used under GPL>=2.
61646         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
61647         line containing just "*/".
61648         * manual/examples/add.c: Add copyright header (GPL>=2).
61649         * manual/examples/argp-ex1.c: Likewise.
61650         * manual/examples/argp-ex2.c: Likewise.
61651         * manual/examples/argp-ex3.c: Likewise.
61652         * manual/examples/argp-ex4.c: Likewise.
61653         * manual/examples/atexit.c: Likewise.
61654         * manual/examples/db.c: Likewise.
61655         * manual/examples/dir.c: Likewise.
61656         * manual/examples/dir2.c: Likewise.
61657         * manual/examples/execinfo.c: Likewise.
61658         * manual/examples/filecli.c: Likewise.
61659         * manual/examples/filesrv.c: Likewise.
61660         * manual/examples/fmtmsgexpl.c: Likewise.
61661         * manual/examples/genpass.c: Likewise.
61662         * manual/examples/inetcli.c: Likewise.
61663         * manual/examples/inetsrv.c: Likewise.
61664         * manual/examples/isockad.c: Likewise.
61665         * manual/examples/longopt.c: Likewise.
61666         * manual/examples/memopen.c: Likewise.
61667         * manual/examples/memstrm.c: Likewise.
61668         * manual/examples/mkfsock.c: Likewise.
61669         * manual/examples/mkisock.c: Likewise.
61670         * manual/examples/mygetpass.c: Likewise.
61671         * manual/examples/pipe.c: Likewise.
61672         * manual/examples/popen.c: Likewise.
61673         * manual/examples/rprintf.c: Likewise.
61674         * manual/examples/search.c: Likewise.
61675         * manual/examples/select.c: Likewise.
61676         * manual/examples/setjmp.c: Likewise.
61677         * manual/examples/sigh1.c: Likewise.
61678         * manual/examples/sigusr.c: Likewise.
61679         * manual/examples/stpcpy.c: Likewise.
61680         * manual/examples/strdupa.c: Likewise.
61681         * manual/examples/strftim.c: Likewise.
61682         * manual/examples/strncat.c: Likewise.
61683         * manual/examples/subopt.c: Likewise.
61684         * manual/examples/swapcontext.c: Likewise.
61685         * manual/examples/termios.c: Likewise.
61686         * manual/examples/testopt.c: Likewise.
61687         * manual/examples/testpass.c: Likewise.
61688         * manual/examples/timeval_subtract.c: Likewise.
61690         [BZ #13792]
61691         * manual/time.texi (Elapsed Time): Move timeval_subtract example
61692         function to ...
61693         * manual/timeval_subtract.c.texi: ... here, new file.
61695 2012-03-02  David S. Miller  <davem@davemloft.net>
61697         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
61699 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
61701         [BZ #3976]
61702         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
61703         (__sin): Save and restore rounding mode and use round-to-nearest
61704         for all computations.
61705         (__cos): Save and restore rounding mode and use round-to-nearest
61706         for all computations.
61707         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
61708         <fenv.h>.
61709         (tan): Save and restore rounding mode and use round-to-nearest for
61710         all computations.
61711         * math/libm-test.inc (cos_test_tonearest): New function.
61712         (cos_test_towardzero): Likewise.
61713         (cos_test_downward): Likewise.
61714         (cos_test_upward): Likewise.
61715         (sin_test_tonearest): Likewise.
61716         (sin_test_towardzero): Likewise.
61717         (sin_test_downward): Likewise.
61718         (sin_test_upward): Likewise.
61719         (tan_test_tonearest): Likewise.
61720         (tan_test_towardzero): Likewise.
61721         (tan_test_downward): Likewise.
61722         (tan_test_upward): Likewise.
61723         (main): Call the new functions.
61724         * sysdeps/i386/fpu/libm-test-ulps: Update.
61725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61727         [BZ #10135]
61728         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
61729         small n, then large n, before computing and testing k+n.
61730         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
61731         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
61732         Likewise.
61733         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
61734         Likewise.
61735         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
61736         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
61737         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
61738         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
61739         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
61740         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
61741         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
61742         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
61743         * math/libm-test.inc (scalbn_test): Add more tests.
61744         (scalbln_test): Likewise.
61746         * manual/filesys.texi (mode_t): Describe constraints on size and
61747         signedness, not exact equivalence to a particular type.
61748         (ino_t): Likewise.
61749         (ino64_t): Likewise.
61750         (dev_t): Likewise.
61751         (nlink_t): Likewise.
61752         (blkcnt_t): Likewise.
61753         (blkcnt64_t): Likewise.
61754         * manual/llio.texi (off_t): Likewise.
61756         [BZ #3976]
61757         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
61758         (__ieee754_exp): Save and restore rounding mode and use
61759         round-to-nearest for all computations.
61760         * math/libm-test.inc (exp_test_tonearest): New function.
61761         (exp_test_towardzero): Likewise.
61762         (exp_test_downward): Likewise.
61763         (exp_test_upward): Likewise.
61764         (main): Call the new functions.
61765         * sysdeps/i386/fpu/libm-test-ulps: Update.
61766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61768 2012-03-01  Chris Demetriou  <cgd@google.com>
61770         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
61771         have predictable order.
61773 2012-03-01  David S. Miller  <davem@davemloft.net>
61775         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
61777         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
61778         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
61779         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
61780         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
61782         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
61783         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
61784         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
61785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
61786         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
61787         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
61788         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
61789         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
61790         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
61792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61794         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
61795         * sysdeps/sparc/fpu/libm-test-ulps: to here.
61796         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
61798         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
61799         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61800         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
61801         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
61802         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
61803         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
61804         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
61805         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61806         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
61807         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
61808         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
61809         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
61810         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61811         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
61812         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
61813         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61814         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
61815         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
61816         * sysdeps/sparc/elf/configure: Regenerated.
61818 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
61820         * configure.in (AS, LD): Require binutils 2.20 or later.
61821         * configure: Regenerated.
61822         * manual/install.texi (Tools for Compilation): Give binutils 2.20
61823         as required minimum version.
61824         * INSTALL: Regenerated.
61826         [BZ #2541]
61827         [BZ #4108]
61828         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
61829         before squaring exponent.
61830         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
61831         bottom long double and 27 bits of top long double before squaring
61832         exponent.
61833         * math/libm-test.inc (erfc_test): Add more tests.
61834         * sysdeps/i386/fpu/libm-test-ulps: Update.
61835         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61838 2012-03-01  Kai Tietz  <ktietz@redhat.com>
61840         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
61841         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
61842         containing bit-fields.
61843         * soft-fp/extended.h (_FP_UNION_E): Likewise.
61844         * soft-fp/single.h (_FP_UNION_S): Likewise.
61845         * soft-fp/double.h (_FP_UNION_D): Likewise.
61847 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61849         [BZ #13786]
61850         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
61851         not include ../strcmp.S.
61852         [USE_AS_STRNCASECMP_L]: Likewise.
61853         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
61854         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
61855         * sysdeps/i386/i686/multiarch/strncase_l-c.c
61856         (__strncasecmp_l_ia32): Define as alias to
61857         __strncasecmp_l_nonascii.
61859         [BZ #5794]
61860         * math/libm-test.inc (expm1_test): Add test for bug 5794.
61861         * sysdeps/i386/fpu/libm-test-ulps: Update.
61862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61864         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
61865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61867 2012-02-29  Jeff Law  <law@redhat.com>
61869         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
61870         out of bounds read.
61872 2012-02-29  Marek Polacek  <polacek@redhat.com>
61874         [BZ #13706]
61875         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
61876         * elf/Makefile: Add rules to run tst-unused-dep.out.
61878 2012-02-28  David S. Miller  <davem@davemloft.net>
61880         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
61881         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
61882         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
61883         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
61884         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
61885         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
61887 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61889         * math/libm-test.inc (llround_test): Move one test from
61890         lround_test.  Use TEST_f_L in moved test.
61891         (lround_test): Move misplaced test to llround_test.  Add testcase
61892         from bug 2561.
61894 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
61896         * sysdeps/x86_64/fpu/e_expf.S: New file.
61897         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
61899 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
61901         [BZ #13637]
61902         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
61903         of remain_len that may cause incomplete multi-byte character and
61904         false match.
61905         * posix/bug-regex33.c: New file.
61906         * posix/Makefile (tests): Add bug-regex33.
61908 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
61910         * manual/macros.texi: New file.
61911         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
61912         * manual/libc.texinfo: Include macros.texi.
61913         * manual/creatute.texi: Likewise.
61914         * manual/install.texi: Likewise.
61915         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
61916         @glibcadj{} in references to the GNU C Library.
61917         * manual/charset.texi: Likewise.
61918         * manual/conf.texi: Likewise.
61919         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
61920         when not using those macros.
61921         * manual/creature.texi: Likewise.
61922         * manual/crypt.texi: Likewise.
61923         * manual/errno.texi: Likewise.
61924         * manual/filesys.texi: Likewise.
61925         * manual/header.texi: Likewise.
61926         * manual/install.texi: Likewise.
61927         * manual/intro.texi: Likewise.
61928         * manual/io.texi: Likewise.
61929         * manual/job.texi: Likewise.
61930         * manual/lang.texi: Likewise.
61931         * manual/libc.texiinfo: Likewise.
61932         * manual/llio.texi: Likewise.
61933         * manual/locale.texi: Likewise.
61934         * manual/maint.texi: Likewise.
61935         * manual/math.texi: Likewise.
61936         * manual/memory.texi: Likewise.
61937         * manual/message.texi: Likewise.
61938         * manual/nss.texi: Likewise.
61939         * manual/pattern.texi: Likewise.
61940         * manual/process.texi: Likewise.
61941         * manual/resource.texi: Likewise.
61942         * manual/search.texi: Likewise.
61943         * manual/setjmp.texi: Likewise.
61944         * manual/signal.texi: Likewise.
61945         * manual/socket.texi: Likewise.
61946         * manual/startup.texi: Likewise.
61947         * manual/stdio.texi: Likewise.
61948         * manual/string.texi: Likewise.
61949         * manual/sysinfo.texi: Likewise.
61950         * manual/syslog.texi: Likewise.
61951         * manual/terminal.texi: Likewise.
61952         * manual/time.texi: Likewise.
61953         * manual/users.texi: Likewise.
61954         * INSTALL: Regenerated.
61955         * NOTES: Regenerated.
61956         * sysdeps/gnu/errlist.c: Regenerated.
61958 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
61960         * include/dirent.h: Include <dirstream.h> before
61961         <dirent/dirent.h>.
61963 2012-02-28  David S. Miller  <davem@davemloft.net>
61965         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
61966         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
61967         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
61968         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
61970 2012-02-27  David S. Miller  <davem@davemloft.net>
61972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
61973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
61974         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
61975         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
61977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
61978         frame pointer instead of stack pointer relative arg slot.
61979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61980         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61981         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61983 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
61985         [BZ #3992]
61986         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
61988 2012-02-27  David S. Miller  <davem@davemloft.net>
61990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
61991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
61994         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61995         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61996         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
61997         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
61999 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
62001         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
62002         later.  Allow versions 5-9.
62003         * configure: Regenerated.
62004         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
62005         required minimum version and 4.6 as recommended version.  Do not
62006         mention bugs in GCC 2.7 and 2.8.
62007         * INSTALL: Regenerated.
62009 2012-02-27  David S. Miller  <davem@davemloft.net>
62011         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
62012         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
62013         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
62014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
62015         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
62016         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
62017         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
62018         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
62020         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
62021         manipulate bits before adding and subtracting TWO112[sx].
62022         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62024 2012-02-27  Roland McGrath  <roland@hack.frob.com>
62026         [BZ #13775]
62027         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
62028         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
62029         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
62030         being in POSIX, because they are in 1003.1-2008.
62032         * rt/tst-aio.c: Include <fcntl.h>.
62033         * rt/tst-aio7.c: Likewise.
62034         * rt/tst-aio64.c: Likewise.
62036         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
62038 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
62040         * manual/install.texi (--with-headers): Describe headers as
62041         interface headers, not private headers.
62042         (Specific advice for GNU/Linux systems): Describe use of headers
62043         from "make headers_install", not private headers from older
62044         kernels.
62045         * INSTALL: Regenerated.
62046         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
62047         Change to 2.6.19.
62048         * sysdeps/unix/sysv/linux/configure: Regenerated.
62050         * manual/llio.texi (fclean): Remove documentation.
62052         * manual/Makefile (libc-texi-generated): New variable.  Include
62053         version.texi.
62054         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
62055         $(libc-texi-generated), not duplicated list of files.
62056         (version.texi, stamp-version): New rules.
62057         (realclean): Remove $(libc-texi-generated), not individual files
62058         from that list.  Do not remove dir-add.texinfo.
62059         * manual/libc.texinfo: Comment out uses of edition numbers and
62060         references to printed manual.  Remove last-updated dates.
62061         (EDITION): Comment out.
62062         (ISBN): Likewise.
62063         (VERSION, UPDATED): Remove.
62064         (version.texi): Include.
62066 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
62068         * sysdeps/posix/spawni.c: Include <signal.h>.
62069         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
62070         * sysdeps/pthread/aio_fsync.c: Likewise.
62072 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
62074         * conform/Makefile (tests): Run only when not cross-compiling and
62075         when fast-check is not defined.
62077         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
62078         * conform/data/limits.h-data: Fixes for POSIX2008.
62079         * conform/run-conformtest.sh: Run all tests.
62080         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
62081         headers.
62082         * include/bits/dlfcn.h: Likewise.
62083         * include/langinfo.h: Likewise.
62084         * include/monetary.h: Likewise.
62085         * include/sys/poll.h: Likewise.
62087         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
62088         for __USE_GNU.
62089         * posix/spawn.h: Define __need_sigset_t.
62090         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
62091         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
62092         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
62093         to get sigevent_t only.
62094         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
62095         only for __USE_GNU.
62096         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62097         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
62098         process_vm_writev only for __USE_GNU.
62099         * termios/termios.h: Declare tcgetsid also for POSIX2008.
62101         * conform/Makefile: For now ignore errors from run-conformtest.
62102         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
62103         POSIX to avoid namespace pollution.  Don't prepend headers.
62104         * conform/data/aio.h-data: Fixes for POSIX testing.
62105         * conform/data/fcntl.h-data: Likewise.
62106         * conform/data/glob.h-data: Likewise.
62107         * conform/data/grp.h-data: Likewise.
62108         * conform/data/pthread.h-data: Likewise.
62109         * conform/data/pwd.h-data: Likewise.
62110         * conform/data/signal.h-data: Likewise.
62111         * conform/data/spawn.h-data: Likewise.
62112         * conform/data/stdio.h-data: Likewise.
62113         * conform/data/stdlib.h-data: Likewise.
62114         * conform/data/stropts.h-data: Likewise.
62115         * conform/data/sys/mman.h-data: Likewise.
62116         * conform/data/sys/stat.h-data: Likewise.
62117         * conform/data/sys/types.h-data: Likewise.
62118         * conform/data/sys/wait.h-data: Likewise.
62119         * conform/data/time.h-data: Likewise.
62120         * conform/data/unistd.h-data: Likewise.
62121         * conform/data/utime.h-data: Likewise.
62123         * io/sys/stat.h: fchmod was always in POSIX.
62124         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
62125         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
62126         * rt/aio.h: Define __need_timespec before including <time.h>.
62127         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
62128         struct.  Add forward declaration of pthread_attr_t and use it in
62129         sigevent.
62130         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62131         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62132         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
62133         always remove CLK_TCK definition.
62135 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
62137         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
62139 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
62141         * conform/run-conformtest.sh: New file.
62142         * conform/Makefile: Run run-conformtest for tests.
62143         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
62144         support.
62146         * conform/data/uchar.h-data: New file.
62147         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
62148         * conform/data/arpa/inet.h-data: Likewise.
62149         * conform/data/assert.h-data: Likewise.
62150         * conform/data/complex.h-data: Likewise.
62151         * conform/data/cpio.h-data: Likewise.
62152         * conform/data/ctype.h-data: Likewise.
62153         * conform/data/dirent.h-data: Likewise.
62154         * conform/data/dlfcn.h-data: Likewise.
62155         * conform/data/errno.h-data: Likewise.
62156         * conform/data/fcntl.h-data: Likewise.
62157         * conform/data/float.h-data: Likewise.
62158         * conform/data/fmtmsg.h-data: Likewise.
62159         * conform/data/fnmatch.h-data: Likewise.
62160         * conform/data/ftw.h-data: Likewise.
62161         * conform/data/glob.h-data: Likewise.
62162         * conform/data/grp.h-data: Likewise.
62163         * conform/data/iconv.h-data: Likewise.
62164         * conform/data/inttypes.h-data: Likewise.
62165         * conform/data/langinfo.h-data: Likewise.
62166         * conform/data/libgen.h-data: Likewise.
62167         * conform/data/limits.h-data: Likewise.
62168         * conform/data/locale.h-data: Likewise.
62169         * conform/data/math.h-data: Likewise.
62170         * conform/data/monetary.h-data: Likewise.
62171         * conform/data/mqueue.h-data: Likewise.
62172         * conform/data/ndbm.h-data: Likewise.
62173         * conform/data/net/if.h-data: Likewise.
62174         * conform/data/netdb.h-data: Likewise.
62175         * conform/data/netinet/in.h-data: Likewise.
62176         * conform/data/nl_types.h-data: Likewise.
62177         * conform/data/poll.h-data: Likewise.
62178         * conform/data/pthread.h-data: Likewise.
62179         * conform/data/pwd.h-data: Likewise.
62180         * conform/data/regex.h-data: Likewise.
62181         * conform/data/sched.h-data: Likewise.
62182         * conform/data/search.h-data: Likewise.
62183         * conform/data/semaphore.h-data: Likewise.
62184         * conform/data/setjmp.h-data: Likewise.
62185         * conform/data/signal.h-data: Likewise.
62186         * conform/data/spawn.h-data: Likewise.
62187         * conform/data/stdarg.h-data: Likewise.
62188         * conform/data/stdio.h-data: Likewise.
62189         * conform/data/stdlib.h-data: Likewise.
62190         * conform/data/string.h-data: Likewise.
62191         * conform/data/strings.h-data: Likewise.
62192         * conform/data/stropts.h-data: Likewise.
62193         * conform/data/sys/ipc.h-data: Likewise.
62194         * conform/data/sys/mman.h-data: Likewise.
62195         * conform/data/sys/msg.h-data: Likewise.
62196         * conform/data/sys/resource.h-data: Likewise.
62197         * conform/data/sys/select.h-data: Likewise.
62198         * conform/data/sys/sem.h-data: Likewise.
62199         * conform/data/sys/shm.h-data: Likewise.
62200         * conform/data/sys/socket.h-data: Likewise.
62201         * conform/data/sys/stat.h-data: Likewise.
62202         * conform/data/sys/statvfs.h-data: Likewise.
62203         * conform/data/sys/time.h-data: Likewise.
62204         * conform/data/sys/timeb.h-data: Likewise.
62205         * conform/data/sys/times.h-data: Likewise.
62206         * conform/data/sys/types.h-data: Likewise.
62207         * conform/data/sys/uio.h-data: Likewise.
62208         * conform/data/sys/un.h-data: Likewise.
62209         * conform/data/sys/utsname.h-data: Likewise.
62210         * conform/data/sys/wait.h-data: Likewise.
62211         * conform/data/syslog.h-data: Likewise.
62212         * conform/data/tar.h-data: Likewise.
62213         * conform/data/termios.h-data: Likewise.
62214         * conform/data/utime.h-data: Likewise.
62215         * conform/data/utmpx.h-data: Likewise.
62216         * conform/data/varargs.h-data: Likewise.
62217         * conform/data/wchar.h-data: Likewise.
62218         * conform/data/wctype.h-data: Likewise.
62219         * conform/data/wordexp.h-data: Likewise.
62221         * include/stropts.h: New file.
62222         * include/uchar.h: New file.
62223         * include/aio.h: Changes to allow conformtest.pl to use the headers.
62224         * include/assert.h: Likewise.
62225         * include/ctype.h: Likewise.
62226         * include/dirent.h: Likewise.
62227         * include/dlfcn.h: Likewise.
62228         * include/fcntl.h: Likewise.
62229         * include/fnmatch.h: Likewise.
62230         * include/glob.h: Likewise.
62231         * include/grp.h: Likewise.
62232         * include/libio.h: Likewise.
62233         * include/locale.h: Likewise.
62234         * include/math.h: Likewise.
62235         * include/net/if.h: Likewise.
62236         * include/netdb.h: Likewise.
62237         * include/netinet/in.h: Likewise.
62238         * include/pthread.h: Likewise.
62239         * include/pwd.h: Likewise.
62240         * include/regex.h: Likewise.
62241         * include/sched.h: Likewise.
62242         * include/search.h: Likewise.
62243         * include/setjmp.h: Likewise.
62244         * include/signal.h: Likewise.
62245         * include/stdio.h: Likewise.
62246         * include/stdlib.h: Likewise.
62247         * include/string.h: Likewise.
62248         * include/sys/cdefs.h: Likewise.
62249         * include/sys/mman.h: Likewise.
62250         * include/sys/msg.h: Likewise.
62251         * include/sys/resource.h: Likewise.
62252         * include/sys/select.h: Likewise.
62253         * include/sys/socket.h: Likewise.
62254         * include/sys/stat.h: Likewise.
62255         * include/sys/statvfs.h: Likewise.
62256         * include/sys/time.h: Likewise.
62257         * include/sys/times.h: Likewise.
62258         * include/sys/uio.h: Likewise.
62259         * include/sys/utsname.h: Likewise.
62260         * include/sys/wait.h: Likewise.
62261         * include/termios.h: Likewise.
62262         * include/time.h: Likewise.
62263         * include/ulimit.h: Likewise.
62264         * include/unistd.h: Likewise.
62265         * include/utime.h: Likewise.
62266         * include/wchar.h: Likewise.
62267         * include/wctype.h: Likewise.
62268         * include/wordexp.h: Likewise.
62270         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
62272         * time/time.h: TIME_UTC must be a macro.
62273         Make timespec_get available for ISO C11 only as well.
62275 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
62277         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
62278         Reported by Peng Haitao <penght@cn.fujitsu.com>.
62280 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62282         * configure.in: Use -o not -a in test for unsupported multi-arch.
62284 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62286         * manual/texinfo.tex: Update to version 2012-01-19.16.
62288 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62290         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
62292 2012-02-24  Roland McGrath  <roland@hack.frob.com>
62294         [BZ #13738]
62295         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
62296         * manual/fdl-1.3.texi: New file.
62297         * manual/fdl-1.1.texi: File removed.
62299         [BZ #13738]
62300         * manual/libc.texinfo (FDL_VERSION): New @set.
62301         Use it for mention of FDL in cover text.
62302         (Documentation License): Use it in @include file name.
62304 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62305             Roland McGrath  <roland@hack.frob.com>
62307         [BZ #5461]
62308         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
62309         (not LONG_LONG_MAX and LONG_LONG_MIN.
62310         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
62311         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
62312         name.
62313         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
62315 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62317         [BZ #2547]
62318         [BZ #11365]
62319         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
62320         manipulate bits before adding and subtracting TWO23[sx].
62321         * math/libm-test.inc (nearbyint_test): Add more tests.
62323 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62325         [BZ #2548]
62326         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
62327         bits before adding and subtracting TWO23[sx].
62328         * math/libm-test.inc (rint_test): Add more tests.
62329         (rint_test_tonearest): Likewise.
62330         (rint_test_towardzero): Likewise.
62331         (rint_test_downward): Likewise.
62332         (rint_test_upward: Likewise.
62334 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62336         [BZ #10110]
62337         * include/stdc-predef.h: New file.  Extracted from features.h.
62338         * include/features.h: Include stdc-predef.h.
62339         * Makefile (headers): Add stdc-predef.h.
62340         * CONFORMANCE (Compiler limitations): Update.
62342 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62344         * manual/libc.texinfo (VERSION, UPDATED): Revert.
62346 2012-02-21  David S. Miller  <davem@davemloft.net>
62348         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
62349         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62351 2012-02-20  David S. Miller  <davem@davemloft.net>
62353         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
62354         using a normal save/restore sequence, rather than allocating a
62355         dummy stack frame just to store a frame pointer and restore.
62356         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62358 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62360         * manual/install.texi: Fix stray word in line-wrapped comment.
62362 2012-02-20  David S. Miller  <davem@davemloft.net>
62364         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
62365         both binutils and gcc support GOTDATA.
62367         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
62368         "rd %pc" in the PIC register setup sequences.
62370         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
62371         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
62372         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62373         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
62374         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62375         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62376         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62377         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62378         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
62379         (SYSCALL_ERROR_HANDLER): Likewise.
62380         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62381         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62382         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
62383         (SYSCALL_ERROR_HANDLER): Likewise.
62385         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
62386         (HAVE_GCC_GOTDATA): New.
62387         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
62388         relocation support in both binutils and gcc.
62389         * sysdeps/sparc/elf/configure: Regenerate.
62391         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
62392         * sysdeps/sparc/sparc32/elf/configure: Delete.
62393         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
62394         * sysdeps/sparc/sparc64/elf/configure: Delete.
62395         * sysdeps/sparc/elf/configure.in: New file.
62396         * sysdeps/sparc/elf/configure: Generate.
62398         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
62399         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
62400         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
62401         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
62402         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
62404 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62406         * manual/install.texi: Do not mention specific glibc version
62407         numbers.
62408         * manual/libc.texinfo (VERSION, UPDATED): Update.
62409         (@copying): Use @copyright{} and range of years.
62411 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62413         [BZ #13695]
62414         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
62415         [crti.S not in sysdirs] (generated): Do not append.
62416         [crti.S not in sysdirs] (omit-deps): Likewise.
62417         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
62418         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
62419         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
62420         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
62421         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
62422         Likewise.
62423         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
62424         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
62425         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
62426         * csu/defs.awk: Remove file.
62427         * sysdeps/generic/initfini.c: Likewise.
62428         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
62429         variable.
62430         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
62431         Likewise.
62433 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62435         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
62436         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
62437         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
62438         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
62439         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62440         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
62441         <bits/epoll.h>.
62442         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
62443         (__EPOLL_PACKED): Define to empty if not defined by
62444         <bits/epoll.h>.
62445         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
62446         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62447         bits/epoll.h.
62449 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62451         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
62452         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
62453         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
62454         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
62455         <bits/timerfd.h>.
62456         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
62457         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62458         bits/timerfd.h.
62460 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62462         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
62463         in C locale.
62464         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62465         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62466         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
62467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62469 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
62471         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62472         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62474 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
62476         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
62477         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
62478         defined.
62479         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
62480         Likewise.
62481         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
62482         entry for 2.16.
62484 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
62486         * math/w_acos.c: Use non-signaling floating-point comparisons.
62487         * math/w_acosf.c: Likewise.
62488         * math/w_acosh.c: Likewise.
62489         * math/w_acoshf.c: Likewise.
62490         * math/w_acoshl.c: Likewise.
62491         * math/w_acosl.c: Likewise.
62492         * math/w_asin.c: Likewise.
62493         * math/w_asinf.c: Likewise.
62494         * math/w_asinl.c: Likewise.
62495         * math/w_atanh.c: Likewise.
62496         * math/w_atanhf.c: Likewise.
62497         * math/w_atanhl.c: Likewise.
62498         * math/w_exp2.c: Likewise.
62499         * math/w_exp2f.c: Likewise.
62500         * math/w_exp2l.c: Likewise.
62501         * math/w_j0.c: Likewise.
62502         * math/w_j0f.c: Likewise.
62503         * math/w_j0l.c: Likewise.
62504         * math/w_j1.c: Likewise.
62505         * math/w_j1f.c: Likewise.
62506         * math/w_j1l.c: Likewise.
62507         * math/w_jn.c: Likewise.
62508         * math/w_jnf.c: Likewise.
62509         * math/w_log.c: Likewise.
62510         * math/w_log10.c: Likewise.
62511         * math/w_log10f.c: Likewise.
62512         * math/w_log10l.c: Likewise.
62513         * math/w_log2.c: Likewise.
62514         * math/w_log2f.c: Likewise.
62515         * math/w_log2l.c: Likewise.
62516         * math/w_logf.c: Likewise.
62517         * math/w_logl.c: Likewise.
62518         * math/w_sqrt.c: Likewise.
62519         * math/w_sqrtf.c: Likewise.
62520         * math/w_sqrtl.c: Likewise.
62521         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62522         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
62523         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62524         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
62525         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
62527 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62529         [BZ #9739]
62530         * manual/string.texi (strnlen): Use correct parameter name in
62531         equivalent expression.
62533 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62535         [BZ #11174]
62536         * manual/users.texi (seteuid): Consistently use neweuid for
62537         argument name.
62539 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62541         [BZ #13704]
62542         * manual/nss.texi (Services in the NSS configuration): Correct
62543         list of services in example configuration file.
62545 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
62547         [BZ #11322]
62548         * manual/arith.texi: Remove statements about negative zero
62549         behaving identically to zero.
62551 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
62553         [BZ #5993]
62554         * manual/install.texi: Do not document upgrading from libc5.
62556 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
62558         [BZ #4596]
62559         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
62561 2012-02-18  David S. Miller  <davem@davemloft.net>
62563         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
62564         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
62565         %o7 across the call.
62566         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
62567         instead.
62568         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
62569         SETUP_PIC_REG_LEAF.
62570         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62571         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
62572         * sysdeps/sparc/crtn.S: Likewise.
62574 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
62576         * aout/Makefile: Remove.
62578 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
62580         [BZ #13058]
62581         * manual/examples/argp-ex1.c (main): Format definition in GNU
62582         style.
62583         * manual/examples/argp-ex2.c (main): Likewise.
62584         * manual/examples/argp-ex3.c (main): Likewise.
62585         * manual/examples/argp-ex4.c (main): Likewise.
62586         * manual/examples/longopt.c (main): Use new-style prototype
62587         definition.
62588         * manual/examples/strncat.c (main): Specify return type and use
62589         (void) for arguments.
62590         * manual/examples/subopt.c (main): Use char **argv argument.
62592 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62594         [BZ #5077]
62595         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
62596         rounding modes.
62598 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
62600         [BZ #6907]
62601         * manual/string.texi (strchr): Change when strchrnul is
62602         recommended.
62604 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
62606         [BZ #174]
62607         * manual/locale.texi (setlocale): Document LOCPATH.
62609 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62611         [BZ #10210]
62612         * manual/process.texi (execle): Move @dots{} before last argument.
62614 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
62616         [BZ #12047]
62617         * manual/charset.texi (Generic Charset Conversion): Fix typo
62618         (LC_TYPE -> LC_CTYPE).
62620 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
62622         [BZ #5805]
62623         * manual/arith.texi (scalbn): Use @var{} on parameter names.
62624         (scalbnf): Likewise.
62625         (scalbnl): Likewise.
62626         (scalbln): Likewise.
62627         (scalblnf): Likewise.
62628         (scalblnl): Likewise.
62629         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
62630         (vwarnx): Likewise.
62631         (verr): Likewise.
62632         (verrx): Likewise.
62633         * manual/filesys.texi (telldir): Use braces around return type.
62634         * manual/llio.texi (mmap): Add space after comma.
62635         (mmap64): Likewise.
62636         * manual/math.texi (jn): Use @var{} on parameter names.
62637         (jnf): Likewise.
62638         (jnl): Likewise.
62639         (yn): Likewise.
62640         (ynf): Likewise.
62641         (ynl): Likewise.
62642         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
62643         line.
62644         * manual/resource.texi (ulimit): Use @dots{} instead of literal
62645         "...".
62646         (sched_get_priority_min): Remove semicolon on @deftypefun line.
62647         (sched_get_priority_max): Likewise.
62648         * manual/signal.texi (sigvec): Add space after comma.
62649         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
62650         names.
62651         (if_indextoname): Likewise.
62652         (if_freenameindex): Likewise.
62653         (sendto): Use ',' instead of '.' in prototype.
62654         * manual/startup.texi (syscall): Use @dots{} instead of literal
62655         "...".
62656         * manual/stdio.texi (__fpending): Separate initial words of
62657         paragraph from @deftypefun line.
62658         * manual/syslog.texi (syslog): Use @dots{} instead of literal
62659         "...".
62660         (vsyslog): Use @var{} on parameter names.
62661         * manual/terminal.texi (stty): Use @var{} on parameter names.
62662         * manual/users.texi (getutmp): Use @var{} on parameter names.
62663         (getutmpx): Likewise.
62665 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62667         [BZ #6884]
62668         * manual/stdio.texi (fopen): Fix typos in description of
62669         ",ccs=STRING".
62671 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
62673         [BZ #4026]
62674         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
62675         get clock_id definition.
62677 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
62679         [BZ #4822]
62680         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
62681         (madvise): Cast every argument to void on its own.
62683 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62685         [BZ #9902]
62686         * manual/startup.texi (Exit Status): Fix typo.
62688 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62690         [BZ #10140]
62691         * manual/examples/argp-ex1.c: Include <stdlib.h>.
62692         * manual/examples/argp-ex2.c: Likewise.
62693         * manual/examples/argp-ex3.c: Likewise.
62695 2012-02-16  Richard Henderson  <rth@redhat.com>
62697         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
62698         * sysdeps/s390/s390-32/initfini.c: Remove.
62699         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
62700         * sysdeps/s390/s390-64/initfini.c: Remove.
62702 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62704         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
62705         compiler output for sysdeps/generic/initfini.c.
62706         * sysdeps/sh/elf/initfini.c: Remove file.
62708 2012-02-16  David S. Miller  <davem@davemloft.net>
62710         [BZ #11494]
62711         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
62713         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
62714         * sysdeps/sparc/crti.S: New file.
62715         * sysdeps/sparc/crtn.S: New file.
62716         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
62717         * sysdeps/sparc/sparc64/Makefile: Likewise.
62719 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
62721         [BZ #3335]
62722         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
62724 2012-02-15  Roland McGrath  <roland@hack.frob.com>
62726         [BZ #4822]
62727         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
62729         * mach/devstream.c (cookie_io_functions_t): Macro removed.
62730         (write, read, close): Likewise.
62731         Patch by Aurelien Jarno <aurelien@aurel32.net>.
62733 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
62735         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
62736         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
62737         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
62738         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
62739         <bits/signalfd.h>.
62740         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
62741         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62742         bits/signalfd.h.
62744 2012-02-14  Marek Polacek  <polacek@redhat.com>
62746         * sysdeps/x86_64/crti.S: New file.
62747         * sysdeps/x86_64/crtn.S: New file.
62748         * sysdeps/x86_64/elf/initfini.c: Remove file.
62750 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
62752         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
62753         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
62754         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
62755         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
62756         <bits/inotify.h>.
62757         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
62758         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62759         bits/inotify.h.
62761 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
62763         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
62764         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
62765         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
62766         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
62767         <bits/eventfd.h>.
62768         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
62769         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62770         bits/eventfd.h.
62772 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
62774         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
62775         __feraiseexcept instead of feraiseexcept.
62777         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
62778         nanosleep invocations.
62779         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
62780         strings, and add error checking for a nanosleep invocations.
62782 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
62784         Replace FSF snail mail address with URLs, as per GNU coding standards.
62785         Most of the snail mail addresses were wrong anyway, and omitting
62786         them makes the source code easier to maintain.  Almost all of the
62787         changes are to license notices and to locale LC_IDENTIFICATION
62788         addresses, except for this one:
62789         * manual/libc.texinfo: In "Published by", give the FSF's URL,
62790         not its snail mail address.
62792 2012-02-09  Richard Henderson  <rth@twiddle.net>
62794         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
62795         of kernel-features.h.
62797         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
62799 2012-02-08  Marek Polacek  <polacek@redhat.com>
62801         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
62802         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
62803         * sysdeps/gnu/_G_config.h: Likewise.
62804         * sysdeps/generic/_G_config.h: Likewise.
62806 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
62808         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
62809         tests.
62810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62812         * sysdeps/powerpc/powerpc32/crti.S: New file.
62813         * sysdeps/powerpc/powerpc32/crtn.S: New file.
62814         * sysdeps/powerpc/powerpc64/crti.S: New file.
62815         * sysdeps/powerpc/powerpc64/crtn.S: New file.
62817         * Makeconfig (have-initfini): Don't set.
62818         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
62819         * configure.in (nopic_initfini): Don't substitute.
62820         * config.h.in (HAVE_INITFINI): Don't #undef.
62821         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
62822         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
62824 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
62826         Support crti.S and crtn.S provided directly by architectures.
62827         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
62828         [crti.S in sysdirs] (omit-deps): Likewise.
62829         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
62830         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
62831         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
62832         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
62833         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
62834         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
62835         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
62836         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
62837         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
62838         compiler output for sysdeps/generic/initfini.c.
62839         * sysdeps/i386/elf/Makefile: Remove file.
62840         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
62842 2012-02-07  Marek Polacek  <polacek@redhat.com>
62844         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
62845         * sysdeps/gnu/_G_config.h: Likewise.
62846         * sysdeps/mach/hurd/_G_config.h: Likewise.
62848 2012-02-07  Marek Polacek  <polacek@redhat.com>
62850         * math/Makefile (tests): Add tst-CMPLX2.
62851         * math/tst-CMPLX2.c: New file.
62853 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
62855         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62857         * math/libm-test.inc (jn_test): Add missing L suffix.
62859 2012-02-06  Marek Polacek  <polacek@redhat.com>
62861         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
62862         * sysdeps/i386/fpu/e_powf.S: Likewise.
62863         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62864         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62865         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62866         * sysdeps/i386/fpu/e_pow.S: Likewise.
62867         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62868         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62869         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62870         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62871         * sysdeps/i386/fpu/e_log2.S: Likewise.
62872         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62873         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62874         * sysdeps/i386/fpu/e_powl.S: Likewise.
62875         * sysdeps/i386/fpu/s_log1p.S: Likewise.
62876         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62877         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62878         * sysdeps/i386/fpu/e_logl.S: Likewise.
62879         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62880         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
62881         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62882         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62883         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62884         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62885         * sysdeps/i386/fpu/e_log.S: Likewise.
62886         * sysdeps/i386/fpu/s_cexp.S: Likewise.
62887         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62888         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
62889         * sysdeps/i386/fpu/e_logf.S: Likewise.
62890         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62891         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62892         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
62893         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62894         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62895         * sysdeps/i386/fpu/e_log10.S: Likewise.
62896         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62897         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62898         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62899         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62900         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62901         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62902         * sysdeps/i386/asm-syntax.h: Likewise.
62903         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62904         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62905         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62906         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
62907         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
62908         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62909         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62910         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62911         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62912         * sysdeps/powerpc/sysdep.h: Likewise.
62913         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
62914         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62916 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62918         [BZ #411]
62919         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
62921 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62923         * sysdeps/i386/sysdep.h: Include <features.h>.
62924         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
62925         version.
62927 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
62929         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
62930         Define.
62931         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
62932         LOAD_PIC_REG_STR.
62934 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62936         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
62937         (SETUP_PIC_REG): Use GET_PC_THUNK.
62938         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
62939         macro.
62941 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62943         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
62944         for non-PIC compilation.
62945         (SETUP_PIC_REG): Add .p2align directive.
62946         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
62947         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
62948         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
62949         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
62950         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62951         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
62952         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
62953         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62954         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
62955         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
62956         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
62957         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
62958         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
62959         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
62960         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
62961         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62962         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62963         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
62964         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
62965         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
62966         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62967         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62968         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
62969         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
62970         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62971         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62972         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62973         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62974         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
62975         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
62976         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
62977         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62978         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
62979         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
62980         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
62981         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
62982         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
62983         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
62984         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
62985         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
62986         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
62988 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62990         * math/tst-CMPLX.c: Include <stdio.h>.
62992 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
62994         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
62995         float.
62996         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
62997         * sysdeps/sparc/bits/mathdef.h: Likewise.
62999 2012-01-31  Marek Polacek  <polacek@redhat.com>
63001         * libio/libio.h: Don't define _PARAMS.
63002         * locale/programs/config.h: Don't define PARAMS.
63003         * stdlib/strtol_l.c: Likewise.
63004         (__strtol_l): Remove PARAMS from the prototype.
63006 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
63008         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
63009         names.  Just use the correct names.  Remove unnecessary wrapper
63010         functions.
63011         * malloc/arena.c: Likewise.
63012         * malloc/hooks.c: Likewise.
63014         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
63015         ARENA_TEST says not to.  Simplify test for creation of a new arena.
63016         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
63018 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
63020         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
63021         into tail calls.
63022         (update_get_addr): New function.
63023         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
63024         GET_ADDR_MODULE parameter.
63026 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
63028         * crypt/cert.c: Remove __STDC__ conditionals.
63029         * crypt/crypt-entry.c: Likewise.
63030         * crypt/crypt_util.c: Likewise.
63031         * libio/filedoalloc.c: Likewise.
63032         * libio/fileops.c: Likewise.
63033         * libio/genops.c: Likewise.
63034         * libio/iofclose.c: Likewise.
63035         * libio/iofdopen.c: Likewise.
63036         * libio/iofopen.c: Likewise.
63037         * libio/iofopen64.c: Likewise.
63038         * libio/iogetdelim.c: Likewise.
63039         * libio/iopopen.c: Likewise.
63040         * libio/obprintf.c: Likewise.
63041         * libio/oldfileops.c: Likewise.
63042         * libio/oldiofclose.c: Likewise.
63043         * libio/oldiofdopen.c: Likewise.
63044         * libio/oldiofopen.c: Likewise.
63045         * libio/oldiopopen.c: Likewise.
63046         * libio/wfiledoalloc.c: Likewise.
63047         * libio/wgenops.c: Likewise.
63048         * locale/programs/xmalloc.c: Likewise.
63049         * misc/syslog.c: Likewise.
63050         * stdio-common/xbug.c: Likewise.
63051         * string/memchr.c: Likewise.
63052         * string/memcmp.c: Likewise.
63053         * string/memrchr.c: Likewise.
63054         * string/rawmemchr.c: Likewise.
63055         * sysdeps/posix/getcwd.c: Likewise.
63056         * time/strftime_l.c: Likewise.
63058 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
63060         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
63061         * config.make.in (config-cflags-sse2avx): Define.
63062         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
63063         Fix typo.
63065 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
63067         * scripts/config.guess: Update from upstream config git repository.
63068         * scripts/config.sub: Likewise.
63070 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
63072         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
63073         (EM_NUM): Update.
63074         (R_TILEPRO_*, R_TILEGX_*): New macros.
63076         * scripts/firstversions.awk: Fix bug in version range handling.
63078         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
63080         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
63082         * include/sys/epoll.h: New file.
63083         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
63084         libc_hidden_def.
63086 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
63088         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
63089         Avoid unnecessary __WORDSIZE == 64 test.
63090         (fmaxf): Use VEX format if possible.
63091         (fmax): Likewise.
63092         (fminf): Likewise.
63093         (fmin): Likewise.
63095         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
63096         * math/math_private.h: Remove libc_fegetround* and
63097         libc_fesetround*.
63098         * sysdeps/i386/configure.in: Check for -msse2avx.
63099         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
63100         also if SSE2AVX is defined.
63101         Remove libc_fegetround* and libc_fesetround*.
63102         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
63103         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
63104         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
63105         of HAS_YMM_USABLE.
63106         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63107         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63108         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63109         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63110         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63112         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
63114 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63116         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
63117         size is not set.
63118         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63120 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
63122         [BZ #13618]
63123         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
63124         relocation.
63125         * Makeconfig (libm): Define.
63126         * elf/Makefile: Add rules to build and run tst-relsort1.
63127         * elf/tst-relsort1.c: New file.
63128         * elf/tst-relsort1mod1.c: New file.
63129         * elf/tst-relsort1mod2.c: New file.
63131 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
63133         * math/s_ldexp.c: Remove __STDC__ conditionals.
63134         * math/s_ldexpf.c: Likewise.
63135         * math/s_ldexpl.c: Likewise.
63136         * math/s_nextafter.c: Likewise.
63137         * math/s_nexttowardf.c: Likewise.
63138         * math/s_significand.c: Likewise.
63139         * math/s_significandf.c: Likewise.
63140         * math/s_significandl.c: Likewise.
63141         * math/w_jnl.c: Likewise.
63142         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63143         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63144         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63145         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63146         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63147         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63148         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
63149         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63150         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63151         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63152         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63153         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63154         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63155         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63156         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63157         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63158         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63159         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63160         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63161         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63162         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63163         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63164         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63165         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63166         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63167         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63168         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63169         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63170         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63171         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63172         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63173         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63174         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63175         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63176         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63177         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63178         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63179         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63180         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63181         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63182         * sysdeps/ieee754/k_standard.c: Likewise.
63183         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63184         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63185         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63186         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63187         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63188         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63189         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63190         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63191         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63192         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63193         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63194         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63195         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63196         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63197         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63198         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63199         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63200         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63201         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63202         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63203         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63204         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63205         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63206         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63207         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63208         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63209         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63210         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63211         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63212         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63213         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63214         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
63215         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63216         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63217         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63218         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63219         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
63220         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63221         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63222         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
63223         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
63224         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63225         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
63226         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
63227         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63228         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63229         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
63230         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63231         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63232         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
63233         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
63234         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63235         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63236         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63237         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63238         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63239         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
63240         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63241         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63242         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63243         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63244         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63245         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63246         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63247         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63248         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63249         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63250         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63251         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63252         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63253         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63254         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63255         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63256         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63257         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63258         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63259         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63260         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63261         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63262         * sysdeps/ieee754/s_matherr.c: Likewise.
63263         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63264         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63265         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63266         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63268 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63270         * crypt/md5.h: Remove __STDC__ conditionals.
63271         * libio/libioP.h: Likewise.
63272         * locale/programs/config.h: Likewise.
63273         * sysdeps/generic/sysdep.h: Likewise.
63274         * sysdeps/i386/asm-syntax.h: Likewise.
63275         * sysdeps/s390/asm-syntax.h: Likewise.
63276         * sysdeps/unix/sysdep.h: Likewise.
63277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
63278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
63280 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63282         * libio/libio.h: Remove __STDC__ conditionals.
63283         * malloc/obstack.h: Likewise.
63284         * math/complex.h: Likewise.
63285         * math/math.h: Likewise.
63286         * sysdeps/generic/_G_config.h: Likewise.
63287         * sysdeps/gnu/_G_config.h: Likewise.
63288         * sysdeps/mach/hurd/_G_config.h: Likewise.
63289         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63290         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
63291         * sysdeps/sparc/bits/mathdef.h: Likewise.
63293 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
63295         [BZ #13583]
63296         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
63297         Clean up HAS_* macros.
63298         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
63299         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
63300         possible.
63301         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
63302         HAS_AVX.
63303         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63304         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63305         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63306         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63307         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63309 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
63311         * elf/tst-unique3.cc (gets): Remove declaration.
63312         * elf/tst-unique3lib.cc (gets): Likewise.
63313         * elf/tst-unique3lib2.cc (gets): Likewise.
63314         * elf/tst-unique4.cc (gets): Likewise.
63316 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
63318         * include/stdio.h: Add C++ protection.  Add gets declarations and
63319         definitions.
63320         * debug/tst-chk1.c: Don't declare gets here.
63321         * stdio-common/tst-gets.c: Likewise.
63323 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63325         * posix/glob: Remove directory.
63327 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63329         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
63331 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
63333         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
63334         of the non-standard EPFNOSUPPORT.
63336 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63338         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
63339         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
63340         ANYWHERE set to 1 only on KERN_NO_SPACE error.
63342 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
63344         * wcsmbs/uchar.h: Test __STDC_VERSION__.
63346 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
63348         * nscd/aicache.c (addhstaiX): Do not cache negative results of
63349         transient errors.
63350         * nscd/grpcache.c (cache_addgr): Likewise.
63351         * nscd/hstcache.c (cache_addhst): Likewise.
63352         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63353         * nscd/pwdcache.c (cache_addpw): Likewise.
63354         * nscd/servicescache.c (cache_addserv): Likewise.
63356 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
63358         * malloc/malloc.c: Various cleanups.
63359         * malloc/hooks.c: Likewise.
63361         * stdlib/Makefile (tests): Add bug-fmtmsg1.
63362         * stdlib/bug-fmtmsg1.c: New file.
63364         * stdlib/fmtmsg.c (init): Add missing unlock.
63365         Patch by Peng Haitao <penght@cn.fujitsu.com>.
63367 2012-01-12  Marek Polacek  <polacek@redhat.com>
63369         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
63370         and _GNU_SOURCE.
63372 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
63374         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
63375         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
63376         macro to ensure uniqueness of label name.
63377         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
63378         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
63380 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
63382         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
63384         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
63385         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63386         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63387         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
63389 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
63391         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
63393         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
63394         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63395         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63397         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
63399         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
63400         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63401         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63402         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
63404         * math/bits/math-finite.h: Add ldexp support.
63406 2012-01-10  Marek Polacek  <polacek@redhat.com>
63408         * locale/programs/localedef.h (show_archive_content): Add noreturn
63409         attribute.
63411 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
63413         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
63415 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63417         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
63419         * io/Makefile (headers): Add bits/poll2.h.
63421 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
63423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
63424         typo #include statement.
63426 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63428         * include/sys/cdefs.h: Define __attribute_alloc_size.
63429         * catgets/gencat.c: Add alloc_size attribute and apply consistently
63430         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
63431         * elf/pldd.c: Likewise.
63432         * iconv/iconv_charmap.c: Likewise.
63433         * iconv/iconvconfig.c: Likewise.
63434         * iconv/strtab.c: Likewise.
63435         * locale/programs/locale.c: Likewise.
63436         * locale/programs/localedef.h: Likewise.
63437         * locale/programs/simple-hash.c: Likewise.
63438         * nscd/nscd.h: Likewise.
63439         * nss/makedb.c: Likewise.
63440         * sysdeps/generic/ldconfig.h: Likewise.
63441         * locale/programs/localedef.c: Remove xmalloc prototype.
63442         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
63444 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63446         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
63447         appropriate.
63449 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63451         * math/Makefile (tests): Add tst-CMPLX.
63452         * math/tst-CMPLX.c: New file.
63454         * math/complex.h (CMPLXL): Fix typo.
63456         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
63457         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
63458         GLIBC_2.16.
63459         * debug/tst-chk1.c: Add poll and ppoll tests.
63460         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
63461         * include/sys/poll.h: Add hidden proto for ppoll.
63462         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
63463         * sysdeps/mach/hurd/ppoll.c: Likewise.
63464         * io/ppoll.c: Likewise.
63465         * debug/poll_chk.c: New file.
63466         * debug/ppoll_chk.c: New file.
63467         * include/bits/poll2.h: New file.
63468         * io/bits/poll2.h: New file.
63470         [BZ #1350]
63471         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
63473         * configure.in: static is always set to yes.  Remove.
63474         * config.make.in: Don't set build-static.
63475         * Makeconfig: Remove use of build-static.
63476         * dlfcn/Makefile: Likewise.
63477         * elf/Makefile: Likewise.
63478         * math/Makefile: Likewise.
63479         * misc/Makefile: Likewise.
63480         * nptl/Makefile: Likewise.
63481         * sysdeps/mach/hurd/Makefile: Likewise.
63483         * configure.in: PWD_P is not used anymore.
63484         * config.make.in: Remove PWD_P entry.
63486         * configure.in: Remove last remnants of RANLIB.
63487         No need to check for signed size_t anymore.
63488         Don't set libc_commonpagesize and libc_relro_required here for Alpha
63489         and IA-64.
63490         Remove __builtin_expect test because we require at least gcc 3.4.
63491         * aclocal.m4: Likewise.
63493         * wcsmbs/mbrtoc16.c: Implement using towc function.
63494         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
63495         * wcsmbs/wcsmbsload.c: Likewise.
63496         * iconv/gconv_simple.c: Likewise.
63497         * iconv/gconv_int.h: Likewise.
63498         * iconv/gconv_builtin.h: Likewise.
63499         * iconv/iconv_prog.c: Remove CHAR16 handling.
63501         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
63503         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
63505         * configure.in: Remove --with-elf and --enable-bounded options.
63506         Dont set base_machine for ia64.  More non-ELF conditions removed.
63507         Remove testing and setting of leading underscore information.
63508         * config.make.in (build-bounded): Set to no.
63509         * config.h.in: Remove NO_UNDERSCORES entry.
63510         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
63511         them.
63512         * csu/start.c: Remove !NO_UNDERSCORE code.
63513         * locale/localeinfo.h: Likewise.
63514         * sysdeps/generic/machine-gmon.h: Likewise.
63515         * sysdeps/generic/sysdep.h: Likewise.
63516         * sysdeps/i386/sysdep.h: Likewise.
63517         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
63518         * sysdeps/mach/sysdep.h: Likewise.
63519         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63520         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63521         * sysdeps/sh/sysdep.h: Likewise.
63522         * sysdeps/sparc/sparc32/alloca.S: Likewise.
63523         * sysdeps/unix/i386/sysdep.S: Likewise.
63524         * sysdeps/unix/sparc/start.c: Likewise.
63525         * sysdeps/unix/sparc/sysdep.S: Likewise.
63526         * sysdeps/unix/sparc/sysdep.h: Likewise.
63527         * sysdeps/unix/start.c: Likewise.
63528         * sysdeps/unix/x86_64/sysdep.S: Likewise.
63529         * sysdeps/x86_64/sysdep.h: Likewise.
63531 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
63533         [BZ #13553]
63534         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
63535         for non-gcc.
63536         * argp/argp-fmtstream.h: Use const instead __const.
63537         * argp/argp.h: Likewise.
63538         * assert/assert.h: Likewise.
63539         * bits/fenv.h: Likewise.
63540         * bits/sched.h: Likewise.
63541         * bits/sigset.h: Likewise.
63542         * bits/sigthread.h: Likewise.
63543         * catgets/nl_types.h: Likewise.
63544         * conform/data/pthread.h-data: Likewise.
63545         * crypt/crypt-private.h: Likewise.
63546         * crypt/crypt.h: Likewise.
63547         * crypt/crypt_util.c: Likewise.
63548         * ctype/ctype.h: Likewise.
63549         * debug/execinfo.h: Likewise.
63550         * debug/mbsnrtowcs_chk.c: Likewise.
63551         * debug/mbsrtowcs_chk.c: Likewise.
63552         * debug/wcsnrtombs_chk.c: Likewise.
63553         * debug/wcsrtombs_chk.c: Likewise.
63554         * debug/wcstombs_chk.c: Likewise.
63555         * dirent/dirent.h: Likewise.
63556         * dlfcn/dlfcn.h: Likewise.
63557         * elf/neededtest4.c: Likewise.
63558         * grp/grp.h: Likewise.
63559         * gshadow/gshadow.h: Likewise.
63560         * iconv/gconv.h: Likewise.
63561         * iconv/gconv_int.h: Likewise.
63562         * iconv/gconv_simple.c: Likewise.
63563         * iconv/iconv.h: Likewise.
63564         * iconv/loop.c: Likewise.
63565         * iconv/skeleton.c: Likewise.
63566         * include/aio.h: Likewise.
63567         * include/aliases.h: Likewise.
63568         * include/argz.h: Likewise.
63569         * include/arpa/inet.h: Likewise.
63570         * include/assert.h: Likewise.
63571         * include/dirent.h: Likewise.
63572         * include/dlfcn.h: Likewise.
63573         * include/execinfo.h: Likewise.
63574         * include/fcntl.h: Likewise.
63575         * include/fenv.h: Likewise.
63576         * include/glob.h: Likewise.
63577         * include/grp.h: Likewise.
63578         * include/libintl.h: Likewise.
63579         * include/mntent.h: Likewise.
63580         * include/netdb.h: Likewise.
63581         * include/pwd.h: Likewise.
63582         * include/rpc/netdb.h: Likewise.
63583         * include/sched.h: Likewise.
63584         * include/search.h: Likewise.
63585         * include/shadow.h: Likewise.
63586         * include/signal.h: Likewise.
63587         * include/stdio.h: Likewise.
63588         * include/stdlib.h: Likewise.
63589         * include/string.h: Likewise.
63590         * include/sys/socket.h: Likewise.
63591         * include/sys/stat.h: Likewise.
63592         * include/sys/statfs.h: Likewise.
63593         * include/sys/statvfs.h: Likewise.
63594         * include/sys/syslog.h: Likewise.
63595         * include/sys/time.h: Likewise.
63596         * include/sys/uio.h: Likewise.
63597         * include/time.h: Likewise.
63598         * include/unistd.h: Likewise.
63599         * include/utmp.h: Likewise.
63600         * include/wchar.h: Likewise.
63601         * include/wctype.h: Likewise.
63602         * inet/aliases.h: Likewise.
63603         * inet/arpa/inet.h: Likewise.
63604         * inet/netinet/ether.h: Likewise.
63605         * inet/netinet/in.h: Likewise.
63606         * intl/libintl.h: Likewise.
63607         * io/bits/fcntl2.h: Likewise.
63608         * io/fcntl.h: Likewise.
63609         * io/ftw.h: Likewise.
63610         * io/sys/poll.h: Likewise.
63611         * io/sys/stat.h: Likewise.
63612         * io/sys/statfs.h: Likewise.
63613         * io/sys/statvfs.h: Likewise.
63614         * io/utime.h: Likewise.
63615         * libio/bits/stdio.h: Likewise.
63616         * libio/bits/stdio2.h: Likewise.
63617         * libio/libio.h: Likewise.
63618         * libio/libioP.h: Likewise.
63619         * libio/stdio.h: Likewise.
63620         * locale/lc-ctype.c: Likewise.
63621         * locale/locale.h: Likewise.
63622         * login/utmp.h: Likewise.
63623         * malloc/arena.c: Likewise.
63624         * malloc/malloc.c: Likewise.
63625         * malloc/malloc.h: Likewise.
63626         * malloc/mcheck.c: Likewise.
63627         * malloc/mtrace.c: Likewise.
63628         * math/bits/mathcalls.h: Likewise.
63629         * math/fenv.h: Likewise.
63630         * math/math_private.h: Likewise.
63631         * misc/bits/error.h: Likewise.
63632         * misc/bits/syslog.h: Likewise.
63633         * misc/err.h: Likewise.
63634         * misc/error.h: Likewise.
63635         * misc/fstab.h: Likewise.
63636         * misc/mntent.h: Likewise.
63637         * misc/regexp.h: Likewise.
63638         * misc/search.h: Likewise.
63639         * misc/sgtty.h: Likewise.
63640         * misc/sys/mman.h: Likewise.
63641         * misc/sys/syslog.h: Likewise.
63642         * misc/sys/uio.h: Likewise.
63643         * misc/sys/xattr.h: Likewise.
63644         * misc/ttyent.h: Likewise.
63645         * nis/rpcsvc/ypclnt.h: Likewise.
63646         * nss/nss.h: Likewise.
63647         * posix/bits/unistd.h: Likewise.
63648         * posix/fnmatch.h: Likewise.
63649         * posix/glob.h: Likewise.
63650         * posix/sched.h: Likewise.
63651         * posix/spawn.h: Likewise.
63652         * posix/sys/wait.h: Likewise.
63653         * posix/unistd.h: Likewise.
63654         * posix/wordexp.h: Likewise.
63655         * pwd/pwd.h: Likewise.
63656         * resolv/netdb.h: Likewise.
63657         * resource/sys/resource.h: Likewise.
63658         * rt/aio.h: Likewise.
63659         * rt/bits/mqueue2.h: Likewise.
63660         * rt/mqueue.h: Likewise.
63661         * shadow/shadow.h: Likewise.
63662         * signal/signal.h: Likewise.
63663         * socket/send.c: Likewise.
63664         * socket/sendto.c: Likewise.
63665         * socket/sys/socket.h: Likewise.
63666         * stdio-common/printf.h: Likewise.
63667         * stdlib/bits/stdlib.h: Likewise.
63668         * stdlib/fmtmsg.h: Likewise.
63669         * stdlib/monetary.h: Likewise.
63670         * stdlib/stdlib.h: Likewise.
63671         * stdlib/ucontext.h: Likewise.
63672         * streams/stropts.h: Likewise.
63673         * string/argz.h: Likewise.
63674         * string/bits/string2.h: Likewise.
63675         * string/string.h: Likewise.
63676         * string/strings.h: Likewise.
63677         * sunrpc/rpc/auth.h: Likewise.
63678         * sunrpc/rpc/auth_des.h: Likewise.
63679         * sunrpc/rpc/clnt.h: Likewise.
63680         * sunrpc/rpc/netdb.h: Likewise.
63681         * sunrpc/rpc/pmap_clnt.h: Likewise.
63682         * sunrpc/rpc/xdr.h: Likewise.
63683         * sysdeps/generic/inttypes.h: Likewise.
63684         * sysdeps/generic/net/if.h: Likewise.
63685         * sysdeps/generic/sys/swap.h: Likewise.
63686         * sysdeps/gnu/net/if.h: Likewise.
63687         * sysdeps/gnu/utmpx.h: Likewise.
63688         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
63689         * sysdeps/i386/i486/bits/string.h: Likewise.
63690         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
63691         * sysdeps/s390/bits/string.h: Likewise.
63692         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
63693         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
63694         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
63695         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
63696         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
63697         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
63698         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
63699         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
63700         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
63701         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
63702         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
63703         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
63704         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
63705         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
63706         * sysdeps/unix/sysv/linux/readv.c: Likewise.
63707         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
63708         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
63709         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63710         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
63711         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
63712         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
63713         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
63714         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
63715         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
63716         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
63717         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
63718         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
63719         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63720         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
63721         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
63722         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
63723         * sysvipc/sys/ipc.h: Likewise.
63724         * sysvipc/sys/msg.h: Likewise.
63725         * sysvipc/sys/sem.h: Likewise.
63726         * sysvipc/sys/shm.h: Likewise.
63727         * termios/termios.h: Likewise.
63728         * time/sys/time.h: Likewise.
63729         * time/time.h: Likewise.
63730         * wcsmbs/bits/wchar2.h: Likewise.
63731         * wcsmbs/uchar.h: Likewise.
63732         * wcsmbs/wchar.h: Likewise.
63733         * wctype/wctype.h: Likewise.
63735         [BZ #13551]
63736         * Makeconfig: Remove all but ELF support including AIX support.
63737         * Makerules: Likewise.
63738         * config.h.in: Likewise.
63739         * config.make.in: Likewise.
63740         * configure: Likewise.
63741         * configure.in: Likewise.
63742         * csu/Makefile: Likewise.
63743         * csu/version.c: Likewise.
63744         * debug/Makefile: Likewise.
63745         * dlfcn/Makefile: Likewise.
63746         * elf/Makefile: Likewise.
63747         * extra-lib.mk: Likewise.
63748         * iconv/Makefile: Likewise.
63749         * include/libc-symbols.h: Likewise.
63750         * include/shlib-compat.h: Likewise.
63751         * resolv/Makefile: Likewise.
63752         * resolv/res_libc.c: Likewise.
63753         * rt/Makefile: Likewise.
63754         * sysdeps/i386/asm-syntax.h: Likewise.
63755         * sysdeps/i386/sysdep.h: Likewise.
63756         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
63757         * sysdeps/mach/sysdep.h: Likewise.
63758         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
63759         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
63760         * sysdeps/s390/asm-syntax.h: Likewise.
63761         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63762         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63763         * sysdeps/sh/sysdep.h: Likewise.
63764         * sysdeps/unix/sparc/sysdep.h: Likewise.
63765         * sysdeps/wordsize-32/divdi3.c: Likewise.
63766         * sysdeps/x86_64/sysdep.h: Likewise.
63768         * argp/Versions: Remove _argp_unlock_xxx.
63770         [BZ #13559]
63771         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
63772         * abilist/libBrokenLocale.abilist: Likewise.
63773         * abilist/libanl.abilist: Likewise.
63774         * abilist/libc.abilist: Likewise.
63775         * abilist/libcrypt.abilist: Likewise.
63776         * abilist/libdl.abilist: Likewise.
63777         * abilist/libm.abilist: Likewise.
63778         * abilist/libnsl.abilist: Likewise.
63779         * abilist/libpthread.abilist: Likewise.
63780         * abilist/libresolv.abilist: Likewise.
63781         * abilist/librt.abilist: Likewise.
63782         * abilist/libthread_db.abilist: Likewise.
63783         * abilist/libutil.abilist: Likewise.
63784         * abilist/libnss_db.abilist: New file.
63786         * scripts/abilist.awk: Add support for indirect functions.
63788         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
63790         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
63792         * shlib-versions: Remove entries for ports architectures.
63794         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
63795         files in ports.
63796         * elf/stackguard-macros.h: Remove support for IA-64.
63797         * elf/tst-auditmod1.c: Likewise.
63798         * sysdeps/generic/ldsodefs.h: Likewise.
63800         * sysdeps/unix/sysv/linux/configure.in: Ports should define
63801         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
63802         configure files.
63804         [BZ #13552]
63805         * configure.in: Remove --enable-omitfp support.
63806         * FAQ.in: Adjust.
63807         * config.make.in: Likewise.
63808         * Makeconfig: Likewise.
63809         * manual/install.texi: Likewise.
63811         In case anyone cares, the IA-64 architecture could move to ports.
63812         * sysdeps/ia64/*: Removed.
63813         * sysdeps/unix/sysv/linux/ia64/*: Removed.
63814         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
63816         [BZ #13555]
63817         * configure.in: Remove entries for unsupported architectures.
63819         [BZ #13533]
63820         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
63821         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
63822         routines.
63823         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
63824         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
63825         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
63826         fall back to using wcrtomb.
63827         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
63828         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
63829         renaming.
63830         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
63831         * wcsmbs/tst-c16c32-1.c: New file.
63833         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
63834         local variable.
63836         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
63838         * elf/tst-unique3.cc: Add explicit declaration of gets.
63839         * elf/tst-unique3lib.cc: Likewise.
63840         * elf/tst-unique3lib2.cc: Likewise.
63841         * elf/tst-unique4.cc: Likewise.
63843         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
63845 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
63847         [BZ #13566]
63848         * assert/assert.h (static_assert): Don't define for C++.
63849         * libio/stdio.h (gets): Do declare for C++ <= C++11.
63850         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
63852 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
63854         * iconv/loop.c (single loop): Fix assertion in storing of
63855         remaining bytes.
63857         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
63859 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
63861         * posix/getconf.c: Update copyright year.
63862         * nss/getent.c: Likewise.
63863         * nss/makedb.c: Likewise.
63864         * iconv/iconvconfig.c: Likewise.
63865         * iconv/iconv_prog.c: Likewise.
63866         * elf/ldconfig.c: Likewise.
63867         * elf/pldd.c: Likewise.
63868         * elf/sotruss.ksh: Likewise.
63869         * catgets/gencat.c: Likewise.
63870         * csu/version.c: Likewise.
63871         * elf/ldd.bash.in: Likewise.
63872         * elf/sprof.c (print_version): Likewise.
63873         * locale/programs/locale.c: Likewise.
63874         * locale/programs/localedef.c: Likewise.
63875         * login/programs/pt_chown.c: Likewise.
63876         * nscd/nscd.c (print_version): Likewise.
63877         * debug/xtrace.sh: Likewise.
63878         * malloc/memusage.sh: Likewise.
63879         * malloc/mtrace.pl: Likewise.
63880         * debug/catchsegv.sh: Likewise.
63882 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
63884         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
63885         pure attribute.
63887 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
63889         [BZ #13533]
63890         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
63891         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
63892         transformations.
63893         * iconv/gconv_int.h: Likewise.
63894         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
63895         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
63896         from libc for GLIBC_2.16.
63897         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
63898         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
63899         * wcsmbs/uchar.h: Really define mbstate_t.
63900         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
63901         * wcsmbs/c16rtomb.c: New file.
63902         * wcsmbs/mbrtoc16.c: New file.
63903         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
63904         for C/POSIX locale.
63905         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
63906         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
63908         * wcsmbs/wchar.h: Add missing __restrict.
63910 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63912         [BZ #13532]
63913         * time/Makefile (routines): Add timespec_get.
63914         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
63915         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
63916         timespec for ISO C11.
63917         * time/timespec_get.c: New file.
63918         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
63919         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
63921         [BZ #13531]
63922         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
63923         * stdlib/stdlib.h: Declare aligned_alloc.
63924         * Versions.def: Add GLIBC_2.16 for libc.
63925         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
63927         [BZ 13527]
63928         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
63929         ISO C11.
63931         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
63932         code.
63934         [BZ #13528]
63935         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
63937         [BZ #13529]
63938         * assert/assert.h (static_assert): Define.
63940         * version.h: Update for 2.16 development version.
63942         [BZ #13526]
63943         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
63944         _ISOC11_SOURCE.
63946         * version.h (RELEASE): Bump for 2.15 release.
63947         * include/features.h (__GLIBC_MINOR__): Bump to 15.
63949         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
63950         Patch by Marek Polacek <mpolacek@redhat.com>.
63952         * bits/byteswap.h: Protect long long constants with __extension__.
63953         * sysdeps/i386/bits/byteswap.h: Likewise.
63954         * sysdeps/ia64/bits/byteswap.h: Likewise.
63955         * sysdeps/s390/bits/byteswap.h: Likewise.
63956         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63958 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63960         [BZ #13540]
63961         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
63962         destination buffer.
63963         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
63965 2011-12-23  Marek Polacek  <polacek@redhat.com>
63967         * elf/dl-addr.c (determine_info): Add inline keyword.
63968         * elf/tst-auditmod4b.c (check_avx): Likewise.
63969         * elf/tst-auditmod6b.c (check_avx): Likewise.
63970         * elf/tst-auditmod6c.c (check_avx): Likewise.
63971         * elf/tst-auditmod7b.c (check_avx): Likewise.
63973 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63975         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
63976         !__SSE_MATH__.
63978 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63980         [BZ #13540]
63981         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
63982         processing for last bytes.
63984 2011-08-06  Bruno Haible  <bruno@clisp.org>
63986         [BZ #13061]
63987         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
63988         U+0385, not to U+1FEE.
63990         [BZ #13062]
63991         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
63992         entry for U+00A5 U+0301.
63994 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
63996         [BZ #13166]
63997         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
63998         buffer for the output is too small.
64000         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
64001         optimization.
64003         [BZ #13185]
64004         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
64005         SSE flags if possible.
64007 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64009         [BZ #13540]
64010         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
64011         processing for last bytes.
64013 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
64015         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
64016         (syscall-list-default-options, syscall-list-default-condition)
64017         (syscall-list-includes): Define.
64018         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
64019         list of ABIs and options and #if conditions for each ABI.  Do not
64020         handle common syscalls between ABIs specially.
64021         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
64022         Remove.
64023         (syscall-list-variants, syscall-list-32bit-options)
64024         (syscall-list-32bit-condition, syscall-list-64bit-options)
64025         (syscall-list-64bit-condition): Define.
64026         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
64027         (syscall-list-variants, syscall-list-32bit-options)
64028         (syscall-list-32bit-condition, syscall-list-64bit-options)
64029         (syscall-list-64bit-condition): Define.
64030         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
64031         Remove.
64032         (syscall-list-variants, syscall-list-32bit-options)
64033         (syscall-list-32bit-condition, syscall-list-64bit-options)
64034         (syscall-list-64bit-condition): Define.
64035         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
64036         Remove.
64037         (syscall-list-variants, syscall-list-32bit-options)
64038         (syscall-list-32bit-condition, syscall-list-64bit-options)
64039         (syscall-list-64bit-condition): Define.
64041 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
64043         * locale/iso-639.def: Add brx entry.
64045         [BZ #13328]
64046         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
64047         Proposed by Mariusz_Cukr <marcukr@op.pl>.
64049         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
64050         __feraiseexcept_renamed.
64052 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
64054         [BZ #13538]
64055         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
64056         EPOLLET with unsigned values.
64057         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64058         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
64060         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
64061         to large cancellation.
64062         * math/s_cacoshf.c: Likewise.
64063         * math/s_cacoshl.c: Likewise.
64065 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
64067         [BZ #13305]
64068         [BZ #12786]
64069         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
64070         * math/s_cacoshf.c: Likewise.
64071         * math/s_cacoshl.c: Likewise.
64073 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
64075         [BZ #13439]
64076         * iconv/gconv.h: Define __GCONV_SWAP.
64077         * iconvdata/unicode.c: The swap bit must be stored in __flags.
64078         * iconvdata/utf-16.c: Likewise.
64079         * iconvdata/utf-32.c: Likewise.
64081 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
64083         [BZ #13524]
64084         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
64085         numerator after shifting it by one limb.
64087 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
64089         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
64090         under [__USE_EXTERN_INLINES].
64092 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
64094         [BZ #13446]
64095         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
64097 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64099         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
64100         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
64101         optimized code.
64102         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
64103         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
64104         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
64105         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
64106         for strncasecmp/strncasecmp_l compilation.
64107         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
64108         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
64110 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
64112         [BZ #13484]
64113         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
64114         of __asm__.
64116 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
64118         [BZ #13506]
64119         * time/tzfile.c (__tzfile_read): Check values from file header.
64121 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64123         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
64124         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
64125         * powerpc/powerpc32/dl-start.S: Likewise.
64126         * powerpc/powerpc32/elf/start.S: Likewise.
64127         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
64128         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
64129         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
64130         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
64131         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
64132         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
64133         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
64134         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
64135         * powerpc/powerpc32/fpu/s_round.S: Likewise.
64136         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
64137         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
64138         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
64139         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
64140         * powerpc/powerpc32/memset.S: Likewise.
64141         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
64142         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64143         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64144         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64145         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64146         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
64147         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
64148         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
64149         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
64150         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
64151         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
64152         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64153         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64155 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64157         * math/libm-test.inc: Added more nearbyint tests.
64158         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
64159         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
64160         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
64161         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
64163 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
64165         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
64166         FD_CLOEXEC.
64168 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64170         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
64171         Add wcscpy-ssse3 wcscpy-c.
64172         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
64173         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
64174         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
64175         * sysdeps/x86_64/wcschr.S: New file.
64176         * sysdeps/x86_64/wcsrchr.S: New file.
64177         * string/test-strcmp.c: Remove checking of wcscmp function for
64178         wrong alignments.
64179         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
64180         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
64181         wcsrchr-sse2 wcsrchr-c.
64182         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
64183         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
64184         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
64185         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
64186         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
64187         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
64188         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
64189         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
64190         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
64191         * wcsmbc/wcschr.c (WCSCHR): New macro.
64193 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64195         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
64196         * wcsmbs/test-wcsrchr.c: New file.
64197         * string/test-strrchr.c: Add wcsrchr support.
64198         (WIDE): New macro.
64199         * wcsmbs/test-wcscpy.c: New file.
64200         * string/test-strcpy.c: Add wcscpy support.
64201         (WIDE): New macro.
64203 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
64205         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
64206         the inner loop.
64208 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
64210         [BZ #13472]
64211         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
64213 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
64215         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
64216         Minor optimizations.
64218         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
64219         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
64220         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
64222 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
64224         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
64225         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
64226         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
64227         for gcc to avoid warnings.
64228         * inet/Makefile (tests): Add tst-checks.
64229         * inet/tst-checks.c: New file.
64231         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
64232         warning.
64234         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
64235         __wmemcmp_sse2.
64237         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
64238         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
64240         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
64242 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
64244         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
64245         problem.
64247         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
64249 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
64251         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
64252         conditional on GCC version.
64253         (__arch_compare_and_exchange_val_8_acq)
64254         (__arch_compare_and_exchange_val_16_acq)
64255         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
64256         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
64257         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
64259 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
64261         * sysdeps/sh/backtrace.c: New file.
64263 2011-12-02  Andreas Schwab  <schwab@redhat.com>
64265         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
64266         parenthesis.
64268 2011-12-01  Andreas Schwab  <schwab@redhat.com>
64270         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
64271         falling back to utime.
64273 2011-11-30  Andreas Schwab  <schwab@redhat.com>
64275         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
64276         expectations for float.
64278 2011-11-29  Andreas Schwab  <schwab@redhat.com>
64280         * locale/weight.h (findidx): Add parameter len.
64281         * locale/weightwc.h (findidx): Likewise.
64282         * posix/fnmatch_loop.c (FCT): Adjust caller.
64283         * posix/regcomp.c (build_equiv_class): Likewise.
64284         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
64285         * posix/regexec.c (check_node_accept_bytes): Likewise.
64286         * string/strcoll_l.c (STRCOLL): Likewise.
64287         * string/strxfrm_l.c (STRXFRM): Likewise.
64289 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
64291         * Makefile.in: Remove CVSOPT handling.
64292         * configure.in: Remove use of AC_REVISION.
64293         * iconvdata/Makefile (distribute): No need to filter out CVS.
64294         * scripts/list-sources.sh: Remove CVS, subversion and monotone
64295         handling.
64297 2011-11-16  Andreas Schwab  <schwab@redhat.com>
64299         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
64300         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
64301         [USE_AS_STRNCASECMP_L]: Likewise.
64302         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
64303         NO_TLS_DIRECT_SEG_REFS.
64304         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
64305         Fix argument offsets for non-PIC.
64306         [USE_AS_STRNCASECMP_L]: Likewise.
64307         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
64308         NO_TLS_DIRECT_SEG_REFS.
64310 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64312         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
64313         O_CLOEXEC.
64314         * locale/loadlocale.c (_nl_load_locale): Likewise.
64316 2011-11-15  Andreas Schwab  <schwab@redhat.com>
64318         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
64319         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
64320         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
64321         (SYSCALL_GETTIME): Set errno on error.
64323         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
64324         count references to noai6ai_cached.
64326 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64328         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
64330         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
64331         FD_CLOEXEC for /proc/self/maps.
64333         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
64334         FD_CLOEXEC for /proc/meminfo.
64336         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
64337         gai.conf.
64339         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
64340         FD_CLOEXEC for given file.
64342         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
64344         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
64345         FD_CLOEXEC for /etc/hosts.
64346         (_gethtent): Likewise.
64348         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
64350         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
64351         cancellation and set FD_CLOEXEC for /etc/netgroup.
64353         * nss/nss_files/files-key.c (search): Don't allow cancellation when
64354         reading /etc/publickey.
64356         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
64357         allow cancellation when reading /etc/group.
64359         * nss/nss_files/files-alias.c (internal_setent): Don't allow
64360         cancellation.
64361         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
64363         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
64364         when using data file.
64366         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
64368         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
64369         (write_nis_obj): Use "c" and "e" in fopen.
64371         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
64373         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
64375         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
64377         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
64379         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
64380         locale.alias.
64382         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
64384         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
64386         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
64388         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
64389         file parsing and set FD_CLOEXEC.
64391 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64393         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
64395 2011-11-14  Andreas Schwab  <schwab@redhat.com>
64397         * malloc/arena.c (arena_get2): Don't call reused_arena when
64398         _int_new_arena failed.
64400 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64402         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
64403         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
64404         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
64405         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64406         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64407         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
64408         to compile strcasecmp and strncasecmp.
64409         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
64410         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
64412         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
64414 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
64416         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
64417         locale-defines.sym to gen-as-const-headers.
64418         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
64419         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
64420         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
64421         to compile strcasecmp and strncasecmp.
64422         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
64423         strcasecmp_l and strncasecmp_l.
64424         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
64425         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
64426         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
64427         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
64428         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
64429         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
64430         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
64431         * sysdeps/i386/i686/multiarch/strncase.S: New file.
64432         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
64433         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
64434         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
64436 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
64438         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
64439         result of SYSDEP_GETTIME_CPU to retval.
64440         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
64441         parameter list to macro.  Remove trailing semicolon.  Adjust users.
64443         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
64444         variable.
64446         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
64447         mantissa words.
64448         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
64450         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
64451         from unused variable.
64453         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
64454         DWARF definitions.
64455         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
64456         for assembling.
64458         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
64459         over namespaces.
64461         * sunrpc/rpc_prot.c (rejected): Fix case value.
64463         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
64464         unsigned long long int to avoid warnings in shift.
64466         * posix/regex_internal.c (re_string_reconstruct): Actually use result
64467         of use of trans.
64468         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
64469         variable tmp.
64471         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
64472         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
64473         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
64475         * nis/nis_table.c (nis_list): Use variable of correct type for
64476         result of __follow_path call.
64478 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64480         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
64481         of math functions ceil, trunc, floor, round, and sqrt, when
64482         avaliable on the platform.
64483         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
64484         name clash.
64485         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64486         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
64487         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
64489 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
64491         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
64492         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
64494 2011-11-11  Roland McGrath  <roland@hack.frob.com>
64496         * include/unistd.h: Fix __readlink return type.
64497         Reported by Chris Metcalf <cmetcalf@tilera.com>.
64499 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
64501         * stdlib/ucontext.h: Undo last change for makecontext.
64503 2011-11-11  Andreas Schwab  <schwab@redhat.com>
64505         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
64507         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
64508         * setjmp/setjmp.h: Mark functions as non-leaf.
64509         * setjmp/bits/setjmp2.h: Likewise.
64510         * stdlib/ucontext.h: Likewise.
64512 2011-11-10  Andreas Schwab  <schwab@redhat.com>
64514         * malloc/arena.c (_int_new_arena): Don't increment narenas.
64515         (reused_arena): Don't check arena limit.
64516         (arena_get2): Atomically check arena limit.
64518 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
64520         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
64521         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
64523         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
64524         instructions.
64526 2011-11-07  Andreas Schwab  <schwab@redhat.com>
64528         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
64529         handler when locking.
64531         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
64532         Fix size of allocated buffer.
64534 2011-11-04  Andreas Schwab  <schwab@redhat.com>
64536         [BZ #10103]
64537         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
64538         declarations for long double functions.
64539         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
64541         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
64543 2011-11-03  Andreas Schwab  <schwab@redhat.com>
64545         * nscd/nscd.c (main): Don't start AVC thread until credentials are
64546         installed.
64548         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
64549         is disabled.
64551 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64553         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
64555 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64557         * include/alloca.h (stackinfo_alloca_round): Define.
64558         (extend_alloca): Use it.
64559         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
64560         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
64561         here.
64563         * scripts/check-local-headers.sh: Ignore libaudit.h.
64565         * nscd/Makefile (extra-objs): Make recursively expanded.
64567 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
64569         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
64570         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
64572         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
64573         * posix/tst-rfc3484-2.c: Likewise.
64574         * posix/tst-rfc3484-3.c: Likewise.
64576         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64577         process_vm_writev.
64578         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
64579         process_vm_writev.
64580         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
64581         process_vm_writev from libc using GLIBC_2.15 version.
64583         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
64585 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
64587         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
64588         stack usage.
64590 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
64592         [BZ #13367]
64593         * nss/getent.c (initgroups_keys): Show error message in case no group
64594         names are given.
64596         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
64597         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
64598         __bump_nl_timestamp.
64599         * nscd/connections (nscd_init): When host database is served open
64600         netlink socket and request notification about configuration changes.
64601         (main_loop_poll): Track netlink file descriptor and bump timestamp
64602         in case data becomes available.
64603         (main_loop_epoll): Likewise.
64604         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
64605         (database_pers_head): Add extra_data fileds.
64606         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
64607         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
64608         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
64609         Adjust caller.
64610         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
64611         in6ai data, call __free_in6ai.
64612         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
64613         Add -DHAVE_NETLINK.
64614         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
64615         interface information.  Reuse previous data if netlink timestamp
64616         is not changed.
64617         (__bump_nl_timestamp): New function.
64618         (__free_in6ai): New function.
64620 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
64622         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
64623         close_not_cancel_no_status here.
64624         (__check_pf): Reorganize code a bit to not call close twice if OOM.
64626 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
64628         [BZ #13276]
64629         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
64630         return value.
64632         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
64633         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
64634         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
64636 2011-07-03  Andreas Jaeger  <aj@suse.de>
64638         [BZ #10709]
64639         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
64640         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
64641         * math/libm-test.inc (sin_test): Add test case.
64643 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
64645         [BZ #13337]
64646         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
64647         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
64649         * elf/chroot_canon.c (chroot_canon): Cleanups.
64651         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
64653         [BZ #13335]
64654         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
64655         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
64657         * string/test-strchr.c: Make usable for strchrnul testing.
64658         * string/test-strchrnul.c: New file.
64659         * string/Makefile (strop-tests): Add strchrnul.
64661         * po/it.po: Update from translation team.
64662         * po/es.po: Likewise.
64664 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
64666         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
64667         the three constants needed as parameters.  Drop the others.
64668         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
64669         __m128i_strloadu_tolower.
64670         Create and initialize variable zero and use it in all the places
64671         where _mm_setzero_si128 was used.
64673         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
64674         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
64675         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
64676         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
64677         anymore.
64678         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
64679         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
64680         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
64681         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
64682         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
64683         __mpranred, __mptan.
64684         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
64685         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
64686         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
64687         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
64688         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
64689         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
64690         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
64691         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
64692         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
64694 2011-10-28  Andreas Schwab  <schwab@redhat.com>
64696         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
64697         redefine if SHARED.
64698         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
64700         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
64701         wide char related routines to wcsmbs subdir.
64703 2011-10-27  Andreas Schwab  <schwab@redhat.com>
64705         [BZ #13344]
64706         * misc/sys/cdefs.h (__THROWNL): Define.
64707         * posix/unistd.h: Use __THREADNL instead of __THREAD
64708         for memory synchronization functions.
64710 2011-10-26  Roland McGrath  <roland@hack.frob.com>
64712         [BZ #13349]
64713         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
64714         doesn't exist.
64715         * manual/stdio.texi (Obstack Streams): Node removed.
64717 2011-10-26  Andreas Schwab  <schwab@redhat.com>
64719         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
64720         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64721         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64723         * math/math_private.h (math_force_eval): Allow non-addressable
64724         arguments.
64725         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
64727 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64729         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
64730         file is not needed.
64732         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
64733         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
64734         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64735         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64736         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64737         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64738         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64739         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
64740         Add AVX variants.
64741         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
64742         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
64743         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
64744         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
64745         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
64746         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
64747         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
64748         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
64749         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
64750         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
64751         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
64752         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
64753         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
64754         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
64755         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
64756         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
64757         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
64758         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
64759         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
64761         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
64762         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
64764         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
64765         place.  Use VEX encoding when compiling for AVX.
64767 2011-10-25  Andreas Schwab  <schwab@redhat.com>
64769         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
64770         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
64772         * string/test-strchr.c (do_test): Don't generate NUL bytes.
64774 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64776         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
64777         useless if() expression.
64778         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64779         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
64780         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
64781         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64782         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
64783         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64784         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
64785         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64786         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64787         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64788         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64789         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
64790         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
64791         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
64792         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
64793         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64794         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64795         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64796         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
64798         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
64800 2011-10-25  Andreas Schwab  <schwab@redhat.com>
64802         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
64803         condition.
64804         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64806 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64808         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
64809         .text section.  Avoid duplicate constants.
64810         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64811         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64812         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64813         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64814         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64815         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64816         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64817         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64818         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
64819         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
64820         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
64821         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64822         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
64823         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
64824         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
64825         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
64826         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
64827         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
64828         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64829         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64830         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64831         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64832         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64833         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
64834         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
64835         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
64836         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
64837         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
64838         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
64839         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
64840         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
64841         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
64842         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64843         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
64844         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
64845         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
64846         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
64847         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
64848         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
64849         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
64850         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
64851         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
64852         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
64853         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
64854         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
64856 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
64858         * sysdeps/x86_64/dla.h: Move to ...
64859         * sysdeps/x86_64/fpu/dla.h: ...here.
64860         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
64861         situations.  Use __builtin_fma only for gcc 4.6 and up.
64863         * config.make.in: Add have-mfma4 entry.
64864         * configure.in: Substitute libc_cv_cc_fma4.
64865         * math/Makefile (dbl-only-routines): Add sincostab.
64866         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
64867         Use __sincostab not sincos.
64868         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
64869         name is a macro.
64870         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64871         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64872         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64873         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
64874         using __copysign.
64875         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
64876         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
64877         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
64878         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
64879         and __inv.
64880         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
64881         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
64882         __copysign.
64883         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
64884         define aliases when function name is a macro.
64885         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
64886         sysdeps/ieee754/dbl-64/sincos.tbl.
64887         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
64888         fma4-enabled routines.
64889         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
64890         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
64891         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
64892         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
64893         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
64894         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
64895         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
64896         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
64897         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
64898         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
64899         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
64900         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
64901         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
64902         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
64903         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
64904         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
64905         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
64906         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
64907         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
64908         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
64909         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
64910         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
64911         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
64912         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
64913         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
64914         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
64915         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
64916         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
64917         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
64918         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
64920         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
64921         rename.
64922         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64923         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64924         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64925         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64926         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64927         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64928         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64929         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64931 2011-10-24  Andreas Schwab  <schwab@redhat.com>
64933         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
64935 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64937         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
64939         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
64940         prediction.
64941         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
64943         * string/strnlen.c: Don't define STRNLEN, reverse logic.
64944         Remove unused variable magic_bits.
64945         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
64947         * string/strnlen.c: Define and use STRNLEN macro.
64948         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
64949         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
64950         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
64951         * wcsmbs/wcslen.c: Define and use WCSLEN.
64952         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
64953         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
64954         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
64955         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
64956         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
64957         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
64958         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
64960 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64962         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64963         strnlen-sse2-no-bsf.
64964         Rename strlen-no-bsf to strlen-sse2-no-bsf.
64965         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
64966         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
64967         Add strnlen support.
64968         (USE_AS_STRNLEN): New macro.
64969         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
64970         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
64971         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
64972         * sysdeps/x86_64/wcslen.S: New file.
64974 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
64976         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
64977         XMM-moves are used for copying on small sizes.
64979 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64981         * wcsmbs/Makefile (strop-tests): Add wcschr.
64982         * wcsmbs/test-wcschr.c: New file.
64983         * string/test-strchr.c: Update.
64984         Add wcschr support.
64985         (WIDE): New macro.
64987 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64989         * wcsmbs/Makefile (strop-tests): Add wcslen.
64990         * wcsmbs/test-wcslen.c: New file.
64991         * string/test-strlen.c: Update.
64992         Add wcslen support.
64993         (WIDE): New macro.
64995 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64997         * po/it.po: Update from translation team.
64999 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65001         * sysdeps/x86_64/wcscmp.S: Update.
65002         Fix wrong comparison semantics.
65003         wcscmp shall use signed comparison not unsigned.
65004         Don't use substraction to avoid overflow bug.
65005         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
65006         * wcsmbc/wcscmp.c: Likewise.
65007         * string/test-strcmp.c: Likewise.
65008         Add new tests to check cases with negative values.
65010 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65012         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
65013         * sysdeps/x86_64/dla.h: ...here.  New file.
65014         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
65015         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65016         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65017         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65018         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65019         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65020         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65021         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65022         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65024 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
65026         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
65027         __ynl_finite aliases.
65029 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
65031         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65033         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
65034         define DLA_FMA.
65035         [DLA_FMA] (EMULV): Use DLA_FMA.
65036         [DLA_FMA] (MUL12): Use EMULV.
65037         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
65038         that are not needed.
65039         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65040         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65041         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65042         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65043         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65044         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65045         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65047 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
65049         * math/s_nan.c: Undef __nan.
65050         * math/s_nanf.c: Undef __nanf.
65051         * math/s_nanl.c: Undef __nanl.
65052         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
65053         "math_private.h".
65055 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
65057         * math/s_catan.c: Add branch predictions.
65058         * math/s_catanf.c: Likewise.
65059         * math/s_catanh.c: Likewise.
65060         * math/s_catanhf.c: Likewise.
65061         * math/s_catanhl.c: Likewise.
65062         * math/s_catanl.c: Likewise.
65063         * math/s_cexp.c: Likewise.
65064         * math/s_cexpf.c: Likewise.
65065         * math/s_cexpl.c: Likewise.
65066         * math/s_clog.c: Likewise.
65067         * math/s_clog10.c: Likewise.
65068         * math/s_clog10f.c: Likewise.
65069         * math/s_clog10l.c: Likewise.
65070         * math/s_clogf.c: Likewise.
65071         * math/s_clogl.c: Likewise.
65072         * math/s_csqrt.c: Likewise.
65073         * math/s_csqrtf.c: Likewise.
65074         * math/s_csqrtl.c: Likewise.
65075         * math/s_ctanf.c: Likewise.
65076         * math/s_ctanh.c: Likewise.
65077         * math/s_ctanhf.c: Likewise.
65078         * math/s_ctanhl.c: Likewise.
65079         * math/s_ctanl.c: Likewise.
65081         * math/math_private.h: Define __nan, __nanf, __nanl.
65082         * math/s_cacosh.c: Include <math_private.h>.
65083         * math/s_cacoshl.c: Likewise.
65084         * math/s_casinh.c: Likewise.
65085         * math/s_casinhf.c: Likewise.
65086         * math/s_casinhl.c: Likewise.
65087         * math/s_ccos.c: Rely entire on ccosh.
65088         * math/s_ccosf.c: Rely entire on ccoshf.
65089         * math/s_ccosl.c: Rely entirely on ccoshl.
65090         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
65091         Remove tests for FE_INVALID.
65092         * math/s_ccoshf.c: Likewise.
65093         * math/s_ccoshl.c: Likewise.
65094         * math/s_csin.c: Likewise.
65095         * math/s_csinf.c: Likewise.
65096         * math/s_csinh.c Likewise.
65097         * math/s_csinhf.c: Likewise.
65098         * math/s_csinhl.c: Likewise.
65099         * math/s_csinl.c: Likewise.
65100         * math/s_ctan.c: Likewise.
65101         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
65102         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
65103         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
65105 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
65107         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
65108         compilation problems.
65110         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
65111         __builtin_expect.
65113 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
65115         * sysdeps/i386/configure.in: Test for -mfma4 option.
65116         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
65117         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
65118         COMMON_CPUID_INDEX_80000001.
65119         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
65120         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
65121         use it if FMA3 is not supported.
65122         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
65124         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
65125         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65127 2011-10-20  Andreas Schwab  <schwab@redhat.com>
65129         [BZ #12892]
65130         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
65131         it would create a cycle with a link time dependency.
65133 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
65135         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
65136         instruction.
65137         * string/Makefile (strop-tests): Add rawmemchr.
65138         * string/test-rawmemchr.c: New file.
65140         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
65141         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
65142         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
65143         when compiling str{,n}casecmp and when AVX is available.  Hook up
65144         new optimized code in initializers.
65146 2011-10-19  Andreas Schwab  <schwab@redhat.com>
65148         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
65149         __feraiseexcept instead of feraiseexcept.
65151 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
65153         * math/math_private.h: Define defaults for libc_fetestexcept and
65154         libc_feupdateenv.
65155         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
65156         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
65157         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
65158         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65159         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
65160         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65161         libc_fetestexcept and libc_feupdateenv.
65163         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
65164         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
65165         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
65166         * sysdeps/x86_64/fpu/math_private.h: Define special version of
65167         libc_feholdexcept_setround.
65169         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
65170         Add s_nearbyint-c and s_nearbyintf-c.
65171         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
65172         nearbyintf inlines.
65173         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
65174         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
65175         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
65176         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
65178         * math/math_private.h: Define defaults for libc_fegetround,
65179         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
65180         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
65181         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
65182         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
65183         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
65184         standard functions.
65185         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
65186         Remove comments and hacks for old compiler versions.
65187         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65188         libc_fegetround, libc_fesetround, libc_feholdexcept, and
65189         libc_feholdexceptl.
65191 2011-10-18  Andreas Schwab  <schwab@redhat.com>
65193         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
65194         (__feraiseexcept_renamed): Add __NTH.
65195         (feraiseexcept): Add __NTH.  Rename local variables to fix
65196         namespace violations.
65198 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
65200         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
65202         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
65204         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
65205         recently added interfaces.
65206         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
65208         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
65209         about macro parameter expansion.
65211         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
65212         __NO_MATH_INLINES is defined.  Cleanups.
65214         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
65215         and __floorf is target has SSE4.1.
65216         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
65217         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
65218         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
65219         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
65221         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
65222         name.
65223         (floorf): Likewise.
65225         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
65227 2011-10-17  Andreas Schwab  <schwab@redhat.com>
65229         * misc/sys/cdefs.h: Fix last change.
65231         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
65232         database lookup.
65234 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
65236         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
65238         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
65239         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65240         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65241         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65242         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65243         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65244         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65245         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65246         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
65247         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
65248         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
65249         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
65250         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
65251         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
65252         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
65253         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
65254         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
65255         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
65256         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
65257         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
65258         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
65259         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
65261         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
65262         ceil, ceilf, floor, floorf.
65264         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
65265         Perform IRELATIVE relocations last.
65267         * elf/do-rel.h: Add another parameter nrelative, replacing the
65268         local variable with the same name.  Change name of the function
65269         to end in Rel or Rela (uppercase).
65270         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
65271         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
65272         elf_dynamic_do_##reloc function.
65274 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65276         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
65277         is sufficient, at least on modern CPUs.
65279         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
65281         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
65282         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
65284         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
65285         __expl_finite.
65286         * math/bits/math-finite.h: Add entries for exp.
65287         * math/e_expl.c: Add __*_finite alias.
65288         * sysdeps/i386/fpu/e_exp.S: Likewise.
65289         * sysdeps/i386/fpu/e_expf.S: Likewise.
65290         * sysdeps/i386/fpu/e_expl.c: Likewise.
65291         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65292         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65293         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65294         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65295         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
65296         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65297         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65299         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
65300         is sufficient, at least on modern CPUs.
65302         * ctype/ctype-info.c (__ctype_init): Define.
65303         * include/ctype.h (__ctype_init): Declare.
65304         (__ctype_b_loc): The variable is always initialized.
65305         (__ctype_toupper_loc): Likewise.
65306         (__ctype_tolower_loc): Likewise.
65307         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
65308         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
65310 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
65312         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
65314         * configure.in: Also look in $cxxmachine/include for C++ system
65315         headers.
65317 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65319         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
65320         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
65321         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
65322         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
65323         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
65324         (USE_AS_WMEMCMP): New macro.
65325         Fixing indents.
65326         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
65327         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
65328         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
65329         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
65330         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65331         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
65332         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
65333         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
65334         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
65335         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
65336         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
65337         (USE_AS_WMEMCMP): New macro.
65338         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
65339         * sysdeps/string/test-memcmp.c: Update.
65340         Fix simple_wmemcmp.
65341         Add new tests.
65342         * wcsmbs/wmemcmp.c: Update.
65343         (WMEMCMP): New macro.
65344         Fix overflow bug.
65346 2011-10-12  Andreas Jaeger  <aj@suse.de>
65348         [BZ #13268]
65349         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
65351 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65353         * libio/iofwide.c (do_length): Avoid warning.
65355         * ctype/ctype.h (__isctype_f): Add missing __THROW.
65357 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
65359         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
65361         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
65362         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
65363         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
65364         * sysdeps/i386/i686/fpu/e_log.S: New file.
65365         * sysdeps/i386/i686/fpu/e_logf.S: New file.
65366         * sysdeps/i386/i686/fpu/e_logl.S: New file.
65368         * ctype/ctype.h: Add support for inlined isXXX functions when
65369         compiling C++ code.
65371 2011-10-14  Andreas Schwab  <schwab@redhat.com>
65373         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65375         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
65377 2011-10-13  Roland McGrath  <roland@hack.frob.com>
65379         [BZ #13291]
65380         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
65382 2011-10-13  Andreas Schwab  <schwab@redhat.com>
65384         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
65385         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
65386         feraiseexcept.
65388         * sysdeps/x86_64/memrchr.S: Check for zero size.
65390         * string/stratcliff.c: Add memrchr tests.
65392 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65394         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65395         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
65396         rawmemchr-sse2 rawmemchr-sse2-bsf.
65397         * sysdeps/i386/i686/multiarch/memchr.S: New file.
65398         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
65399         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
65400         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
65401         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
65402         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
65403         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
65404         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
65405         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
65406         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
65407         * string/memrchr.c (MEMRCHR): New macro.
65409 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
65411         Add integration with gcc's -ffinite-math-only and optimize wrapper
65412         functions in libm.
65413         * Versions.def: Define GLIBC_2.15 version for libm.
65414         * math/Makefile (headers): Add bits/math-finite.h.
65415         * math/bits/math-finite.h: New file.
65416         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
65417         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
65418         * math/e_acoshl.c: Add __*_finite alias.
65419         * math/e_acosl.c: Likewise.
65420         * math/e_asinl.c: Likewise.
65421         * math/e_atan2l.c: Likewise.
65422         * math/e_atanhl.c: Likewise.
65423         * math/e_coshl.c: Likewise.
65424         * math/e_exp10.c: Likewise.
65425         * math/e_exp10f.c: Likewise.
65426         * math/e_exp10l.c: Likewise.
65427         * math/e_exp2l.c: Likewise.
65428         * math/e_fmodl.c: Likewise.
65429         * math/e_gammal_r.c: Likewise.
65430         * math/e_hypotl.c: Likewise.
65431         * math/e_j0l.c: Likewise.
65432         * math/e_j1l.c: Likewise.
65433         * math/e_jnl.c: Likewise.
65434         * math/e_lgammal_r.c: Likewise.
65435         * math/e_log10l.c: Likewise.
65436         * math/e_log2l.c: Likewise.
65437         * math/e_logl.c: Likewise.
65438         * math/e_powl.c: Likewise.
65439         * math/e_sinhl.c: Likewise.
65440         * math/e_sqrtl.c: Likewise.
65441         * math/e_scalb.c: Completely rewritten and optimized.
65442         * math/e_scalbf.c: Likewise.
65443         * math/e_scalbl.c: Likewise.
65444         * math/w_acos.c: Likewise.
65445         * math/w_acosf.c: Likewise.
65446         * math/w_acosl.c: Likewise.
65447         * math/w_acosh.c: Likewise.
65448         * math/w_acoshf.c: Likewise.
65449         * math/w_acoshl.c: Likewise.
65450         * math/w_asin.c: Likewise.
65451         * math/w_asinf.c: Likewise.
65452         * math/w_asinl.c: Likewise.
65453         * math/w_atan2.c: Likewise.
65454         * math/w_atan2f.c: Likewise.
65455         * math/w_atan2l.c: Likewise.
65456         * math/w_atanh.c: Likewise.
65457         * math/w_atanhf.c: Likewise.
65458         * math/w_atanhl.c: Likewise.
65459         * math/w_exp10.c: Likewise.
65460         * math/w_exp10f.c: Likewise.
65461         * math/w_exp10l.c: Likewise.
65462         * math/w_fmod.c: Likewise.
65463         * math/w_fmodf.c: Likewise.
65464         * math/w_fmodl.c: Likewise.
65465         * math/w_j0.c: Likewise.
65466         * math/w_j0f.c: Likewise.
65467         * math/w_j0l.c: Likewise.
65468         * math/w_j1.c: Likewise.
65469         * math/w_j1f.c: Likewise.
65470         * math/w_j1l.c: Likewise.
65471         * math/w_jn.c: Likewise.
65472         * math/w_jnf.c: Likewise.
65473         * math/w_log.c: Likewise.
65474         * math/w_logf.c: Likewise.
65475         * math/w_logl.c: Likewise.
65476         * math/w_log10.c: Likewise.
65477         * math/w_log10f.c: Likewise.
65478         * math/w_log10l.c: Likewise.
65479         * math/w_log2.c: Likewise.
65480         * math/w_log2f.c: Likewise.
65481         * math/w_log2l.c: Likewise.
65482         * math/w_pow.c: Likewise.
65483         * math/w_powf.c: Likewise.
65484         * math/w_powl.c: Likewise.
65485         * math/w_remainder.c: Likewise.
65486         * math/w_remainderf.c: Likewise.
65487         * math/w_remainderl.c: Likewise.
65488         * math/w_scalb.c: Likewise.
65489         * math/w_scalbf.c: Likewise.
65490         * math/w_scalbl.c: Likewise.
65491         * math/w_sqrt.c: Likewise.
65492         * math/w_sqrtf.c: Likewise.
65493         * math/w_sqrtl.c: Likewise.
65494         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
65495         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
65496         used.
65497         * math/math_private.h: Declare __kernel_standard_f.
65498         * math/w_cosh.c: Remove cruft and optimize a bit.
65499         * math/w_coshf.c: Likewise.
65500         * math/w_coshl.c: Likewise.
65501         * math/w_exp2.c: Likewise.
65502         * math/w_exp2f.c: Likewise.
65503         * math/w_exp2l.c: Likewise.
65504         * math/w_hypot.c: Likewise.
65505         * math/w_hypotf.c: Likewise.
65506         * math/w_hypotl.c: Likewise.
65507         * math/w_lgamma.c: Likewise.
65508         * math/w_lgamma_r.c: Likewise.
65509         * math/w_lgammaf.c: Likewise.
65510         * math/w_lgammaf_r.c: Likewise.
65511         * math/w_lgammal.c: Likewise.
65512         * math/w_lgammal_r.c: Likewise.
65513         * math/w_sinh.c: Likewise.
65514         * math/w_sinhf.c: Likewise.
65515         * math/w_sinhl.c: Likewise.
65516         * math/w_tgamma.c: Likewise.
65517         * math/w_tgammaf.c: Likewise.
65518         * math/w_tgammal.c: Likewise.
65519         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65520         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65521         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
65522         Minor optimizations.  Pretty printing.  Remove cruft.
65523         * sysdeps/i386/fpu/e_acosf.S: Likewise.
65524         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65525         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65526         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65527         * sysdeps/i386/fpu/e_acosl.c: Likewise.
65528         * sysdeps/i386/fpu/e_asin.S: Likewise.
65529         * sysdeps/i386/fpu/e_asinf.S: Likewise.
65530         * sysdeps/i386/fpu/e_atan2.S: Likewise.
65531         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
65532         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
65533         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65534         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65535         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65536         * sysdeps/i386/fpu/e_exp10.S: Likewise.
65537         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
65538         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
65539         * sysdeps/i386/fpu/e_exp2.S: Likewise.
65540         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
65541         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
65542         * sysdeps/i386/fpu/e_fmod.S: Likewise.
65543         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
65544         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
65545         * sysdeps/i386/fpu/e_hypot.S: Likewise.
65546         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
65547         * sysdeps/i386/fpu/e_log.S: Likewise.
65548         * sysdeps/i386/fpu/e_log10.S: Likewise.
65549         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65550         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65551         * sysdeps/i386/fpu/e_log2.S: Likewise.
65552         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65553         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65554         * sysdeps/i386/fpu/e_logf.S: Likewise.
65555         * sysdeps/i386/fpu/e_logl.S: Likewise.
65556         * sysdeps/i386/fpu/e_pow.S: Likewise.
65557         * sysdeps/i386/fpu/e_powf.S: Likewise.
65558         * sysdeps/i386/fpu/e_powl.S: Likewise.
65559         * sysdeps/i386/fpu/e_remainder.S: Likewise.
65560         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
65561         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
65562         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65563         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65564         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65565         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
65566         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
65567         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
65568         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65569         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65570         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65571         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
65572         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
65573         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
65574         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
65575         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
65576         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65577         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
65578         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
65579         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
65580         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65581         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
65582         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
65583         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65584         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65585         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
65586         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65587         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65588         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
65589         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
65590         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65591         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65592         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
65593         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
65594         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
65595         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
65596         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
65597         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
65598         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65599         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
65600         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65601         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
65602         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
65603         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
65604         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
65605         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
65606         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
65607         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
65608         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
65609         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
65610         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
65611         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
65612         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65613         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
65614         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
65615         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
65616         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
65617         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
65618         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
65619         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
65620         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
65621         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
65622         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
65623         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
65624         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
65625         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
65626         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
65627         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
65628         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
65629         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
65630         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65631         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65632         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
65633         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
65634         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
65635         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
65636         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
65637         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
65638         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
65639         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
65640         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
65641         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
65642         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
65643         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65644         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
65645         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
65646         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65647         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
65648         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65649         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
65650         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
65651         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65652         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65653         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
65654         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65655         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
65656         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
65657         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
65658         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65659         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65660         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65661         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
65662         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65663         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65664         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65665         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
65666         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
65667         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
65668         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
65669         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
65670         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
65671         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
65672         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65673         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65674         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65675         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65676         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
65677         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65678         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
65679         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
65680         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
65681         (__isnanf): Likewise.
65682         (__isinf_ns): Likewise.
65683         (__isinf_nsf): Likewise.
65684         (__finite): Likewise.
65685         (__finitef): Likewise.
65686         (__ieee754_sqrt): Define as macro.
65687         (__ieee754_sqrtf): Define as macro.
65688         (__ieee754_sqrtl): Define as macro.
65689         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
65690         inlined copy.
65691         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
65692         __FINITE_MATH_ONLY__ consistent.
65693         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
65695 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
65697         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
65698         of rawmemchr.
65700         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
65702 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
65704         * po/ja.po: Update from translation team.
65706 2011-10-08  Roland McGrath  <roland@hack.frob.com>
65708         * locale/programs/locarchive.c (prepare_address_space): New function.
65709         (create_archive, enlarge_archive, open_archive): Use it.
65711         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
65712         inside [SHARED], where it is used.
65714         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
65716         * nss/getent.c (netgroup_keys): Remove unused variable.
65717         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
65719 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
65721         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
65722         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
65723         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
65724         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
65725         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
65726         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
65727         * math/Makefile (libm-calls): Add s_isinf_ns.
65728         * math/divtc3.c: Use __isinf_nsl instead of isinf.
65729         * math/multc3.c: Likewise.
65730         * math/s_casin.c: Likewise.
65731         * math/s_casinf.c: Likewise.
65732         * math/s_casinl.c: Likewise.
65733         * math/s_ccos.c: Likewise.
65734         * math/s_ccosf.c: Likewise.
65735         * math/s_ccosl.c: Likewise.
65736         * math/s_ctan.c: Likewise.
65737         * math/s_ctanf.c: Likewise.
65738         * math/s_ctanh.c: Likewise.
65739         * math/s_ctanhf.c: Likewise.
65740         * math/s_ctanhl.c: Likewise.
65741         * math/s_ctanl.c: Likewise.
65742         * math/w_fmod.c: Likewise.
65743         * math/w_fmodf.c: Likewise.
65744         * math/w_fmodl.c: Likewise.
65745         * math/w_remainder.c: Likewise.
65746         * math/w_remainderf.c: Likewise.
65747         * math/w_remainderl.c: Likewise.
65748         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
65749         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
65750         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
65751         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
65752         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
65753         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
65754         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
65755         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
65757         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
65758         of the number.
65759         * stdio-common/printf_fphex.c: Likewise.
65760         * stdio-common/printf_size.c: Likewise.
65762         * math/e_exp10.c: Include math_private.h using <...> not "...".
65763         * math/e_exp10f.c: Likewise.
65764         * math/e_exp10l.c: Likewise.
65765         * math/e_exp2l.c: Likewise.
65766         * math/e_j0l.c: Likewise.
65767         * math/e_j1l.c: Likewise.
65768         * math/e_jnl.c: Likewise.
65769         * math/e_lgammal_r.c: Likewise.
65770         * math/e_rem_pio2l.c: Likewise.
65771         * math/e_scalb.c: Likewise.
65772         * math/e_scalbf.c: Likewise.
65773         * math/e_scalbl.c: Likewise.
65774         * math/k_cosl.c: Likewise.
65775         * math/k_sinl.c: Likewise.
65776         * math/k_tanl.c: Likewise.
65777         * math/s_cacoshf.c: Likewise.
65778         * math/s_catan.c: Likewise.
65779         * math/s_catanf.c: Likewise.
65780         * math/s_catanh.c: Likewise.
65781         * math/s_catanhf.c: Likewise.
65782         * math/s_catanhl.c: Likewise.
65783         * math/s_catanl.c: Likewise.
65784         * math/s_ccosh.c: Likewise.
65785         * math/s_ccoshf.c: Likewise.
65786         * math/s_ccoshl.c: Likewise.
65787         * math/s_cexp.c: Likewise.
65788         * math/s_cexpf.c: Likewise.
65789         * math/s_cexpl.c: Likewise.
65790         * math/s_clog.c: Likewise.
65791         * math/s_clog10.c: Likewise.
65792         * math/s_clog10f.c: Likewise.
65793         * math/s_clog10l.c: Likewise.
65794         * math/s_clogf.c: Likewise.
65795         * math/s_clogl.c: Likewise.
65796         * math/s_csin.c: Likewise.
65797         * math/s_csinf.c: Likewise.
65798         * math/s_csinh.c: Likewise.
65799         * math/s_csinhf.c: Likewise.
65800         * math/s_csinhl.c: Likewise.
65801         * math/s_csinl.c: Likewise.
65802         * math/s_csqrt.c: Likewise.
65803         * math/s_csqrtf.c: Likewise.
65804         * math/s_csqrtl.c: Likewise.
65805         * math/s_ctan.c: Likewise.
65806         * math/s_ctanf.c: Likewise.
65807         * math/s_ctanh.c: Likewise.
65808         * math/s_ctanhf.c: Likewise.
65809         * math/s_ctanhl.c: Likewise.
65810         * math/s_ctanl.c: Likewise.
65811         * math/s_ldexp.c: Likewise.
65812         * math/s_ldexpf.c: Likewise.
65813         * math/s_ldexpl.c: Likewise.
65814         * math/s_significand.c: Likewise.
65815         * math/s_significandf.c: Likewise.
65816         * math/s_significandl.c: Likewise.
65817         * math/w_acos.c: Likewise.
65818         * math/w_acosf.c: Likewise.
65819         * math/w_acosh.c: Likewise.
65820         * math/w_acoshf.c: Likewise.
65821         * math/w_acoshl.c: Likewise.
65822         * math/w_acosl.c: Likewise.
65823         * math/w_asin.c: Likewise.
65824         * math/w_asinf.c: Likewise.
65825         * math/w_asinl.c: Likewise.
65826         * math/w_atan2.c: Likewise.
65827         * math/w_atan2f.c: Likewise.
65828         * math/w_atan2l.c: Likewise.
65829         * math/w_atanh.c: Likewise.
65830         * math/w_atanhf.c: Likewise.
65831         * math/w_atanhl.c: Likewise.
65832         * math/w_cosh.c: Likewise.
65833         * math/w_coshf.c: Likewise.
65834         * math/w_coshl.c: Likewise.
65835         * math/w_dremf.c: Likewise.
65836         * math/w_exp10.c: Likewise.
65837         * math/w_exp10f.c: Likewise.
65838         * math/w_exp10l.c: Likewise.
65839         * math/w_exp2.c: Likewise.
65840         * math/w_exp2f.c: Likewise.
65841         * math/w_fmod.c: Likewise.
65842         * math/w_fmodf.c: Likewise.
65843         * math/w_fmodl.c: Likewise.
65844         * math/w_hypot.c: Likewise.
65845         * math/w_hypotf.c: Likewise.
65846         * math/w_hypotl.c: Likewise.
65847         * math/w_j0.c: Likewise.
65848         * math/w_j0f.c: Likewise.
65849         * math/w_j0l.c: Likewise.
65850         * math/w_j1.c: Likewise.
65851         * math/w_j1f.c: Likewise.
65852         * math/w_j1l.c: Likewise.
65853         * math/w_jn.c: Likewise.
65854         * math/w_jnf.c: Likewise.
65855         * math/w_jnl.c: Likewise.
65856         * math/w_lgamma.c: Likewise.
65857         * math/w_lgamma_r.c: Likewise.
65858         * math/w_lgammaf.c: Likewise.
65859         * math/w_lgammaf_r.c: Likewise.
65860         * math/w_lgammal.c: Likewise.
65861         * math/w_lgammal_r.c: Likewise.
65862         * math/w_log.c: Likewise.
65863         * math/w_log10.c: Likewise.
65864         * math/w_log10f.c: Likewise.
65865         * math/w_log10l.c: Likewise.
65866         * math/w_log2.c: Likewise.
65867         * math/w_log2f.c: Likewise.
65868         * math/w_log2l.c: Likewise.
65869         * math/w_logf.c: Likewise.
65870         * math/w_logl.c: Likewise.
65871         * math/w_pow.c: Likewise.
65872         * math/w_powf.c: Likewise.
65873         * math/w_powl.c: Likewise.
65874         * math/w_remainder.c: Likewise.
65875         * math/w_remainderf.c: Likewise.
65876         * math/w_remainderl.c: Likewise.
65877         * math/w_scalb.c: Likewise.
65878         * math/w_scalbf.c: Likewise.
65879         * math/w_scalbl.c: Likewise.
65880         * math/w_sinh.c: Likewise.
65881         * math/w_sinhf.c: Likewise.
65882         * math/w_sinhl.c: Likewise.
65883         * math/w_sqrt.c: Likewise.
65884         * math/w_sqrtf.c: Likewise.
65885         * math/w_sqrtl.c: Likewise.
65886         * math/w_tgamma.c: Likewise.
65887         * math/w_tgammaf.c: Likewise.
65888         * math/w_tgammal.c: Likewise.
65890         * po/ja.po: Update from translation team.
65892 2011-09-29  Andreas Jaeger  <aj@suse.de>
65894         [BZ #13179]
65895         * sunrpc/netname.c (netname2host): Fix logic.
65897         [BZ #6779]
65898         [BZ #6783]
65899         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
65900         correctly.
65901         * math/w_remainder.c (__remainder): Likewise.
65902         * math/w_remainderf.c (__remainderf): Likewise.
65903         * math/libm-test.inc (remainder_test): Add test cases.
65905 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65907         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
65908         sdiv_qrnnd.
65910 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65912         * string/test-memcmp.c: Avoid unncessary #defines.
65913         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
65915 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65917         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
65918         Use new sse2 version for core i3 - i7 as it's faster
65919         than sse42 version.
65920         (bit_Prefer_PMINUB_for_stringop): New.
65921         * sysdeps/x86_64/rawmemchr.S: Update.
65922         Replace with faster SSE2 version.
65923         * sysdeps/x86_64/memrchr.S: New file.
65924         * sysdeps/x86_64/memchr.S: Update.
65925         Replace with faster SSE2 version.
65927 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
65929         * elf/dl-load.c (lose): Add cast to avoid warning.
65931 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65933         * po/ca.po: Update from translation team.
65935         * inet/getnetgrent_r.c: Hook up nscd.
65936         * nscd/Makefile (routines): Add nscd_netgroup.
65937         (nscd-modules): Add netgroupcache.
65938         (CFLAGS-netgroupcache.c): Define.
65939         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
65940         (cache_search): Add const to second parameter.
65941         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
65942         INNETGR.
65943         (dbs): Add netgrdb entry.
65944         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
65945         (verify_persistent_db): Handle netgrdb.
65946         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
65947         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
65948         GETFDNETGR.
65949         (netgroup_response_header): Define.
65950         (innetgroup_response_header): Define.
65951         (datahead): Add netgroup_response_header and innetgroup_response_header
65952         elements.
65953         * nscd/nscd.conf: Add entries for netgroup cache.
65954         * nscd/nscd.h (dbtype): Add netgrdb.
65955         (_PATH_NSCD_NETGROUP_DB): Define.
65956         (netgroup_iov_disabled): Declare.
65957         (xmalloc, xcalloc, xrealloc): Move declarations here.
65958         (cache_search): Adjust prototype.
65959         Add netgroup-related prototypes.
65960         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
65961         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
65962         (__nscd_innetgr): Declare.
65963         * nscd/selinux.c (perms): Use access_vector_t as element type and
65964         add netgroup-related initializers.
65965         * nscd/netgroupcache.c: New file.
65966         * nscd/nscd_netgroup.c: New file.
65967         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
65968         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
65969         For four parameters use innetgr.
65970         * nss/nss_files/files-init.c: Add definition and callback for netgr.
65971         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
65972         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
65973         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
65975         * nscd/connections.c (register_traced_file): Don't register file
65976         for disabled databases.
65978 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
65980         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
65982         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
65983         from tree and freeing node.
65985 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
65987         * nss/nsswitch.c (__nss_database_lookup): Handle
65988         nss_parse_service_list out of memory case.
65990 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
65992         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
65993         out of memory case.
65995 2011-10-04  Andreas Schwab  <schwab@redhat.com>
65997         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
65998         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
65999         pass it down.
66000         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
66001         elf_machine_rela, elf_machine_lazy_rel.
66002         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
66003         (ELF_DYNAMIC_DO_REL): Likewise.
66004         (ELF_DYNAMIC_DO_RELA): Likewise.
66005         (ELF_DYNAMIC_RELOCATE): Likewise.
66006         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
66007         to ELF_DYNAMIC_DO_REL.
66008         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
66009         (dl_main): In trace mode always set __RTLD_NOIFUNC.
66010         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
66011         elf_machine_rela.
66012         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
66013         skip_ifunc, don't call ifunc function if non-zero.
66014         (elf_machine_rela): Likewise.
66015         (elf_machine_lazy_rel): Likewise.
66016         (elf_machine_lazy_rela): Likewise.
66017         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
66018         (elf_machine_lazy_rel): Likewise.
66019         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
66020         Likewise.
66021         (elf_machine_lazy_rel): Likewise.
66022         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66023         Likewise.
66024         (elf_machine_lazy_rel): Likewise.
66025         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
66026         (elf_machine_lazy_rel): Likewise.
66027         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
66028         (elf_machine_lazy_rel): Likewise.
66029         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
66030         (elf_machine_lazy_rel): Likewise.
66031         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
66032         (elf_machine_lazy_rel): Likewise.
66033         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
66034         (elf_machine_lazy_rel): Likewise.
66035         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
66036         (elf_machine_lazy_rel): Likewise.
66038 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
66040         * nss/nss_files/files-init.c (_nss_files_init): Use static
66041         initialization for all the *_traced_file variables.
66043 2011-09-28  Andreas Schwab  <schwab@redhat.com>
66045         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66047 2011-09-27  Roland McGrath  <roland@hack.frob.com>
66049         [BZ #13226]
66050         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
66052 2011-09-27  Andreas Schwab  <schwab@redhat.com>
66054         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
66055         Reread the line before reparsing it.
66057 2011-09-26  Andreas Schwab  <schwab@redhat.com>
66059         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
66061 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
66062             Maxim Kuvyrkov  <maxim@codesourcery.com>
66063             Joseph Myers  <joseph@codesourcery.com>
66065         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
66066         if needed for __stack_chk_guard.
66068 2011-09-19  Roland McGrath  <roland@hack.frob.com>
66070         * sysdeps/posix/spawni.c (script_execute): Always define it.
66071         It will be optimized away if unused.
66072         (maybe_script_execute): New function.
66073         (__spawni): Call it.
66075         * Makerules: Don't include tls.make.
66076         (config-tls): Always set to thread.
66077         * tls.make.c: File removed.
66079 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
66081         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
66082         * config.make.in (CPPFLAGS-config): New substituted variable.
66084 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
66086         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
66088         [BZ #13192]
66089         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
66090         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
66092 2011-09-15  Roland McGrath  <roland@hack.frob.com>
66094         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
66095         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
66096         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
66097         (CALL_FAIL): Likewise.
66098         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
66099         (CALL_FAIL): Macro removed.
66100         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
66102 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
66104         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
66105         for __FINITE_MATH_ONLY__ == 1.
66107 2011-09-15  Andreas Schwab  <schwab@redhat.com>
66109         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
66110         __ieee754_sqrt instead of sqrt.
66111         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
66112         __ieee754_sqrtf instead of sqrtf.
66113         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
66114         __floorf instead of floorf.
66115         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
66116         __floorf, __truncf instead of floorf, truncf.
66118 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
66120         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
66122         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
66123         __extern_always_inline.
66124         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
66125         32-bit.
66127 2011-09-14  Andreas Schwab  <schwab@redhat.com>
66129         * elf/rtld.c (dl_main): Also relocate in dependency order when
66130         doing symbol dependency testing.
66132 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
66134         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66135         Always define `refsym'.
66137 2011-09-13  Andreas Schwab  <schwab@redhat.com>
66139         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
66140         (__FD_ELT): Renamed from __FDELT.
66141         * misc/bits/select2.h (__FD_ELT): Likewise.
66142         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
66143         __FD_MASK instead of __FDELT, __FDMASK.
66144         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66145         Likewise.
66146         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66147         Likewise.
66149         * elf/Makefile (gen-ldd): Fix pattern.
66151         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
66152         (init_tls): Likewise.
66154 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
66156         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
66158 2011-09-12  Andreas Schwab  <schwab@redhat.com>
66160         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
66161         `struct cmsghdr *' instead of `void *'.
66162         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
66163         Likewise.
66165 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
66167         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
66168         if non-absolute.
66169         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
66170         ldd_rewrite_script.
66172 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
66174         * configure.in: Remove --with-tls option.
66175         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
66176         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
66177         out in case it is missing.
66178         * sysdeps/ia64/elf/configure.in: Likewise.
66179         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
66180         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
66181         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
66182         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
66183         * sysdeps/sh/elf/configure.in: Likewise.
66184         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
66185         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
66186         * sysdeps/x86_64/elf/configure.in: Likewise.
66187         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
66188         * sysdeps/mach/hurd/tls.h: Likewise.
66190         [BZ #13067]
66191         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
66193         [BZ #13090]
66194         * configure.in: Fix use of AC_INIT.
66196         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
66198 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
66200         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
66201         __set_errno.
66202         * malloc/hooks.c: Likewise.
66204         [BZ #11929]
66205         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
66206         variables statically.
66207         (narenas): Initialize.
66208         (list_lock): Initialize.
66209         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
66210         initializtion of main_arena and list_lock.  Small cleanups.
66211         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
66212         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
66213         Add initializers to main_arena and mp_.
66214         (malloc_state): Remove pagesize member.  Change all users to use
66215         GLRO(dl_pagesize).
66217         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
66218         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
66219         is always initialized.
66221         * malloc/malloc.c: Removed unused configurations and dead code.
66222         * malloc/arena.c: Likewise.
66223         * malloc/hooks.c: Likewise.
66224         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
66226         * include/tls.h: Removed.  USE___THREAD must always be defined.
66227         * bits/libc-tsd.h: Don't handle !USE___THREAD.
66228         * elf/dl-libc.c: Likewise.
66229         * elf/dl-tsd.c: Likewise.
66230         * include/errno.h: Likewise.
66231         * include/netdb.h: Likewise.
66232         * include/resolv.h: Likewise.
66233         * inet/herrno-loc.c: Likewise.
66234         * inet/herrno.c: Likewise.
66235         * malloc/arena.c: Likewise.
66236         * malloc/hooks.c: Likewise.
66237         * malloc/malloc.c: Likewise.
66238         * resolv/res-state.c: Likewise.
66239         * resolv/res_libc.c: Likewise.
66240         * sysdeps/i386/dl-machine.h: Likewise.
66241         * sysdeps/ia64/dl-machine.h: Likewise.
66242         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
66243         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66244         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
66245         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
66246         * sysdeps/sh/dl-machine.h: Likewise.
66247         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66248         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66249         * sysdeps/unix/i386/sysdep.S: Likewise.
66250         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
66251         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
66252         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
66253         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
66254         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
66255         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
66256         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
66257         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66258         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66259         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
66260         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66261         * sysdeps/x86_64/dl-machine.h: Likewise.
66262         * tls.make.c: Likewise.
66264         * configure.in: Remove --with-__thread option.  Make tests for
66265         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
66266         tls_model attribute fail if no support is available.  Remove
66267         USE_IN_LIBIO.
66268         * Makeconfig: Adjust for dropped configure option.  All features are
66269         now mandatory.
66270         * Makerules: Likewise.
66271         * Versions.def: Likewise.
66272         * argp/argp-fmtstream.c: Likewise.
66273         * argp/argp-fmtstream.h: Likewise.
66274         * argp/argp-help.c: Likewise.
66275         * assert/assert.c: Likewise.
66276         * config.h.in: Likewise.
66277         * config.make.in: Likewise.
66278         * configure: Likewise.
66279         * configure.in: Likewise.
66280         * csu/Versions: Likewise.
66281         * csu/init.c: Likewise.
66282         * elf/tst-audit2.c: Likewise.
66283         * elf/tst-tls10.c: Likewise.
66284         * elf/tst-tls10.h: Likewise.
66285         * elf/tst-tls11.c: Likewise.
66286         * elf/tst-tls12.c: Likewise.
66287         * elf/tst-tls14.c: Likewise.
66288         * elf/tst-tlsmod11.c: Likewise.
66289         * elf/tst-tlsmod12.c: Likewise.
66290         * elf/tst-tlsmod13.c: Likewise.
66291         * elf/tst-tlsmod13a.c: Likewise.
66292         * elf/tst-tlsmod14a.c: Likewise.
66293         * elf/tst-tlsmod15b.c: Likewise.
66294         * elf/tst-tlsmod16a.c: Likewise.
66295         * elf/tst-tlsmod16b.c: Likewise.
66296         * elf/tst-tlsmod7.c: Likewise.
66297         * elf/tst-tlsmod8.c: Likewise.
66298         * elf/tst-tlsmod9.c: Likewise.
66299         * gmon/gmon.c: Likewise.
66300         * grp/fgetgrent_r.c: Likewise.
66301         * grp/putgrent.c: Likewise.
66302         * hurd/fopenport.c: Likewise.
66303         * include/libc-symbols.h: Likewise.
66304         * include/tls.h: Likewise.
66305         * intl/gettextP.h: Likewise.
66306         * intl/loadinfo.h: Likewise.
66307         * locale/global-locale.c: Likewise.
66308         * locale/localeinfo.h: Likewise.
66309         * mach/devstream.c: Likewise.
66310         * malloc/arena.c: Likewise.
66311         * malloc/set-freeres.c: Likewise.
66312         * misc/err.c: Likewise.
66313         * misc/getttyent.c: Likewise.
66314         * misc/mntent_r.c: Likewise.
66315         * posix/getopt.c: Likewise.
66316         * posix/wordexp.c: Likewise.
66317         * pwd/fgetpwent_r.c: Likewise.
66318         * resolv/Versions: Likewise.
66319         * resolv/res_hconf.c: Likewise.
66320         * shadow/fgetspent_r.c: Likewise.
66321         * shadow/putspent.c: Likewise.
66322         * stdio-common/printf_fphex.c: Likewise.
66323         * stdio-common/tmpfile.c: Likewise.
66324         * stdlib/abort.c: Likewise.
66325         * stdlib/fmtmsg.c: Likewise.
66326         * sunrpc/auth_unix.c: Likewise.
66327         * sunrpc/clnt_perr.c: Likewise.
66328         * sunrpc/clnt_tcp.c: Likewise.
66329         * sunrpc/clnt_udp.c: Likewise.
66330         * sunrpc/clnt_unix.c: Likewise.
66331         * sunrpc/openchild.c: Likewise.
66332         * sunrpc/svc_simple.c: Likewise.
66333         * sunrpc/svc_tcp.c: Likewise.
66334         * sunrpc/svc_udp.c: Likewise.
66335         * sunrpc/svc_unix.c: Likewise.
66336         * sunrpc/xdr.c: Likewise.
66337         * sunrpc/xdr_array.c: Likewise.
66338         * sunrpc/xdr_rec.c: Likewise.
66339         * sunrpc/xdr_ref.c: Likewise.
66340         * sunrpc/xdr_stdio.c: Likewise.
66342 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66344         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66346 2011-07-03  Andreas Jaeger  <aj@suse.de>
66348         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
66349         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
66350         regenerate with gen-libm-tests.pl.
66352 2010-05-12  Petr Baudis  <pasky@suse.cz>
66354         [BZ #11589]
66355         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
66356         around j0() zero points by switching to j1().
66357         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66358         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66359         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66360         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66362 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66364         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
66365         instead of 0.
66366         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
66367         instead of 0.
66368         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66369         Patch in part by Pavel Roskin <proski@gnu.org>.
66371         [BZ #13138]
66372         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
66373         realloc.
66374         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
66375         Free memory block if necessary.
66377         [BZ #12847]
66378         * libio/genops.c (INTDEF): For string streams the _lock pointer can
66379         be NULL.  Don't lock in this case.
66381 2011-09-09  Roland McGrath  <roland@hack.frob.com>
66383         * elf/elf.h (ELFOSABI_GNU): New macro.
66384         (ELFOSABI_LINUX): Define to that.
66386 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
66388         * string/strncat.c (strncat): Undef the symbol in case it has been
66389         defined in bits/string.h.
66391 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66393         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
66395         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
66396         link map.
66398 2011-08-17  Andreas Jaeger  <aj@suse.de>
66400         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
66402 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
66403             Ian Lance Taylor  <iant@google.com>
66405         * math/libm-test.inc (lround_test): New testcase.
66406         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
66408 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
66410         * Makefile: Remove support for automatic cvs check-ins.
66411         * Makerules: Likewise.
66412         * config.make.in: Likewise.
66413         * configure.in: Likewise.
66414         * intl/Makefile: Likewise.
66415         * locale/Makefile: Likewise.
66416         * po/Makefile: Likewise.
66417         * posix/Makefile: Likewise.
66418         * sysdeps/gnu/Makefile: Likewise.
66419         * sysdeps/mach/hurd/Makefile: Likewise.
66420         * sysdeps/sparc/sparc32/Makefile: Likewise.
66422         [BZ #13118]
66423         * posix/Makefile (bug-regex32-ENV): Define.
66424         Patch by John Stanley <jpsinthemix@verizon.net>.
66426         * misc/Makefile (headers): Add bits/select2.h.
66427         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
66428         * misc/bits/select2.h: New file.
66429         * include/bits/select2.h: New file.
66430         * debug/Makefile (routines): Add fdelt_chk.
66431         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
66432         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
66433         FD_ISSET.
66434         * debug/fdelt_chk.c: New file.
66436         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
66437         * wcsmbs/test-wmemcmp.c: Likewise.
66438         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
66439         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
66441 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66443         * string/Makefile (strop-tests): Add memcmp.
66444         * string/test-wmemcmp.c: New file.
66445         * string/test-memcmp.c: Add wmemcmp support.
66447 2011-09-08  Roland McGrath  <roland@hack.frob.com>
66449         [BZ #13153]
66450         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
66451         2011-07-19 change.
66453         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
66454         garbage value in a __mach_port_mod_refs call in the cases of the
66455         task-self and thread-self ports.
66457 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66459         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
66461 2011-09-08  Andreas Schwab  <schwab@redhat.com>
66463         * elf/dl-load.c (lose): Check for non-null L.
66465 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
66467         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
66469         * elf/dl-libc.c (dlerror_run): Pass back error code from
66470         dl_catch_error.
66472         [BZ #13123]
66473         * elf/dl-load.c (lose): Free l_origin if it is valid.
66475         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
66476         names.
66477         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
66478         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
66479         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
66480         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
66481         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
66482         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
66484 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66486         * sysdeps/powerpc/fpu/e_hypot.c: New file.
66487         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
66488         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
66489         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
66490         * sysdeps/powerpc/fpu/k_cosf.c: New file.
66491         * sysdeps/powerpc/fpu/k_sinf.c: New file.
66492         * sysdeps/powerpc/fpu/s_cosf.c: New file.
66493         * sysdeps/powerpc/fpu/s_sinf.c: New file.
66494         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
66495         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
66497 2011-08-15  Alan Modra  <amodra@gmail.com>
66499         [BZ #13092]
66500         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
66501         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
66502         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
66503         ppc_mcount to static-only-routines.
66504         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
66505         __mcount_internal.
66506         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
66507         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
66509 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
66511         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
66512         for finite and infinity parameters.
66514 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
66516         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
66517         and add nop instructions for throughput optimization.
66518         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66520 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
66522         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
66523         aligned copy for power7 with vector-scalar instructions.
66524         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
66526 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
66528         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
66529         AVX check.
66531 2011-09-07  Andreas Schwab  <schwab@redhat.com>
66533         [BZ #13144]
66534         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
66535         last change.
66537 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
66539         * sysdeps/unix/sysv/linux/x86_64/init-first.c
66540         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
66541         syscall wrapper around clock_gettime in __vdso_clock_gettime.
66542         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
66543         clock_gettime.
66545 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
66547         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
66548         Forgot to demangle the pointer.
66550         * sysdeps/i386/sysdep.h: Define atom_text_section.
66551         * sysdeps/x86_64/sysdep.h: Likewise.
66552         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
66553         section with atom_text_section.
66554         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
66555         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
66556         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
66557         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
66558         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
66560         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
66561         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
66562         already be defined.  Change to take two parameters and don't assign
66563         result to variable.  Adjust all users.
66564         Define INTERNAL_GETTIME if not already defined.
66565         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
66566         call.
66567         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
66568         HAVE_CLOCK_GETTIME_VSYSCALL.
66569         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
66571         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
66572         gettimeofday vsyscall, just use time.
66574 2011-09-06  Andreas Schwab  <schwab@redhat.com>
66576         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
66577         <errno.h>.
66579 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
66581         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
66582         syscall on x86-64.
66583         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
66584         syscall.
66585         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
66586         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
66587         syscall if possible.
66589 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66591         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
66592         e_ident.  Don't pass to find_mapsXX.
66593         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
66595 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66597         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66598         strchr-sse2-no-bsf strrchr-sse2-no-bsf
66599         * sysdeps/x86_64/multiarch/strchr.S: Update.
66600         Check bit_slow_BSF bit.
66601         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
66602         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
66603         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
66605 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66607         [BZ #13134]
66608         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
66609         before glibc 2.15.
66610         (tryshell): Define.
66611         (__spawni): Change last parameter to be flag.  Test
66612         SPAWN_XFLAGS_USE_PATH flag to use path or not.
66613         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
66614         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
66615         * posix/spawni.c: Likewise.
66616         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
66617         * posix/spawnp.c: Likewise.  Change normal version to use
66618         SPAWN_XFLAGS_USE_PATH.
66619         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
66620         SPAWN_XFLAGS_TRY_SHELL.
66622         [BZ #13150]
66623         * posix/glob.h: Remove gcc 1.x support.
66625         [BZ #13068]
66626         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
66628 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66630         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66631         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
66632         strrchr-sse2-bsf
66633         * sysdeps/i386/i686/multiarch/strchr.S: New file.
66634         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
66635         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
66636         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
66637         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
66638         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
66640 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66642         * sysdeps/x86_64/wcscmp.S: New file.
66644         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
66645         wcscmp-c wcscmp-sse2
66646         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
66647         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
66648         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
66649         * wcsmbs/wcscmp.c: Allow renaming.
66651 2011-09-05  David S. Miller  <davem@davemloft.net>
66653         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
66654         stack slot, rather than the struct return pointer slot.
66655         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
66656         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
66657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
66658         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
66660 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66662         * po/ja.po: Update from translation team.
66664         [BZ #13144]
66665         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
66666         kernel in 64-bit binaries.
66668 2011-09-01  David S. Miller  <davem@davemloft.net>
66670         * elf/elf.h (HWCAP_SPARC_*): Move to..
66671         * sysdeps/sparc/sysdep.h: this new file and add new values.
66672         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
66673         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
66674         _DL_HWCAP_COUNT to 24.
66675         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66676         entries.
66677         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
66678         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
66679         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
66680         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
66681         instead of magic constants.
66682         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66684 2011-08-31  David S. Miller  <davem@davemloft.net>
66686         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
66687         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
66688         Reimplement to do errno handling inline.
66689         (SYSCALL_ERROR_HANDLER): New macro.
66690         (__SYSCALL_STRING): Do not do errno handling in asm.
66691         (__CLONE_SYSCALL_STRING): Delete.
66692         (__INTERNAL_SYSCALL_STRING): Delete.
66693         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
66694         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
66695         (PSEUDO): Reimplement to do errno handling inline.
66696         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
66697         (SYSCALL_ERROR_HANDLER): New macro.
66698         (__SYSCALL_STRING): Do not do errno handling in asm.
66699         (__CLONE_SYSCALL_STRING): Delete.
66700         (__INTERNAL_SYSCALL_STRING): Delete.
66701         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
66702         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
66703         i386.
66704         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
66705         (inline_syscall*): Add 'err' argument.
66706         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
66707         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
66708         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
66709         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
66711         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
66712         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66714 2011-08-30  Andreas Schwab  <schwab@redhat.com>
66716         * elf/rtld.c (dl_main): Relocate objects in dependency order.
66718 2011-08-29  Jiri Olsa <jolsa@redhat.com>
66720         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
66721         directive.
66723 2011-08-24  David S. Miller  <davem@davemloft.net>
66725         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
66727 2011-08-24  Andreas Schwab  <schwab@redhat.com>
66729         * elf/Makefile: Add rules to build and run unload8 test.
66730         * elf/unload8.c: New file.
66731         * elf/unload8mod1.c: New file.
66732         * elf/unload8mod1x.c: New file.
66733         * elf/unload8mod2.c: New file.
66734         * elf/unload8mod3.c: New file.
66736         * elf/dl-close.c (_dl_close_worker): Reset private search list if
66737         it wasn't used.
66739 2011-08-23  David S. Miller  <davem@davemloft.net>
66741         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
66742         subtract stack bias.
66743         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
66744         %sp not %fp in calculations.
66745         (_JMPBUF_UNWINDS_ADJ): Likewise.
66747         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
66748         (aio_suspend): Call it to force an exception region around the
66749         AIO_MISC_WAIT() invocation.
66751 2011-08-23  Andreas Schwab  <schwab@redhat.com>
66753         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
66754         backslash.
66756 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
66758         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
66759         protection macro.
66760         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
66761         and <dl-machine.h>.
66762         (Elf64_FuncDesc): Remove.
66764 2011-08-22  David S. Miller  <davem@davemloft.net>
66766         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
66767         sigaltstack check, add missing cfi directives.
66768         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
66769         missing cfi directives, and sigaltstack handling.
66771 2011-08-16  Andreas Schwab  <schwab@redhat.com>
66773         [BZ #11724]
66774         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
66775         object is seen twice.
66776         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66778         * elf/Makefile (distribute): Add tst-initorder2.c.
66779         (tests): Add tst-initorder2.
66780         (modules-names): Add tst-initorder2a tst-initorder2b
66781         tst-initorder2c tst-initorder2d.  Add rules to build them.
66782         ($(objpfx)tst-initorder2.out): New rule.
66783         * elf/tst-initorder2.c: New file.
66784         * elf/tst-initorder2.exp: New file.
66786 2011-08-22  Andreas Schwab  <schwab@redhat.com>
66788         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
66790         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
66791         dependencies back to end of function.
66793         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66794         $(elfobjdir)/ld.so.
66796 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
66798         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
66799         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
66800         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
66801         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
66802         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
66803         of __vdso_gettimeofday.
66804         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
66805         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
66806         attribute_hidden.
66807         (_libc_vdso_platform_setup): Remove initialization of
66808         __vdso_gettimeofday and __vdso_time.
66810 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
66812         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
66813         and fgetc_unlocked.
66814         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
66815         getc_unlocked.
66817         * elf/dl-open.c (add_to_global): Report additions to the global scope
66818         for LD_DEBUG=scopes.
66819         (dl_open_worker): Also print scope of newly loaded dependencies.
66820         (_dl_show_scope): Indicate if there is no scope.
66822         [BZ #13114]
66823         * stdio-common/Makefile (tests): Add bug24.
66824         * stdio-common/bug24.c: New file.
66826 2011-08-19  Andreas Jaeger  <aj@suse.de>
66828         [BZ #13114]
66829         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
66830         non-existant file when using close-on-exec mode.
66832 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
66834         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
66835         the very first instruction.
66837         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
66838         the CFI state in the end.
66839         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
66840         inclusion of dl-trampoline.h.
66841         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
66843 2011-08-19  Andreas Schwab  <schwab@redhat.com>
66845         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
66846         expectations for long double.
66848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
66849         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
66851 2011-08-14  David S. Miller  <davem@davemloft.net>
66853         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
66854         artificual limit depends upon the system page size.
66856 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66858         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
66859         * resolv/Makefile: Define CFLAGS-libresolv.
66861 2011-08-17  Andreas Schwab  <schwab@redhat.com>
66863         * nss/makedb.c (compute_tables): Make variables used in nested
66864         function static.
66866 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66868         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
66869         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
66870         if buffer was too small.
66872         * elf/pldd.c (main): Attach to all threads in the process.
66873         Rewrite /proc handling to use *at functions.
66875 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
66877         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
66878         specifies first scope to show.
66879         (dl_open_worker): Update callers.  Move printing scope of new
66880         object to before the relocation.
66881         * elf/rtld.c (dl_main): Update _dl_show_scope call.
66882         * sysdeps/generic/ldsodefs.h: Update declaration.
66884         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
66885         string for the scope number.
66887 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
66889         * nscd/servicescache.c (cache_addserv): Make sure written is always
66890         initialized.
66892 2011-08-14  Roland McGrath  <roland@hack.frob.com>
66894         * sysdeps/i386/i486/bits/atomic.h
66895         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
66896         statement expression, so as to suppress "set but not used" warning.
66897         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
66899         * string/strncat.c (STRNCAT): Use prototype definition.
66901         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
66902         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
66903         -Iprograms here.
66904         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
66905         (localedef-modules): Add localedef.
66906         (locale-modules): Add locale.
66908         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
66909         * elf/rtld.c (dl_main): Invert order of assignment in last change,
66910         to avoid a warning.
66912 2011-08-14  David S. Miller  <davem@davemloft.net>
66914         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
66915         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
66917 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
66919         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
66920         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
66921         * elf/rtld.c (dl_main): Set l_name of vDSO.
66922         Call _dl_show_scope when DL_DEBUG_SCOPES.
66923         (process_dl_debug): Recognize scopes flag and also set it for all.
66924         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
66925         Declare _dl_show_scope.
66927         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
66928         (do_dlopen): Pass caller_dlopen to dl_open.
66929         (__libc_dlopen_mode): Initialize caller_dlopen.
66931         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
66932         of libc.  Make tolower call locale-independent.  Optimize a bit by
66933         using isdigit instead of isalnum.
66934         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
66936 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
66938         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
66939         was a dependency or dynamically loaded.
66941 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
66943         * intl/l10nflist.c: Allow architecture-specific pop function.
66944         * sysdeps/x86_64/l10nflist.c: New file.
66946         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
66947         classification.
66949 2011-08-10  Andreas Schwab  <schwab@redhat.com>
66951         * include/dirent.h: Add libc_hidden_proto for scandirat and
66952         scandirat64.  Don't declare __scandirat64.
66953         * dirent/scandirat.c: Add libc_hidden_def.
66954         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
66955         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
66957 2011-08-10  David S. Miller  <davem@davemloft.net>
66959         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
66960         enum.
66961         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
66962         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
66963         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
66965 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
66967         * Versions.def [libc]: Add GLIBC_2.15.
66968         * dirent/Makefile (routines): Add scandirat and scandirat64.
66969         * dirent/Versions [libc]: Export scandirat and scandirat64 for
66970         GLIBC_2.15.
66971         * dirent/dirent.h: Declare scandirat and scandirat64.
66972         * dirent/scandirat.c: New file.
66973         * dirent/scandirat64.c: New file.
66974         * sysdeps/wordsize-64/scandirat.c: New file.
66975         * sysdeps/wordsize-64/scandirat64.c: New file.
66976         * dirent/opendir.c: Define opendirat.
66977         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
66978         using scandirat.
66979         * dirent/scandir64.c: Adjust for scandir.c change.
66980         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
66981         __scandirat64, and __scandir_cancel_handler.
66982         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
66983         additional parameter and use openat instead of open (outside of ld.so).
66984         Add new __opendir as wrapper around __opendirat.
66985         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
66986         here without requiring old scandirat implementation.
66988 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
66990         * dirent/scandir.c (cancel_handler): Renamed to
66991         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
66992         defined.  Adjust users.
66993         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
66994         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
66996 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
66998         * string/test-string.h (IMPL): Use __STRING to expand name and then
66999         stringify it.
67001         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
67002         of cleanups.
67004 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67006         * string/Makefile: Update.
67007         (strop-tests): Append strncat.
67008         * string/test-wcscmp.c: New file.
67009         New comprehensive test for wcscmp.
67010         * string/test-strcmp.c: Update.
67011         (WIDE): New define.
67013 2011-07-22  Andreas Schwab  <schwab@redhat.com>
67015         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
67016         line.
67018 2011-07-26  Andreas Schwab  <schwab@redhat.com>
67020         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
67021         encoding to ACE if AI_IDN.
67023 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
67025         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
67026         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
67028 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67030         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
67031         Fix overflow bug in strncat.
67032         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
67034         * string/test-strncat.c: Update.
67035         Add new tests for checking overflow bugs.
67037 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67039         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67040         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
67041         * sysdeps/i386/i686/multiarch/strcat.S: New file.
67042         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
67043         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
67044         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
67045         * sysdeps/i386/i686/multiarch/strncat.S: New file.
67046         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
67047         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
67049         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
67050         (USE_AS_STRCAT): Define.
67051         Add strcat and strncat support.
67052         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67054 2011-07-25  Andreas Schwab  <schwab@redhat.com>
67056         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
67057         __n bigger than INT_MAX+1.
67058         (__strncmp_g): Likewise.
67060 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
67062         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
67063         * libio/stido.h: Likewise.
67065         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
67066         (AF_NFC): Define.
67067         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
67068         (AF_NFC): Define.
67070         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
67071         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
67072         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
67073         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
67074         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
67076         [BZ #13021]
67077         * scripts/test-installation.pl: Don't expect libnss_test1 to be
67078         installed.
67080         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
67081         typo.
67082         (_dl_x86_64_save_sse): Likewise.
67084 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
67086         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
67087         OSXSAVE.
67088         (_dl_x86_64_save_sse): Likewise.
67090         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
67092         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
67094 2011-07-21  Andreas Schwab  <schwab@redhat.com>
67096         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
67097         change.
67098         (_dl_x86_64_save_sse): Use correct AVX check.
67100 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67102         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
67103         bug in strncpy/strncat.
67104         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
67106 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
67108         * string/tester.c (test_strcat): Add tests for different alignments
67109         of source and destination.
67110         (test_strncat): Likewise.
67112 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
67114         [BZ #12852]
67115         * posix/glob.c (glob): Check passed in values before using them in
67116         expressions to avoid some overflows.
67117         (glob_in_dir): Likewise.
67119         [BZ #13007]
67120         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
67121         check for AVX enablement so that we don't crash with old kernels and
67122         new hardware.
67123         * elf/tst-audit4.c: Add same checks here.
67124         * elf/tst-audit6.c: Likewise.
67126         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
67128 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
67130         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
67132 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
67134         * po/cs.po: Update from translation team.
67135         * po/bg.po: Likewise.
67137 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
67139         * misc/sys/cdefs.h: Add support for const attribute.
67140         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
67141         to gnu_dev_{major,minor,makedev} functions.
67143 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
67145         * intl/dcigettext.c (get_output_charset): Add missing bracket.
67147 2011-07-20  Andreas Schwab  <schwab@redhat.com>
67149         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
67150         strlen results.
67152 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67154         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
67155         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
67156         register in order to avoid conflicts with the soft frame pointer
67157         being held in r11 when necessary.
67158         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
67159         (INTERNAL_VSYSCALL_NCS): Likewise.
67161 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
67163         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
67164         * elf/dl-fini.c (_dl_fini): Adjust caller.
67165         * elf/dl-close.c (_dl_close_worker): Likewise.
67166         * sysdeps/generic/ldsodefs.h: Adjust declaration.
67168 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67170         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
67171         "aux_cache->nlibs < 0".
67173         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
67174         in the reload-count case.
67176 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67178         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67179         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
67180         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
67181         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
67182         * sysdeps/x86_64/multiarch/strcat.S: New file.
67183         * sysdeps/x86_64/multiarch/strncat.S: New file.
67184         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
67185         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
67186         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
67187         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
67188         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
67189         (USE_AS_STRCAT): Define.
67190         Add strcat and strncat support.
67191         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67192         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
67193         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
67194         * string/strncat.c: Update.
67195         (USE_AS_STRNCAT): Define.
67196         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67197         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
67198         and i7.
67199         * sysdeps/x86_64/multiarch/init-arch.h
67200         (bit_Prefer_PMINUB_for_stringop): New.
67201         (index_Prefer_PMINUB_for_stringop): Likewise.
67202         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
67203         bit_Prefer_PMINUB_for_stringop.
67205 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67207         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
67208         buffer64.
67209         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
67210         of casting of buffer.
67211         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
67212         buffer32 and buffer64.
67213         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
67214         writes instead of casting of buffer.
67215         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
67216         buffer32.
67217         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
67218         casting of buffer.
67220 2011-07-19  Andreas Schwab  <schwab@redhat.com>
67222         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
67224 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67226         * nscd/nscd.c (termination_handler): Don't do anything for a database
67227         if it has not yet been initialized.
67229 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67231         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67233 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67235         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67237 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67239         * po/nl.po: Update from translation team.
67240         * po/sv.po: Likewise.
67242 2011-07-16  Roland McGrath  <roland@hack.frob.com>
67244         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
67245         now disallowed by GCC.
67247         * configure.in (use-default-link): Default to yes if a test -shared
67248         link meets our qualifications.
67249         * configure: Regenerated.
67251         * config.make.in (output-format): New variable.
67252         * configure.in: Check for ld --print-output-format support.
67253         * configure: Regenerated.
67254         * Makerules ($(common-objpfx)format.lds)
67255         [$(output-format) != unknown]: Just use $(output-format),
67256         instead of the linker-script munging.
67258 2011-07-14  Roland McGrath  <roland@hack.frob.com>
67260         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
67261         of $(common-objpfx)shlib.lds.
67262         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
67264         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
67265         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
67267         * configure.in (-z relro check): Adjust test code to add a large
67268         writable data section after it.
67269         * configure: Regenerated.
67271 2011-07-11  Roland McGrath  <roland@hack.frob.com>
67273         * configure.in (-z relro check): Fix test code to make the variable
67274         truly const.
67275         * configure: Regenerated.
67277 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
67279         * nscd/nscd.h (struct traced_file): Define.
67280         (struct database_dyn): Remove inotify_descr, reset_res, and filename
67281         elements.  Add traced_files.
67282         (inotify_fd): Declare.
67283         (register_traced_file): Declare.
67284         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
67285         (inotify_fd): Export.
67286         (resolv_conf_descr): Remove.
67287         (nscd_init): Move inotify descriptor creation to main.
67288         Don't register files for notification here.
67289         (register_traced_file): New function.
67290         (invalidate_cache): Don't use reset_res to determine whether to call
67291         res_init, go through the list of registered files.
67292         (main_loop_poll): The inotify descriptors are now stored in the
67293         structures for the traced files.
67294         (main_loop_epoll): Likewise
67295         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
67296         to __nss_disable_nscd.
67297         * nscd/cache.c (prune_cache): There is no single inotify descriptor
67298         for a database anymore.  Check the records for all the registered
67299         files instead.
67300         * nss/Makefile (libnss_files-routines): Add files-init.
67301         (libnss_db-routines): Add db-init.
67302         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
67303         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
67304         * nss/nss_db/db-init.c: New file.
67305         * nss/nss_files/files-init.c: New file.
67306         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
67307         __nss_lookup_function.
67308         (__nss_lookup_function): Call nss_load_library.
67309         (nss_load_all_libraries): New function.
67310         (__nss_disable_nscd): Take parameter with callback function for files
67311         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
67312         used for the cached services.
67313         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
67314         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
67315         options for features to all the files in nscd.
67317         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
67319 2011-07-10  Roland McGrath  <roland@hack.frob.com>
67321         * csu/elf-init.c (__libc_csu_init): Comment typo.
67323 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
67325         * po/pl.po: Update from translation team.
67326         * po/ja.po: Likewise.
67327         * po/ru.po: Likewise.
67328         * po/ko.po: Likewise.
67329         * po/fr.po: Likewise.
67331 2011-07-09  Roland McGrath  <roland@hack.frob.com>
67333         * configure.in (.ctors/.dtors header and trailer check):
67334         Use an empirical test on a built program.
67335         * configure: Regenerated.
67337         * configure.in (-z relro check): Use an empirical test on a built DSO.
67338         Detect, but do not require, on ia64.
67339         * configure: Regenerated.
67341         * configure.in (READELF): Find it with AC_CHECK_TOOL.
67342         Update tests that use readelf to use $READELF instead.
67343         * configure: Regenerated.
67345 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
67347         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
67348         if the result is not used.
67350 2011-07-05  Andreas Jaeger  <aj@suse.de>
67352         [BZ#9696]
67353         * stdlib/tst-strtod.c: Add testcase.
67355 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
67357         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
67358         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
67359         The latter has a higher limit.  Take additional parameter to pass to
67360         the new function.
67361         (__pathconf): Pass file to __statfs_link_max.
67362         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
67363         __statfs_link_max.
67364         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
67365         __statfs_link_max.
67367         [BZ #12868]
67368         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
67369         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67370         Handle Lustre.
67371         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
67372         (__statfs_filesize_max): Likewise.
67373         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
67375 2011-07-05  Andreas Jaeger  <aj@suse.de>
67377         * resolv/res_comp.c (dn_skipname): Remove unused variable.
67379 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
67381         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
67382         `status' variable.
67383         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
67384         Likewise.
67386 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
67388         * Makefile (strop-tests): Add strncat.
67389         * string/test-strncat.c: New file.
67391 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
67393         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
67395 2011-06-21  Andreas Jaeger  <aj@suse.de>
67397         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
67398         Copy rule from iconvdata/Makefile.
67400 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67402         [BZ #12922]
67403         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
67404         but no long options are defined, just return 'W'.
67406 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
67408         [BZ #9696]
67409         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
67411 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67413         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
67414         netgroups to read.
67415         (innetgr): Likewise.
67417 2011-07-05  Roland McGrath  <roland@hack.frob.com>
67419         * config.make.in (install_root): Default to $(DESTDIR).
67421 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
67423         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
67425 2011-07-02  Roland McGrath  <roland@hack.frob.com>
67427         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
67429         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
67430         containing directory rather than embedding absolute directory names.
67432         * scripts/check-local-headers.sh: Rewritten using awk.
67433         Match by word, not by line.  Print error messages for matches.
67434         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
67436         * Makerules [shlib-lds-flags empty]:
67437         ($(common-objpfx)libc_pic.opts): New target.
67438         ($(common-objpfx)libc_pic.os.clean): New target.
67439         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
67441         * config.make.in (OBJCOPY): New variable.
67442         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
67443         * configure: Regenerated.
67445         * config.make.in (use-default-link): New variable.
67446         * configure.in (use_default_link): Grok --with-default-link to set it.
67447         * configure: Regenerated.
67448         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
67449         (shlib-lds, shlib-lds-flags): Define to empty.
67451         * Makerules (shlib-lds): New variable.
67452         (shlib-lds-flags): New variable.
67453         (build-shlib, build-moduile, build-module-asneeded): Use it.
67454         ($(common-objpfx)libc.so): Use $(shlib-lds).
67455         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
67456         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
67458         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
67459         DT_FLAGS/DT_FLAGS_1 with zero flags.
67461         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
67462         linker script munging.
67464 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
67466         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
67467         as 128-bit value.
67468         * crypt/sha512.c (sha512_process_block): Perform total addition using
67469         128-bit if possible.
67470         (__sha512_finish_ctx): Likewise.
67471         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
67472         as 64-bit value.
67473         * crypt/sha256.c (SWAP64): Define.
67474         (sha256_process_block): Perform total addition using 64-bit if
67475         possible.
67476         (__sha256_finish_ctx): Likewise.
67478 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
67480         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
67481         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67482         * nscd/hstcache.c (cache_addhst): Likewise.
67483         * nscd/grpcache.c (cache_addgr): Likewise.
67484         * nscd/aicache.c (addhstaiX): Likewise
67485         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
67487 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
67489         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
67490         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67491         * nscd/hstcache.c (cache_addhst): Likewise.
67492         * nscd/grpcache.c (cache_addgr): Likewise.
67493         * nscd/aicache.c (addhstaiX): Likewise
67495 2011-07-01  Andreas Schwab  <schwab@redhat.com>
67497         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
67498         domain only when needed.
67500 2011-06-30  Andreas Schwab  <schwab@redhat.com>
67502         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
67503         is always restored.
67505 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
67507         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
67508         are re-adding the entry.
67509         * nscd/servicescache.c (cache_addserv): Likewise.
67511 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
67513         * sysdeps/generic/dl-irel.h: fix protection against multiple
67514         inclusions.
67515         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
67517 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
67519         [BZ #12935]
67520         * malloc/memusage.sh: Fix quoting in message.
67521         * debug/xtrace.sh: Likewise.
67523         * configure.in: Remove support for --experimental-malloc option, make
67524         it the default.
67525         * config.make.in: Likewise.
67526         * malloc/Makefile: Likewise.
67528 2011-06-27  Andreas Schwab  <schwab@redhat.com>
67530         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
67531         two-byte characters.
67533 2011-06-27  Roland McGrath  <roland@hack.frob.com>
67535         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
67536         AC_CACHE_CHECK invocation.
67537         * configure: Regenerated.
67539         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
67541 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
67543         [BZ #12350]
67544         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
67545         bit from old_res_options.
67547         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
67549         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
67550         value type for setfct.
67552 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
67554         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
67555         __gettimeofday instead of gettimeofday.
67557 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
67559         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
67561 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
67563         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
67565         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
67566         info.
67568 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
67570         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67571         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
67572         strcpy-sse2-unaligned strncpy-sse2-unaligned
67573         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
67574         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
67575         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
67576         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
67577         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
67578         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
67579         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
67580         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
67581         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
67582         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
67583         (STRCPY): Support SSE2 and SSSE3 versions.
67585 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
67587         [BZ #12874]
67588         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
67589         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
67590         kernels which artificially limit size of requests.
67592 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
67594         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67595         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
67596         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
67597         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
67598         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
67599         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
67600         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
67601         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
67602         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
67603         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
67604         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
67605         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
67606         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
67607         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
67608         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
67609         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67610         Enable unaligned load optimization for Intel Core i3, i5 and i7
67611         processors.
67612         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
67613         Define.
67614         (index_Fast_Unaligned_Load): Define.
67615         (HAS_FAST_UNALIGNED_LOAD): Define.
67617 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
67619         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
67621 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
67623         [BZ #12907]
67624         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
67625         until it is clear that the information is realy needed.
67626         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
67628 2011-06-22  Andreas Schwab  <schwab@redhat.com>
67630         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
67632 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
67634         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
67635         /sys/devices/system/cpu/online if it is usable.
67637         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
67638         reading the information from the /proc filesystem to once a second.
67640 2011-06-21  Andreas Jaeger  <aj@suse.de>
67642         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
67643         NULL after inclusion of kernel headers.
67645 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
67647         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
67648         calls to internal_setent.
67650         [BZ #12885]
67651         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
67652         addresses using gethostbyname4_r ignore IPv4 addresses.
67654         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
67655         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
67657         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
67659 2011-06-20  David S. Miller  <davem@davemloft.net>
67661         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
67662         inclusions.
67663         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
67665         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
67666         (elf_irel): Use it.
67667         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
67668         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
67669         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
67670         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
67671         * sysdeps/x86_64/dl-irel.h: Likewise.
67673         * elf/dl-runtime.c: Use elf_ifunc_invoke.
67674         * elf/dl-sym.c: Likewise.
67676 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
67678         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
67679         need to dereference resplen2.
67681 2011-06-14  Andreas Schwab  <schwab@redhat.com>
67683         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
67685 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
67687         * Makeconfig: Define vardbdir and inst_vardbdir.
67688         * nss/Makefile: Add rules to install db-Makefile.
67690         * nss/nss_db/db-XXX.c: Cleanup.
67692         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
67693         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
67694         GLIBC_PRIVATE.
67695         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
67696         * nss/makedb.c: Implement -g option to specify that value strings
67697         are generated and should not be added to table iterated over for
67698         get*ent calls.
67699         * nss/nss_db/db-initgroups.c: New file.
67701         * nss/getent.c: Add support for initgroups lookups through getgrouplist
67702         interface.
67704         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
67705         (internal_getgrouplist): Adjust to name change.
67706         Update use_initgroups_entry if this is not the first call.
67707         * nss/databases.def: Add initgroups entry.
67709         * nss/makedb.c (compute_tables): Check result of multiple hash table
67710         sizes to minimize maximum chain length.
67712 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
67714         * Versions.def: Add entry for libnss_db.
67715         * shlib-versions: Likewise.
67716         * nss/Makefile: Add rules to build libnss_db.
67717         * nss/Versions: Add libnss_db information.  Organize libnss_files
67718         entries better.
67719         * nss/db-Makefile: Add gshadow support.  Change rules for the new
67720         makedb progra.  Some minor improvements to generate smaller files.
67721         * nss/nss_db/nss_db.h: Move NSS database header data structures to
67722         here from...
67723         * nss/makedb.c: ...here.
67724         Improve database format to be smaller and require less memory at
67725         runtime.
67726         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
67727         db anymore.
67728         * nss/nss_db/db-netgrp.c: Likewise.
67729         * nss/nss_db/db-open.c: Likewise.
67730         * nss/nss_files/flies-XXX.x: Adjust comments.
67731         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
67732         * nss/nss_files/files-grp.c: Likewise.
67733         * nss/nss_files/files-hosts.c: Likewise.
67734         * nss/nss_files/files-network.c: Likewise.
67735         * nss/nss_files/files-proto.c: Likewise.
67736         * nss/nss_files/files-pwd.c: Likewise.
67737         * nss/nss_files/files-rpc.c: Likewise.
67738         * nss/nss_files/files-service.c: Likewise.
67739         * nss/nss_files/files-sgrp.c: Likewise.
67740         * nss/nss_files/files-spwd.c: Likewise.
67741         * nss/nss_db/db-alias.c: Removed.
67742         * nss/nss_db/dummy-db.h: Removed.
67744 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
67746         * nss/makedb.c: Rewritten to not use database library.
67747         * nss/Makefile: Update to build new makedb program.
67749 2011-06-14  Andreas Jaeger  <aj@suse.de>
67751         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
67752         memset declaration.
67754 2011-06-10  Andreas Schwab  <schwab@redhat.com>
67756         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
67757         tmpbuf.
67759 2011-06-10  Roland McGrath  <roland@hack.frob.com>
67761         * Makerules (shlib.lds): Fail if the linker script comes out empty.
67762         * elf/Makefile ($(objpfx)ld.so): Likewise.
67764         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
67765         Don't list ld.so twice in dependencies.
67767         * posix/bug-regex31.c: Include <stdlib.h>.
67769         * nscd/hstcache.c (cache_addhst): Remove unused variable.
67771         * nis/nss_compat/compat-spwd.c
67772         (getspent_next_nss_netgr): Remove unused variable.
67773         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
67775         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
67776         nonmembers" output to use the right array.
67778         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
67780         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
67782         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
67783         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
67784         * catgets/gencat.c (read_input_file): Likewise.
67785         * locale/programs/locarchive.c (enlarge_archive): Likewise.
67787         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
67788         variable definition inside #if's controlling its use.
67790         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
67792         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
67794         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
67796         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
67797         unreachable code.
67799         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
67801         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
67802         * configure: Regenerated.
67804         * Makerules: Revert last change.
67805         * elf/Makefile: Likewise.
67807 2011-06-09  Roland McGrath  <roland@hack.frob.com>
67809         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
67810         * elf/Makefile ($(objpfx)librtld.os): Likewise.
67811         (reloc-link): Likewise.
67813 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
67815         * elf/Makefile: Add rules to build pldd.
67816         * elf/pldd.c: New file.
67817         * elf/pldd-xx.c: New file.
67819 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
67821         * version.h: Update for 2.15 development version.
67823 2011-06-07  David S. Miller  <davem@davemloft.net>
67825         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
67826         ifuncs.
67827         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
67828         elf_machine_lazy_rel): Likewise.
67829         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
67830         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
67831         elf_machine_lazy_rel): Likewise.
67832         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
67833         dl_hwcap via passed in argument.
67834         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
67835         Likewise.
67837 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67839         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
67841 2011-06-06  Roland McGrath  <roland@hack.frob.com>
67843         [BZ #12849]
67844         * manual/fdl-1.1.texi: New file, verbatim from:
67845         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
67846         * manual/lgpl-2.1.texi: New file, verbatim from:
67847         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
67848         * manual/Makefile (licenses): New variable, list those new file names.
67849         (texis): Use it.
67850         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
67852         * manual/fdl.texi: File removed.
67853         * manual/lesser.texi: File removed.
67854         * manual/libc.texinfo (Copying, Documentation License):
67855         Use new @include file names, put @appendix directive before @include.
67857 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
67859         [BZ #12841]
67860         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
67861         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
67862         (mq_open): Add __NTH.
67864 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
67866         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67867         Assume Intel Core i3/i5/i7 processor if AVX is available.
67869 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67871         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67872         typo.
67874 2011-05-31  Andreas Schwab  <schwab@redhat.com>
67876         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
67877         memory.  Use alloca_account.  Fix memory leak when retrying.
67879 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67881         * version.h (RELEASE): Bump for 2.14 release.
67882         * include/features.h (__GLIBC_MINOR__): Bump to 14.
67884         * config.make.in (RANLIB): Remove entry.
67886 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
67888         * po/Makefile (po-sed-cmd): Add ksh to extensions.
67889         (libc.pot): Work around missing support for .ksh extension in xgettext.
67891         [BZ #12684]
67892         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
67893         if both request failed.
67894         (send_dg): In case of server errors clear resplen or *resplen2.
67896         [BZ #12454]
67897         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
67898         when there are multiple maps.
67899         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
67900         (_dl_fini): Remove test here.
67902         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
67904 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
67906         [BZ #12350]
67907         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
67908         bit from old_res_options.
67909         (gaih_inet): Likewise.
67911         [BZ #11099]
67912         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
67913         as signed.
67915         * resolv/res_init.c (res_setoptions): Make the code more compact.
67917         [BZ #11558]
67918         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
67919         set RES_USEVC.
67921         [BZ #11634]
67922         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
67924         * malloc/malloc.h: Mark malloc hook variables as deprecated.
67926         [BZ #11781]
67927         * malloc/malloc.h: Declare malloc hook variables as volatile.
67929         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
67930         in last patch.
67932         [BZ #11799]
67933         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
67934         raise in the comment.
67935         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67936         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67937         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
67939 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
67941         [BZ #12811]
67942         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
67943         grow the buffers more if it already has to be sufficient.
67944         (build_wcs_upper_buffer): Likewise.
67945         * posix/regexec.c (check_matching): Likewise.
67946         (clean_state_log_if_needed): Likewise.
67947         (extend_buffers): Don't enlarge buffers beyond size of the input
67948         buffer.
67949         Patches mostly by Emil Wojak <emil@wojak.eu>.
67950         * posix/bug-regex32.c: New file.
67951         * posix/Makefile (tests): Add bug-regex32.
67953         * locale/findlocale.c (_nl_find_locale): Return right away if
67954         _nl_explode_name failed.
67955         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
67957         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
67959         * debug/xtrace.sh: Unify messages.
67960         * malloc/memusage.sh: Likewise.
67962         [BZ #12813]
67963         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
67964         time symbol from vDSO.  Substitute with vsyscall if not available.
67965         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
67966         __vdso_time.
67968         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
67969         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
67970         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
67971         Add sendmmsg and internal_sendmmsg.
67972         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
67973         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
67974         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
67976         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
67977         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
67978         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
67980 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
67982         [BZ #12813]
67983         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
67984         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
67985         available.
67986         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
67987         __vdso_getcpu.
67989         [BZ #12814]
67990         * iconvdata/Makefile (tests): Add bug-iconv9.
67991         * iconvdata/bug-iconv9.c: New file.
67993 2011-05-27  Andreas Schwab  <schwab@redhat.com>
67995         [BZ #12814]
67996         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
67998 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
68000         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
68001         (struct user_regs_struct): Change intcs field back to cs.
68003 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
68005         * po/ja.po: Update from translation team.
68007 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
68009         [BZ #12795]
68010         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
68011         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
68013 2011-05-20  Andreas Schwab  <schwab@redhat.com>
68015         * stdlib/longlong.h: Update from GCC.
68017 2011-05-23  Andreas Schwab  <schwab@redhat.com>
68019         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
68020         parameter name.
68021         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
68022         Add parameter name.
68023         (__sysconf): Pass it down.
68025 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
68027         [BZ #12671]
68028         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
68029         some situations.
68030         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
68031         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
68032         add in in __libc_use_alloca calls.  Adjust callers.
68033         (glob): Use malloc in some situations.
68035         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
68036         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
68037         pltexit.
68039 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
68041         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
68042         and CLOCK_BOOTTIME_ALARM.
68044         [BZ #12782]
68045         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
68046         is returned.
68048         * string/_strerror.c (__strerror_r): Print negative errors as signed
68049         numbers.
68051         [BZ #12777]
68052         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
68053         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
68054         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
68056         * configure.in: Fix typo in redirection and correct removal of test
68057         files in two cases.
68059         [BZ #12788]
68060         * locale/setlocale.c (new_composite_name): Fix test to check for
68061         identical name of all categories.
68063         [BZ #12792]
68064         * libio/filedoalloc.c (local_isatty): New function.
68065         (_IO_file_doallocate): Use local_isatty.
68066         * stdio-common/perror.c (perror): In case a new stream is used
68067         forward the stream error.
68068         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
68069         error flag.
68071 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
68073         [BZ #11869]
68074         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
68075         alloca.
68076         * include/alloca.h (extend_alloca_account): Define.
68078         [BZ #11857]
68079         * posix/regex.h: Fix comments with documentation of user-accessible
68080         fields after compilation and describe correct free'ing of pattern
68081         after re_compile_pattern.
68082         Patch by Reuben Thomas <rrt@sc3d.org>.
68084 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
68086         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
68087         and -mno-altivec to prevent the compiler from using Altivec and/or
68088         VSX instructions when the corresponding registers are not available.
68090 2011-05-19  Andreas Schwab  <schwab@redhat.com>
68092         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
68094 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
68096         * libio/freopen.c (freopen): Use __dup2, not dup2.
68097         * libio/freopen64.c (freopen64): Likewise.
68099 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68101         [BZ #12775]
68102         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
68103         * math/Makefile (tests): Add test-powl.
68104         (CFLAGS-test-powl.c): Define.
68105         * math/test-powl.c: New file.
68107 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68109         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
68111 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
68113         [BZ #11837]
68114         * iconvdata/gb18030.c: Update to GB18020-2005.
68116 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
68118         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
68119         RE_SYNTAX_POSIX_AWK): Update to match recent development.
68120         Patch by Aharon Robbins <arnold@skeeve.com>.
68122         [BZ #11892]
68123         * stdlib/putenv.c (putenv): Don't always create copy of the variable
68124         on the stack.
68126         [BZ #11895]
68127         * misc/pselect.c (__pselect): Handle timeout value errors hidden
68128         through underflows.
68130         [BZ #12766]
68131         * misc/error.c (error_at_line): Ensure file_name and old_file_name
68132         point to strings before performing equality test for error_one_per_line
68133         mode.
68135         [BZ #11697]
68136         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
68138         [BZ #11820]
68139         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
68140         (struct user_fpregs_struct): Avoid __uint*_t types.
68142         [BZ #6420]
68143         * malloc/mtrace.c (tr_where): Add additional parameter to point to
68144         symbol info.  Use it instead of calling _dl_addr locally.
68145         (lock_and_info): New function.
68146         (tr_freehook): Call lock_and_info and pass symbol info as additional
68147         parameter to tr_where.
68148         (tr_mallochook): Likewise.
68149         (tr_reallochook): Likewise.
68150         (tr_memalignhook): Likewise.
68152         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
68153         used and couldn't be at all thread-safe.
68155 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
68157         * libio/freopen.c (freopen): Don't close old file descriptor
68158         before the new one is opened.  Instead dup the new file descriptor
68159         to the old one after the new stream is created.
68160         * libio/freopen64.c (freopen64): Likewise.
68161         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
68162         * libio/fileops.c (_IO_new_file_close_it): Handle new
68163         _IO_FLAGS2_NOCLOSE flag.
68164         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
68165         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
68166         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
68167         _IO_FLAGS2_NOCLOSE flag.
68168         * include/unistd.h: Add hidden_proto for dup3.
68169         Define __have_dup3.
68170         * io/dup3.c: Define hidden symbol.
68171         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
68173         [BZ #7101]
68174         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
68175         when an incomplete long option is used.
68176         * posix/tst-getopt_long1.c: New file.
68177         * posix/Makefile (tests): Add tst-getopt_long1.
68179         [BZ #10138]
68180         * scripts/config.guess: Update from autoconf-2.68.
68181         * scripts/config.sub: Likewise.
68183         [BZ #10157]
68184         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
68185         tests into ...
68186         (has_cpuclock): ...this.  New function.
68187         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
68188         macro here based on has_cpuclock code.
68190         [BZ #10149]
68191         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68192         First byte (not low byte) is now always NUL.
68193         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
68195         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68196         Use non-cancelable interfaces.
68198         [BZ #9809]
68199         * locale/iso-639.def: Add entry for Sorani.
68201         [BZ #11901]
68202         * include/stdlib.h: Move include protection to the right place.
68203         Define abort_msg_s.  Declare __abort_msg with it.
68204         * stdlib/abort.c (__abort_msg): Adjust type.
68205         * assert/assert.c (__assert_fail_base): New function.  Majority
68206         of code from __assert_fail.  Allocate memory for __abort_msg with
68207         mmap.
68208         (__assert_fail): Now call __assert_fail_base.
68209         * assert/assert-perr.c: Remove bulk of implementation.  Use
68210         __assert_fail_base.
68211         * include/assert.hL Declare __assert_fail_base.
68212         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
68213         mmap.
68214         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
68216 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
68218         [BZ #11952]
68219         [BZ #12453]
68220         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
68221         until all modules are registered in the DTV.
68222         * elf/Makefile: Add rules to build and run tst-tls19.
68223         * elf/tst-tls19.c: New file.
68224         * elf/tst-tls19mod1.c: New file.
68225         * elf/tst-tls19mod2.c: New file.
68226         * elf/tst-tls19mod3.c: New file.
68227         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
68229         [BZ #12083]
68230         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
68231         correctly.
68233         [BZ #12601]
68234         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
68235         two-byte sequence errors.
68236         * iconvdata/Makefile (tests): Add bug-iconv8.
68237         * iconvdata/bug-iconv8.c: New file.
68239         [BZ #12626]
68240         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
68241         buf2 definition.
68243         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
68245         [BZ #12432]
68246         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
68247         (dummy_getcfa): New function.
68248         (init): Get _Unwind_GetCFA address, use dummy if not found.
68249         (backtrace_helper): In recursion check, also check whether CFA changes.
68250         (__backtrace): Completely initialize arg.
68252         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
68253         storing incomplete byte sequence in state object.  Avoid testing for
68254         guaranteed too small input if we know there is enough data available.
68256 2011-05-11  Andreas Schwab  <schwab@redhat.com>
68258         * Makeconfig (+link-pie): Indent.
68259         * Rules (binaries-pie): Define if $(have-fpie) and
68260         $(build-shared).
68261         (binaries-shared): Also filter out $(binaries-pie).
68262         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
68263         * nscd/Makefile (others-pie): Add nscd.
68264         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
68265         ($(objpfx)nscd): Remove command override.
68266         * login/Makefile (others-pie): Add pt_chown.
68267         ($(objpfx)pt_chown): Remove command override.
68268         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
68269         remove command overrides.
68271 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
68273         * libio/tst_putwc.c: Fix error messages.
68275         [BZ #12724]
68276         * libio/fileops.c (_IO_new_file_close_it): Always flush when
68277         currently writing and seek to current position when not.
68278         * libio/Makefile (tests): Add bug-fclose1.
68279         * libio/bug-fclose1.c: New file.
68281 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
68283         [BZ #12511]
68284         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
68285         don't set DF_1_NODELETE here.
68286         (do_lookup_x): When entering new entry test for copy relocation
68287         and if necessary set DF_1_NODELETE flag.
68288         * elf/tst-unique4.cc: New file.
68289         * elf/tst-unique4.h: New file.
68290         * elf/tst-unique4lib.cc: New file.
68291         * elf/Makefile: Add rules to build and run tst-unique4.
68292         Patch by Piotr Bury <pbury@goahead.com>.
68294 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
68296         [BZ #12052]
68297         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
68299         [BZ #12625]
68300         * misc/mntent_r.c (addmntent): Flush the stream after the output
68302         [BZ #12393]
68303         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
68304         (is_trusted_path_normalize): Skip initial colon.  Append slash
68305         to empty buffer.  Duplicate is_trusted_path code but allow
68306         constructed patch to be prefix.
68307         (is_dst): Allow $ORIGIN followed by /.
68308         (_dl_dst_substitute): Correct clearing of check_for_trusted.
68309         Correct testing of result of is_trusted_path_normalize
68310         (decompose_rpath): Fix warning.
68312 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
68314         [BZ #11257]
68315         * grp/initgroups.c (internal_getgrouplist): When we found the service
68316         list through the initgroups entry in nsswitch.conf do not always
68317         continue on a successful lookup.  Don't always use the
68318         __nss_group_database value if it is set.
68319         * nss/nsswitch.conf (initgroups): Change action for successful db
68320         lookup to continue for compatibility.
68322 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
68324         [BZ #11532]
68325         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
68326         and CP774 modules.
68327         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
68328         and CP774 modules.
68329         * iconvdata/tst-tables.sh: Likewise.
68330         * iconvdata/cp770.c: New file.
68331         * iconvdata/cp771.c: New file.
68332         * iconvdata/cp772.c: New file.
68333         * iconvdata/cp773.c: New file.
68334         * iconvdata/cp774.c: New file.
68335         * iconvdata/testdata/CP770: New file.
68336         * iconvdata/testdata/CP770..UTF8: New file.
68337         * iconvdata/testdata/CP771: New file.
68338         * iconvdata/testdata/CP771..UTF8: New file.
68339         * iconvdata/testdata/CP772: New file.
68340         * iconvdata/testdata/CP772..UTF8: New file.
68341         * iconvdata/testdata/CP773: New file.
68342         * iconvdata/testdata/CP773..UTF8: New file.
68343         * iconvdata/testdata/CP774: New file.
68344         * iconvdata/testdata/CP774..UTF8: New file.
68346         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
68347         END CHARMAP line.
68348         * iconvdata/gen-8bit-gap.sh: Likewise.
68349         * iconvdata/gen-8bit.sh: Likewise.
68351         * locale/iso-639.def: Add ary entry.
68353         [BZ #11258]
68354         * locale/C-translit.h.in: Add U20A1 transliteration.
68356         [BZ #12178]
68357         * locale/iso-639.def: Add wae entry.
68358         Patch by Kevin Bortis <bortis@translate-wae.ch>.
68360         [BZ #12545]
68361         * locale/programs/localedef.c (construct_output_path): Use ssize_t
68362         for n.
68364         [BZ #12711]
68365         * locale/C-translit.h.in: Add entry for U20B9.
68366         Patch by pravin.d.s@gmail.com.
68368 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
68370         [BZ #12713]
68371         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
68372         ENAMETOOLONG use generic getcwd.
68373         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
68374         in rtld.  Use *stat64.
68375         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
68376         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
68377         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
68378         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
68379         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
68380         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
68381         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
68382         __fstatat64 macros.
68383         * include/dirent.h: Add libc_hidden_proto for rewinddir.
68384         * dirent/rewinddir.c: Add libc_hidden_def.
68385         * sysdeps/mach/hurd/rewinddir.c: Likewise.
68386         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
68388         * include/dirent.h (__alloc_dir): Add flags parameter.
68389         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
68390         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
68391         __alloc_dir.
68392         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
68393         from fdopendir if O_CLOEXEC is already set.
68395 2011-03-15  Alan Modra  <amodra@gmail.com>
68397         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
68398         l_tls_firstbyte_offset non-zero.  Save padding offset in
68399         l_tls_firstbyte_offset for later use.
68400         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
68401         freeing static tls block.
68403 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
68405         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
68406         where #ifdef was intended.  The intent is to prevent ARG_MAX from
68407         being defined by the kernel headers.
68409 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
68411         [BZ #12734]
68412         * resolv/resolv.h: Define RES_NOTLDQUERY.
68413         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
68414         no-tld-query and set RES_NOTLDQUERY.
68415         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
68416         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
68417         modern BIND to search name as TLD unless forbidden.
68419 2011-05-07  Petr Baudis  <pasky@suse.cz>
68420             Ulrich Drepper  <drepper@gmail.com>
68422         [BZ #12393]
68423         * elf/dl-load.c (fillin_rpath): Move trusted path check...
68424         (is_trusted_path): ...to here.
68425         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
68426         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
68427         using is_trusted_path_normalize() in setuid scripts.
68429 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68431         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
68432         __BEGIN/__END_DECLS.
68434 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
68436         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
68437         NSS_STATUS_NOTFOUND if no record was found.
68439 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68441         * sunrpc/Makefile (headers): Add rpc/netdb.h.
68442         (headers-not-in-tirpc): Remove rpc/netdb.h
68443         * resolv/netdb.h: Revert last change.
68445 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68447         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
68448         circular dependency between libgcc.a and libc.a.
68450 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68452         * resolv/netdb.h: Don't include <rpc/netdb.h>.
68453         * nis/Makefile: Don't install rpcsvc/*.
68454         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
68455         instead of <rpc/types.h>.
68456         (MAXHOSTNAMELEN): Define.
68458 2011-05-03  Andreas Schwab  <schwab@redhat.com>
68460         * elf/ldconfig.c (add_dir): Don't crash on empty path.
68462 2011-04-28  Maciej Babinski  <mbabinski@google.com>
68464         [BZ #12714]
68465         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
68466         gethostbyname4_r when IPv6 results are possible.
68468 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
68470         [BZ #12723]
68471         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
68472         _PC_PIPE_BUF handling.
68474 2011-04-30  Bruno Haible  <bruno@clisp.org>
68476         [BZ #12717]
68477         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
68478         * resolv/netdb.h (getnameinfo): Change type of flags parameter
68479         to 'int'.
68480         * inet/getnameinfo.c (getnameinfo): Likewise.
68482 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
68484         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
68485         to groups setting in database lookup.
68486         * nss/nsswitch.conf: Add initgroups entry.
68488 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
68490         [BZ #12685]
68491         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
68492         mode string.
68493         Patch by Eric Blake <eblake@redhat.com>.
68495 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
68497         * sunrpc/Makefile (need-export-routines): Add svc_run.
68498         (routines): Remove svc_run.
68499         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
68500         * sunrpc/clnt_perr.c (clnt_perrno): Export.
68501         * sunrpc/svc_run.c (svc_run): Likewise.
68502         * sunrpc/svc_udp.c (svcudp_create): Likewise.
68504 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
68506         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
68507         problem in reallocation in last patch.
68509 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
68511         * sunrpc/Makefile: Move inclusion of Rules.
68513 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
68515         * nss/nss_files/files-initgroups.c: New file.
68516         * nss/Makefile (libnss_files-routines): Add files-initgroups.
68517         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
68518         _nss_files_initgroups_dyn.
68520 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
68522         * elf/elf.h (R_ARM_IRELATIVE): Define.
68524 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
68526         * po/ru.po: Update from translation team.
68528 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
68530         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
68531         dependencies.
68533 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
68535         [BZ #12653]
68536         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
68537         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
68538         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
68539         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
68540         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
68542 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
68544         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
68545         differing bytes.
68546         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
68547         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
68548         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68550 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
68552         [BZ #12420]
68553         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
68554         storing it.
68555         * stdlib/bug-getcontext.c: New file.
68556         * stdlib/Makefile: Add rules to build and run bug-getcontext.
68558 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68560         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
68561         instructions into .machine "z9-109".
68562         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
68563         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
68565 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68567         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
68568         between environment variables and auxiliary vector.
68570 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
68572         * Makefile: Add rules to build linkobj/libc.so.
68573         * include/libc-symbols.h: Define libc_hidden_nolink.
68574         * include/rpc/auth.h: Mark functions which are to be hidden.
68575         * include/rpc/auth_des.h: Likewise.
68576         * include/rpc/auth_unix.h: Likewise.
68577         * include/rpc/clnt.h: Likewise.
68578         * include/rpc/des_crypt.h: Likewise.
68579         * include/rpc/key_prot.h: Likewise.
68580         * include/rpc/pmap_clnt.h: Likewise.
68581         * include/rpc/pmap_prot.h: Likewise.
68582         * include/rpc/pmap_rmt.h: Likewise.
68583         * include/rpc/rpc_msg.h: Likewise.
68584         * include/rpc/svc.h: Likewise.
68585         * include/rpc/svc_auth.h: Likewise.
68586         * include/rpc/xdr.h: Likewise.
68587         * nis/Makefile: Link all DSOs against linkobj/libc.so.
68588         * nss/Makefile: Likewise.
68589         * sunrpc/Makefile: Don't install headers.  Build library with normal
68590         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
68591         * sunrpc/auth_des.c: Hide exported symbols by default, export some
68592         for the compat linking library.  Remove use of INTDEF/INTUSE.
68593         * sunrpc/auth_none.c: Likewise.
68594         * sunrpc/auth_unix.c: Likewise.
68595         * sunrpc/authdes_prot.c: Likewise.
68596         * sunrpc/authuxprot.c: Likewise.
68597         * sunrpc/clnt_gen.c: Likewise.
68598         * sunrpc/clnt_perr.c: Likewise.
68599         * sunrpc/clnt_raw.c: Likewise.
68600         * sunrpc/clnt_simp.c: Likewise.
68601         * sunrpc/clnt_tcp.c: Likewise.
68602         * sunrpc/clnt_udp.c: Likewise.
68603         * sunrpc/clnt_unix.c: Likewise.
68604         * sunrpc/des_crypt.c: Likewise.
68605         * sunrpc/des_soft.c: Likewise.
68606         * sunrpc/get_myaddr.c: Likewise.
68607         * sunrpc/key_call.c: Likewise.
68608         * sunrpc/key_prot.c: Likewise.
68609         * sunrpc/netname.c: Likewise.
68610         * sunrpc/pm_getmaps.c: Likewise.
68611         * sunrpc/pm_getport.c: Likewise.
68612         * sunrpc/pmap_clnt.c: Likewise.
68613         * sunrpc/pmap_prot.c: Likewise.
68614         * sunrpc/pmap_prot2.c: Likewise.
68615         * sunrpc/pmap_rmt.c: Likewise.
68616         * sunrpc/publickey.c: Likewise.
68617         * sunrpc/rpc_cmsg.c: Likewise.
68618         * sunrpc/rpc_common.c: Likewise.
68619         * sunrpc/rpc_dtable.c: Likewise.
68620         * sunrpc/rpc_prot.c: Likewise.
68621         * sunrpc/rpc_thread.c: Likewise.
68622         * sunrpc/rtime.c: Likewise.
68623         * sunrpc/svc.c: Likewise.
68624         * sunrpc/svc_auth.c: Likewise.
68625         * sunrpc/svc_authux.c: Likewise.
68626         * sunrpc/svc_raw.c: Likewise.
68627         * sunrpc/svc_run.c: Likewise.
68628         * sunrpc/svc_simple.c: Likewise.
68629         * sunrpc/svc_tcp.c: Likewise.
68630         * sunrpc/svc_udp.c: Likewise.
68631         * sunrpc/svc_unix.c: Likewise.
68632         * sunrpc/svcauth_des.c: Likewise.
68633         * sunrpc/xcrypt.c: Likewise.
68634         * sunrpc/xdr.c: Likewise.
68635         * sunrpc/xdr_array.c: Likewise.
68636         * sunrpc/xdr_float.c: Likewise.
68637         * sunrpc/xdr_intXX_t.c: Likewise.
68638         * sunrpc/xdr_mem.c: Likewise.
68639         * sunrpc/xdr_rec.c: Likewise.
68640         * sunrpc/xdr_ref.c: Likewise.
68641         * sunrpc/xdr_sizeof.c: Likewise.
68642         * sunrpc/xdr_stdio.c: Likewise.
68644 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
68646         [BZ #12650]
68647         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
68648         * sysdeps/ia64/dl-tls.h: Likewise.
68649         * sysdeps/powerpc/dl-tls.h: Likewise.
68650         * sysdeps/s390/dl-tls.h: Likewise.
68651         * sysdeps/sh/dl-tls.h: Likewise.
68652         * sysdeps/sparc/dl-tls.h: Likewise.
68653         * sysdeps/x86_64/dl-tls.h: Likewise.
68654         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
68656 2011-03-14  Andreas Schwab  <schwab@redhat.com>
68658         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
68659         rpath element also skip the following colon.
68660         (expand_dynamic_string_token): Add is_path parameter and pass
68661         down to DL_DST_REQUIRED and _dl_dst_substitute.
68662         (decompose_rpath): Call expand_dynamic_string_token with
68663         non-zero is_path.  Ignore empty rpaths.
68664         (_dl_map_object_from_fd): Call expand_dynamic_string_token
68665         with zero is_path.
68667 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
68669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
68670         Make cancelable.
68672 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
68674         [BZ #12655]
68675         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
68676         Patch by Filipe David Manana <fdmanana@apache.org>.
68678 2011-04-07  Andreas Schwab  <schwab@redhat.com>
68680         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
68681         Maintain aligned stack.
68682         (CHECK_RSP): Remove unused macro.
68684 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
68686         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
68687         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
68689 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
68691         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
68693         * include/features.h: Mention __USE_XOPEN2K8 in comment.
68695 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
68697         [BZ #12518]
68698         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
68699         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
68700         * sysdeps/x86_64/memmove.c: New file.
68701         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
68702         (memcpy): Renamed to ...
68703         (__new_memcpy): This.
68704         (memcpy): Provide GLIBC_2_14 memcpy.
68705         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
68706         (memcpy): Provide GLIBC_2_2_5 memcpy.
68708 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68710         [BZ #12631]
68711         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
68713 2011-03-30  Andreas Schwab  <schwab@redhat.com>
68715         * misc/syncfs.c: New file.
68716         * misc/Makefile (routines): Add syncfs.
68717         * posix/unistd.h: Declare syncfs.
68718         * sysdeps/unix/syscalls.list: Add syncfs.
68720 2011-04-01  Andreas Schwab  <schwab@redhat.com>
68722         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
68723         open_by_handle_at.
68724         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
68725         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68726         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68727         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68728         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68729         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
68730         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68732 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68734         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
68735         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68736         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
68737         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68738         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68739         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68740         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68742         * io/Makefile: Compile fallocate.c, fallocate64.c, and
68743         sync_file_range.c with -fexceptions.
68744         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
68745         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
68746         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
68747         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
68748         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
68749         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
68750         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
68751         sync_file_range as cancellation point
68752         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
68753         now a wrapper around __call_sync_file_range with cancellation handling.
68754         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
68755         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
68756         function name to __call_sync_file_range.
68757         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
68758         Add call_sync_file_range.
68760 2011-04-01  Andreas Schwab  <schwab@redhat.com>
68762         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68763         bits/timex.h.
68765 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68767         * iconv/iconv.h: Fix typo in comment.
68768         * io/fcntl.h: Likewise.
68769         * libio/stdio.h: Likewise.
68770         * posix/spawn.h: Likewise.
68771         * posix/unistd.h: Likewise.
68772         * stdlib/stdlib.h: Likewise.
68773         * time/time.h: Likewise.
68774         * wcsmbs/wchar.h: Likewise.
68776         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
68777         open_by_handle): Add.
68778         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
68779         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
68780         Augment a few comments.
68781         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68782         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68783         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68784         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68785         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68786         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
68787         open_by_handle.
68789         * io/fcntl.h (AT_EMPTY_PATH): Define.
68791 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
68793         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
68794         * sysdeps/unix/sysv/linux/bits/time.h: New file.
68795         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
68796         to...
68797         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
68798         * Versions.def: Add GLIBC_2.14.
68799         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
68800         Export.
68802 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
68804         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
68805         round counter.
68806         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
68808 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68810         [BZ #12597]
68811         * string/test-strncmp.c (do_page_test): New function.
68812         (check2): Likewise.
68813         (test_main): Call check2.
68814         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
68816 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
68818         [BZ #12587]
68819         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
68820         Handle cache information in CPU leaf 4.
68821         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
68823 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
68825         [BZ #12583]
68826         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
68827         character representation.
68828         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
68830 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
68832         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
68833         END(__isnan) to END(__isnanf) to match function entry point/label
68834         EALIGN(__isnanf,...).
68836 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
68838         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
68840 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
68842         [BZ #12510]
68843         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
68844         copy from the symbol referenced in the relocation to initialize the
68845         used variable.
68846         Patch by Piotr Bury <pbury@goahead.com>.
68847         * elf/Makefile: Add rules to build and tst-unique3.
68848         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
68849         * elf/tst-unique3.cc: New file.
68850         * elf/tst-unique3.h: New file.
68851         * elf/tst-unique3lib.cc: New file.
68852         * elf/tst-unique3lib2.cc: New file.
68854         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
68856 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
68858         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
68859         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
68860         to _start.
68862 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
68864         * elf/dl-load.c (_dl_map_object): If we are looking for the first
68865         to-be-loaded object along a path to loader is ld.so.
68867 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68868             Ulrich Drepper  <drepper@gmail.com>
68870         * sysdeps/x86_64/memset.S: After aligning destination, code
68871         branches to different locations depending on the value of
68872         misalignment, when multiarch is enabled. Fix this.
68874 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68876         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
68877         Set _x86_64_preferred_memory_instruction for AMD processsors.
68878         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68879         Set bit_Prefer_SSE_for_memop for AMD processors.
68881 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
68883         * libio/fmemopen.c (fmemopen): Optimize a bit.
68885 2011-03-03  Andreas Schwab  <schwab@redhat.com>
68887         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
68889 2011-03-03  Roland McGrath  <roland@redhat.com>
68891         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
68893 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
68895         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
68896         __bzero_ultra1 instead of __memset_ultra1.
68898 2011-02-23  Andreas Schwab  <schwab@redhat.com>
68899             Ulrich Drepper  <drepper@gmail.com>
68901         [BZ #12509]
68902         * include/link.h (struct link_map): Add l_orig_initfini.
68903         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
68904         returning unsuccessfully.
68905         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
68906         close of a file loaded at startup, restore the original l_initfini
68907         list.
68908         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
68909         list, store the pointer.
68910         * elf/Makefile ($(objpfx)noload-mem): New rule.
68911         (noload-ENV): Define.
68912         (tests): Add $(objpfx)noload-mem.
68913         * elf/noload.c: Include <memcheck.h>.
68914         (main): Call mtrace.  Close all opened handles.
68916 2011-02-17  Andreas Schwab  <schwab@redhat.com>
68918         [BZ #12454]
68919         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
68920         dependencies are missing.
68922 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68924         Fix __if_freereq crash: Unlike the generic version which uses free,
68925         Hurd needs munmap.
68926         * sysdeps/mach/hurd/ifreq.h: New file.
68928 2011-01-27  Petr Baudis  <pasky@suse.cz>
68929             Ulrich Drepper  <drepper@gmail.com>
68931         [BZ 12445]#
68932         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
68933         to extend_alloca().
68934         * stdio-common/bug23.c: New file.
68935         * stdio-common/Makefile (tests): Add bug23.
68937 2010-09-28  Andreas Schwab  <schwab@redhat.com>
68938             Ulrich Drepper  <drepper@gmail.com>
68940         [BZ #12489]
68941         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
68942         before performing relro protection.  At old place add assertion
68943         to make sure nothing changed.
68945 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
68946             Glauber de Oliveira Costa  <glommer@gmail.com>
68948         * elf/elf.h: Add new ARM TLS relocs.
68950 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
68952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
68953         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
68954         cast from r3.
68955         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
68956         'tests' variable.
68957         * sysdeps/wordsize-64/tst-writev.c: New file.
68959 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
68961         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
68962         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
68963         insns in _dl_start to prevent a TOC reference before relocs are
68964         resolved.
68966 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
68968         [BZ #12469]
68969         * Makeconfig: Remove RANLIB definition.
68970         * Makerules: Don't use RANLIB.
68971         * aclocal.m4: Remove ranlib test.
68972         * configure.in: No need to check for ranlib.
68973         * elf/rtld-Rules: Don't use RANLIB.
68975 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68977         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
68978         protection macro.
68979         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
68980         inclusion protection macro.
68982         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
68983         SIGRTMIN and SIGRTMAX and print information in that case only when
68984         SIGRTMIN is defined.
68986 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
68988         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
68989         arginfo fn returning -1.
68991         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
68992         and thousands string is zero terminated.
68994 2011-02-03  Andreas Schwab  <schwab@redhat.com>
68996         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
68997         sysdeps/unix/sysv/linux/bits/socket.h.
68999 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69001         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
69002         (__CPU_COUNT): Remove old macros.
69003         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
69004         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
69005         (__CPU_ALLOC, __CPU_FREE): Add macros.
69006         (__sched_cpualloc, __sched_cpufree): Add declarations.
69008 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
69010         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
69011         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
69012         * nscd/aicache.c (addhstaiX): Return timeout of added value.
69013         (readdhstai): Return value of addhstaiX call.
69014         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
69015         (addgrbyX): Return value returned by cache_addgr.
69016         (readdgrbyname): Return value returned by addgrbyX.
69017         (readdgrbygid): Likewise.
69018         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
69019         (addpwbyX): Return value returned by cache_addpw.
69020         (readdpwbyname): Return value returned by addhstbyX.
69021         (readdpwbyuid): Likewise.
69022         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
69023         (addservbyX): Return value returned by cache_addserv.
69024         (readdservbyname): Return value returned by addservbyX:
69025         (readdservbyport): Likewise.
69026         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
69027         (addhstbyX): Return value returned by cache_addhst.
69028         (readdhstbyname): Return value returned by addhstbyX.
69029         (readdhstbyaddr): Likewise.
69030         (readdhstbynamev6): Likewise.
69031         (readdhstbyaddrv6): Likewise.
69032         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
69033         (readdinitgroups): Return value returned by addinitgroupsX.
69034         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
69035         (prune_cache): Keep track of timeout value of re-added entries.
69036         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
69037         * nscd/nscd.h: Adjust prototypes of readd* functions.
69039 2011-02-04  Roland McGrath  <roland@redhat.com>
69041         * nis/nis_server.c (nis_servstate): Use the right name for 0.
69042         (nis_stats): Likewise.
69043         * nis/nis_modify.c (nis_modify): Likewise.
69044         * nis/nis_remove.c (nis_remove): Likewise.
69045         * nis/nis_add.c (nis_add): Likewise.
69047         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
69049         * posix/fnmatch_loop.c: Add some consts.
69051         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
69053 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
69055         [BZ #12460]
69056         * config.make.in (config-cflags-novzeroupper): Define.
69057         * configure.in: Substitute libc_cv_cc_novzeroupper.
69058         * elf/Makefile (AVX-CFLAGS): Define.
69059         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
69060         (CFLAGS-tst-auditmod4a.c): Likewise.
69061         (CFLAGS-tst-auditmod4b.c): Likewise.
69062         (CFLAGS-tst-auditmod6b.c): Likewise.
69063         (CFLAGS-tst-auditmod6c.c): Likewise.
69064         (CFLAGS-tst-auditmod7b.c): Likewise.
69065         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
69067 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
69069         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
69070         function to the callback.
69071         Patch partly by Jiri Olsa <jolsa@redhat.com>.
69073 2011-02-02  Andreas Schwab  <schwab@redhat.com>
69075         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
69076         of errno.
69078 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
69080         [BZ #11724]
69081         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
69082         of constructors.
69083         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
69084         of destructors.
69085         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
69087         [BZ #11724]
69088         * elf/Makefile: Add rules to build and run new test.
69089         * elf/tst-initorder.c: New file.
69090         * elf/tst-initorder.exp: New file.
69091         * elf/tst-initordera1.c: New file.
69092         * elf/tst-initordera2.c: New file.
69093         * elf/tst-initordera3.c: New file.
69094         * elf/tst-initordera4.c: New file.
69095         * elf/tst-initorderb1.c: New file.
69096         * elf/tst-initorderb2.c: New file.
69097         * elf/tst-order-a1.c: New file.
69098         * elf/tst-order-a2.c: New file.
69099         * elf/tst-order-a3.c: New file.
69100         * elf/tst-order-a4.c: New file.
69101         * elf/tst-order-b1.c: New file.
69102         * elf/tst-order-b2.c: New file.
69103         * elf/tst-order-main.c: New file.
69104         New test case by George Gensure <werkt0@gmail.com>.
69106 2010-10-01  Andreas Schwab  <schwab@redhat.com>
69108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69109         decoding ACE if AI_CANONIDN.
69111 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
69113         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
69115 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
69117         * version.h (RELEASE): Bump for 2.13 release.
69118         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
69120         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
69122         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
69123         MADV_NOHUGEPAGE.
69124         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
69125         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69126         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69127         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69128         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69129         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69131         * posix/getconf.c: Update copyright year.
69132         * catgets/gencat.c: Likewise.
69133         * csu/version.c: Likewise.
69134         * debug/catchsegv.sh: Likewise.
69135         * debug/xtrace.sh: Likewise.
69136         * elf/ldconfig.c: Likewise.
69137         * elf/ldd.bash.in: Likewise.
69138         * elf/sprof.c (print_version): Likewise.
69139         * iconv/iconv_prog.c: Likewise.
69140         * iconv/iconvconfig.c: Likewise.
69141         * locale/programs/locale.c: Likewise.
69142         * locale/programs/localedef.c: Likewise.
69143         * malloc/memusage.sh: Likewise.
69144         * malloc/mtrace.pl: Likewise.
69145         * nscd/nscd.c (print_version): Likewise.
69146         * nss/getent.c: Likewise.
69148         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
69149         PF_CAIF, and PF_ALG.
69150         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69152 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
69154         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
69155         (modules-names): Use them.
69156         (ifunc-test-modules, ifunc-pie-tests): Define.
69157         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
69158         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
69159         (test-extras): Likewise.
69160         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
69161         $(compile-command.c).
69162         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
69163         (all-built-dso): Define.
69164         (check-textrel.out, check-execstack.out): Depend on it.
69166         * configure.in: Don't override --enable-multi-arch.
69168 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
69170         [BZ #6812]
69171         * nscd/hstcache.c (tryagain): Define.
69172         (cache_addhst): Return tryagain not notfound for temporary errors.
69173         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
69174         failed.
69176 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
69178         [BZ #10563]
69179         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
69180         to make the syscall.
69181         * sysdeps/unix/sysv/linux/setgroups.c: New file.
69183         [BZ #12378]
69184         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
69185         and fall back to matching as normal character if the string ends before
69186         the matching ']' is found.  This is what POSIX requires.
69187         * posix/testfnm.c: Adjust test result.
69188         * posix/globtest.sh: Adjust test result.  Add new test.
69189         * posix/tst-fnmatch.input: Likewise.
69190         * posix/tst-fnmatch2.c: Add new test.
69192 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
69194         * elf/Makefile (check-execstack): Revert last change.  Depend on
69195         check-execstack.h.
69196         (check-execstack.h): New target.
69197         (generated): Add check-execstack.h.
69198         * elf/check-execstack.c: Include "check-execstack.h".
69199         (main): Revert last change.
69200         (handle_file): Return zero if GNU_STACK is absent and
69201         DEFAULT_STACK_PERMS doesn't include PF_X.
69203 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
69205         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
69206         in child fails because the descriptor is already closed.
69207         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
69208         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
69209         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
69211         [BZ #12397]
69212         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
69213         syscall.
69215         [BZ #10484]
69216         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
69217         temporary buffer used to handle multi lookups locally.
69218         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
69220 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69222         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
69223         loader is ld.so.
69225 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
69227         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
69228         alignment for SSE2.
69230 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69232         [BZ #12394]
69233         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
69234         characters.  When rounding increased number of integer digits recompute
69235         number of groups.
69236         * stdio-common/tst-grouping.c: New file.
69237         * stdio-common/Makefile: Add rules to build and run tst-grouping.
69239 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
69241         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
69242         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
69244         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
69245         void.
69246         * bits/select.h: Likewise.
69248 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
69250         * po/ja.po: Update from translation team.
69252 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
69254         [BZ #11155]
69255         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
69256         implementation just like for lxstat, fxstatat, et al.
69258 2010-12-27  Jim Meyering  <meyering@redhat.com>
69260         [BZ #12348]
69261         * posix/regexec.c (build_trtable): Return failure indication upon
69262         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
69264 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
69266         [BZ #12201]
69267         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
69268         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
69269         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
69270         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
69272         [BZ #12207]
69273         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
69275         [BZ #12204]
69276         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
69277         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
69279 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
69281         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
69282         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
69283         script has SORT_BY_INIT_PRIORITY.
69284         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
69285         NO_CTORS_DTORS_SECTIONS is defined.
69286         * elf/soinit.c: Likewise.
69287         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
69288         NO_CTORS_DTORS_SECTIONS is defined.
69289         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
69290         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
69291         * sysdeps/sh/init-first.c: Likewise.
69292         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
69294 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
69296         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
69297         always use the slow path.
69299 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
69301         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
69302         similar rule which adds the sysdep directories to the header search in
69303         order to pick up the correct platform stackinfo.h.
69304         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
69305         perform test if it is, otherwise return successfully without testing.
69306         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
69307         DEFAULT_STACK_PERMS define in stackinfo.h.
69308         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
69309         defined in stackinfo.h.
69310         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
69311         DEFAULT_STACK_PERMS defined in stackinfo.h.
69312         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
69313         * sysdeps/ia64/stackinfo.h: Likewise.
69314         * sysdeps/s390/stackinfo.h: Likewise.
69315         * sysdeps/sh/stackinfo.h: Likewise.
69316         * sysdeps/sparc/stackinfo.h: Likewise.
69317         * sysdeps/x86_64/stackinfo.h: Likewise.
69318         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
69319         PF_X for powerpc64.  Retain PF_X for powerpc32.
69321 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
69323         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
69324         accurately.
69325         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
69326         GETDENTS_64BIT_ALIGNED.
69328 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
69330         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
69332 2010-12-10  Andreas Schwab  <schwab@redhat.com>
69334         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
69335         _GNU_SOURCE.
69337         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
69338         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
69339         Remove __restrict.
69340         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
69341         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
69343 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
69345         [BZ #11655]
69346         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
69347         are initialized.
69349 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
69351         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
69353 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
69355         * po/it.po: Update from translation team.
69357 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
69359         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
69360         unused codes.
69362 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
69364         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
69366 2010-11-24  Andreas Schwab  <schwab@redhat.com>
69368         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
69369         specially.
69370         (gaih_getanswer_slice): Likewise.
69372 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
69374         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
69376 2010-05-31  Petr Baudis  <pasky@suse.cz>
69378         [BZ #11149]
69379         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
69380         silently even in the chroot mode.
69382 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
69384         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
69385         last patch a bit.  Pretty printing
69387 2010-05-31  Petr Baudis <pasky@suse.cz>
69389         [BZ #10085]
69390         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
69391         initialization of skip_initgroups_dyn.
69393 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
69395         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
69396         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69398 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
69400         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
69402 2010-11-11  Andreas Schwab  <schwab@redhat.com>
69404         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
69405         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
69406         (tst-fnmatch-ENV): Set MALLOC_TRACE.
69407         ($(objpfx)tst-fnmatch-mem): New rule.
69408         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
69409         * posix/tst-fnmatch.c (main): Call mtrace.
69411 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
69413         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69414         Support Intel processor model 6 and model 0x2c.
69416 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
69418         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
69419           signed comparison.
69421 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
69423         [BZ #12205]
69424         * string/test-strncasecmp.c (check_result): New function.
69425         (do_one_test): Use it.
69426         (check1): New function.
69427         (test_main): Use it.
69428         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
69429         Support strcasecmp and strncasecmp.
69431 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
69433         [BZ #12194]
69434         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
69435         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69437 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
69439         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
69440         IFUNC support.
69441         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69442         memset-x86-64.
69443         * sysdeps/x86_64/multiarch/bzero.S: New file.
69444         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
69445         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
69446         * sysdeps/x86_64/multiarch/memset.S: New file.
69447         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
69448         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69449         Set bit_Prefer_SSE_for_memop for Intel processors.
69450         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
69451         Define.
69452         (index_Prefer_SSE_for_memop): Define.
69453         (HAS_PREFER_SSE_FOR_MEMOP): Define.
69455 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
69457         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
69458         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
69460 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
69462         [BZ #12191]
69463         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
69464         (__x86_64_raw_data_cache_size_half): Likewise.
69465         (__x86_64_raw_shared_cache_size): Likewise.
69466         (__x86_64_raw_shared_cache_size_half): Likewise.
69468         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
69469         (__x86_64_raw_data_cache_size_half): Likewise.
69470         (__x86_64_raw_shared_cache_size): Likewise.
69471         (__x86_64_raw_shared_cache_size_half): Likewise.
69472         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
69473         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
69474         and __x86_64_raw_shared_cache_size_half.  Round
69475         __x86_64_data_cache_size_half, __x86_64_data_cache_size
69476         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
69477         to multiple of 256 bytes.
69479 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
69481         [BZ #12167]
69482         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
69483         of inacessible symlinks.  Verify result of symlink before returning it.
69484         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
69485         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
69487 2010-10-28  Erich Ritz  <erichritz@gmail.com>
69489         * math/math.h (isinf): Fix typo in comment.
69491 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
69493         * po/da.po: Update from translation team.
69495 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
69497         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
69498         is added to the list.
69500 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69501             Ulrich Drepper  <drepper@gmail.com>
69503         * elf/dl-object.c (_dl_new_object): Don't append the new object to
69504         the global list here.  Move code to...
69505         (_dl_add_to_namespace_list): ...here.  New function.
69506         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
69507         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
69508         * elf/dl-load.c (lose): Don't remove the element from the list.
69509         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
69510         (_dl_map_object): Likewise.
69512 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
69514         [BZ #12159]
69515         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
69516         into all bytes of SSE register.
69517         Patch by Richard Li <richardpku@gmail.com>.
69519 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
69521         [BZ #12140]
69522         * malloc/malloc.c (_int_free): Fill correct number of bytes when
69523         perturbing.
69525 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
69527         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
69528         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
69529         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
69530         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
69532         submachine.
69533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
69535 2010-10-22  Andreas Schwab  <schwab@redhat.com>
69537         * include/dlfcn.h (__RTLD_SECURE): Define.
69538         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
69539         mode & __RTLD_SECURE instead.
69540         (open_path): Rename preloaded parameter to secure.
69541         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
69542         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
69543         * elf/dl-deps.c (openaux): Likewise.
69544         * elf/rtld.c (struct map_args): Remove is_preloaded.
69545         (map_doit): Don't use it.
69546         (dl_main): Likewise.
69547         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
69548         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
69550 2010-09-09  Andreas Schwab  <schwab@redhat.com>
69552         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
69553         (sysd-rules-targets): Remove duplicates.
69554         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
69555         rtld-%.$o dependency.
69557 2010-10-18  Andreas Schwab  <schwab@redhat.com>
69559         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
69560         _dl_map_object do it.
69562 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
69564         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
69565         fast fma builtins, define the macros in the C99 standard.
69566         (FP_FAST_FMAF): Likewise.
69567         (FP_FAST_FMAL): Likewise.
69568         * sysdeps/x86_64/bits/mathdef.h: Likewise.
69570         * bits/mathdef.h: Update copyright year.
69571         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69573 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
69575         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
69576         builtins, define the macros in the C99 standard.
69577         (FP_FAST_FMAF): Likewise.
69578         (FP_FAST_FMAL): Likewise.
69579         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
69580         multiply/add.
69581         (FP_FAST_FMAF): Likewise.
69583 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
69585         [BZ #3268]
69586         * math/libm-test.inc (fma_test): Some new testcases.
69587         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
69588         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
69589         y and infinite z.  Do multiplication by C already in long double.
69590         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
69591         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
69592         y and infinite z.  Do bitwise or of inexact bit into u.d.
69593         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
69594         * sysdeps/i386/fpu/s_fmaf.S: Removed.
69595         * sysdeps/i386/fpu/s_fma.S: Removed.
69596         * sysdeps/i386/fpu/s_fmal.S: Removed.
69598 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
69600         [BZ #3268]
69601         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
69602         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
69603         computation is not scheduled after fetestexcept.  Fix value
69604         of minimum denormal long double.
69606 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
69608         [BZ #3268]
69609         * math/libm-test.inc (fma_test): Add some more tests.
69610         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
69611         correctly.
69613 2010-10-15  Andreas Schwab  <schwab@redhat.com>
69615         * scripts/data/localplt-s390-linux-gnu.data: New file.
69616         * scripts/data/localplt-s390x-linux-gnu.data: New file.
69618 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
69620         [BZ #3268]
69621         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
69622         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
69623         instead of dbl-64.
69624         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
69625         inlines.
69626         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
69627         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
69628         if one of x and y is very large and the other is subnormal.
69629         * sysdeps/s390/fpu/s_fmaf.c: New file.
69630         * sysdeps/s390/fpu/s_fma.c: New file.
69631         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
69632         * sysdeps/powerpc/fpu/s_fma.S: New file.
69633         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
69634         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
69635         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
69637 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
69639         [BZ #3268]
69640         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
69641         fma tests.
69642         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
69643         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
69644         * sysdeps/i386/i686/multiarch/s_fma.c: Include
69645         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
69646         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
69647         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
69648         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
69650 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
69652         [BZ #12078]
69653         * posix/regcomp.c (parse_branch): One more memory leak plugged.
69654         * posix/bug-regex31.input: Add test case.
69656 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
69658         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
69659         * posix/bug-regex31.input: New file.
69661         [BZ #12078]
69662         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
69663         (parse_sub_exp): Fix last change, use postorder.
69665         * posix/bug-regex31.c: New file.
69666         * posix/Makefile: Add rules to build and run bug-regex31.
69668         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
69670         [BZ #12078]
69671         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
69673         [BZ #12108]
69674         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
69675         to have entries in sys_siglist.
69677         [BZ #12093]
69678         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
69679         be NULL.
69681 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
69683         [BZ #3268]
69684         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
69685         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
69686         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
69687         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
69688         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
69689         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
69690         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
69691         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
69692         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
69693         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
69694         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
69695         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
69696         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
69697         * math/ftestexcept.c (fetestexcept): Likewise.
69698         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
69699         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
69700         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
69701         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
69702         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
69703         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
69704         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69706 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
69708         [BZ #12107]
69709         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
69710         newline.
69712 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
69714         * string/bug-strstr1.c: New file.
69715         * string/Makefile: Add rules to build and run bug-strstr1.
69717 2010-10-05  Eric Blake  <eblake@redhat.com>
69719         [BZ #12092]
69720         * string/str-two-way.h (two_way_long_needle): Always clear memory
69721         when skipping input due to the shift table.
69723 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
69725         [BZ #12005]
69726         * malloc/mcheck.c: Handle large requests.
69728         [BZ #12077]
69729         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
69730         for strncmp and strncasecmp.
69731         * string/stratcliff.c: Add tests for strcmp and strncmp.
69732         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
69734 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69736         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
69737         __set_fpscr.
69739 2010-09-30  Andreas Jaeger  <aj@suse.de>
69741         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
69742         (CGROUP_SUPER_MAGIC): Define.
69743         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69744         Handle btrfs and cgroup file systems.
69745         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69746         Likewise.
69748 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
69750         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
69751         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
69753 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69755         [BZ #12067]
69756         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
69757         trying to locate the ELF header.
69759 2010-09-27  Andreas Schwab  <schwab@redhat.com>
69761         [BZ #11611]
69762         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
69763         Mask out sign-bit copies when constructing f_fsid.
69765 2010-09-24  Petr Baudis <pasky@suse.cz>
69767         * debug/stack_chk_fail_local.c: Add missing licence exception.
69768         * debug/warning-nop.c: Likewise.
69770 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
69772         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
69773         implementing getdents64 using getdents syscall, set d_type if
69774         __ASSUME_GETDENTS32_D_TYPE.
69776 2010-09-16  Andreas Schwab  <schwab@redhat.com>
69778         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
69779         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
69781 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
69783         [BZ #12037]
69784         * posix/unistd.h: Undo change of feature selection for ftruncate from
69785         2010-01-11.
69787 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
69789         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
69790         detection.
69792 2010-09-20  Andreas Schwab  <schwab@redhat.com>
69794         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
69795         fanotify_mark.
69796         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
69798 2010-09-14  Andreas Schwab  <schwab@redhat.com>
69800         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
69801         variables after CHECK_SP call.
69802         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
69804 2010-09-13  Andreas Schwab  <schwab@redhat.com>
69805             Ulrich Drepper  <drepper@redhat.com>
69807         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
69808         re-relocationg ld.so.
69809         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
69810         _dl_init_paths call.
69811         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
69812         here anymore.
69814 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
69816         * resolv/res_init.c (__res_vinit): Count the default server we added.
69818 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
69819             Ulrich Drepper  <drepper@redhat.com>
69821         [BZ #11968]
69822         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
69823         (____longjmp_chk): Use %ebx for saving value across system call.
69824         Add unwind info.
69826 2010-09-06  Andreas Schwab  <schwab@redhat.com>
69828         * manual/Makefile: Don't mix pattern rules with normal rules.
69830 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69832         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
69833         operation.
69834         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
69835         * libio/iofopncook.c (_IO_cookie_init): Likewise.
69836         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
69837         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
69838         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69839         Likewise.
69841 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
69843         [BZ #11979]
69844         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
69845         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
69847 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
69849         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
69850         * sysdeps/x86_64/addmul_1.S: Likewise.
69851         * sysdeps/x86_64/lshift.S: Likewise.
69852         * sysdeps/x86_64/mul_1.S: Likewise.
69853         * sysdeps/x86_64/rshift.S: Likewise.
69854         * sysdeps/x86_64/sub_n.S: Likewise.
69855         * sysdeps/x86_64/submul_1.S: Likewise.
69857 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69859         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
69860         Define __sched_param instead of SCHED_* and sched_param when
69861         <bits/sched.h> is included with __need_schedparam defined.
69862         * bits/sched.h [__need_schedparam]
69863         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
69864         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
69865         (__defined_schedparam): Define to 1.
69866         (__sched_param): New structure, identical to sched_param.
69867         (__need_schedparam): Undefine.
69869 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
69871         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
69872         (epoll_create1): Declare.
69874         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
69876 2010-08-31  Andreas Schwab  <schwab@redhat.com>
69878         [BZ #7066]
69879         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
69880         shifting retval into place.
69882 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
69884         * nis/rpcsvc/nis.h: Update copyright notice.
69885         * nis/rpcsvc/nis.x: Likewise.
69886         * nis/rpcsvc/nis_callback.h: Likewise.
69887         * nis/rpcsvc/nis_callback.x: Likewise.
69888         * nis/rpcsvc/nis_object.x: Likewise.
69889         * nis/rpcsvc/nis_tags.h: Likewise.
69890         * nis/rpcsvc/yp.h: Likewise.
69891         * nis/rpcsvc/yp.x: Likewise.
69892         * nis/rpcsvc/ypupd.h: Likewise.
69893         * nis/yp_xdr.c: Likewise.
69894         * nis/ypupdate_xdr.c: Likewise.
69896         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
69897         mainly the body of pmap_getport.  Add parameters to specify timeouts.
69898         (pmap_getport): Use __libc_rpc_getport.
69899         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
69900         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
69901         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
69903 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
69905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
69906         fanotify_mark.
69908 2010-08-27  Roland McGrath  <roland@redhat.com>
69910         * sysdeps/i386/i686/multiarch/Makefile
69911         (CFLAGS-varshift.c): New variable.
69913 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
69915         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
69916         * sysdeps/i386/i686/multiarch/varshift.c: New file.
69918         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
69920         * sysdeps/x86_64/strlen.S: Minimal code improvement.
69922 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
69924         * sysdeps/x86_64/strlen.S: Unroll the loop.
69925         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69926         strlen-sse2 strlen-sse2-bsf.
69927         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
69928         __strlen_no_bsf if bit_Slow_BSF is set.
69929         (__strlen_sse42): Removed.
69930         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
69931         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
69933 2010-08-25  Roland McGrath  <roland@redhat.com>
69935         * sysdeps/x86_64/multiarch/varshift.S: File removed.
69936         * sysdeps/x86_64/multiarch/varshift.c: New file.
69937         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
69938         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
69939         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
69940         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
69942 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
69944         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69945         strlen-sse2 strlen-sse2-bsf.
69946         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
69947         __strlen_sse2_bsf if bit_Slow_BSF is unset.
69948         (__strlen_sse2): Removed.
69949         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
69950         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
69951         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
69952         bit_Slow_BSF for Atom.
69953         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
69954         (index_Slow_BSF): Define.
69955         (HAS_SLOW_BSF): Define.
69957 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
69959         [BZ #10851]
69960         * resolv/res_init.c (__res_vinit): When no server address at all
69961         is given default to loopback.
69963 2010-08-24  Roland McGrath  <roland@redhat.com>
69965         * configure.in: Remove config-name.h generation.
69966         * configure: Regenerated.
69967         * config-name.in: File removed.
69968         * scripts/config-uname.sh: New file.
69969         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
69970         ($(objdir)config-name.h): New target.
69972         * sunrpc/rpc_parse.h: Avoid nested comment.
69974 2010-08-24  Richard Henderson  <rth@redhat.com>
69975             Ulrich Drepper  <drepper@redhat.com>
69976             H.J. Lu  <hongjiu.lu@intel.com>
69978         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
69979         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
69980         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
69981         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
69982         _mm_alignr_epi8 with _mm_loadu_si128.
69983         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
69984         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
69985         (__m128i_shift_right): Removed.
69986         * sysdeps/i386/i686/multiarch/varshift.h: New file.
69987         * sysdeps/i386/i686/multiarch/varshift.S: New file.
69988         * sysdeps/x86_64/multiarch/varshift.h: New file.
69989         * sysdeps/x86_64/multiarch/varshift.S: New file.
69991 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
69993         * configure.in: Move assembler checks to before sysdep dir checking.
69995 2010-08-20  Petr Baudis  <pasky@suse.cz>
69997         * LICENSES: Sync the sunrpc license.
69999 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
70001         * sunrpc/auth_des.c: Update copyright notice once again.
70002         * sunrpc/auth_none.c: Likewise.
70003         * sunrpc/auth_unix.c: Likewise.
70004         * sunrpc/authdes_prot.c: Likewise.
70005         * sunrpc/authuxprot.c: Likewise.
70006         * sunrpc/bindrsvprt.c: Likewise.
70007         * sunrpc/clnt_gen.c: Likewise.
70008         * sunrpc/clnt_perr.c: Likewise.
70009         * sunrpc/clnt_raw.c: Likewise.
70010         * sunrpc/clnt_simp.c: Likewise.
70011         * sunrpc/clnt_tcp.c: Likewise.
70012         * sunrpc/clnt_udp.c: Likewise.
70013         * sunrpc/clnt_unix.c: Likewise.
70014         * sunrpc/des_crypt.c: Likewise.
70015         * sunrpc/des_soft.c: Likewise.
70016         * sunrpc/get_myaddr.c: Likewise.
70017         * sunrpc/getrpcport.c: Likewise.
70018         * sunrpc/key_call.c: Likewise.
70019         * sunrpc/key_prot.c: Likewise.
70020         * sunrpc/openchild.c: Likewise.
70021         * sunrpc/pm_getmaps.c: Likewise.
70022         * sunrpc/pm_getport.c: Likewise.
70023         * sunrpc/pmap_clnt.c: Likewise.
70024         * sunrpc/pmap_prot.c: Likewise.
70025         * sunrpc/pmap_prot2.c: Likewise.
70026         * sunrpc/pmap_rmt.c: Likewise.
70027         * sunrpc/rpc/auth.h: Likewise.
70028         * sunrpc/rpc/auth_unix.h: Likewise.
70029         * sunrpc/rpc/clnt.h: Likewise.
70030         * sunrpc/rpc/des_crypt.h: Likewise.
70031         * sunrpc/rpc/key_prot.h: Likewise.
70032         * sunrpc/rpc/netdb.h: Likewise.
70033         * sunrpc/rpc/pmap_clnt.h: Likewise.
70034         * sunrpc/rpc/pmap_prot.h: Likewise.
70035         * sunrpc/rpc/pmap_rmt.h: Likewise.
70036         * sunrpc/rpc/rpc.h: Likewise.
70037         * sunrpc/rpc/rpc_des.h: Likewise.
70038         * sunrpc/rpc/rpc_msg.h: Likewise.
70039         * sunrpc/rpc/svc.h: Likewise.
70040         * sunrpc/rpc/svc_auth.h: Likewise.
70041         * sunrpc/rpc/types.h: Likewise.
70042         * sunrpc/rpc/xdr.h: Likewise.
70043         * sunrpc/rpc_clntout.c: Likewise.
70044         * sunrpc/rpc_cmsg.c: Likewise.
70045         * sunrpc/rpc_common.c: Likewise.
70046         * sunrpc/rpc_cout.c: Likewise.
70047         * sunrpc/rpc_dtable.c: Likewise.
70048         * sunrpc/rpc_hout.c: Likewise.
70049         * sunrpc/rpc_main.c: Likewise.
70050         * sunrpc/rpc_parse.c: Likewise.
70051         * sunrpc/rpc_parse.h: Likewise.
70052         * sunrpc/rpc_prot.c: Likewise.
70053         * sunrpc/rpc_sample.c: Likewise.
70054         * sunrpc/rpc_scan.c: Likewise.
70055         * sunrpc/rpc_scan.h: Likewise.
70056         * sunrpc/rpc_svcout.c: Likewise.
70057         * sunrpc/rpc_tblout.c: Likewise.
70058         * sunrpc/rpc_util.c: Likewise.
70059         * sunrpc/rpc_util.h: Likewise.
70060         * sunrpc/rpcinfo.c: Likewise.
70061         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
70062         * sunrpc/rpcsvc/key_prot.x: Likewise.
70063         * sunrpc/rpcsvc/klm_prot.x: Likewise.
70064         * sunrpc/rpcsvc/mount.x: Likewise.
70065         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
70066         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
70067         * sunrpc/rpcsvc/rex.x: Likewise.
70068         * sunrpc/rpcsvc/rstat.x: Likewise.
70069         * sunrpc/rpcsvc/rusers.x: Likewise.
70070         * sunrpc/rpcsvc/sm_inter.x: Likewise.
70071         * sunrpc/rpcsvc/spray.x: Likewise.
70072         * sunrpc/rpcsvc/yppasswd.x: Likewise.
70073         * sunrpc/rtime.c: Likewise.
70074         * sunrpc/svc.c: Likewise.
70075         * sunrpc/svc_auth.c: Likewise.
70076         * sunrpc/svc_authux.c: Likewise.
70077         * sunrpc/svc_raw.c: Likewise.
70078         * sunrpc/svc_run.c: Likewise.
70079         * sunrpc/svc_simple.c: Likewise.
70080         * sunrpc/svc_tcp.c: Likewise.
70081         * sunrpc/svc_udp.c: Likewise.
70082         * sunrpc/svc_unix.c: Likewise.
70083         * sunrpc/svcauth_des.c: Likewise.
70084         * sunrpc/xcrypt.c: Likewise.
70085         * sunrpc/xdr.c: Likewise.
70086         * sunrpc/xdr_array.c: Likewise.
70087         * sunrpc/xdr_float.c: Likewise.
70088         * sunrpc/xdr_mem.c: Likewise.
70089         * sunrpc/xdr_rec.c: Likewise.
70090         * sunrpc/xdr_ref.c: Likewise.
70091         * sunrpc/xdr_sizeof.c: Likewise.
70092         * sunrpc/xdr_stdio.c: Likewise.
70094         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
70095         handling.
70097 2010-08-19  Andreas Schwab  <schwab@redhat.com>
70099         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
70101 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
70103         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
70104         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
70105         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
70106         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
70107         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
70108         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
70109         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
70110         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
70111         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
70112         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
70113         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
70114         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
70115         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
70116         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
70118 2010-07-26  Anton Blanchard  <anton@samba.org>
70120         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
70121         * malloc/arena.c (heap_trim): Likewise.
70123 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
70125         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
70126         here.  Not...
70127         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
70128         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
70130 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
70132         * sysdeps/i386/elf/Makefile: New file.
70134 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
70136         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
70137         from fanotify_init.
70138         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
70139         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70141 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
70143         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
70144         of strncasecmp_l.
70145         * sysdeps/multiarch/strcmp.S: Likewise.
70147 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
70149         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70150         strncase_l-nonascii.
70151         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70152         Add strncase_l-ssse3.
70153         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
70154         * sysdeps/x86_64/strcmp.S: Likewise.
70155         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
70156         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
70157         * sysdeps/x86_64/strncase.S: New file.
70158         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
70159         * sysdeps/x86_64/strncase_l.S: New file.
70160         * string/Makefile (strop-tests): Add strncasecmp.
70161         * string/test-strncasecmp.c: New file.
70163         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
70164         warning.
70166         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
70167         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
70169 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
70171         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
70173 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
70175         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
70176         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
70177         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
70179 2010-05-01  Alan Modra  <amodra@gmail.com>
70181         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
70182         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
70183         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
70184         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
70185         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
70186         tidying.  Don't tail-call __sigjmp_save for static lib.
70187         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
70188         save location.
70189         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
70190         (CALL_MCOUNT): Add eh info, and nop after bl.
70191         (TAIL_CALL_SYSCALL_ERROR): New macro.
70192         (PSEUDO_RET): Use it.
70193         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
70194         Correct save location of integer regs and cr.
70195         (_dl_profile_resolve): Correct cr save location.  Delete nops
70196         after bl when SHARED.  Reduce cfi size a little by better
70197         placement of cfi directives.
70198         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
70199         make a stack frame.  Instead use parm save area as a temp.
70200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
70201         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
70202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
70203         Don't make a stack frame for parent, use parm save area.
70204         Increase child stack frame to 112 bytes.  Don't save unused reg,
70205         and adjust reg usage.  Set up cfi on error recovery and
70206         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
70207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
70208         (__makecontext): Add dummy nop after jump to exit.
70209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
70210         Use correct parm save area and cr save, reduce stack frame.
70211         Correct cfi for possible PSEUDO_RET frame setup.
70212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
70213         Branch to local label emitted by PSEUDO_RET rather than
70214         __syscall_error.
70216 2010-08-12  Andreas Schwab  <schwab@redhat.com>
70218         [BZ #11904]
70219         * locale/programs/locale.c (print_assignment): New function.
70220         (show_locale_vars): Use it.
70222 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
70224         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
70225         field.
70226         (struct statfs64): Likewise.
70227         (_STATFS_F_FLAGS): Define.
70228         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
70229         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70230         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
70231         (ST_VALID): Define locally.
70232         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
70233         __statvfs_getflags, use the provided value.
70234         * sysdeps/unix/sysv/linux/kernel-features.h: Define
70235         __ASSUME_STATFS_F_FLAGS.
70237         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
70239         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
70240         Add sys/fanotify.h.
70241         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
70242         fanotify_mask for GLIBC_2.13.
70243         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
70244         fanotify_init and fanotify_mark.
70245         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70246         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
70248         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
70249         Add prlimit.
70250         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
70251         prlimit64 for GLIBC_2.13.
70252         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
70253         prlimit64.
70254         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
70255         syscall.
70256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
70257         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70258         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
70259         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
70260         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
70261         add prlimit alias.
70262         * sysdeps/unix/sysv/linux/prlimit.c: New file.
70264         [BZ #11903]
70265         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
70266         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
70268         * nss/Makefile: Add rules to build and run tst-nss-test1.
70269         * shlib-versions: Add entry for libnss_test1.
70270         * nss/nss_test1.c: New file.
70271         * nss/tst-nss-test1.c: New file.
70273         * nss/nsswitch.c (__nss_database_custom): Define new variable.
70274         (__nss_configure_lookup): Set appropriate entry in
70275         __nss_configure_lookup to true.
70276         * nss/nsswitch.h: Define enum with indeces of databases in
70277         databases and __nss_database_custom arrays.  Declare
70278         __nss_database_custom.
70279         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
70280         to avoid using nscd when custom rules are installed.
70281         * nss/getXXbyYY_r.c: Likewise.
70282         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
70284         * nss/nss_files/files-parse.c: Whitespace fixes.
70286 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
70288         [BZ #11883]
70289         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
70290         * posix/fnmatch_loop.c: Likewise.
70292 2010-07-17  Andi Kleen  <ak@linux.intel.com>
70294         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
70295         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
70296         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
70297         * Versions.def [GLIBC_2.13]: Add.
70299 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
70301         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70302         Also fail if tpwd after pwuid call is NULL.
70304 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70306         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
70307         when converting to ms.
70309 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70311         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
70312         EOPNOTSUPP errors with ENOTTY.
70313         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
70314         EOPNOTSUPP errors with ENOTTY.
70316 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
70318         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70319         Add strcasecmp_l-ssse3.
70320         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
70321         strcasecmp.
70322         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
70323         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
70324         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
70326 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
70328         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
70330         * string/Makefile (strop-tests): Add strcasecmp.
70331         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70332         strcasecmp_l-nonascii.
70333         (gen-as-const-headers): Add locale-defines.sym.
70334         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
70335         * sysdeps/x86_64/strcasecmp.S: New file.
70336         * sysdeps/x86_64/strcasecmp_l.S: New file.
70337         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
70338         * sysdeps/x86_64/locale-defines.sym: New file.
70339         * string/test-strcasecmp.c: New file.
70341         * string/test-strcasestr.c: Test both ends of the range of characters.
70342         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
70344 2010-07-29  Roland McGrath  <roland@redhat.com>
70346         [BZ #11856]
70347         * manual/locale.texi (Yes-or-No Questions): Fix example code.
70349 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
70351         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
70352         for ld.so.
70354 2010-07-27  Andreas Schwab  <schwab@redhat.com>
70356         * manual/memory.texi (Malloc Tunable Parameters): Document
70357         M_PERTURB.
70359 2010-07-26  Roland McGrath  <roland@redhat.com>
70361         [BZ #11840]
70362         * configure.in (-fgnu89-inline check): Set and substitute
70363         gnu89_inline, not libc_cv_gnu89_inline.
70364         * configure: Regenerated.
70365         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
70367 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
70369         * string/test-strnlen.c: New file.
70370         * string/Makefile (strop-tests): Add strnlen.
70371         * string/tester.c (test_strnlen): Add a few more test cases.
70372         * string/tst-strlen.c: Better error reporting.
70374         * sysdeps/x86_64/strnlen.S: New file.
70376 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
70378         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
70379         lower-latency instructions.
70381 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
70383         * string/test-strcasestr.c: New file.
70384         * string/test-strstr.c: New file.
70385         * string/Makefile (strop-tests): Add strstr and strcasestr.
70386         * string/str-two-way.h: Don't undefine MAX.
70387         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
70389 2010-07-21  Andreas Schwab  <schwab@redhat.com>
70391         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70392         strcasestr-nonascii.
70393         (CFLAGS-strcasestr-nonascii.c): Define.
70394         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
70395         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
70396         Remove unused attribute.
70398 2010-07-20  Roland McGrath  <roland@redhat.com>
70400         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
70401         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
70402         ld.so.cache was broken.  With it, there is no way to disable dsocaps
70403         like LD_HWCAP_MASK can disable hwcaps.
70405 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
70407         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
70409 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
70411         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
70412         call in strcasestr.
70413         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
70414         __strcasestr_sse42_nonascii.
70415         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
70416         strcasestr-nonascii.c.
70417         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
70419 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
70421         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
70422         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
70423         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
70424         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
70426 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
70428         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
70429         fcntl.
70431 2010-07-06  Andreas Schwab  <schwab@redhat.com>
70433         [BZ #11577]
70434         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
70435         dl_signal_cerror.
70437 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
70439         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
70440         _PC_PIPE_BUF using F_GETPIPE_SZ.
70442 2010-07-05  Roland McGrath  <roland@redhat.com>
70444         * manual/arith.texi (Rounding Functions): Fix rint description
70445         implicit in round description.
70447 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
70449         * elf/Makefile: Fix linking for a few tests to make recent linker
70450         happy.
70452 2010-06-30  Andreas Schwab  <schwab@redhat.com>
70454         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
70455         $(common-objpfx)libc_nonshared.a.
70457 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
70459         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
70460         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
70461         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
70462         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
70463         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
70464         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
70465         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
70466         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
70467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
70468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
70469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
70470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
70471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
70472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
70473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
70474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
70475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
70476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
70477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
70478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
70479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
70480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
70481         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
70482         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
70483         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
70484         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
70485         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
70486         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
70487         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
70488         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
70489         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
70490         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
70491         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
70492         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
70493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
70494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
70495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
70496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
70497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
70498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
70499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
70500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
70501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
70502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
70503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
70504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
70505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
70506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
70508 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
70510         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
70511         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
70512         * string/memmove.c (memmove): Renamed to ...
70513         (MEMMOVE): ...this.  Default to memmove.
70514         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
70515         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
70516         (END_CHK): Define.
70517         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70518         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
70519         mempcpy-ssse3-back memmove-ssse3-back.
70520         * sysdeps/x86_64/multiarch/bcopy.S: New file .
70521         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
70522         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
70523         * sysdeps/x86_64/multiarch/memcpy.S: New file.
70524         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
70525         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
70526         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
70527         * sysdeps/x86_64/multiarch/memmove.c: New file.
70528         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
70529         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
70530         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
70531         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
70532         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
70533         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
70534         Define.
70535         (index_Fast_Copy_Backward): Define.
70536         (HAS_ARCH_FEATURE): Define.
70537         (HAS_FAST_REP_STRING): Define.
70538         (HAS_FAST_COPY_BACKWARD): Define.
70540 2010-06-21  Andreas Schwab  <schwab@redhat.com>
70542         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70543         Restore proper fallback handling.
70545 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
70547         [BZ #11701]
70548         * posix/group_member.c (__group_member): Correct checking loop.
70550         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
70551         OOM in getpwuid_r correctly.  Return error number when the caller
70552         should return, otherwise -1.
70553         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
70554         call returning > 0 value.
70555         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
70557 2010-06-07  Andreas Schwab  <schwab@redhat.com>
70559         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
70560         libc_nonshared.a from targets in modules-names.
70562 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
70564         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
70565         requires it.
70567 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
70569         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
70570         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
70571         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
70572         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
70574 2010-06-02  Andreas Schwab  <schwab@redhat.com>
70576         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
70578 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
70580         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
70581         and F_GETPIPE_SZ.
70582         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70583         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70584         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70585         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70586         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70587         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
70589 2010-06-14  Roland McGrath  <roland@redhat.com>
70591         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
70593 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
70595         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
70596         __REDIRECT followed by __THROW.
70597         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
70598         * posix/getopt.h (getopt): Likewise.
70600 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
70602         * hurd/lookup-at.c (__file_name_lookup_at): Accept
70603         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
70604         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
70605         in AT_FLAGS.
70606         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
70607         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
70609 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
70611         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
70613 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
70615         [BZ #11640]
70616         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70617         Properly check family and model.
70619 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
70621         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
70623 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
70625         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
70627 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
70629         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
70630         symbol reference.
70632 2010-05-19  Andreas Schwab  <schwab@redhat.com>
70634         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
70635         symbol reference.
70637 2010-05-21  Andreas Schwab  <schwab@redhat.com>
70639         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
70640         and internal_recvmmsg.
70641         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
70642         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
70643         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
70644         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
70646         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
70647         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
70648         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
70650 2010-05-20  Andreas Schwab  <schwab@redhat.com>
70652         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
70654 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
70656         POWER7 optimizations.
70657         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
70658         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
70660 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
70662         * version.h: Update for 2.13 development version.
70664 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
70666         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
70667         exceptions.  Return 0.
70669 2010-05-07  Roland McGrath  <roland@redhat.com>
70671         * elf/ldconfig.c (main): Add a const.
70673 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
70675         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
70676         (args_options): Add no-idn option.
70677         (ahosts_keys_int): Add idn_flags to ai_flags.
70678         (parse_option): Handle 'i' option to clear idn_flags.
70680         * malloc/malloc.c (_int_free): Possible race in the most recently
70681         added check.  Only act on the data if no current modification
70682         happened.
70684 See ChangeLog.17 for earlier changes.