Check Prefer_ERMS in memmove/memcpy/mempcpy/memset
[glibc.git] / ChangeLog
blob082422866dd3d315518d2f141893c9fe26b450ee
1 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
4         (index_arch_Prefer_ERMS): Likewise.
5         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
6         __memcpy_erms for Prefer_ERMS.
7         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8         (__memmove_erms): Enabled for libc.a.
9         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
10         __memmove_erms or Prefer_ERMS.
11         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
12         __mempcpy_erms for Prefer_ERMS.
13         * sysdeps/x86_64/multiarch/memset.S (memset): Return
14         __memset_erms for Prefer_ERMS.
16 2016-06-30  Andreas Schwab  <schwab@suse.de>
18         [BZ #20262]
19         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
20         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
21         of memory.
23 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
25         [BZ #18645]
26         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
27         (test-extras): Add tst-cleanupx4aux.
28         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
29         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
30         tst-cleanupx4aux.o.
31         * nptl/tst-cleanupx4aux.c: New file.
33 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
35         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
37 2016-06-29  Andreas Schwab  <schwab@suse.de>
39         [BZ #20260]
40         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
41         address before the beginning of the string as an integer to avoid
42         array-bounds warning.
44 2016-06-28  Richard Henderson  <rth@redhat.com>
46         * elf/elf.h (EM_BPF): New.
47         (EM_NUM): Update.
48         (R_BPF_NONE, R_BPF_MAP_FD): New.
50         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
51         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
52         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
53         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
54         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
55         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
56         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
57         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
58         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
59         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
60         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
61         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
62         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
63         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
64         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
65         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
66         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
67         (EM_NUM): Update.
69 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
71         [BZ #18960]
72         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
73         Set _nl_current_LC_CATEGORY_used to two instead of one.
75 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
77         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
78         (do_test): ... this.
79         (TEST_FUNCTION): New macro.
80          Include test-skeleton.c.
81         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
82         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
84 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
86         [BZ #15479]
87         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
88         floating-point environment rather than just control word.
89         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
90         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
91         floating-point environment, with "invalid" exceptions merged in,
92         rather than just control word.
93         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
94         * math/libm-test.inc (trunc_test_data): Do not allow spurious
95         "inexact" exceptions.
97         [BZ #15479]
98         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
99         floating-point environment rather than just control word.
100         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
101         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
102         floating-point environment, with "invalid" exceptions merged in,
103         rather than just control word.
104         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
105         * math/libm-test.inc (floor_test_data): Do not allow spurious
106         "inexact" exceptions.
108         [BZ #15479]
109         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
110         floating-point environment rather than just control word.
111         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
112         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
113         floating-point environment, with "invalid" exceptions merged in,
114         rather than just control word.
115         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
116         * math/libm-test.inc (ceil_test_data): Do not allow spurious
117         "inexact" exceptions.
119 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
121         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
122         __libc_vfork.
123         (__vfork) [IS_IN (libc)]: Remove alias.
124         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
125         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
126         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
128 2016-06-24  Torvald Riegel  <triegel@redhat.com>
130         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
131         of atomic_compare_and_exchange_bool_rel.
132         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
133         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
134         catomic_compare_and_exchange_bool_rel): Remove.
135         * sysdeps/aarch64/atomic-machine.h
136         (atomic_compare_and_exchange_bool_rel): Likewise.
137         * sysdeps/alpha/atomic-machine.h
138         (atomic_compare_and_exchange_bool_rel): Likewise.
139         * sysdeps/arm/atomic-machine.h
140         (atomic_compare_and_exchange_bool_rel): Likewise.
141         * sysdeps/mips/atomic-machine.h
142         (atomic_compare_and_exchange_bool_rel): Likewise.
143         * sysdeps/microblaze/atomic-machine.h
144         ( __arch_compare_and_exchange_bool_8_rel,
145         __arch_compare_and_exchange_bool_16_rel): Likewise.
146         * sysdeps/powerpc/atomic-machine.h
147         ( __arch_compare_and_exchange_bool_8_rel,
148         __arch_compare_and_exchange_bool_16_rel): Likewise.
149         * sysdeps/powerpc/powerpc32/atomic-machine.h
150         ( __arch_compare_and_exchange_bool_32_rel,
151         __arch_compare_and_exchange_bool_64_rel): Likewise.
152         * sysdeps/powerpc/powerpc64/atomic-machine.h
153         ( __arch_compare_and_exchange_bool_32_rel,
154         __arch_compare_and_exchange_bool_64_rel): Likewise.
155         * sysdeps/tile/atomic-machine.h
156         (atomic_compare_and_exchange_bool_rel): Likewise.
158 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
160         [BZ #20296]
161         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
162         when either argument is a NaN.
163         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
164         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
166         * math/libm-test.inc (snan_value_ld): New macro.
167         (isgreater_test_data): Add sNaN tests.
168         (isgreaterequal_test_data): Likewise.
169         (isless_test_data): Likewise.
170         (islessequal_test_data): Likewise.
171         (islessgreater_test_data): Likewise.
172         (isunordered_test_data): Likewise.
173         (nextafter_test_data): Likewise.
174         (nexttoward_test_data): Likewise.
175         (remainder_test_data): Likewise.
176         (remquo_test_data): Likewise.
177         (significand_test_data): Likewise.
178         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
180 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
182         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
183         environment macros are defined.
184         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
186 2016-06-23  Florian Weimer  <fweimer@redhat.com>
188         [BZ #20191]
189         Implement vtable verification in libio.
190         * Makerules (shlib.lds): Place __libc_IO_vtables section.
191         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
192         * debug/vdprintf_chk.c (__vdprintf_chk): Call
193         _IO_new_file_init_internal instead of _IO_file_init.
194         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
195         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
196         * libio/Makefile (routines): Add vtables.
197         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
198         (_IO_init): Remove, not for internal use.
199         (_IO_init_internal): Declare, internal replacement for _IO_init.
200         (_IO_file_init): Remove, not for internal use.
201         (_IO_new_file_init): Remove, not for internal use.
202         (_IO_new_file_init_internal): Declare, internal replacement for
203         _IO_new_file_init.
204         (_IO_old_file_init): Remove, not for internal use.
205         (_IO_old_file_init_internal): Declare, internal replacement for
206         _IO_old_file_init.
207         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
208         internal use.
209         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
210         Declare.
211         (libio_vtable): New macro.
212         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
213         functions.
214         * libio/fileops.c (_IO_new_file_init_internal): Rename from
215         _IO_new_file_init.
216         (_IO_new_file_init): New externally visible wrapper which disables
217         vtable verification.
218         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
219         Define as vtables.
220         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
221         (_IO_init): New externally visible wrapper which disables
222         vtable verification.
223         * libio/iofdopen.c (_IO_new_fdopen): Call
224         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
225         comment.
226         * libio/iofopen.c (__fopen_internal): Call
227         _IO_new_file_init_internal instead of _IO_file_init.
228         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
229         Define as vtables.
230         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
231         _IO_new_file_init_internal instead of _IO_file_init.
232         * libio/iopopen.c (_IO_new_popen): Likewise.
233         (_IO_proc_jumps): Define as vtable.
234         * libio/iovdprintf.c (_IO_vdprintf): Call
235         _IO_new_file_init_internal instead of _IO_file_init.
236         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
237         (__open_memstream): Call _IO_init_internal instead of _IO_init.
238         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
239         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
240         _IO_old_file_init.
241         (_IO_old_file_init): New externally visible wrapper which disables
242         vtable verification.
243         (_IO_old_file_jumps): Define as vtable.
244         * libio/oldiofdopen.c (_IO_old_fdopen): Call
245         _IO_old_file_init_internal instead of _IO_old_file_init.
246         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
247         * libio/oldiopopen.c (_IO_old_popen): Likewise.
248         (_IO_old_proc_jumps): Define as vtable.
249         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
250         Define as vtables.
251         * libio/vtables.c: New file.
252         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
253         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
254         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
255         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
256         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
257         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
258         instead of _IO_init.
260 2016-06-23  Florian Weimer  <fweimer@redhat.com>
262         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
264 2016-06-23  Florian Weimer  <fweimer@redhat.com>
266         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
267         potentially unused.
269 2016-06-22  Florian Weimer  <fweimer@redhat.com>
271         * test-skeleton.c (write_message): New function.
272         * malloc/tst-mallocfork2.c (write_message): Remove.
273         * debug/tst-longjmp_chk2.c (write_indented): New function.
274         (write_message): Remove.
275         (stackoverflow_handler): Call write_indented.
277 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
279         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
280         "inexact" exceptions after fnstenv.
281         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
282         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
283         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
285 2015-06-22  Zack Weinberg  <zackw@panix.com>
287         * sysdeps/generic/bits/hwcap.h: Moved to ...
288         * bits/hwcap.h: Here.
290 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
292         * sysdeps/aarch64/memcpy.S (memcpy):
293         Further tuning for performance.
295 2016-06-21  Florian Weimer  <fweimer@redhat.com>
297         [BZ #20284]
298         * malloc/arena.c (reused_arena): Do not return NULL if we start
299         out with a non-corrupted arena.
301 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
303         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
304         * misc/tst-preadvwritev.c: New file.
305         * misc/tst-preadvwritev64.c: Likewise.
306         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
307         usage.
308         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
309         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
310         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
311         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
313 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
315         [BZ #19654]
316         * sysdeps/x86_64/fpu/Makefile: Added new tests.
317         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
318         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
319         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
320         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
321         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
322         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
323         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
324         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
325         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
326         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
327         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
328         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
329         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
330         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
331         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
332         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
333         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
334         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
335         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
336         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
337         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
338         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
339         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
340         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
341         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
343 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
345         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
346         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
348 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
350         * sysdeps/aarch64/memcpy.S (memcpy):
351         Rewrite of optimized memcpy and memmove.
352         * sysdeps/aarch64/memmove.S (memmove): Remove
353         memmove code (merged into memcpy.S).
355 2016-06-20  Florian Weimer  <fweimer@redhat.com>
357         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
358         * sysdeps/generic/dl-dtv.h: New file.
359         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
360         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
361         (dtv_t): Remove.
362         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
363         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
364         (dtv_t): Remove.
365         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
366         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
367         (dtv_t): Remove.
368         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
369         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
370         (dtv_t): Remove.
371         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
372         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
373         (dtv_t): Remove.
374         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
375         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
376         (dtv_t): Remove.
377         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
378         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
379         (dtv_t): Remove.
380         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
381         (dtv_t): Remove.
382         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
383         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
384         (dtv_t): Remove.
385         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
386         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
387         (dtv_t): Remove.
388         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
389         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
390         (dtv_t): Remove.
391         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
392         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
393         (dtv_t): Remove.
394         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
395         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
396         (dtv_t): Remove.
397         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
398         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
399         (dtv_t): Remove.
400         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
401         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
402         (dtv_t): Remove.
403         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
404         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
405         (dtv_t): Remove.
407 2016-06-20  Florian Weimer  <fweimer@redhat.com>
409         Revert symbol poisoning of  __malloc_initialize_hook.
410         * include/stdc-predef.h (__malloc_initialize_hook): Remove
411         poisoning.
412         * malloc/Makefile: Remove un-poisoning.
413         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
414         instead of old__malloc_initialize_hook.
415         * malloc/malloc-hooks.h: Likewise.
416         * malloc/malloc.c: Likewise.
417         * malloc/mcheck-init.c: Likewise.
419 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
421         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
423 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
425         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
426         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
427         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
428         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
430 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
432         * NEWS: Mention addition of nextup and nextdown.
433         * manual/arith.texi: Document nextup and nextdown.
434         * manual/libm-err-tab.pl: Add nextup and nextdown.
435         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
436         * math/Versions (libm): Add GLIBC_2.24.
437         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
438         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
439         Add new test.
440         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
441         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
442         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
443         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
444         (nextup_test_data): Likewise.
445         (nextdown_test_data): Likewise.
446         * math/s_nextdown.c: New file.
447         * math/s_nextdownf.c: Likewise.
448         * math/s_nextdownl.c: Likewise.
449         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
450         F(nextup): New function.
451         F(nextdown): Likewise.
452         * math/tgmath.h: Add nextup and nextdown.
453         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
454         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
455         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
456         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
457         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
458         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
459         Add nextup and nextdown.
460         (CFLAGS-nldbl-nextup.c): New variable.
461         (CFLAGS-nldbl-nextdown.c): Likewise.
462         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
463         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
464         * sysdeps/nacl/libm.abilist: Update.
465         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
466         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
467         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
468         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
469         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
470         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
471         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
472         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
473         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
474         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
475         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
476         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
479         Likewise.
480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
482         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
483         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
484         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
485         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
486         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
489         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
490         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
491         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
492         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
494 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
496         * manual/pattern.texi: Fix typos & grammar errors.
498 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
500         * manual/search.texi: Fix typos & grammar errors.
502 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
504         * manual/message.texi: Fix typos & grammar errors.
506 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
508         * manual/contrib.texi: Fix spelling typos.
509         * manual/crypt.texi: Likewise.
510         * manual/filesys.texi: Likewise.
511         * manual/locale.texi: Likewise.
512         * manual/message.texi: Likewise.
513         * manual/nss.texi: Likewise.
514         * manual/string.texi: Likewise.
516 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
518         * manual/locale.texi: Fix typos & grammar errors.
520 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
522         * manual/charset.texi: Fix typos & grammar errors.
524 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
526         * manual/string.texi: Fix typos.
528 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
530         * manual/ctype.texi: Fix typos.
532 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
534         * manual/memory.texi: Fix various typos & grammar errors.
536 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
538         [BZ #20255]
539         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
540         * math/libm-test.inc (fdim_test_data): Add another test.
542         [BZ #6796]
543         [BZ #20255]
544         [BZ #20256]
545         * math/s_fdim.c: Include <math_private.h>.
546         (__fdim): Use math_narrow_eval on result.
547         * math/s_fdimf.c: Include <math_private.h>.
548         (__fdimf): Use math_narrow_eval on result.
549         * sysdeps/i386/fpu/s_fdim.S: Remove file.
550         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
551         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
552         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
553         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
554         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
555         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
556         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
557         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
558         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
559         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
560         * math/libm-test.inc (fdim_test_data): Expect errno setting on
561         overflow.  Add sNaN tests.
563         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
564         fpclassify.
565         * math/s_fdimf.c (__fdimf): Likewise.
566         * math/s_fdiml.c (__fdiml): Likewise.
568 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
570         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
571         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
572         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
573         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
574         ifunc'ed strcasecmp/strncasecmp.
575         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
576         [EALIGN]: Removed.
577         [END]: Likewise.
578         [__strcasecmp]: Define instead of the above to control symbol name.
579         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
580         for __strcasecmp_power8.
581         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
582         for __strncasecmp_power8.
583         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
584         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
585         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
586         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
587         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
588         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
590 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
592         [BZ #20252]
593         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
594         arguments when second argument is a NaN.
595         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
596         qNaN tests.
598         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
599         (conj_test_data): Likewise.
600         (copysign_test_data): Likewise.
601         (creal_test_data): Likewise.
602         (fma_test_data): Likewise.
603         (fmod_test_data): Likewise.
605         [BZ #20250]
606         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
607         itself.
608         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
609         zero input to itself.
610         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
611         Likewise.
612         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
613         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
614         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
615         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
616         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
618 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
620         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
621         * nptl/tst-cancel4-common.c: New file.
622         * nptl/tst-cancel4-common.h: Likewise.
623         * nptl/tst-cancel4.c: Move common definitions to
624         tst-cancel4-common.{c,h} file.
625         * nptl/tst-cancel4_1.c: New test.
626         * nptl/tst-cancel4_2.c: New test.
628 2016-06-13  Florian Weimer  <fweimer@redhat.com>
630         [BZ #20248]
631         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
632         (write_message): New function.
633         (stackoverflow_handler): Call it instead of printf, to avoid
634         excessive stack usage by printf.
635         (do_test): Restore SIGSEGV, SIGBUS default handlers.
637 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
639         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
640         (prio_inherit_missing): Remove define.
641         * sysdeps/unix/sysv/linux/arm/kernel-features.h
642         (__ASSUME_FUTEX_LOCK_PI): Likewise.
643         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
644         Likewise.
645         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
646         (__ASSUME_FUTEX_LOCK_PI): Likewise.
647         * sysdeps/unix/sysv/linux/mips/kernel-features.h
648         (__ASSUME_FUTEX_LOCK_PI): Likewise.
649         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
650         (__ASSUME_FUTEX_LOCK_PI): Likewise.
652 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
654         [BZ #19670]
655         [BZ #19672]
657         * io/test-lfs.c (do_prepare): Use xmalloc.
658         * io/tst-fcntl.c (do_prepare): Likewise.
659         * libio/tst-fopenloc.c (do_bz17916): Likewise.
660         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
661         * login/tst-utmp.c (do_prepare): Likewise.
662         * posix/tst-exec.c (do_prepare): Likewise.
663         * posix/tst-pathconf.c (prepare): Likewise.
664         * posix/tst-spawn.c (do_prepare): Likewise.
665         * posix/tst-truncate.c (do_prepare): Likewise.
666         * rt/tst-aio.c (do_prepare): Likewise.
667         * rt/tst-aio64.c (do_prepare): Likewise.
669 2016-06-11  Florian Weimer  <fweimer@redhat.com>
671         [BZ #20237]
672         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
673         (get*ent): Set entidx to NULL during initialization.  If entidx is
674         NULL, start iteration from the beginning.
676 2016-06-11  Florian Weimer  <fweimer@redhat.com>
678         * malloc/malloc.c (musable): Return correct size for dumped fake
679         mmapped chunk.
681 2016-06-11  Florian Weimer  <fweimer@redhat.com>
683         [BZ #20222]
684         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
685         (_IO_cookie_write): Likewise.
686         (_IO_cookie_seek): Likewise.
687         (_IO_cookie_close): Likewise.
688         (_IO_old_cookie_seek): Likewise.
689         (set_callbacks): New function.
690         (_IO_cookie_init): Call set_callbacks to copy callbacks.
692 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
694         * locale/programs/localedef.c (oldstyle_tables): Remove.
695         * locale/programs/localedef.h (oldstyle_tables): Likewise.
697 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
699         [BZ #20240]
700         * math/Makefile (CFLAGS-s_modf.c): New variable.
701         (CFLAGS-s_modff.c): Likewise.
702         (CFLAGS-s_modfl.c): Likewise.
703         * math/libm-test.inc (modf_test_data): Add sNaN tests.
705 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
707         [BZ #20215]
708         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
709         [!__GNUC_PREREQ (3,2)]: Likewise.
711 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
713         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
714         (msghdr.msg_controllen): Likewise.
715         (cmsghdr.cmsg_len): Likewise.
716         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
717         ptw-oldsendmsg.
718         (CFLAGS-oldrecvmsg.c): Remove rule.
719         (CFLAGS-oldsendmsg.c): Likewise.
720         (CFLAGS-recvmsg.c): Add rule.
721         (CFLAGS-sendmsg.c): Likewise.
722         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
723         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
724         (CFLAGS-recvmsg.c): Remove rule.
725         (CFLAGS-sendmsg.c): Likewise.
726         (CFLAGS-oldrecvmsg.c): Likewise.
727         (CFLAGS-oldsendmsg.c): Likewise.
728         (CFLAGS-recvmmsg.c): Likewise.
729         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
730         to kernel defined interfaces.
731         (msghdr.msg_controllen): Likewise.
732         (cmsghdr.cmsg_len): Likewise.
733         (msghdr.__glibc_reserved1): Remove member.
734         (msghdr.__glibc_reserved2): Likewise.
735         (cmsghdr.__glibc_reserved1): Likewise.
736         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
737         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
738         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
739         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
740         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
741         version.
742         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
743         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
744         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
745         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
746         Remove recvmsg and sendmsg.
747         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
748         Likewise.
749         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
750         Likewise.
751         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
752         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
753         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
754         Likewise.
755         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
756         Likewise.
757         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
758         [libc] (GLIBC_2.24): Likewise.
759         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
760         Likewise.
761         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
762         Likewise.
763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
764         [libc] (GLIBC_2.24): Likewise.
765         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
766         Likewise.
767         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
768         Likewise.
769         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
770         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
771         Likewise.
772         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
773         Likewise.
774         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
775         Likewise.
776         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
777         Likewise.
778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
779         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
780         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
781         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
782         version for {recv,send,recm,sendm}msg.
783         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
784         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
785         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
786         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
787         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
788         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
789         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
790         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
791         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
792         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
793         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
794         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
796         Likewise.
797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
798         Likewise.
799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
801         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
802         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
803         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
804         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
805         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
806         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
809         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
810         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
811         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
813 2016-06-10  Florian Weimer  <fweimer@redhat.com>
815         [BZ #19564]
816         Remove __malloc_initialize_hook from the API.
817         * malloc/malloc.h (__malloc_initialize_hook): Remove.
818         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
819         #pragma GCC poison.
820         * malloc/malloc-hooks.h: New file.
821         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
822         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
823         (old__malloc_initialize_hook): Rename from
824         __malloc_initialize_hook to evade poisoning.  Turn into compat
825         symbol.
826         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
827         __malloc_initialize_hook.
828         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
829         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
830         * manual/memory.texi (Hooks for Malloc): Remove
831         __malloc_initialize_hook.  Adjust hook example.
833 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
835         [BZ #20235]
836         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
837         itself.
838         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
839         * math/libm-test.inc (log2_test_data): Add sNaN tests.
841         [BZ #20234]
842         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
843         infinity or NaN input to itself.
845         [BZ #20233]
846         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
847         to itself.
849         [BZ #20232]
850         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
851         itself.
853 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
855         * sysdeps/x86_64/start.S (_start): Always indirect branch to
856         __libc_start_main via GOT.
858 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
860         * sysdeps/x86_64/memcopy.h: New file.
861         * sysdeps/x86_64/wordcopy.c: Likewise.
863 2016-06-09  Florian Weimer  <fweimer@redhat.com>
865         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
866         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
867         <cstdlib>.
868         (optimization_barrier): New.
869         (do_test): Use it.  Call quick_exit in the global namespace.
870         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
871         instead of <cstdlib>, <thread>.
872         (optimization_barrier): New.
873         (non_main_thread): Adjust declaration.  Call optimization_barrier.
874         Call quick_exit in the global namespace.
875         (do_test): Call optimization_barrier.  Use pthread_create,
876         pthread_join instead of std::thread.
878 2016-06-09  Andreas Schwab  <schwab@suse.de>
880         [BZ #19755]
881         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
882         new entries in auto-propagate mode.
883         * nscd/grpcache.c (cache_addgr): Likewise.
885 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
887         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
888         New functions.
889         (add_temp_file): Use them.
891 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
893         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
895 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
897         [BZ #20229]
898         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
899         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
900         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
902         [BZ #20228]
903         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
904         itself.
905         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
906         * math/libm-test.inc (log10_test_data): Add sNaN tests.
908         [BZ #20227]
909         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
910         itself.
911         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
912         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
913         * math/libm-test.inc (log_test_data): Add sNaN tests.
915         [BZ #20226]
916         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
917         itself.
918         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
919         * math/libm-test.inc (exp_test_data): Add sNaN tests.
920         (exp10_test_data): Likewise.
921         (expm1_test_data): Likewise.
923         [BZ #20225]
924         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
925         itself.
926         * math/s_ldexpf.c (__ldexpf): Likewise.
927         * math/s_ldexpl.c (__ldexpl): Likewise.
928         * math/w_scalbln.c (__w_scalbln): Likewise.
929         * math/w_scalblnf.c (__w_scalblnf): Likewise.
930         * math/w_scalblnl.c (__w_scalblnl): Likewise.
931         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
932         (scalbln_test_data): Likewise.
934         [BZ #20224]
935         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
936         argument to itself.
937         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
939 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
941         [BZ #19776]
942         * sysdeps/x86_64/memcpy.S: Make it dummy.
943         * sysdeps/x86_64/mempcpy.S: Likewise.
944         * sysdeps/x86_64/memmove.S: New file.
945         * sysdeps/x86_64/memmove_chk.S: Likewise.
946         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
947         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
948         * sysdeps/x86_64/memmove.c: Removed.
949         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
950         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
951         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
952         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
953         Likewise.
954         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
955         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
956         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
957         memcpy-sse2-unaligned, memmove-avx-unaligned,
958         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
959         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
960         (__libc_ifunc_impl_list): Replace
961         __memmove_chk_avx512_unaligned_2 with
962         __memmove_chk_avx512_unaligned.  Remove
963         __memmove_chk_avx_unaligned_2.  Replace
964         __memmove_chk_sse2_unaligned_2 with
965         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
966         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
967         with __memmove_avx512_unaligned.  Replace
968         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
969         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
970         with __memcpy_chk_avx512_unaligned.  Remove
971         __memcpy_chk_avx_unaligned_2.  Replace
972         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
973         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
974         Replace __memcpy_avx512_unaligned_2 with
975         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
976         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
977         with __mempcpy_chk_avx512_unaligned.  Remove
978         __mempcpy_chk_avx_unaligned_2.  Replace
979         __mempcpy_chk_sse2_unaligned_2 with
980         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
981         Replace __mempcpy_avx512_unaligned_2 with
982         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
983         Replace __mempcpy_sse2_unaligned_2 with
984         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
985         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
986         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
987         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
988         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
989         (ENTRY): Removed.
990         (END): Likewise.
991         (ENTRY_CHK): Likewise.
992         (libc_hidden_builtin_def): Likewise.
993         Don't include ../memcpy.S.
994         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
995         __memcpy_chk_avx512_unaligned_erms and
996         __memcpy_chk_avx512_unaligned.  Use
997         __memcpy_chk_avx_unaligned_erms and
998         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
999         Default to __memcpy_chk_sse2_unaligned.
1000         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1001         Change function suffix from unaligned_2 to unaligned.
1002         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
1003         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
1004         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
1005         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
1006         (ENTRY): Removed.
1007         (END): Likewise.
1008         (ENTRY_CHK): Likewise.
1009         (libc_hidden_builtin_def): Likewise.
1010         Don't include ../mempcpy.S.
1011         (mempcpy): New.  Add a weak alias.
1012         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
1013         __mempcpy_chk_avx512_unaligned_erms and
1014         __mempcpy_chk_avx512_unaligned.  Use
1015         __mempcpy_chk_avx_unaligned_erms and
1016         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1017         Default to __mempcpy_chk_sse2_unaligned.
1019 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1021         [BZ #19881]
1022         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
1023         into ...
1024         * sysdeps/x86_64/memset.S: This.
1025         (__bzero): Removed.
1026         (__memset_tail): Likewise.
1027         (__memset_chk): Likewise.
1028         (memset): Likewise.
1029         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
1030         defined.
1031         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
1032         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
1033         (__memset_zero_constant_len_parameter): Check SHARED instead of
1034         PIC.
1035         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1036         memset-avx2 and memset-sse2-unaligned-erms.
1037         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1038         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
1039         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
1040         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1041         (__bzero): Enabled.
1042         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
1043         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
1044         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
1045         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
1046         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1047         (memset): Removed.
1048         (__memset_chk): Likewise.
1049         (MEMSET_SYMBOL): New.
1050         (libc_hidden_builtin_def): Replace __memset_sse2 with
1051         __memset_sse2_unaligned.
1052         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
1053         __memset_chk_sse2 and __memset_chk_avx2 with
1054         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
1055         Use __memset_chk_sse2_unaligned_erms or
1056         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
1057         __memset_chk_avx512_unaligned_erms and
1058         __memset_chk_avx512_unaligned.
1060 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1062         * math/gen-auto-libm-test.c (fp_format_desc): remove
1063         suffix member.
1064         (output_generic_value): Remove usage of suffix member,
1065         and the resulting unuse of the fp_format argument.
1066         (output_for_one_input_case): Remove unused fp_format
1067         parameter.
1069         * math/auto-libm-test-out: Regenerate.
1071         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
1072         usage with TEST_COND_ibm128.
1073         (TEST_COND_flt_32): Remove.
1074         (TEST_COND_dbl_64): Remove.
1075         (TEST_COND_ldbl_96_intel): Remove.
1076         (TEST_COND_ldbl_96_m68k): Remove.
1077         (TEST_COND_ldbl_128): Remove.
1079 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1081         * auto-libm-test-in:
1082         Replace flt-32 usage with binary32.
1083         Replace dbl-64 usage with binary64.
1084         Replace ldbl-intel-96 usage with intel96.
1085         Replace ldbl-m68k-96 usage with m68k96.
1086         Replace ldbl-128ibm usage with ibm128.
1087         Replace ldbl-128 usage with binary128.
1089         * auto-libm-test-out: Regenerate.
1091 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1093         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
1094         (parse_ulps): Dynamically generate type name matching
1095         string from all_floats.
1096         (get_ulps): Generate the ulps as an array instead.
1097         (output_ulps): Dynamically compose the type based
1098         on the number of supported formats, and print
1099         the indices as type specific helper macros.
1101         * math/libm-test.inc: Remove comment about CHOOSE.
1102         (ulp_data): Generate the type in libm-test-ulps.h.
1103         (ULP_IDX): New macro.
1104         (find_ulps): Update usage of max_ulp.
1106         * math/test-double-vlen2.h (CHOOSE): Remove.
1107         * math/test-double-vlen4.h (CHOOSE): Likewise.
1108         * math/test-double-vlen8.h (CHOOSE): Likewise.
1109         * math/test-float.c (CHOOSE): Likewise.
1110         * math/test-float-finite.c (CHOOSE): Likewise.
1111         * math/test-double.c (CHOOSE): Likewise.
1112         * math/test-double-finite.c (CHOOSE): Likewise.
1113         * math/test-idouble.c (CHOOSE): Likewise.
1114         * math/test-ifloat.c (CHOOSE): Likewise.
1115         * math/test-ildoubl.c (CHOOSE): Likewise.
1116         * math/test-ldouble-finite.c (CHOOSE): Likewise.
1117         * math/test-ldouble.c (CHOOSE): Likewise.
1119         * math/test-float.h (TEST_FLOAT): Remove.
1120         * math/test-double.h (TEST_DOUBLE): Likewise.
1121         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
1123 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1125         * math/gen-libm-test.pl: (apply_lit): New subroutine.
1126         (parse_args): Strip C suffix from floating point literals
1127         typed with 'f' and wrap them with LIT().
1129         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
1130         (test_ff_f_data_nexttoward): Rename to
1131         (test_fj_f_data): New struct.
1132         (nexttoward_test_data): Relabel tests as
1133         TEST_fj_f instead of TEST_ff_f.
1135 2016-06-08  Florian Weimer  <fweimer@redhat.com>
1137         Emacs bug 23726.
1138         * malloc/malloc.c (dumped_main_arena_start): Update comment.
1139         (__libc_realloc): Correct size computation for dumped fake mmapped
1140         chunks.
1142 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
1144         [BZ #20219]
1145         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
1146         to itself.
1147         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
1149         [BZ #20218]
1150         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
1151         to itself.
1152         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
1154 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1156         [BZ #20195]
1157         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
1158         check to ...
1159         (init_cpu_features): Here.
1161 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
1163         [BZ #20214]
1164         * sysdeps/unix/sysv/linux/bits/in.h
1165         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1166          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
1167         Define to 1.
1168         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1169          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
1170         Define to 0.
1171         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
1172         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
1174 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
1176         [BZ #20198]
1177         * stdlib/Makefile (tests): Add tst-quick_exit, and
1178         tst-thread-quick_exit.
1179         [ifeq ($(have-cxx-thread_local),yes)]
1180         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
1181         (CFLAGS-tst-thread-quick_exit.o): Likewise.
1182         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
1183         (LDLIBS-tst-thread-quick_exit): Likewise.
1184         [ifneq ($(have-cxx-thread_local),yes)]
1185         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
1186         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
1187         If run_dtors is true call __call_tls_dtors.
1188         (exit): Call __run_exit_handlers with run_dtors set to true.
1189         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
1190         definition.
1191         * stdlib/quick_exit.c (quick_exit): Remove function.
1192         (__new_quick_exit): New function.
1193         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
1194         function.
1195         * stdlib/tst-quick_exit.cc: New file.
1196         * stdlib/tst-thread-quick_exit.cc: New file.
1197         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
1198         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
1199         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
1200         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
1201         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
1202         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
1203         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
1204         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
1205         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
1206         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
1207         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
1208         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
1209         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
1210         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
1211         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
1212         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
1214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
1215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
1216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
1217         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
1218         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
1219         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
1220         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
1221         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
1222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
1223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
1224         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
1225         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
1226         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
1228 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1230         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
1231         a typo in comments.
1233 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1235         [BZ #20213]
1236         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
1237         argument to itself.
1238         * math/libm-test.inc (asin_test_data): Add sNaN tests.
1240 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1242         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
1243         required flags.
1244         (CFLAGS-pwritev64.c): Likewise.
1245         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
1246         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1247         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
1248         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1249         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
1250         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
1251         syscall from auto-generation.
1252         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
1253         [WORDSIZE == 64] (pwritev64): Remove macro.
1254         [!PWRITEV] (PWRITEV): Likewise.
1255         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1256         [!PWRITEV] (PWRITE): Likewise.
1257         [!PWRITEV] (OFF_T): Likewise.
1258         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1259         (LO_HI_LONG): Remove macro.
1260         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
1261         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
1262         (PWRITEV): Remove macro.
1263         (PWRITEV_REPLACEMENTE): Likewise.
1264         (PWRITE): Likewise.
1265         (OFF_T): Likewise.
1266         (pwritev64): New function.
1267         * nptl/tst-cancel4.c (tf_writev): Add test.
1269         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
1270         required flags.
1271         (CFLAGS-preadv64.c): Likewise.
1272         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
1273         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1274         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
1275         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
1276         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
1277         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
1278         syscall from auto-generation.
1279         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
1280         [WORDSIZE == 64] (preadv64): Remove macro.
1281         [!PREADV] (PREADV): Likewise.
1282         [!PREADV] (PREADV_REPLACEMENT): Likewise.
1283         [!PREADV] (PREAD): Likewise.
1284         [!PREADV] (OFF_T): Likewise.
1285         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
1286         (LO_HI_LONG): Remove macro.
1287         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
1288         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
1289         (PREADV): Remove macro.
1290         (PREADV_REPLACEMENTE): Likewise.
1291         (PREAD): Likewise.
1292         (OFF_T): Likewise.
1293         (preadv64): New function.
1294         * nptl/tst-cancel4.c (tf_preadv): Add test.
1296 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1298         [BZ #20212]
1299         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
1300         argument to itself.
1301         * math/libm-test.inc (acos_test_data): Add sNaN tests.
1303 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1305         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
1306         New symbol defined as libc_hidden_def.
1307         (strcasestr): Became a weak alias to __strcasestr.
1308         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
1309         according to multi-arch support.  Move __stpncpy hidden
1310         definition from here to...
1311         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
1312         symbol stpncpy.
1313         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
1314         libc_hidden_builtin_def.
1315         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
1316         memset symbol to use when multi-arch support is available.
1318 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1320         * dlfcn/tst-rec-dlopen.c: Include string.h.
1322 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1324         * manual/install.texi: Remove mention of --without-tls
1325         * INSTALL: Regenerate.
1327 2016-06-05  Florian Weimer  <fweimer@redhat.com>
1329         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
1330         Remove.
1331         (call_function, interposed_malloc_called): New variables.
1332         (malloc): New function.
1333         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
1334         and clear call_function as needed.
1336 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
1338         * include/wchar.h (__wmemset): Use __typeof.
1340 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
1342         * include/wchar.h (__wmemset): Declare function without typeof.
1344 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
1346         [BZ #20205]
1347         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
1348         exponent when incrementing negative subnormal with low mantissa
1349         word zero.
1350         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1351         Add another test.
1353 2016-06-03  Florian Weimer  <fweimer@redhat.com>
1355         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
1356         __wmemset instead of wmemset.
1358 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
1360         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
1361         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
1362         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
1363         __USE_KERNEL_IPV6_DEFS to 0.
1364         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
1365         Update comment.
1367 2016-06-01  Florian Weimer  <fweimer@redhat.com>
1369         [BZ #19861]
1370         Do not use IFUNC resolver with potentially unrelocated symbol.
1371         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
1372         (DEFINE_FORK): Remove macro and inline definition.
1373         (fork_alias): Renamed from fork_ifunc.
1374         (__fork_alias): Renamed from __fork_ifunc.
1376 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
1378         [BZ 19653]
1379         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
1380         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
1382 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1384         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
1385         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
1386         i386-linux-gnu).
1387         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
1388         Set to no.
1389         * sysdeps/mach/hurd/configure: Refresh.
1391 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1393         [BZ #20178]
1394         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
1395         on failure instead of exit.
1397 2016-05-30  Roland McGrath  <roland@hack.frob.com>
1399         [BZ #3629]
1400         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
1401         of POSIX.1-2008.
1403 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1405         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
1406           Use PLT entry for calling _hurd_self_sigstate.
1408 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1410         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
1411         available logical processors with SMT level type sharing L2
1412         cache for Intel processors.
1414 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1416         [BZ #20160]
1417         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
1418         argument to itself before returning the result.
1419         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1420         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1421         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1422         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1423         Likewise.
1424         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1425         Likewise.
1426         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
1427         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
1428         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1429         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1430         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1431         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1433         [BZ #20160]
1434         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
1435         argument to itself before returning the result.
1436         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1437         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1438         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1439         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
1440         Likewise.
1441         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1442         Likewise.
1443         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
1444         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
1445         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
1446         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1447         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1448         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1450 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1452         * libm-test.inc: Replace usage of M_El with
1453         (lit_e): New macro.
1455 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1457         * libm-test.inc: Replace usage of M_PI_4l with
1458         (lit_pi_4_d): New macro.
1460 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1462         * libm-test.inc: Replace usage of M_PIl with
1463         (lit_pi): New macro.
1465 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1467         * libm-test.inc: Replace usage of M_PI2l with
1468         (lit_pi_2_d): New macro.
1470         * math/test-double.h (LITM): New macro.
1471         * math/test-float.h (LITM): Likewise.
1472         * math/test-ldouble.h (LITM): Likewise.
1474 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1476         * libm-test.inc (M_PI_34l): Rename to
1477         (lit_pi_3_m_4_d): New Macro.
1478         (M_PI_34_LOG10El): Rename to
1479         (lit_pi_3_m_4_ln10_m_d): New Macro.
1480         (M_PI2_LOG10El): Rename to
1481         (lit_pi_2_ln10_m_d):  New Macro.
1482         (M_PI4_LOG10El): Rename to
1483         (lit_pi_4_ln10_m_d):  New Macro.
1484         (M_PI_LOG10El): Rename to
1485         (lit_pi_ln10_d):  New Macro.
1487 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1489         [BZ #20157]
1490         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
1491         determine whether to negate low half if [_ARCH_PPCGR], and integer
1492         comparison otherwise.
1493         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
1494         determine whether to negate low half.
1496         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
1497         (NO_TEST_INLINE_DOUBLE): Likewise.
1498         (TEST_COND_x86_64): Likewise.
1499         (TEST_COND_x86): Likewise.
1500         (M_PI_6l): Likewise.
1502 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1504         * math/libm-test.inc:
1505         (TEST_FLOAT): Change usage to TEST_COND_binary32.
1506         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
1507         (TEST_LDOUBLE): Update usage to evaluate as true if
1508         the guarded tests match the property being tested.
1509         (LDBL_MAX_EXP): Change to MAX_EXP.
1510         (LDBL_MIN_EXP): Change to MIN_EXP.
1511         (LDBL_MANT_DIG): Change to MANT_DIG, except for
1512         nexttoward tests.
1514 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1516         * math/libm-test.inc:
1517         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
1518         (TYPE_MIN): Likewise.
1519         (TYPE_TRUE_MIN): Likewise.
1520         (TYPE_MAX): Likewise.
1521         (MIN_EXP): Likewise.
1522         (MAX_EXP): Likewise.
1523         (MANT_DIG): Likewise.
1525         (FSTR_MAX): New macro.
1526         (__CONCATX): Likewise.
1527         (QTYPE_STR): Likewise.
1528         (TEST_COND_binary32): Likewise.
1529         (TEST_COND_binary64): Likewise.
1530         (TEST_COND_binary128): Likewise.
1531         (TEST_COND_ibm128): Likewise.
1532         (TEST_COND_intel96): Likewise.
1533         (TEST_COND_m68k96): Likewise.
1535         (TEST_COND_flt_32): Redefine as equivalent format test macro.
1536         (TEST_COND_dbl_64): Likewise.
1537         (TEST_COND_ldbl_96_intel): Likewise.
1538         (TEST_COND_ldbl_96_m68k): Likewise.
1539         (TEST_COND_ldbl_128): Likewise.
1540         (TEST_COND_ldbl_128ibm): Likewise.
1542         (plus_zero): Redefine using LIT macro.
1543         (minus_zero): Likewise.
1544         (plus_infty): Redefine as (INF).
1545         (minux_infty): Redefine as (-INF).
1546         (max_value): Redefine as TYPE_MAX.
1547         (min_value): Redefine as TYPE_MIN.
1548         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
1550         (print_float): Refactor to use snprintf to convert FLOAT values
1551         to string. This brings it closer to dropin replacement of strtof
1552         for the TS 18661 defined types.
1553         (update_stats): Likewise.
1554         (print_complex_function_ulps): Likewise.
1555         (print_max_error): Likewise.
1556         (print_complex_max_error): Likewise.
1557         (check_float_internal): Likewise.
1559         * math/test-float.h (PREFIX): New macro.
1560         (LIT): Likewise.
1561         (TYPE_STR): Likewise.
1562         (FTOSTR): Likewise.
1564         * math/test-double.h (PREFIX): New macro.
1565         (LIT): Likewise.
1566         (TYPE_STR): Likewise.
1567         (FTOSTR): Likewise.
1569         * math/test-ldouble.h (PREFIX): New macro.
1570         (LIT): Likewise.
1571         (TYPE_STR): Likewise.
1572         (FTOSTR): Likewise.
1574 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1576         [BZ #20156]
1577         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
1578         to itself when zero or not finite.
1579         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
1580         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1581         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
1582         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
1584 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
1586         [BZ #20153]
1587         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
1588         x * x + x for infinities and NaNs.
1590         [BZ #20151]
1591         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
1592         argument to itself before returning result.
1593         (__ieee754_y0l): Likewise.
1594         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1595         (__ieee754_y1l).
1597         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
1598         (atan_test_data): Likewise.
1599         (ceil_test_data): Likewise.
1600         (cos_test_data): Likewise.
1601         (cosh_test_data): Likewise.
1602         (erf_test_data): Likewise.
1603         (exp2_test_data): Likewise.
1604         (fabs_test_data): Likewise.
1605         (floor_test_data): Likewise.
1606         (ilogb_test_data): Likewise.
1607         (j0_test_data): Likewise.
1608         (j1_test_data): Likewise.
1609         (jn_test_data): Likewise.
1610         (lgamma_test_data): Likewise.
1611         (lrint_test_data): Likewise.
1612         (llrint_test_data): Likewise.
1613         (logb_test_data): Likewise.
1614         (lround_test_data): Likewise.
1615         (llround_test_data): Likewise.
1616         (nearbyint_test_data): Likewise.
1617         (rint_test_data): Likewise.
1618         (round_test_data): Likewise.
1619         (sin_test_data): Likewise.
1620         (sincos_test_data): Likewise.
1621         (sinh_test_data): Likewise.
1622         (sqrt_test_data): Likewise.
1623         (tan_test_data): Likewise.
1624         (tanh_test_data): Likewise.
1625         (tgamma_test_data): Likewise.
1626         (trunc_test_data): Likewise.
1627         (y0_test_data): Likewise.
1628         (y1_test_data): Likewise.
1629         (yn_test_data): Likewise.
1631         * math/libm-test.inc: Update comment about NaN testing.
1632         (TEST_SNAN): New macro.
1633         (snan_value): Likewise.
1634         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
1635         (fpclassify_test_data): Add sNaN tests.
1636         (isfinite_test_data): Likewise.
1637         (isinf_test_data): Likewise.
1638         (isnan_test_data): Likewise.
1639         (isnormal_test_data): Likewise.
1640         (issignaling_test_data): Likewise.
1641         (signbit_test_data): Likewise.
1642         * math/gen-libm-test.pl (%beautify): Add snan_value.
1643         (show_exceptions): Add argument $test_snan.
1644         (parse_args): Handle snan_value as non-finite.  Update call to
1645         show_exceptions.
1646         * math/Makefile (libm-test-no-inline-cflags): Add
1647         -fsignaling-nans.
1649 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1651         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
1652         (CFLAGS-oldsendmsg.c): Add rule.
1653         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1654         Correct recvmsg symbol name.
1655         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
1656         Likewise.
1658 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1660         * sysdeps/unix/sysv/linux/Makefile
1661         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
1662         oldsendmmsg.
1663         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
1664         sendmmsg.
1665         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1666         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1667         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1668         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1670         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1671         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1673         Likewise.
1674         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1675         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
1676         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1677         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
1678         iovlen and controllen fields to adjust to POSIX specification.
1679         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1681         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
1682         and change to correct expected type.
1683         (msghdr.msg_controllen): Likewise.
1684         (cmsghdr.cmsg_len): Likewise.
1685         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
1686         expected POSIX assumption about the size.
1687         (msghdr.msg_controllen): Likewise.
1688         (msghdr.__glibc_reserved1): Likewise.
1689         (msghdr.__glibc_reserved2): Likewise.
1690         (cmsghdr.cmsg_len): Likewise.
1691         (cmsghdr.__glibc_reserved1): Likewise.
1692         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
1693         Add ptw-oldrecvmsg and ptw-oldsendmsg.
1694         (CFLAGS-sendmsg.c): Remove rule.
1695         (CFLAGS-recvmsg.c): Likewise.
1696         (CFLAGS-oldsendmsg.c): Add rule.
1697         (CFLAGS-oldrecvmsg.c): Likewise.
1698         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
1699         recvmsg and sendmsg.
1700         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
1701         Likewise.
1702         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
1703         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
1704         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1705         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
1706         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1707         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1708         Likewise.
1709         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1710         Likewise.
1711         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
1712         Likewise.
1713         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
1714         Likewise.
1715         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1716         Likewise.
1717         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1718         Likewise.
1719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
1720         (GLIBC_2.24): Likewise.
1721         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1722         Likewise.
1723         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1724         Likewise.
1725         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1726         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1727         Likewise.
1728         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1729         Likewise.
1730         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1731         Likewise.
1732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
1733         (GLIBC_2.24): Likewise.
1734         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
1735         Likewise.
1736         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
1737         Likewise.
1738         * sysdeps/unix/sysv/linux/Makefile
1739         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
1740         (CFLAGS-sendmsg.c): Add rule.
1741         (CFLAGS-recvmsg.c): Likewise.
1742         (CFLAGS-oldsendmsg.c): Likewise.
1743         (CFLAGS-oldrecvmsg.c): Likewise.
1744         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
1745         initialization.
1746         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1747         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1748         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
1749         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1750         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
1751         iovlen and controllen fields to adjust to POSIX specification.
1752         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
1753         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
1754         added recvmsg and sendmsg.
1755         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1756         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1757         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1758         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1759         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1760         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1761         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1762         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1763         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1764         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1765         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1766         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1768         Likewise.
1769         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1771         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1772         Likewise.
1773         Likewise.
1774         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1775         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1776         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1777         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1778         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1779         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1781         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1783         Likewise.
1784         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1785         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1787         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
1788         from auto-generation.
1789         (sendmsg): Likewise.
1790         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
1791         (sendmsg): Likewise.
1792         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
1793         (sendmsg): Likewise.
1794         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
1795         (sendmsg): Likewise.
1796         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
1797         (sendmsg): Likewise.
1798         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
1799         (sendmsg): Likewise.
1800         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
1801         Likewise.
1802         (sendmsg): Likewise.
1803         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
1804         (sendmsg): Likewise.
1805         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1806         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1807         Remove.
1808         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1809         Likewise.
1810         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1811         Undefine.
1812         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1813         Likewise.
1814         * sysdeps/unix/sysv/linux/kernel-features.h
1815         (__ASSUME_SENDMSG_SYSCALL): Define.
1816         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1817         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1818         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1819         Remove.
1820         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1821         Likewise.
1822         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1823         Undefine.
1824         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1825         Likewise.
1826         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1827         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1828         Remove.
1829         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1830         Likewise.
1831         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1832         Undefine.
1833         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1834         Likewise.
1835         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1836         (__ASSUME_SENDMSG_SYSCALL): Undefine.
1837         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1838         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1839         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1840         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1841         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1842         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1843         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1845 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1847         * stdlib/gen-tst-strtod-round.c: Add backslash to
1848         compile command in comment.
1849         (printfp): Remove the literal suffix, and define an infinite
1850         value as INF to avoid expansion clash with INFINITY.
1851         (round_str): Remove the literal suffix.
1852         (round_for_all): Likewise, remove the now duplicate ldbl-64
1853         entry, and remove some magic constants.
1855         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
1856         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
1857         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
1858         (_CONCAT): New macro.
1859         (CONCAT): Likewise.
1860         (CHOOSE_ld): Likewise.
1861         (CHOOSE_f): Likewise.
1862         (CHOOSE_d): Likewise.
1863         (FTYPE_MEMBER): Likewise.
1864         (BOOL_MEMBER): Likewise.
1865         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
1866         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
1867         (_XNTRY): Likewise.
1868         (XNTRY): Likewise.
1869         (_ENTRY): Likewise.
1870         (ENTRY): Likewise.
1871         (test_exactness): Generate members via macro.
1872         (test_results): Likewise.
1873         (test): Update members.
1874         (TEST): Redefine using new macros.
1875         (INF): New macro.
1876         (fetestmodes): New structure.
1877         (do_test): Refactor to be type generic.
1878         (test_in_one_mode): Refactor duplicate code into
1879         (GEN_ONE_TEST): New macro.
1881         * stdlib/tst-strtod-round-data.h: Regenerate.
1883         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
1884         Extend to pass additional arbitrary parameters to
1885         generators.
1887 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
1889         [BZ #15479]
1890         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
1891         floating-point state after first floating-point operation on
1892         input.  Restore full floating-point state instead of just rounding
1893         mode.
1894         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1895         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1896         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1897         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1898         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1900         [BZ #15479]
1901         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
1902         floating-point state after first floating-point operation on
1903         input.  Restore full floating-point state instead of just rounding
1904         mode.
1905         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1906         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1907         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1908         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1909         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1911 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1913         [BZ #19727]
1914         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
1915         valid high surrogate.
1916         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
1917         of an utf16 surrogate.
1918         * iconv/gconv_simple.c (BODY): Likewise.
1919         * iconvdata/bug-iconv12.c: New file.
1920         * iconvdata/Makefile (tests): Add bug-iconv12.
1922 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1924         [BZ #19726]
1925         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
1926         outptrp in case of an illegal input.
1927         * iconv/tst-iconv6.c: New file.
1928         * iconv/Makefile (tests): Add tst-iconv6.
1930 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1932         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
1933         an error in case of a value in range of an utf16 low surrogate.
1935 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1937         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
1938         an error in case of a value in range of an utf16 low surrogate.
1940 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1942         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
1943         Move to ...
1944         * sysdeps/s390/Makefile: ... here.
1945         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
1946         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
1947         (BRANCH_ON_COUNT): New define.
1948         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
1949         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
1950         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
1951         run on s390-32, too.
1952         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
1953         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
1954         run on s390-32, too.
1955         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
1956         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
1957         run on s390-32, too.
1959 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1961         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
1962         etf3eh or new vector loop-variant.
1964 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1966         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
1967         etf3eh or new vector loop-variant.
1969 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1971         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
1972         or new vector loop-variant.
1974 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1976         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
1977         Rename to TR_LOOP and usage of tr instead of troo instruction.
1979 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1981         * sysdeps/s390/multiarch/gconv_simple.c: New File.
1982         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
1984 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1986         * sysdeps/s390/multiarch/8bit-generic.c: New File.
1987         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
1988         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
1989         New override define.
1990         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
1992 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1994         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
1995         * sysdeps/s390/configure.ac: Add test for S390 vector register
1996         support in gcc.
1997         * sysdeps/s390/configure: Regenerated.
1999 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2001         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
2002         Install file from $(objpfx)gconv-modules.
2003         ($(objpfx)gconv-modules): Concatenate architecture specific file
2004         in variable sysdeps-gconv-modules and gconv-modules in src dir.
2005         * sysdeps/s390/gconv-modules: New file.
2006         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
2007         Deleted.
2008         ($(objpfx)gconv-modules-s390): Deleted.
2009         (sysdeps-gconv-modules): New variable.
2011 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2013         [BZ #15479]
2014         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
2015         of immediate operand to rounding instruction.
2016         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
2017         Likewise.
2018         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
2019         Likewise.
2020         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
2021         Likewise.
2023 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2025         * math/libm-test.inc (MIN_EXP): Directly define as
2026         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
2028 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2030         * math/libm-test.inc (MANT_DIG): Directly define as
2031         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
2033 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2035         * stdlib/gen-tst-strtod-round.c (main):
2036           Change usage to more closely match the generated
2037           output.  Add usage and compilation instructions.
2038           (string_to_fp): Add and use FILE* parameter as
2039           output target.
2040           (print_fp): Likewise.
2041           (round_str): Likewise.
2042           (round_for_all): Likewise.
2043         * stdlib/tst-strtod-round.c (tests): Move into
2044         * stdlib/tst-strtod-round-data.h: New file.
2046 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2048         [BZ #15479]
2049         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
2050         (__round): Do not force "inexact" exception.
2051         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
2052         variable.
2053         (__round): Do not force "inexact" exception.
2054         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
2055         (__roundf): Do not force "inexact" exception.
2056         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
2057         (__roundl): Do not force "inexact" exception.
2058         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
2059         (__roundl): Do not force "inexact" exception.
2060         * math/libm-test.inc (round_test_data): Do not allow spurious
2061         "inexact" exceptions.
2063         [BZ #15479]
2064         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
2065         exception in comment.
2066         (huge): Remove variable.
2067         (__floor): Do not force "inexact" exception.
2068         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
2069         "inexact" exception in comment.
2070         (huge): Remove variable.
2071         (__floor): Do not force "inexact" exception.
2072         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
2073         exception in comment.
2074         (huge): Remove variable.
2075         (__floorf): Do not force "inexact" exception.
2076         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
2077         exception in comment.
2078         (huge): Remove variable.
2079         (__floorl): Do not force "inexact" exception.
2081         [BZ #15479]
2082         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
2083         exception in comment.
2084         (huge): Remove variable.
2085         (__ceil): Do not force "inexact" exception.
2086         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
2087         "inexact" exception in comment.
2088         (huge): Remove variable.
2089         (__ceil): Do not force "inexact" exception.
2090         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
2091         (__ceilf): Do not force "inexact" exception.
2092         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
2093         exception in comment.
2094         (huge): Remove variable.
2095         (__ceill): Do not force "inexact" exception.
2097 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2099         * config.h.in (BIND_NOW): New.
2100         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
2101         * configure: Regenerated.
2102         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
2103         indirect branch via the GOT slot.
2105 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2107         [BZ #19765]
2108         * sysdeps/s390/mempcpy.S: New File.
2109         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2110         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
2111         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2112         Add mempcpy variants.
2113         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
2114         (memcpy): Adjust to be usable from mempcpy entry point.
2115         (__memcpy_mvcle): Likewise.
2116         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2117         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
2118         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
2119         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
2120         (__memcpy_z10): Likewise.
2121         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2123 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2125         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
2126         Remove __GI_ symbol.
2127         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
2128         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
2129         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
2130         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2131         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
2132         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
2134 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2136         * sysdeps/s390/s390-64/memcpy.S (memcpy):
2137         Use cghi instead of chi to compare 64bit value.
2139 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2141         * sysdeps/s390/s390-32/memcpy.S (memcpy):
2142         Jump to 1MB check before executing mvc-loop.
2144 2016-05-24  Florian Weimer  <fweimer@redhat.com>
2146         [BZ #6527]
2147         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
2148         unconditionally.
2149         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
2151 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2153         * stdlib/tst-strtod6.c (do_test): Use new type generic
2154         invocation of the test function.
2155         (test): Refactor into ...
2156         (TEST_STRTOD): New macro base function.
2158 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2160         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
2161         (TEST_STRTOD): New macro.
2162         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
2164 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2166         * stdlib/tst-strtod6.c (do_test): Use new type generic
2167         invocation of the test function.
2168         (test): Refactor into ...
2169         (TEST_STRTOD): New macro base function.
2171 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2173         CVE-2016-4429
2174         [BZ #20112]
2175         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
2176         payload.
2178 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2180         [BZ #20111]
2181         * bits/sockaddr.h (_SS_SIZE): Define.
2182         * bits/socket.h (_SS_SIZE): Remove.
2183         (_SS_PADSIZE): Adjust to account for all padding.
2184         (struct sockaddr_storage): Update comment.  Avoid implicit
2185         padding.
2186         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
2187         (_SS_PADSIZE): Adjust to account for all padding.
2188         (struct sockaddr_storage): Update comment.  Avoid implicit
2189         padding.
2190         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
2191         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
2192         (_SS_PADSIZE): Adjust to account for all padding.
2193         (struct sockaddr_storage): Update comment.  Avoid implicit
2194         padding.
2195         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
2196         __SS_SIZE is 126 in this version.
2197         * inet/tst-sockaddr.c: New file.
2198         * inet/Makefile (tests): Add tst-sockaddr.c
2199         (tst-sockaddr.c): Compile with non-strict aliasing.
2201 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
2203         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
2204         [XPG3 || XPG4].
2205         (NL_ARGMAX): Also expect for [XPG3].
2206         (NL_LANGMAX): Likewise.
2207         (NL_MSGMAX): Likewise.
2208         (NL_NMAX): Likewise.
2209         (NL_SETMAX): Likewise.
2210         (NL_TEXTMAX): Likewise.
2211         (NZERO): Likewise.
2212         (TMP_MAX): Likewise.
2213         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
2214         variable.
2216         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
2217         (PF_MAX): Update value.
2218         (AF_KCM): New macro.
2219         (SOL_NETBEUI): Likewise.
2220         (SOL_LLC): Likewise.
2221         (SOL_DCCP): Likewise.
2222         (SOL_NETLINK): Likewise.
2223         (SOL_TIPC): Likewise.
2224         (SOL_RXRPC): Likewise.
2225         (SOL_PPPOL2TP): Likewise.
2226         (SOL_BLUETOOTH): Likewise.
2227         (SOL_PNPIPE): Likewise.
2228         (SOL_RDS): Likewise.
2229         (SOL_IUCV): Likewise.
2230         (SOL_CAIF): Likewise.
2231         (SOL_ALG): Likewise.
2232         (SOL_NFC): Likewise.
2233         (SOL_KCM): Likewise.
2234         (MSG_BATCH): New enum value and macro.
2236 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2238         [BZ #18185]
2239         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
2240         sharing L2 cache to 2 for Knights Landing.
2242 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
2244         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
2245         (FTW_DP): Do not expect for [XPG3 || XPG4].
2246         (FTW_SL): Do not expect for [XPG3].
2247         (FTW_SLN): Likewise.
2248         (FTW_PHYS): Likewise.
2249         (FTW_MOUNT): Likewise.
2250         (FTW_DEPTH): Likewise.
2251         (FTW_CHDIR): Likewise.
2252         (nftw): Likewise.
2253         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
2254         variable.
2256 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2258         * manual/errno.texi: Fix various typos & grammar errors.
2260 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2262         * manual/intro.texi: Fix duplicated typo.
2264 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2266         [BZ #13304]
2267         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
2268         <float.h>, <math_private.h> and <stdlib.h>.
2269         (add_split): New function.
2270         (mul_split): Likewise.
2271         (ext_val): New typedef.
2272         (store_ext_val): New function.
2273         (mul_ext_val): New function.
2274         (compare): New function.
2275         (add_split_ext): New function.
2276         (__fmal): After checking for Inf, NaN and zero, compute result as
2277         an exact sum of scaled double values in round-to-nearest before
2278         adding those up and adjusting for other rounding modes.
2279         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
2280         tests of fma.
2281         * math/auto-libm-test-out: Regenerated.
2283 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2285         [BZ #20119]
2286         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
2287         processor level type mask for CPUID with EAX == 11.
2289 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2291         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
2292         logical threads if the HTT bit is 0.
2293         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
2294         (index_cpu_HTT): Likewise.
2295         (reg_HTT): Likewise.
2297 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2299         [BZ #20115]
2300         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
2301         Remove alignments on jump targets.
2303 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2305         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
2306         (getpwent): Likewise.
2307         (setpwent): Likewise.
2308         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
2309         variable.
2311         * conform/data/search.h-data (insque): Do not expect for [XPG3].
2312         (remque): Likewise.
2313         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
2314         variable.
2316 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2318         * math/libm-test.inc: Update comment not to refer to signs of NaNs
2319         not being tested.
2321 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2323         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2324         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
2325         call.
2326         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2327         (__condvar_cleanup1): Likewise.
2329 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2331         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
2332         New
2333         (__pthread_unwind): Renamed to ...
2334         (PTHREAD_UNWIND): This.
2335         (__pthread_enable_asynccancel): Replace
2336         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
2338 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2340         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
2341         (CLONE_NEWCGROUP): New macro.
2343         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
2344         (Q_GETNEXTQUOTA): New macro.
2346 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2348         [BZ #19907]
2349         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
2350         buffer updated by the previous run.
2351         * string/test-memcpy.c (do_one_test): Likewise.
2352         * benchtests/bench-memmove.c (do_one_test): Add a comment.
2353         * string/test-memmove.c (do_one_test): Likewise.
2355 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
2357         [BZ #20094]
2358         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
2359         not [__USE_XOPEN].
2360         (unlockpt): Likewise.
2361         (ptsname): Likewise.
2362         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
2363         variable.
2365         [BZ #20076]
2366         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
2367         instead of [__USE_UNIX98].
2368         (S_ISSOCK): Likewise.
2369         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
2370         variable.
2372         [BZ #20074]
2373         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
2374         [__USE_POSIX].
2375         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
2376         variable.
2378         [BZ #20051]
2379         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
2380         (ttyslot): Do not declare.
2381         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
2382         (ttyslot): New prototype.
2383         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
2384         variable.
2385         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2387 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2389         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
2391 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2393         Fix race condition in tst-mallocfork2, use fewer resources.
2394         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
2395         to current process group.
2396         (signal_sender): Yield in the non-sleeping case.
2398 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
2400         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
2401         (ecvt): Likewise.
2402         (fcvt): Likewise.
2403         (gcvt): Likewise.
2404         (getsubopt): Likewise.
2405         (grantpt): Likewise.
2406         (initstate): Likewise.
2407         (l64a): Likewise.
2408         (mktemp): Likewise.
2409         (mkstemp): Likewise.
2410         (ptsname): Likewise.
2411         (random): Likewise.
2412         (realpath): Likewise.
2413         (setstate): Likewise.
2414         (srandom): Likewise.
2415         (ttyslot): Likewise.
2416         (unlockpt): Likewise.
2417         (valloc): Likewise.
2419         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
2420         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
2421         variable.
2423 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2425         [BZ #20072]
2426         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
2427         init_cpu_features only if SHARED is defined.
2428         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2430 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2432         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
2433         non-inclusive caches on Intel processors.
2435 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2437         * malloc/malloc.c (dumped_main_arena_start)
2438         (dumped_main_arena_end): New variables.
2439         (DUMPED_MAIN_ARENA_CHUNK): New macro.
2440         (do_check_chunk): Skip dumped fake mmapped chunks.
2441         (munmap_chunk): Likewise.
2442         (__libc_free): Do not adjust statistics for fake mmapped chunks.
2443         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
2444         mmapped chunks.
2445         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
2446         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
2447         and dumped_main_arena_end to cover the dumped heap.
2449 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
2451         * conform/data/time.h-data (getdate_err): Do not expect for
2452         [XPG3].
2453         (getdate): Likewise.
2454         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
2455         variable.
2457         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
2458         (F_ULOCK): Likewise.
2459         (F_TEST): Likewise.
2460         (F_TLOCK): Likewise.
2461         (useconds_t): Likewise.
2462         (intptr_t): Do not expect for [XPG3] or [XPG4].
2463         (brk): Do not expect for [XPG3]
2464         (fchown): Likewise.
2465         (fchdir): Likewise.
2466         (ftruncate): Likewise.
2467         (getdtablesize): Likewise.
2468         (gethostid): Likewise.
2469         (getpagesize): Likewise.
2470         (getpgid): Likewise.
2471         (getsid): Likewise.
2472         (getwd): Likewise.
2473         (lchown): Likewise.
2474         (lockf): Likewise.
2475         (readlink): Likewise.
2476         (sbrk): Likewise.
2477         (setpgrp): Likewise.
2478         (setregid): Likewise.
2479         (setreuid): Likewise.
2480         (symlink): Likewise.
2481         (sync): Likewise.
2482         (truncate): Likewise.
2483         (ualarm): Likewise.
2484         (usleep): Likewise.
2485         (vfork): Likewise.
2486         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
2487         variable.
2489         [BZ #20054]
2490         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
2491         not [__USE_UNIX98].
2492         * conform/data/unistd.h-data (gethostname): Do not expect for
2493         [XPG3].
2495         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
2496         [!POSIX] (S_IFBLK): Likewise.
2497         [!POSIX] (S_IFCHR): Likewise.
2498         [!POSIX] (S_IFIFO): Likewise.
2499         [!POSIX] (S_IFREG): Likewise.
2500         [!POSIX] (S_IFDIR): Likewise.
2501         [!POSIX] (S_IFLNK): Likewise.
2502         [!POSIX] (S_IFSOCK): Likewise.
2503         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
2504         variable.
2505         (test-xfail-XPG4/fcntl.h/conform): Likewise.
2507 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
2509         * sysdeps/aarch64/memset.S (__memset):
2510         Rewrite of optimized memset.
2512 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2514         [BZ #19703]
2515         Partially async-signal-safe fork for single-threaded processes.
2516         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
2517         variable.  Do not acquire and reset/release malloc and libio locks
2518         in single-threaded processes.
2519         * malloc/tst-mallocfork2.c: New file.
2520         * malloc/Makefile (tests): Add it.
2522 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2524         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
2525         argument.  Use scratch buffer instead of extend_alloca.
2526         (gethosts): Use scratch buffer instead of extend_alloca.
2527         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
2528         extend_alloca.
2529         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
2531 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
2533         [BZ #20055]
2534         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
2535         instead of [__USE_UNIX98].
2536         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
2537         [__USE_UNIX98].
2538         * conform/data/termios.h-data (tcgetsid): Do not expect for
2539         [XPG3].
2540         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
2541         variable.
2542         (test-xfail-XPG4/termios.h/conform): Likewise.
2544 2016-05-11  Florian Weimer  <fweimer@redhat.com>
2546         Do not use mcheck in localedef.
2547         * locale/programs/localedef.c (turn_on_mcheck)
2548         (__malloc_initialize_hook): Remove.
2550 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2552         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
2553         * sysdeps/s390/s390-64/Makefile: Likewise.
2555 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
2557         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
2558         Remove ifunc-defines.sym.
2559         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
2560         Likewise.
2561         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
2562         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2563         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
2564         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
2565         rtld-global-offsets.sym.
2566         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
2567         * sysdeps/x86/cpu-features-offsets.sym: This.
2568         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
2569         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
2571 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
2573         [BZ #20073]
2574         * io/sys/stat.h (fchmod): Declare for
2575         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
2576         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
2577         variable.
2579         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
2580         [XPG3] (S_IFSOCK): Likewise.
2581         [XPG3] (S_ISVTX): Likewise.
2582         [XPG3] (S_ISLNK): Likewise.
2583         [XPG3] (S_ISSOCK): Likewise.
2584         [XPG3] (fchmod): Likewise.
2585         [XPG3] (lstat): Likewise.
2586         [XPG3] (mknod): Likewise.
2588         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
2589         [XPG3].  Expect type long and XFAIL for [XPG4].
2590         (st_blocks): Likewise.
2592         [BZ #20044]
2593         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
2594         (pthread_atfork): New prototype.
2595         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
2596         variable.
2598         [BZ #20043]
2599         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
2600         prototype.
2602 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2604         [BZ #20017]
2605         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
2606         gmtime.
2608 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2610         [BZ #19994]
2611         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
2612         flag in _res.options.
2614 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
2616         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
2617         [XPG3 || XPG4].
2618         (blksize_t): Likewise.
2619         (clockid_t): Likewise.
2620         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
2621         variable.
2622         (test-xfail-XPG4/sys/types.h/conform): Likewise.
2624 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2626         * sysdeps/unix/sysv/linux/s390/init-first.c:
2627         Add VDSO_SYMBOL(getcpu).
2628         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
2629         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
2630         Add VDSO_SYMBOL(getcpu).
2631         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
2632         New define HAVE_GETCPU_VSYSCALL.
2633         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2635 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
2637         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
2638         instead of <sysdeps/x86_64/cacheinfo.c>.
2639         * sysdeps/x86_64/cacheinfo.c: Moved to ...
2640         * sysdeps/x86/cacheinfo.c: Here.
2642 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2644         * malloc/malloc-internal.h: Adjust header file guard.
2646 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2648         [BZ #19787]
2649         * inet/getnameinfo.c (check_sprintf_result): New function.
2650         (CHECKED_SNPRINTF): New macro.
2651         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
2652         to the host buffer.
2653         (gni_host_local): Use checked_copy to copy the host name.
2654         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
2655         (gni_serv_local): Use checked_copy to copy the service name.
2656         (getnameinfo): Remove unnecessary truncation of result buffers.
2658 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2660         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
2661         in case of inet_ntop failure.
2663 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2665         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
2666         avoid long lines.
2667         (gni_host_inet_numeric): Likewise.  Reduce scope of local
2668         variables.
2669         (gni_host_inet, gni_host_local): Add comment.
2670         (gni_host): Add comment.  Use temporary to avoid long lines.
2672 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2674         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
2675         registers specifiers where general purpose registers specifiers should
2676         have been used.
2678 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2680         [BZ #19779]
2681         CVE-2016-1234
2682         Avoid copying names of directory entries.
2683         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
2684         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
2685         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
2686         (struct readdir_result): New type.
2687         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
2688         (GL_READDIR): New macros.
2689         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
2690         (convert_dirent, convert_dirent64): New functions.
2691         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
2692         convert_dirent64.  Adjust references to the readdir result.
2693         * sysdeps/unix/sysv/linux/i386/glob64.c:
2694         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
2695         * posix/bug-glob2.c (LONG_NAME): Define.
2696         (filesystem): Add LONG_NAME.
2697         (my_DIR): Increase the size of room_for_dirent.
2699 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
2701         [BZ #20041]
2702         * misc/sys/select.h (__need_timespec): Only define if
2703         [__USE_XOPEN2K].
2704         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
2705         variable.
2706         (test-xfail-XPG4/utmpx.h/conform): Likewise.
2707         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2708         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2710 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2711             Segher Boessenkool  <segher@gcc.gnu.org>
2713         [BZ #20004]
2714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
2715         (__novec_swapcontext): Add missing load.
2717 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
2719         [BZ #20023]
2720         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
2721         <time.h>.
2722         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
2723         variable.
2724         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2726 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
2729         flags CLONE_VM compare.
2731 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2733         [BZ #20031]
2734         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
2735         completely empty.
2737 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2739         [BZ #19573]
2740         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
2741         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
2742         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
2743         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
2744         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
2745         (hesiod_free_list): Mark as hidden.
2746         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
2747         res_set, res_get.
2748         * hesiod/hesiod.c: Remove unnecessary forward declarations.
2749         (init, __hesiod_res_get, __hesiod_res_set): Remove.
2750         (hesiod_init): Remove obsolete res_ninit call.
2751         (hesiod_end): Do not free resolver state.  Do not invoke callback.
2752         (hesiod_bind): Do not call init.
2753         (get_txt_records): Use res_mkquery, res_send instead of
2754         res_nmkquery, res_nsend.
2755         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
2756         instead of _nss_hesiod_init.
2757         (_nss_hesiod_initgroups_dyn): Likewise.
2758         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
2759         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
2760         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
2762 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2764         * hesiod/hesiod_p.h (DEF_RHS): Remove.
2765         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
2767 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2769         * hesiod/hesiod.h: Remove RCS keyword.
2770         * hesiod/hesiod_p.h: Likewise.
2772         * hesiod/hesiod.c: Likewise.
2774 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
2776         [BZ #12450]
2777         * locale/iso-639.def: Add Samogitian/sgs.
2779 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
2781         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
2783         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
2785 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
2786             Carlos O'Donell  <carlos@redhat.com>
2788         [BZ #19072]
2789         * grp/Makefile (headers): Add grp-merge.h
2790         (routines): Add grp-merge.
2791         * grp/getgrgid_r.c: Include grp-merge.h.
2792         (DEEPCOPY_FN): Define.
2793         (MERGE_FN): Define.
2794         * grp/getgrname_r.c: Include grp-merge.h.
2795         (DEEPCOPY_FN): Define.
2796         (MERGE_FN): Define.
2797         * grp/grp-merge.c: New file.
2798         * grp/grp-merge.h: New file.
2799         * include/grp-merge.h: New file.
2800         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
2801         __copy_grp@GLIBC_PRIVATE.
2802         * manual/nss.texi (Actions in the NSS configuration): Describe
2803         return, continue, and merge.
2804         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
2805         (DEEPCOPY_FN): Define.
2806         (MERGE_FN): Define.
2807         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
2808         (DEEPCOPY_FN): Define.
2809         (MERGE_FN): Define.
2810         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
2811         [!MERGE_FN]: Define __merge_einval.
2812         (CHECK_MERGE): Define.
2813         (REENTRANT_NAME): Process merge if do_merge is true.
2814         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
2815         (__nss_getent_r): Likewise.
2816         * nss/nsswitch.c (nss_parse_service_list): Likewise.
2817         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
2819 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2821         [BZ #20012]
2822         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
2823         length to calculate the buffer to read.
2824         (fmemopen_write): Set the buffer position based on bytes written.
2825         (fmemopen_seek): Return EINVAL for invalid whence modes.
2827         [BZ #19957]
2828         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
2829         tst-getpid2.
2830         (test): Add tst-clone2.
2831         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
2832         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
2833         pid/tid fields for CLONE_VM.
2834         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
2835         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
2836         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
2837         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
2838         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
2839         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
2840         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
2841         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
2842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
2843         Likewise.
2844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2845         Likewise.
2846         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
2847         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
2848         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
2849         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2850         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
2851         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
2852         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
2853         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
2855 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2857         [BZ #19642]
2858         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
2859         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
2860         (gni_serv_local, gni_serv): New functions extracted from
2861         getnameinfo.
2862         (getnameinfo): Call gni_host and gni_serv to perform the
2863         processing.  Always free scratch buffer.
2865 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2867         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
2868         remaining bytes in the dest string, with zeros.
2870 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2872         [BZ #20010]
2873         CVE-2016-3706
2874         * sysdeps/posix/getaddrinfo.c
2875         (convert_hostent_to_gaih_addrtuple): New function.
2876         (gethosts): Call convert_hostent_to_gaih_addrtuple.
2877         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
2878         AF_INET data.
2880 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2882         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
2883         callback function gl_readdir.
2884         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
2885         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
2886         (glob_in_dir): Remove len.  Use strdup instead of malloc and
2887         memcpy to copy the name.
2888         * manual/pattern.texi (Calling Glob): Document requirements for
2889         implementations of the gl_readdir callback function.
2890         * manual/examples/mkdirent.c: New example.
2891         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
2892         per the manual guidance.
2893         * posix/tst-gnuglob.c (my_readdir): Likewise.
2895 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
2897         [BZ #20014]
2898         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
2899         not [__USE_POSIX].
2900         (getchar_unlocked): Likewise.
2901         (putc_unlocked): Likewise.
2902         (putchar_unlocked): Likewise.
2903         (flockfile): Likewise.
2904         (ftrylockfile): Likewise.
2905         (funlockfile): Likewise.
2906         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
2907         variable.
2908         (test-xfail-XPG4/stdio.h/conform): Likewise.
2910         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
2911         Expect constant.
2912         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
2913         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
2914         variable.
2915         (test-xfail-XPG4/langinfo.h/conform): Likewise.
2916         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2918         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
2919         [__USE_LARGEFILE64] (off64_t): Likewise.
2920         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
2921         variable.
2923 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2925         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
2927 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2929         * resolv/inet_addr.c: Reindent preprocessor conditionals.
2930         * resolv/res_init.c: Likewise.
2931         * resolv/res_mkquery.c: Likewise.
2933 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2935         * resolv/res_init.c (isascii): Do not define.  Use definition in
2936         <ctype.h>.
2937         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
2938         (LOG_AUTH): Remove.
2939         (SPRINTF): Remove, adjust caller.
2940         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
2942 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2944         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
2945         SUNSECURITY conditional.
2946         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
2948 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2950         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
2951         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
2952         Remove BSD-related preprocessor conditionals.
2953         * conf/portability.h: Remove.
2955 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2957         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
2958         * resolv/res_data.c: Likewise.
2960 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2962         * resolv/res_comp.c: Remove code conditional on __ultrix__.
2963         * resolv/res_data.c: Remove code conditional on ultrix.
2965 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2967         * resolv/res_init.c (RFC1535): Do not define.  Remove
2968         RFC1535 preprocessor conditionals.
2969         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
2970         because there configuration options which make the resolver
2971         behavior different.
2973 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2975         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
2976         RESOLVSORT preprocessor conditionals.
2977         * resolv/nss_dns/dns-host.c: Likewise.
2978         * resolv/res_init.c: Likewise.
2980 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2982         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
2983         is never defined.
2985 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2987         * inet/inet_lnaof.c: Remove SCSS keyword.
2988         * inet/inet_mkadr.c: Likewise.
2989         * inet/inet_net.c: Likewise.
2990         * inet/inet_netof.c: Likewise.
2991         * inet/rcmd.c: Likewise.
2992         * inet/rexec.c: Likewise.
2993         * inet/ruserpass.c: Likewise.
2995 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2997         * resolv/inet_addr.c: Remove _LIBC conditionals.
2998         * resolv/res_data.c: Likewise.
2999         * resolv/res_init.c: Likewise.
3000         * resolv/res_mkquery.c: Likewise.
3001         * resolv/res_libc.c: Update comment.
3002         * resolv/README: Update.
3004 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3006         * resolv/gethnamaddr.c: Remove SCSS keyword.
3007         * resolv/herror.c: Likewise.
3008         * resolv/inet_addr.c: Likewise.
3009         * resolv/inet_net_ntop.c: Likewise.
3010         * resolv/inet_net_pton.c: Likewise.
3011         * resolv/inet_neta.c: Likewise.
3012         * resolv/inet_ntop.c: Likewise.
3013         * resolv/inet_pton.c: Likewise.
3014         * resolv/ns_date.c: Remove RCS keyword.
3015         * resolv/ns_name.c: Likewise.
3016         * resolv/ns_netint.c: Likewise.
3017         * resolv/ns_parse.c: Likewise.
3018         * resolv/ns_print.c: Likewise.
3019         * resolv/ns_samedomain.c: Likewise.
3020         * resolv/ns_ttl.c: Likewise.
3021         * resolv/nsap_addr.c: Likewise.
3022         * resolv/res_comp.c: Remove SCSS and RCS keyword.
3023         * resolv/res_data.c: Remove RCS keyword.
3024         * resolv/res_debug.c: Remove SCSS and RCS keyword.
3025         * resolv/res_init.c: Likewise.
3026         * resolv/res_mkquery.c: Likewise.
3027         * resolv/res_query.c: Likewise.
3028         * resolv/res_send.c: Likewise.
3030 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3032         * conform/data/stdio.h-data (fdopen): Expect also for
3033         [XPG3 || XPG4].
3035         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
3036         (fseeko): Likewise.
3037         (ftello): Likewise.
3038         (ftrylockfile): Likewise.
3039         (funlockfile): Likewise.
3040         (getc_unlocked): Likewise.
3041         (getchar_unlocked): Likewise.
3042         (putc_unlocked): Likewise.
3043         (putchar_unlocked): Likewise.
3045 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3047         [BZ #19868]
3048         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
3049         DNS packet syntax checks (which were not needed before).  Skip
3050         over non-PTR records.
3052 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3054         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
3055         definition.  Include <stddef.h> instead.
3057 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3059         [BZ #19831]
3060         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
3061         function.
3062         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
3063         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
3065 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3067         [BZ #19862]
3068         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
3069         (getanswer_r): Do not call syslog.
3070         (gaih_getanswer_slice): Likewise.
3071         * resolv/gethnamaddr.c (AskedForGot): Remove.
3072         (getanswer): Do not call syslog.
3073         (gethostbyaddr): Likewise.
3075 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3077         * conform/data/signal.h-data (union sigval): Expect also if
3078         [XOPEN2K].
3079         (struct sigevent): Likewise.
3080         (SIGEV_NONE): Likewise.
3081         (SIGEV_SIGNAL): Likewise.
3082         (SIGEV_THREAD): Likewise.
3083         (SIGRTMIN): Likewise.
3084         (SIGRTMAX): Likewise.
3085         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
3086         variable.
3087         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3089 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3091         [BZ #19830]
3092         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
3093         (gaih_getanswer_slice): Likewise.
3094         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
3095         Also check for availability of RR metadata.
3097 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3099         [BZ #19825]
3100         * resolv/res_send.c (send_vc): Remove early *resplen2
3101         initialization.  Set *resplen2 on socket error.  Call
3102         close_and_return_error for other errors.
3104 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3106         * sysdeps/unix/sysv/linux/netiucv/iucv.h
3107         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
3108         (SCM_IUCV_TRGCLS): New define.
3110 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3112         [BZ #20005]
3113         * libio/fmemopen.c (fmemopen_write): Update internal position after
3114         write.
3115         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
3116         * stdio-common/tst-fmemopen4.c: New file..
3118 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
3120         [BZ #19996]
3121         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
3122         not [__USE_XOPEN2K].
3123         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
3124         variable.
3126         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
3127         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
3128         variable.
3130         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
3131         [__USE_XOPEN2K8].
3132         [__USE_LARGEFILE64] (off64_t): Likewise.
3133         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
3134         variable.
3136 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
3138         [BZ #19989]
3139         * libio/stdio.h (cuserid): Do not declare if
3140         [__USE_XOPEN2K && !__USE_GNU].
3141         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
3142         variable.
3144 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3146         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3147         (sysdep_routines): Add P8 and PPC64 strcspn targets.
3148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3149         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3150         ifunc'ed strcspn.
3151         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3152         [EALIGN]: Removed.
3153         [END]: Likewise
3154         [STRSPN]: Define instead of the above to control symbol name.
3155         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
3156         New file.
3157         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
3158         Likewise.
3159         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
3160         Likewise.
3161         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
3162         Likewise.
3163         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3164         [INITIAL_MASK]: New macro.
3165         [STRCSPN]: Likewise.
3166         [UPDATE_MASK]: Likewise.
3167         [USE_AS_STRCSPN]: Lisewise.
3169 2016-04-25  Florian Weimer  <fweimer@redhat.com>
3171         [BZ #19931]
3172         * stdio-common/tst-vfprintf-width-prec.c: New file.
3173         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
3174         (tests-special): Add tst-vfprintf-width-prec-mem.out.
3175         (generated): Add mtrace-related files.
3176         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
3177         (tst-%-mem.out): New pattern rule, replaces
3178         tst-printf-bz18872-mem.out.
3179         * stdio-common/vfprintf.c (vfprintf): When handling a precision
3180         specifier, deallocate any previously allocated work buffer.
3182 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
3184         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
3185         Add nop before __startcontext, add explaining comments.
3187 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
3189         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
3190         any more. Notably since IPV6_PKTINFO has been reintroduced with a
3191         completely different API.
3193         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
3194         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
3195         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
3196         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
3197         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
3198         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
3199         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
3200         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
3201         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
3202         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
3204 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
3206         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
3208 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
3210         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
3211         when it is the default of 0.
3213 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3215         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
3216         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3217         (sysdep_routines): Add new strcasestr targets.
3218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3219         (__libc_ifunc_impl_list): Likewise.
3220         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
3221         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
3222         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
3223         * sysdeps/powerpc/powerpc64/power8/Makefile:
3224         New file to add strcasestr-ppc64 to sysdep_routines.
3225         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
3226         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
3228 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
3230         * benchtests/Makefile (wcsmbs-benchset): Include only for
3231         native builds and runs.
3232         (LOCALES): Likewise.
3233         (bench-build): Build timing-type here instead of the bench
3234         target.  Generate locale only for native builds.
3235         * benchtests/README: Add note for cross-building.
3237         * benchtests/Makefile (bench-clean): Clean up extra-objs.
3239         * benchtests/README: Update README to include instructions on
3240         using bench-build.
3242         * Makefile.in (bench-build): New target.
3243         * Rules (PHONY): Add bench-build target.
3244         * benchtests/Makefile (bench): Depend on bench-build.
3245         (bench-build): New target.
3247 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3249         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
3250         profil_reply_port.
3251         (profile_waiter): Do not initialize profil_reply_port.
3252         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
3253         frequency instead of tick length in us.
3255 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
3257         [BZ #18712]
3258         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
3259         (__old_mempcpy_small): Likewise.
3260         (__old_strcpy_small): Likewise.
3261         (__old_stpcpy_small): Likewise.
3262         (__old_strpbrk_c2): Fix compat symbol name.
3263         (__old_strpbrk_c3): Likewise.
3264         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
3265         (__mempcpy_small): Remove.
3266         (__strcpy_small): Remove.
3267         (__stpcpy_small): Remove.
3269 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
3271         [BZ #19400]
3272         * locale/iso-639.def: Add the Talossan/tzl language.
3274 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3276         [BZ #16983]
3277         * locale/programs/ld-address.c (address_finish): Update postal_fmt
3278         comment.  Add "ln" to strchr check on postal_fmt.
3280 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3282         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
3283         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
3284         tel_dom_fmt.
3286 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3288         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3289         (sysdep_routines): Added __strlen_power8.
3290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
3291         __strlen_power8 entry.
3292         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
3293         Implementation for POWER8.
3294         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
3295         for __strlen_power8.
3296         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
3297         Implementation for POWER8.
3299 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
3301         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
3303 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
3305         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
3306         Goldmont and Airmont processors.
3308 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
3310         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
3311         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
3312         (__STRING2_SMALL_GET32): Remove.
3313         (memset): Remove.
3314         (__memset_1): Remove.
3315         (__memset_gc): Remove.
3316         (__mempcpy): Remove.
3317         (mempcpy): Remove.
3318         (__mempcpy_args): Remove.
3319         (strchr): Remove.
3320         (strcpy): Remove.
3321         (strcpy_args): Remove.
3322         (__stpcpy_args): Remove.
3323         (__strcmp_cc): Remove.
3324         (__strcmp_gc): Remove.
3325         (strstr): Remove.
3327 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
3329         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
3330         * nis/nis_call.c (nis_server_cache_add): Likewise.
3332 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3334         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
3336 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3338         * malloc/arena.c (__malloc_fork_lock_parent)
3339         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
3340         internal_function attribute.
3342 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
3344         * stdio-common/printf_fp.c (__printf_fp_l):
3345         Rename ___printf_fp_l to __printf_fp_l and
3346         remove strong alias. Use libc_hidden_def instead
3347         of ldbl_hidden_def macro.
3349 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3351         Remove malloc hooks from fork handler.  They are no longer needed
3352         because malloc runs right before fork, and no malloc calls from
3353         other fork handlers are not possible anymore.
3354         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
3355         declarations.
3356         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
3357         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
3358         (atfork_recursive_cntr): Remove.
3359         (__malloc_fork_lock_parent): Do not override malloc hooks and
3360         thread_arena.
3361         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
3362         thread_arena.
3363         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
3364         thread_arena instead of save_arena.
3366 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3368         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
3369         (thread_atfork, thread_atfork_static): Remove.
3370         * sysdeps/mach/hurd/malloc-machine.h:
3371         (thread_atfork, thread_atfork_static): Remove.
3373 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3375         [BZ #19431]
3376         Run the malloc fork handler as late as possible to avoid deadlocks.
3377         * malloc/malloc-internal.h: New file.
3378         * malloc/malloc.c: Include it.
3379         * malloc/arena.c (ATFORK_MEM): Remove.
3380         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
3381         Update comment.
3382         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
3383         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
3384         Remove outdated comment.
3385         (ptmalloc_init): Do not call thread_atfork.  Remove
3386         thread_atfork_static.
3387         * malloc/tst-malloc-fork-deadlock.c: New file.
3388         * Makefile (tests): Add tst-malloc-fork-deadlock.
3389         (tst-malloc-fork-deadlock): Link against libpthread.
3390         * manual/memory.texi (Aligned Memory Blocks): Update safety
3391         annotation comments.
3392         * sysdeps/nptl/fork.c (__libc_fork): Call
3393         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3394         __malloc_fork_unlock_child.
3395         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3397 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3399         [BZ #19613]
3400         Remove union wait.
3401         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
3402         (w_stopsig, w_stopval): Remove.
3403         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
3404         stat_loc argument.
3405         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
3406         (__WAIT_STATUS_DEFN): Remove.
3407         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3408         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
3409         (wait, wait3, wait4): Use int * for the stat_loc argument.
3410         * posix/wait.c (__wait): Likewise.
3411         * posix/wait3.c (__wait3): Likewise.
3412         * posix/wait4.c (__wait4): Likewise.
3413         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
3414         (__WAIT_STATUS_DEFN): Remove.
3415         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3416         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
3417         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
3418         argument.
3419         * sysdeps/posix/wait.c (__libc_wait): Likewise.
3420         * sysdeps/posix/wait3.c (__wait3): Likewise.
3421         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
3422         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3423         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
3424         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
3425         stat_loc argument.
3426         * manual/process.texi (BSD Wait Functions): Remove union wait.
3428 2016-04-13  Andreas Schwab  <schwab@suse.de>
3430         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
3431         (test-extras): Add tst-tlsalign-vars.
3432         * math/Makefile: Wrap long lines.
3433         (libm-vec-test-wrappers): Define.
3434         (test-extras): Add $(libm-vec-test-wrappers).
3435         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
3436         * nss/Makefile (extra-test-objs): Add nss_test1.os.
3437         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
3438         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
3439         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
3440         (extra-test-objs): Add corresponding objects.
3442 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
3444         [BZ #19928]
3445         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
3446         New.
3447         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
3448         times of shared cache size.
3449         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
3450         (VMOVNT): New.
3451         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
3452         (VMOVNT): Likewise.
3453         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
3454         (VMOVNT): Likewise.
3455         (VMOVU): Changed to movups for smaller code sizes.
3456         (VMOVA): Changed to movaps for smaller code sizes.
3457         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
3458         comments.
3459         (PREFETCH): New.
3460         (PREFETCH_SIZE): Likewise.
3461         (PREFETCHED_LOAD_SIZE): Likewise.
3462         (PREFETCH_ONE_SET): Likewise.
3463         Rewrite to use forward and backward loops, which move 4 vector
3464         registers at a time, to support overlapping addresses and use
3465         non temporal store if size is above the threshold and there is
3466         no overlap between destination and source.
3468 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
3470         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
3471         Include dl-vdso.
3472         * sysdeps/unix/sysv/linux/mips/Versions: Add
3473         __vdso_clock_gettime.
3474         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
3475         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
3476         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
3477         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
3478         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
3479         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
3480         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3481         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3482         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3484 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3486         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
3487         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
3488         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3489         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3490         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3491         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3494         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
3495         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
3496         syscalls generation.
3497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3498         [__NR_pwrite64] (__NR_write): Remove define.
3499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3500         [__NR_pwrite64] (__NR_write): Remove define.
3501         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
3502         Remove define.
3503         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
3504         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
3505         Remove define.
3506         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
3507         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
3508         Linux implementation as base.
3509         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3511         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
3512         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
3513         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3514         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
3516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3517         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
3518         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
3519         syscall generation.
3520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3521         [__NR_pread64] (__NR_pread): Remove define.
3522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3523         [__NR_pread64] (__NR_pread): Likewise.
3524         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
3525         define.
3526         (__libc_pread): Use SYSCALL_LL macro on offset argument.
3527         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
3528         Remove define.
3529         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
3530         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
3531         Linux implementation as base.
3532         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3533         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3534         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3536         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
3537         definition.
3538         (__ALIGNMENT_COUNT): Likewise.
3539         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
3540         (__ALIGNMENT_COUNT): Likewise.
3541         (SYSCALL_LL): New define.
3542         (SYSCALL_LL64): Likewise.
3543         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
3544         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
3545         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
3546         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
3548         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3549         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
3550         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3551         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3552         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3553         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3555 2016-04-11  Florian Weimer  <fweimer@redhat.com>
3557         [BZ #19865]
3558         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
3559         original buffer before retry.
3561 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3563         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
3564         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
3565         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
3566         GLRO(dl_auxv) list.
3567         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
3568         including <ldsodefs.h>.
3569         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
3571 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
3573         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
3574         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
3575         $(CPPFLAGS).
3577 2016-04-09  Khem Raj  <raj.khem@gmail.com>
3579         [BZ #17950]
3580         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
3581         Add -mfpmath=387.
3583 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
3585         * sysdeps/i386/configure.ac: Change == to = when calling test.
3586         * sysdeps/x86_64/configure.ac: Likewise.
3587         * sysdeps/i386/configure: Regenerated.
3588         * sysdeps/x86_64/configure: Likewise.
3590 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
3592         [BZ #16137]
3593         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
3594         * benchtests/bench-strcoll.c (input_files): Likewise.
3595         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3596         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
3597         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
3599 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
3601         [BZ #19929]
3602         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
3603         [__USE_XOPEN2K8 && !__USE_GNU].
3604         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
3605         variable.
3607         [BZ #19925]
3608         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
3609         define if [!__USE_MISC && __USE_XOPEN2K].
3610         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
3611         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
3612         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
3613         Likewise.
3614         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
3615         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
3616         variable.
3617         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3619 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3621         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3622         (sysdep_routines): Add new strspn targets.
3623         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3624         (__libc_ifunc_impl_list): Add strspn.
3625         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3626         New file.
3627         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
3628         Likewise.
3629         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
3630         Likewise.
3631         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3632         Likewise.
3634 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3636         * misc/hsearch_r.c: Include <limits.h>.
3638 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3640         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
3642 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3644         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3645         (MEMCPY_SYMBOL): New.
3646         (MEMPCPY_SYMBOL): Likewise.
3647         (MEMMOVE_CHK_SYMBOL): Likewise.
3648         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
3649         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
3650         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
3651         Provide alias for memcpy in libc.a and ld.so.
3653 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3655         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3656         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
3657         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
3658         Disabled fro now.
3659         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
3660         symbols.  Properly check USE_MULTIARCH on __memset symbols.
3662 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3664         * benchtests/Makefile (string-benchset): Add memcpy-large,
3665         memmove-large and memset-large.
3666         * benchtests/bench-memcpy-large.c: New file.
3667         * benchtests/bench-memmove-large.c: Likewise.
3668         * benchtests/bench-memmove-large.c: Likewise.
3669         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
3671 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3673         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
3674         32-bit displacement to avoid long nop between instructions.
3676 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3678         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
3679         a comment on VMOVU and VMOVA.
3681 2016-04-04  Florian Weimer  <fweimer@redhat.com>
3683         [BZ #19633]
3684         Use specified locale for number formatting in strfmon_l.
3685         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
3686         (__nl_lookup_word): New inline functions.
3687         * include/printf.h (__print_fp_l): Declare.
3688         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
3689         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
3690         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
3691         (___printf_fp): New function.
3692         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
3693         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
3694         * stdlib/tst-strfmon_l.c (do_test): New test.
3695         * stdlib/Makefile (tests): Add kt.
3696         (LOCALES): Build additional locales.
3697         (tst-strfmon_l.out): Require locales.
3699 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3701         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
3702         if not in libc.
3703         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3704         Likewise.
3705         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
3706         Likewise.
3707         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3708         Likewise.
3710 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3712         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3713         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
3714         with unaligned_erms.
3715         (__memmove_erms): Skip if source == destination.
3716         (__memmove_unaligned_erms): Don't check source == destination
3717         first.
3719 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3721         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
3722         bit_arch_Fast_Copy_Backward for Intel Core proessors.
3724 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3726         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
3727         * string/strspn.c (strspn): Likewise.
3729 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3731         * benchtests/bench-memset.c (do_test): Support 64-byte
3732         alignment.
3733         (test_main): Test 64-byte alignment.
3735 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3737         * benchtests/bench-memmove.c (test_main): Test 64-byte
3738         alignment.
3740 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3742         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
3744 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3746         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
3747         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
3748         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
3750         * string/strpbrk.c (strpbrk): Rewrite function.
3751         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
3752         (__strpbrk_c2): Likewise.
3753         (__strpbrk_c3): Likewise.
3754         * string/string-inlines.c
3755         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
3756         Likewise.
3757         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
3758         Likewise.
3760         * string/strspn.c (strcspn): Rewrite function.
3761         * string/bits/string2.h (strspn): Use __builtin_strcspn.
3762         (__strspn_c1): Remove inline function.
3763         (__strspn_c2): Likewise.
3764         (__strspn_c3): Likewise.
3765         * string/string-inlines.c
3766         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
3767         compatibility symbol.
3768         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
3769         Likewise.
3770         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
3771         Likewise.
3772         * string/string-inlines.c: Include generic version.
3774 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
3775             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3777         * string/Version (libc): Add GLIBC_2.24.
3778         * string/strcspn.c (strcspn): Rewrite function.
3779         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
3780         (__strcspn_c1): Remove inline function.
3781         (__strcspn_c2): Likewise.
3782         (__strcspn_c3): Likewise.
3783         * string/string-inline.c
3784         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
3785         compatibility symbol.
3786         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
3787         Likewise.
3788         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
3789         Likewise.
3790         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
3792 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3794         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
3795         Use ahi instead of aghi to adjust stack pointer.
3797 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3799         [BZ #19853]
3800         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
3801         TEST to take significant digits as second parameter.
3802         [TEST]: Redefine in terms of TEST_N taking 30
3803         significant digits.
3804         (do_test): Add test case to demonstrate precision
3805         failure in the ldbl-128ibm printf.
3806         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
3807         (__mpn_extract_long_double): Carry 7 extra intermediate
3808         bits of precision to aide computing difference when
3809         signs differ.
3811 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3813         [BZ #19881]
3814         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3815         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
3816         memset-avx512-unaligned-erms.
3817         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3818         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
3819         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
3820         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
3821         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
3822         __memset_sse2_unaligned_erms, __memset_erms,
3823         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
3824         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3825         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
3826         file.
3827         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3828         Likewise.
3829         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
3830         Likewise.
3831         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
3832         Likewise.
3834 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3836         [BZ #19776]
3837         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3838         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
3839         memmove-avx512-unaligned-erms.
3840         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3841         (__libc_ifunc_impl_list): Test
3842         __memmove_chk_avx512_unaligned_2,
3843         __memmove_chk_avx512_unaligned_erms,
3844         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
3845         __memmove_chk_sse2_unaligned_2,
3846         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
3847         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
3848         __memmove_avx512_unaligned_erms, __memmove_erms,
3849         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
3850         __memcpy_chk_avx512_unaligned_2,
3851         __memcpy_chk_avx512_unaligned_erms,
3852         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
3853         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
3854         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
3855         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
3856         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
3857         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
3858         __mempcpy_chk_avx512_unaligned_erms,
3859         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
3860         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
3861         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
3862         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
3863         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
3864         __mempcpy_erms.
3865         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
3866         file.
3867         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3868         Likwise.
3869         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3870         Likwise.
3871         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3872         Likwise.
3874 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3876         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
3877         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
3878         (La_s390_64_regs): Likewise.
3879         (La_s390_32_retval): Append vector register lrv_v24.
3880         (La_s390_64_retval): Likeweise.
3881         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
3882         Handle extended structs La_s390_32_regs and La_s390_32_retval.
3883         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
3884         Handle extended structs La_s390_64_regs and La_s390_64_retval.
3886 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3888         [BZ #19916]
3889         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
3890         to create a non-vector/vector version for _dl_runtime_resolve and
3891         _dl_runtime_profile. Move implementation to ...
3892         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
3893         (_dl_runtime_resolve) Save and restore fpr/vrs.
3894         (_dl_runtime_profile) Save and restore vrs and fix some issues
3895         if _dl_call_pltexit is called.
3896         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
3897         Choose the correct resolver function if running on a machine with vx.
3898         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
3899         to create a non-vector/vector version for _dl_runtime_resolve and
3900         _dl_runtime_profile. Move implementation to ...
3901         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
3902         (_dl_runtime_resolve) Save and restore fpr/vrs.
3903         (_dl_runtime_profile) Save and restore vrs and fix some issues
3904         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
3905         Choose the correct resolver function if running on a machine with vx.
3907 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3909         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
3911 2016-03-31  Florian Weimer  <fweimer@redhat.com>
3913         [BZ #19509]
3914         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
3915         skip_map != NULL.
3916         * elf/tst-dlsym-error.c: New file.
3917         * elf/Makefile (tests): Add tst-dlsym-error.
3918         (tst-dlsym-error): Link against libdl.
3920 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
3922         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3923         (__ASSUME_FUTIMESAT): Remove macro.
3924         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
3926 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3928         [BZ #19879]
3929         CVE-2016-3075
3930         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
3931         copy name.
3933 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3935         [BZ #19837]
3936         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
3937         error if parse_line fails.
3939 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3941         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
3942         (index_cpu_ERMS): Likewise.
3943         (reg_ERMS): Likewise.
3945 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
3947         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
3948         PER_LINUX_FDPIC): Add.
3950 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3952         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3953         memcpy-avx512-no-vzeroupper.
3954         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
3955         to ...
3956         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
3957         (MEMCPY): Don't define.
3958         (MEMCPY_CHK): Likewise.
3959         (MEMPCPY): Likewise.
3960         (MEMPCPY_CHK): Likewise.
3961         (MEMPCPY_CHK): Renamed to ...
3962         (__mempcpy_chk_avx512_no_vzeroupper): This.
3963         (MEMPCPY_CHK): Renamed to ...
3964         (__mempcpy_chk_avx512_no_vzeroupper): This.
3965         (MEMCPY_CHK): Renamed to ...
3966         (__memmove_chk_avx512_no_vzeroupper): This.
3967         (MEMCPY): Renamed to ...
3968         (__memmove_avx512_no_vzeroupper): This.
3969         (__memcpy_avx512_no_vzeroupper): New alias.
3970         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
3972 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3974         [BZ #18858]
3975         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3976         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
3977         and mempcpy-avx512-no-vzeroupper.
3978         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
3979         New.
3980         (MEMPCPY): Likewise.
3981         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
3982         (MEMPCPY_CHK): New.
3983         (MEMPCPY): Likewise.
3984         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
3985         (MEMPCPY): Likewise.
3986         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
3987         (MEMPCPY): Likewise.
3988         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
3989         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
3990         Likewise.
3991         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
3992         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
3994 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3995              Amit Pawar  <Amit.Pawar@amd.com>
3997         [BZ #19583]
3998         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3999         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
4000         processors.  Set Fast_Copy_Backward for AMD Excavator
4001         processors.
4002         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
4003         New.
4004         (index_arch_Fast_Unaligned_Copy): Likewise.
4005         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
4006         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
4008 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4010         [BZ #19791]
4011         * resolv/res_send.c (close_and_return_error): New function.
4012         (send_dg): Initialize *resplen2 after reopen failure.  Call
4013         close_and_return_error for error returns.  On error paths without
4014         __res_iclose, initialze *resplen2 explicitly.  Update comment for
4015         successful return.
4017 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4019         [BZ# 19860]
4020         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
4021         zero if the compiler does not provide the AVX512F bit.
4023 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
4025         [BZ #19848]
4026         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
4027         from 8 to 4.
4028         (__ieee754_powl): Compare integer exponent against 4 not 8.
4029         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
4030         from 8 to 4.
4031         (__ieee754_powl): Compare integer exponent against 4 not 8.
4032         * math/auto-libm-test-in: Add more tests of pow.
4033         * math/auto-libm-test-out: Regenerated.
4034         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
4035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4037 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4039         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
4040         Make code unconditional.
4041         [!__NR_utimensat]: Remove conditional code.
4042         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
4043         Make code unconditional.
4044         [!__NR_utimensat]: Remove conditional code.
4045         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
4046         Make code unconditional.
4047         [!__NR_utimensat]: Remove conditional code.
4049 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4051         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
4052         Make code unconditional.
4054 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
4056         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
4057         call-clobbered %eax on retry path.
4058         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4060 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4062         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
4063         Don't set %rcx twice before "rep movsb".
4065 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4067         [BZ #19583]
4068         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
4069         inline.  Check family before setting family, model and
4070         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
4071         bits here.
4072         (init_cpu_features): Replace HAS_CPU_FEATURE and
4073         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
4074         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
4075         for Intel processors with usable AVX2.  Call get_common_indeces
4076         for other processors with family == NULL.
4077         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
4078         (CPU_FEATURES_ARCH_P): Likewise.
4079         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
4080         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
4082 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4084         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
4085         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
4086         $(shared-thread-library) instead of hardcoding the path to libpthread.
4088 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
4090         * sysdeps/unix/sysv/linux/kernel-features.h
4091         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
4092         * sysdeps/unix/sysv/linux/getdents.c
4093         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
4094         [!have_no_getdents64_defined]: Likewise.
4095         (__GETDENTS): Remove __have_no_getdents64 conditional.
4097 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
4099         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
4100         Remove macro.
4101         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
4102         <kernel-features.h>.
4103         (signalfd) [__NR_signalfd4]: Make code unconditional.
4104         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
4106 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4108         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
4109         style.
4111 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4113         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
4114         (__pthread_enable_asynccancel): Use JUMPTARGET to call
4115         __pthread_unwind.
4116         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4117         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
4118         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4119         (__condvar_cleanup1): Likewise.
4121 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
4123         [BZ #19822]
4124         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
4125         move it to the final $@ location.
4127 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4129         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
4130         access where posix_spawn success and pid argument is null.
4131         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
4132         success case.
4134 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
4136         * sysdeps/mach/hurd/i386/c++-types.data: New file.
4138         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
4140         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
4141         and __fcntl.
4142         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
4143         __fcntl only.
4144         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
4145         adding attribute_hidden to __open and __fcntl.
4147         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
4148         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
4149         depend on libc-modules.h,
4150         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
4152 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
4154         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
4155         Remove macro.
4156         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
4157         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
4158         entry.
4160         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
4161         Remove macro.
4162         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
4163         include <kernel-features.h>.
4164         [!__ASSUME_FALLOCATE]: Remove conditional code.
4165         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
4167 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4169         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
4170         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
4171         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
4172         (_ZGVdN4v_cos_avx2): Likewise.
4173         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
4174         (_ZGVdN4v_cos): Likewise.
4175         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
4176         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
4177         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
4178         (_ZGVdN4v_exp_avx2): Likewise.
4179         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
4180         (_ZGVdN4v_exp): Likewise.
4181         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
4182         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
4183         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
4184         (_ZGVdN4v_log_avx2): Likewise.
4185         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
4186         (_ZGVdN4v_log): Likewise.
4187         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
4188         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
4189         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
4190         (_ZGVdN4vv_pow_avx2): Likewise.
4191         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
4192         (_ZGVdN4vv_pow): Likewise.
4193         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
4194         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
4195         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
4196         (_ZGVdN4v_sin_avx2): Likewise.
4197         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
4198         (_ZGVdN4v_sin): Likewise.
4199         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
4200         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
4201         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
4202         (_ZGVdN4vvv_sincos_avx2): Likewise.
4203         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
4204         (_ZGVdN4vvv_sincos): Likewise.
4205         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
4206         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
4207         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
4208         (_ZGVbN4v_cosf_sse4): Likewise.
4209         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
4210         (_ZGVdN8v_cosf_avx2): Likewise.
4211         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
4212         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
4213         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
4214         (_ZGVbN4v_expf_sse4): Likewise.
4215         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
4216         (_ZGVdN8v_expf_avx2): Likewise.
4217         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
4218         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
4219         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
4220         (_ZGVbN4v_logf_sse4): Likewise.
4221         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
4222         (_ZGVdN8v_logf_avx2): Likewise.
4223         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
4224         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
4225         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
4226         (_ZGVbN4vv_powf_sse4): Likewise.
4227         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
4228         (_ZGVdN8vv_powf_avx2): Likewise.
4229         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4230         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
4231         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4232         (_ZGVbN4vvv_sincosf_sse4): Likewise.
4233         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4234         (_ZGVdN8vvv_sincosf_avx2): Likewise.
4235         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
4236         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
4237         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
4238         (_ZGVbN4v_sinf_sse4): Likewise.
4239         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
4240         (_ZGVdN8v_sinf_avx2): Likewise.
4241         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4242         Use JUMPTARGET to call callee.
4243         (WRAPPER_IMPL_SSE2_ff): Likewise.
4244         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4245         (WRAPPER_IMPL_AVX): Likewise.
4246         (WRAPPER_IMPL_AVX_ff): Likewise.
4247         (WRAPPER_IMPL_AVX_fFF): Likewise.
4248         (WRAPPER_IMPL_AVX512): Likewise.
4249         (WRAPPER_IMPL_AVX512_ff): Likewise.
4250         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4251         Likewise.
4252         (WRAPPER_IMPL_SSE2_ff): Likewise.
4253         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4254         (WRAPPER_IMPL_AVX): Likewise.
4255         (WRAPPER_IMPL_AVX_ff): Likewise.
4256         (WRAPPER_IMPL_AVX_fFF): Likewise.
4257         (WRAPPER_IMPL_AVX512): Likewise.
4258         (WRAPPER_IMPL_AVX512_ff): Likewise.
4259         (WRAPPER_IMPL_AVX512_fFF): Likewise.
4261 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4263         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
4264         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
4265         qualifier.
4266         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
4267         internal_function qualifiers.
4269 2016-03-15  Carlos O'Donell <carlos@redhat.com>
4271         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
4272         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
4273         * math/atest-exp.c (exp_mpn): Mark chk unused.
4274         * math/atest-exp2.c (exp_mpn): Likwise.
4275         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
4276         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
4278 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
4280         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
4281         Remove macro.
4282         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
4283         <kernel-features.h>.
4284         [__NR_ppoll]: Make code unconditional.
4285         [!__ASSUME_PPOLL]: Remove conditional code.
4287         * sysdeps/unix/sysv/linux/kernel-features.h
4288         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
4289         (__ASSUME_ACCEPT4): Likewise.
4290         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4291         Define.
4292         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
4293         Likewise.
4294         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4295         Likewise.
4296         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
4297         Likewise.
4298         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
4299         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
4300         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4301         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4302         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4303         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4304         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4305         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4306         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4307         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4308         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4309         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4310         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4311         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4312         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4313         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4314         Likewise.
4315         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4316         Likewise.
4317         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4318         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4319         0x040300].
4320         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4321         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4322         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4323         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4324         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4325         0x030300].
4326         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
4327         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4328         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4329         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4330         0x040300].
4331         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4332         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4333         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4334         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4335         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4336         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4337         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4338         0x030300].
4339         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4340         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4341         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4342         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4343         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4344         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4345         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4346         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4347         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4348         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4349         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4350         0x040300].
4351         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4352         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4353         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4354         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4355         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4356         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4357         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4358         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4359         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4360         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4361         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4362         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4363         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4364         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4365         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4366         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4367         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4368         Likewise.
4369         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4370         Likewise.
4372 2016-03-15  Andreas Schwab  <schwab@suse.de>
4374         [BZ #19257]
4375         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
4376         statp->_u._ext.nscount as loop count.
4378 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4380         * math/test-signgam-finite-c99.c: Also #undef
4381         __LIBC_INTERNAL_MATH_INLINES.
4382         * math/test-signgam-main.c: Likewise.
4384 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
4386         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
4387         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
4388         (MADV_FREE): Likewise.
4389         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
4390         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
4391         EPOLLEXCLUSIVE.
4393 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
4395         * timezone/README: Remove mention of checktab.awk. Mention wiki
4396         SharedSourceFiles.
4398 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
4400         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
4401         WUNTRACED.
4403 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4405         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
4406         order to match the type of p when calling atomic_exchange_acq().
4408 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4410         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
4411         cfi_offset calls.
4412         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
4413         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
4414         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
4415         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
4416         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
4418 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
4420         * timezone/checktab.awk: Removed.
4422 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
4424         * manual/math.texi (Errors in Math Functions): Document relaxed
4425         accuracy goals for IBM long double.
4426         * math/libm-test.inc (test_exceptions): Always allow spurious
4427         "underflow" and "inexact" exceptions for IBM long double.
4429 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
4431         [BZ #19762]
4432         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4433         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
4434         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4435         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
4436         (bit_arch_*): This for feature array.
4437         (bit_*): Renamed to ...
4438         (bit_cpu_*): This for cpu array.
4439         (index_*): Renamed to ...
4440         (index_arch_*): This for feature array.
4441         (index_*): Renamed to ...
4442         (index_cpu_*): This for cpu array.
4443         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
4444         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
4445         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
4446         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
4447         bit_##name with index_cpu_##name and bit_cpu_##name.
4448         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
4449         bit_##name with index_arch_##name and bit_arch_##name.
4451 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
4453         [BZ #19792]
4454         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4455         Terminate FDE before return label.
4457 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
4459         [BZ #19790]
4460         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
4461         (rintl): Define as macro.
4462         [USE_AS_NEARBYINTL] (__rintl): Likewise.
4463         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
4464         of fesetround.  Ensure results are evaluated before end of scope.
4465         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
4466         USE_AS_NEARBYINTL and include s_rintl.c.
4467         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
4468         Disable exception traps in new environment.
4469         (libc_feholdsetround_ppc_ctx): Likewise.
4471 2016-03-08  Roland McGrath  <roland@hack.frob.com>
4473         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
4474         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
4475         (tst_audit10_aux) [__AVX512F__]: ... here.
4477 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
4479         * include/sys/auxv.h: New file.
4481 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4483         [BZ #19759]
4484         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
4486 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4488         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
4489         operand modifier.
4490         (feclearexcept): Likewise.
4492 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4494         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
4495         to reflect the entire 32-bit HWCAP.
4496         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
4497         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
4499 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4501         [BZ #19783]
4502         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
4503         $(test-via-rtld-prefix).
4504         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
4506 2016-03-08  Florian Weimer  <fweimer@redhat.com>
4508         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
4509         union wait.  Report any non-zero exit status as error.
4511 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4513         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
4514         configured with --enable-hardcoded-path-in-tests.
4516 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
4518         [BZ #19677]
4519         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4520         (__ieee754_remainderl): Put zero low parts in canonical form.
4521         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
4522         file.  Based on
4523         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
4524         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
4525         with wrapper round test-fmodrem-ldbl-128ibm.c.
4526         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
4527         file.
4528         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
4529         Likewise.
4530         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
4531         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
4533 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4535         [BZ #19610]
4536         * elf/ldconfig.c (opt_link): Update comment.
4537         (options): Update help string for option -X.
4538         (search_dir): Unlink stale symbolic link only if updating symbolic
4539         links.
4540         * elf/tst-ldconfig-X.sh: New file.
4541         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
4542         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
4544 2016-03-07  Andreas Schwab  <schwab@suse.de>
4546         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
4547         needed arguments.
4549 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
4551         [BZ #15333]
4552         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
4553         to lstat64.
4555 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4557         * libio/filedoalloc.c (isatty): Remove.
4558         (local_isatty): Add comment.  Call __isatty directly.
4559         (_IO_file_doallocate): Update comment.  Assume _LIBC.
4560         * libio/wfiledoalloc.c (isatty): Remove.
4561         (_IO_wfile_doallocate): Update comment.
4563 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4565         [BZ #19269]
4566         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
4567         tst-audit4-aux.o.
4568         (tst-audit10): Depend on tst-audit10-aux.o.
4569         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
4570         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
4571         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
4572         instead of inline AVX code.
4573         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
4574         instead of inline AVX512 code.
4575         * sysdeps/x86_64/tst-audit4-aux.c: New file
4576         * sysdeps/x86_64/tst-audit10-aux.c: New file
4578         [BZ #19648]
4579         * test-skeleton.c (main): Do not set RLIMIT_DATA.
4581 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4583         [BZ #14750]
4584         [BZ #10354]
4585         [BZ #18433]
4586         * include/sched.h (__clone): Add hidden prototype.
4587         (__clone2): Likewise.
4588         * include/unistd.h (__dup): Likewise.
4589         * posix/Makefile (tests): Add tst-spawn2.
4590         * posix/tst-spawn2.c: New file.
4591         * sysdeps/posix/dup.c (__dup): Add hidden definition.
4592         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
4593         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4594         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4595         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4596         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4597         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
4598         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4599         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
4600         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4601         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4603         Likewise.
4604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4605         Likewise.
4606         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4607         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4608         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4609         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4610         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4611         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4612         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4613         * sysdeps/unix/sysv/linux/nptl-signals.h
4614         (____nptl_is_internal_signal): New function.
4615         * sysdeps/unix/sysv/linux/spawni.c: New file.
4617         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
4618         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
4619         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
4620         * posix/tst-execvp2.c (do_test): Likewise.
4621         * posix/tst-execvp3.c (do_test): Likewise.
4622         * posix/tst-execvp4.c (do_test): Likewise.
4623         * posix/tst-execvpe1.c: New file.
4624         * posix/tst-execvpe2.c: Likewise.
4625         * posix/tst-execvpe3.c: Likewise.
4626         * posix/tst-execvpe4.c: Likewise.
4627         * posix/tst-execvpe5.c: Likewise.
4628         * posix/tst-execvpe6.c: Likewise.
4630         [BZ #19534]
4631         * posix/execl.c (execl): Remove dynamic memory allocation.
4632         * posix/execle.c (execle): Likewise.
4633         * posix/execlp.c (execlp): Likewise.
4635 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4637         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
4638         Replace .text with .text.avx512.
4639         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4640         Likewise.
4642 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
4644         * sysdeps/generic/libnsl.abilist: New file.
4645         * sysdeps/generic/libutil.abilist: New file.
4647 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4649         [BZ #19762]
4650         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
4651         HAS_ARCH_FEATURE with Fast_Rep_String.
4652         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
4653         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
4654         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
4655         Likewise.
4656         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
4657         Likewise.
4658         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
4659         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
4660         Likewise.
4661         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
4662         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
4663         Likewise.
4665 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4667         [BZ #19745]
4668         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
4669         with *%rax in call.
4671 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4673         [BZ #19745]
4674         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
4675         with *__libc_start_main@GOTPCREL(%rip) in call.
4677 2016-03-04  Roland McGrath  <roland@hack.frob.com>
4679         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
4680         inside conditional for nonempty $(CXX).
4682         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
4683         nonempty.
4685         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
4686         to test for empty $(CXX) rather than $(CXX) of "no".
4688 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4690         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
4692 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
4693             H.J. Lu  <hongjiu.lu@intel.com>
4695         [BZ #18880]
4696         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
4697         instead of Slow_BSF, and also check for Fast_Copy_Backward to
4698         enable __memcpy_ssse3_back.
4700 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4702         [BZ #19758]
4703         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4704         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
4706 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4708         [BZ #19490]
4709         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
4710         (__fentry__): Likewise.
4712 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4714         * gmon/Makefile (noprof): Add $(sysdep_noprof).
4715         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
4717 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4719         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
4720         __mcount_internal directly.
4721         (C_LABEL(__fentry__)): Likewise.
4722         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
4723         directly.
4725 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4727         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4728         (__start_context): Call __setcontext directly.
4730 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
4732         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4733         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4734         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
4735         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4736         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4737         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4738         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
4739         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4740         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4741         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
4742         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4743         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4744         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4745         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4746         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4747         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4748         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
4749         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4750         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4751         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4752         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
4753         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4754         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4755         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4756         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
4757         Remove conditional code.
4758         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4759         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
4760         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4761         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4762         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
4763         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4764         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4765         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4766         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4767         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4768         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4769         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4771 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
4773         * NEWS (2.23): Fix typo in bug 19048 text.
4775 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
4777         [BZ #14259]
4778         * Makeconfig: Rename msgcatdir to localedir.
4779         Rename inst_msgcatdir to inst_localedir.
4780         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
4781         * config.make.in: Add localedir.
4782         * elf/Makefile ($(objpfx)sotruss): Use localedir.
4783         (ldd-rewrite): Likewise.
4784         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
4785         (install-others): Use inst_localedir.
4786         (CPPFLAGS): Use localedir.
4787         * locale/Makefile (locale-CPPFLAGS): Likewise.
4788         * po/Makefile (mo-installed): Use inst_localedir.
4790         [BZ #19575]
4791         * localedata/charmaps/GB18030: Update comments regarding PAU to
4792         non-PUA mappings.
4794 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
4796         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
4797         test for header.
4798         * sysdeps/unix/sysv/linux/configure: Regenerated.
4799         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
4800         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
4801         Remove conditional code.
4802         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
4804         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4805         Define to 3.2.0.
4806         (arch_minimum_kernel): Likewise.
4807         * sysdeps/unix/sysv/linux/configure: Regenerated.
4808         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
4809         Define to 2.6.32.
4810         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
4811         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
4812         (arch_minimum_kernel): Define to 2.6.32.
4813         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
4814         * README: Document Linux 3.2 requirement.
4815         * manual/install.texi (Linux): Document Linux 3.2 headers
4816         requirement.
4817         * INSTALL: Regenerated.
4819 2016-02-24  Andreas Schwab  <schwab@suse.de>
4821         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
4822         if !NO_LONG_DOUBLE.
4824 2016-02-22  Roland McGrath  <roland@hack.frob.com>
4826         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
4827         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
4829 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
4831         [BZ #19512]
4832         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
4834 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
4836         * posix/tst-dir.c: Include libc-internal.h.
4838 2016-02-20  Florian Weimer  <fweimer@redhat.com>
4840         [BZ #19056]
4841         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
4842         * manual/filesys.texi (Reading/Closing Directory): Mention
4843         deprecaion.
4844         * posix/tst-dir.c (main): Disable deprecation warning in test.
4846 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
4848         [BZ #19679]
4849         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
4850         Renamed to ...
4851         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
4852         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4853         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
4854         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4855         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4856         * sysdeps/x86_64/dl-trampoline.h
4857         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4858         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4860 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4862         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
4864 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4866         * elf/elf.h (R_386_GOT32X): New.
4867         (R_386_NUM): Update.
4868         (R_X86_64_GOTPCRELX: New.
4869         (R_X86_64_REX_GOTPCRELX): New.
4870         (R_X86_64_NUM): Update.
4872 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
4874         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
4876 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
4878         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
4879         assign attr->stackaddr to it, and adjust it down when
4880         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
4881         [_STACK_GROWS_UP]: Delete assert.
4882         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
4883         Implement stack grows up logic.
4884         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
4885         stack grows up logic.
4887 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4889         * NEWS: Update with 2.24 template.
4891 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4893         [BZ #19678]
4894         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4895         Ensure +0.0 is returned when taking the next value below the least
4896         positive value.
4898 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4900         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
4901         available.  Do not define NO_THREADS.
4902         * malloc/malloc.c: Do not check NO_THREADS.
4903         * malloc/arena.c: Likewise.
4905 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4907         * malloc/malloc.c (__libc_mallinfo): Update comment.
4908         (struct malloc_par): Remove max_total_mem member, it was always 0.
4909         (int_mallinfo): Store 0 into usmblks (no functional change).
4910         * malloc/hooks.c (struct malloc_state): Document that
4911         max_total_mem is always 0.
4912         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
4913         always 0.
4914         * manual/memory.texi (Statistics of Malloc): Likewise.
4916 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4918         * malloc/malloc.c (sysmalloc): Do not update arena_max.
4919         * malloc/arena.c (arena_max): Remove.
4920         (heap_trim, _int_new_arena): Do not update arena_max.
4922 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4924         * resolv/res_init.c (res_ninit): Update comment.
4926 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4928         [BZ #19505]
4929         * posix/spawn_int.h: Add headers and include guard.
4930         (__spawn_valid_fd): New function.
4931         * posix/spawn_faction_addopen.c
4932         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
4933         * posix/spawn_faction_addclose.c
4934         (posix_spawn_file_actions_addclose): Likewise.
4935         * posix/spawn_faction_adddup2.c
4936         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
4937         second file descriptor.
4938         * posix/spawn_valid_fd.c: New file.
4939         * posix/tst-posix_spawn-fd.c: New file.
4940         * posix/Makefile (routines): Add spawn_valid_fd.
4941         (tests): Add tst-posix_spawn-fd.
4943 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4945         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
4946         (do_test): Limit the number of arenas, so that we can use fewer
4947         outer threads.  Limit timeout to 3 seconds, in preparation for a
4948         larger TIMEOUT value.
4950 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4952         [BZ #19674]
4953         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
4954         sign in overflowing and underflowing results when overflow or
4955         underflow is detected early.  Include sign in result before rather
4956         than after scaling.
4958         [BZ #19603]
4959         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4960         (__ieee754_remainderl): Adjust sign of integer version of low part
4961         when taking absolute value of high part.
4962         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4963         * math/libm-test.inc (remainder_test_data): Add another test.
4964         (remquo_test_data): Likewise.
4966 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
4968         [BZ #19602]
4969         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
4970         equal high parts and both low parts zero specially.
4971         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
4972         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4973         Add test-fmodl-ldbl-128ibm.
4975         [BZ #19595]
4976         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
4977         common logic for all cases of shifting subnormal results.  Do not
4978         insert sign bit in shifted mantissa.  Always pass -1023 as biased
4979         exponent to ldbl_insert_mantissa in subnormal case.
4981         [BZ #19594]
4982         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
4983         on high and low parts then adjust result and use
4984         ldbl_canonicalize_int if needed.
4986         [BZ #19593]
4987         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
4988         on high part and __floor or __ceil on low part then use
4989         ldbl_canonicalize_int if needed.
4991         [BZ #19592]
4992         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
4993         high and low parts then use ldbl_canonicalize_int if needed.
4995         [BZ #17899]
4996         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
4997         New function.
4998         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
4999         on high and low parts then use ldbl_canonicalize_int if needed.
5001 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5003         * configure: Regenerated.
5005         * po/libc.pot: Regenerated.
5007         * po/be.po: Updated translation.
5008         * po/bg.po: Likewise.
5009         * po/ca.po: Likewise.
5010         * po/cs.po: Likewise.
5011         * po/da.po: Likewise.
5012         * po/el.po: Likewise.
5013         * po/eo.po: Likewise.
5014         * po/es.po: Likewise.
5015         * po/fi.po: Likewise.
5016         * po/fr.po: Likewise.
5017         * po/gl.po: Likewise.
5018         * po/hr.po: Likewise.
5019         * po/hu.po: Likewise.
5020         * po/ia.po: Likewise.
5021         * po/id.po: Likewise.
5022         * po/it.po: Likewise.
5023         * po/ja.po: Likewise.
5024         * po/lt.po: Likewise.
5025         * po/nb.po: Likewise.
5026         * po/nl.po: Likewise.
5027         * po/pt_BR.po: Likewise.
5028         * po/rw.po: Likewise.
5029         * po/sk.po: Likewise.
5030         * po/sl.po: Likewise.
5031         * po/sv.po: Likewise.
5032         * po/tr.po: Likewise.
5033         * po/zh_CN.po: Likewise.
5034         * po/zh_TW.po: Likewise.
5036         * version.h (RELEAES): Set to "development".
5037         (VERSION): Set to 2.23.90.
5039         * version.h (RELEASE): Set to "stable".
5040         (VERSION): Set to 2.23.
5041         * include/feature.h (__GLIBC_MINOR__): Set to 23.
5043         * NEWS: Updated fixed bugs.
5045 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
5046             Wilco Dijkstra  <wdijkstr@arm.com>
5048         [BZ #19462]
5049         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
5050         (_STRING_INLINE_unaligned): This.
5051         * include/string.h: Include <string_private.h>.
5052         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
5053         _STRING_INLINE_unaligned.
5054         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
5055         (_STRING_INLINE_unaligned): New.
5056         * sysdeps/aarch64/string_private.h: New file.
5057         * sysdeps/generic/string_private.h: Likewise.
5058         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
5059         * sysdeps/s390/string_private.h: Likewise.
5060         * sysdeps/x86/string_private.h: Likewise.
5061         * sysdeps/m68k/m680x0/m68020/bits/string.h
5062         (_STRING_ARCH_unaligned): Renamed to ...
5063         (_STRING_INLINE_unaligned): This.
5064         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
5065         to ...
5066         (_STRING_INLINE_unaligned): This.
5067         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
5068         to ...
5069         (_STRING_INLINE_unaligned): This.
5070         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
5071         to ...
5072         (_STRING_INLINE_unaligned): This.
5074 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
5075             H.J. Lu  <hongjiu.lu@intel.com>
5077         [BZ #19590]
5078         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
5079         relocation.
5081 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
5083         [BZ #18665]
5084         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
5085         *herrno_p.
5086         (gaih_getanswer): Document functional behviour. Return tryagain
5087         if any result is tryagain.
5088         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
5089         when freed.
5090         * resolv/res_send.c: Add copyright text.
5091         (__libc_res_nsend): Document that MAXPACKET is expected.
5092         (send_vc): Document. Remove buffer reuse.
5093         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
5094         size of the buffer. Add Dprint for truncated UDP buffer.
5096 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
5098         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
5099         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
5100         * INSTALL: Regenerate.
5102 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
5103             Jonathan Wakely  <jwakely@redhat.com>
5104             Carlos O'Donell  <carlos@redhat.com>
5106         [BZ 19439]
5107         * math/Makefile (tests): Add test-math-isinff.
5108         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
5109         * math/bits/mathcalls.h [__USE_MISC]: Use
5110         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
5111         functions not in C++11 and which don't conflict e.g. isinff,
5112         isinfl etc.
5113         * math/test-math-isinff.cc: New file.
5115 2016-02-12  Florian Weimer  <fweimer@redhat.com>
5117         * misc/bug18240.c (do_test): Set RLIMIT_AS.
5119 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5121         [BZ #19529]
5122         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
5124 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5126         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5128 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
5130         [BZ #19550]
5131         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
5132         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
5133         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
5134         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
5135         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
5136         New syscall entry.
5137         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
5138         New syscall entry.
5139         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
5140         syscall entry.
5142 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
5144         [BZ #18240]
5145         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
5146         unsigned int wraparound.
5148 2016-01-27  Florian Weimer  <fweimer@redhat.com>
5150         [BZ #18240]
5151         * misc/bug18240.c: New test.
5152         * misc/Makefile (tests): Add it.
5154 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
5155             Joseph Myers  <joseph@codesourcery.com>
5157         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
5158         load in branch delay slot when less than a word of input left.
5160 2016-01-27  Andreas Schwab  <schwab@suse.de>
5162         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
5163         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
5164         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
5165         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
5167 2016-01-26  David S. Miller  <davem@davemloft.net>
5169         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
5171 2016-01-25  David S. Miller  <davem@davemloft.net>
5173         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
5174         __sqrtl_finite.
5175         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
5176         instead using versioned_symbol.
5177         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
5178         of entries.
5180         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
5181         __sqrtl_finite to GLIBC_2.23
5183 2016-01-25  Ricchard Henderson  <rth@redhat.com>
5185         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5187 2016-01-25  Andreas Schwab  <schwab@suse.de>
5189         [BZ #17514]
5190         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
5191         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
5192         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
5193         * nptl/tst-mutex-errorcheck.c: New file.
5195 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5197         [BZ #18560]
5198         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
5199         (IPCOP_semop): Likewise.
5200         (IPCOP_semget): Likewise.
5201         (IPCOP_semctl): Likewise.
5202         (IPCOP_msgsnd): Likewise.
5203         (IPCOP_msgrcv): Likewise.
5204         (IPCOP_msgget): Likewise.
5205         (IPCOP_msgctl): Likewise.
5206         (IPCOP_shmat): Likewise.
5207         (IPCOP_shmdt): Likewise.
5208         (IPCOP_shmget): Likewise.
5209         (IPCOP_shmctl): Likewise.
5211 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5213         * string/tst-endian.c: Include <libc-internal.h>.
5214         (do_test): Ignore tautological-compare warnings around
5215         "htobeXX (beXXtoh (i)) != i" and
5216         "htoleXX (leXXtoh (i)) != i" if-statements.
5218 2016-01-24  David S. Miller  <davem@davemloft.net>
5220         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
5221         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
5222         alias.
5223         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5224         __sqrtl_finite.
5226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5228 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
5230         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
5231         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
5232         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5234 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5236         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
5237         (thread_func): Use new function to simplify barrier check.
5238         (do_test): Use new function to simplify checking barrier exit
5239         code, and actually join the child thread.
5241 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5243         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
5244         semicolon.
5245         (__libc_tend): Likewise.
5246         (__libc_tabort): Likewise.
5248 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
5250         * sysdeps/nios2/libm-test-ulps: Update.
5251         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
5252         (__gtsf2): Likewise.
5253         (__unorddf2): Likewise.
5254         (__unordsf2): Likewise.
5255         (__ledf2): Likewise.
5257 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
5259         * nis/nis_table.c (__follow_path): Disable diagnostic for
5260         uninitialized variable that is a false positive for gcc 4.7.
5261         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
5263 2016-01-20  Roland McGrath  <roland@hack.frob.com>
5265         * sysdeps/nacl/lowlevellock-futex.h
5266         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
5267         Always evaluate PRIVATE argument.
5269 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
5271         [BZ #19490]
5272         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
5273         (pthread_cond_broadcast): Use ENTRY/END
5274         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
5275         (pthread_cond_signal): Likewise.
5276         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
5277         Likewise.
5278         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
5279         Likewise.
5280         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
5281         Likewise.
5283 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
5285         * sysdeps/ieee754/dbl-64/s_finite.c
5286         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
5287         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
5288         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
5289         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
5290         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
5292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5293         (__gtsf2): Add as optional for libc.so.
5294         (__unordsf2): Likewise.
5295         (__signbit): Remove for libc.so.
5296         (__signbitl): Likewise.
5298 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5300         * iconvdata/bug-iconv11.c (test_ibm93x):
5301         Use %zu printf format specifier for size_t argument.
5303 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
5305         * math/gen-libm-test.pl (parse_ulps): Do not reduce
5306         already-recorded ulps.
5307         * sysdeps/arm/libm-test-ulps: Regenerated.
5308         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5309         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5310         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5312 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5313             Paul Pluzhnikov  <ppluzhnikov@google.com>
5315         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
5316         assembler not supporting AVX-512.
5318 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5320         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5322 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
5324         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5325         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5327         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5329         * sysdeps/arm/libm-test-ulps: Regenerated.
5331 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
5333         [BZ #19451]
5334         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
5336 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
5338         [BZ #19486]
5339         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
5340         * sysdeps/generic/fix-fp-int-convert-overflow.h
5341         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
5342         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
5343         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
5344         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
5345         Likewise.
5346         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
5347         Avoid conversions to long int where inexact exceptions
5348         could be raised.
5349         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
5350         Likewise.
5351         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
5352         Avoid conversions to long long int where inexact exceptions
5353         could be raised.
5354         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
5355         Likewise.
5357 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
5359         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
5360         * configure: Regenerated.
5362 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5364         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
5366 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
5368         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
5369         outside of comment.
5371 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5373         * nptl/tst-barrier1.c: Add description on first line.
5374         * nptl/tst-barrier2.c: Likewise.
5375         * nptl/tst-barrier3.c: Likewise.
5376         * nptl/tst-barrier4.c: Likewise.
5377         * nptl/tst-barrier5.c: Likewise.
5379 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5381         [BZ #18868]
5382         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
5384 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5386         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
5387         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5388         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
5389         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
5390         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
5391         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
5392         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5393         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5394         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5395         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5396         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5398 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5400         [BZ #13065]
5401         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
5402         new implementation.
5403         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
5404         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
5405         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
5406         (BARRIER_IN_THRESHOLD): New macro.
5407         * nptl/pthread_barrierattr_setpshared.c
5408         (pthread_barrierattr_setpshared): Clean up.
5409         * nptl/tst-barrier4.c: Correct comment.
5410         * nptl/tst-barrier5.c: New file.
5411         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
5412         (gen-as-const-headers): Remove lowlevelbarrier.sym.
5413         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
5414         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
5415         * nptl/lowlevelbarrier.sym: Remove.
5416         * nptl/DESIGN-barrier.txt: Remove.
5417         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
5418         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
5419         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
5420         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
5421         error.
5422         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
5423         implementation.
5425 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5427         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
5428         (do_child): Mask SIGRTMIN while thr is running.
5430 2016-01-15  Martin Sebor  <msebor@redhat.com>
5432         [BZ #19432]
5433         * iconvdata/Makefile: Add bug-iconv11.
5434         * iconvdata/bug-iconv11.c: New test.
5435         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
5436         * iconvdata/ibm933.c: Same.
5437         * iconvdata/ibm935.c: Same.
5438         * iconvdata/ibm937.c: Same.
5439         * iconvdata/ibm939.c: Same.
5441 2016-01-15  Martin Sebor  <msebor@redhat.com>
5443         [BZ #19443]
5444         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
5445         [DEBUG] (_ufc_set_bits): Declare used.
5446         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
5447         [DEBUG] (print_all): Declare used.
5448         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
5449         operands of the ternary ?: expression to target type.
5450         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
5451         calling the undeclared abort.
5452         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
5454 2016-01-15  Martin Sebor  <msebor@redhat.com>
5456         [BZ #18755]
5457         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
5458         warnings.
5459         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
5460         (__gai_create_helper_thread): Same.
5461         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
5462         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
5463         to suppress -Wmaybe-uninitialized warnings.
5465 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
5467         [BZ #19465]
5468         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
5469         inside if.
5470         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5471         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5472         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5474 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
5476         [BZ #19466]
5477         * time/tst-mktime2.c (time_t_max): Removed.
5478         (time_t_min): Likewise.
5479         (TYPE_SIGNED): New.
5480         (TYPE_MINIMUM): Likewise.
5481         (TYPE_MAXIMUM): Likewise.
5482         (TIME_T_MIN): Likewise.
5483         (TIME_T_MAX): Likewise.
5484         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
5485         and TIME_T_MIN.
5486         (do_test): Likewise.
5488 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
5490         [BZ #19467]
5491         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5492         index_Fast_Unaligned_Load flag for Excavator family CPUs.
5494 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
5496         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
5498 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
5500         * benchtests/Makefile (PYTHON): Define.
5501         (bench-func): Use $(PYTHON) to run python scripts.
5502         ($(objpfx)bench-%.c): Likewise.
5504 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
5506         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
5507         leading slash when `file_name' is "/".
5509 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
5511         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
5512         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
5513         Likewise.
5514         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
5515         Likewise.
5516         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
5517         Likewise.
5518         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
5519         enum constant and macro.
5520         (PTRACE_SETSIGMASK): Likewise.
5521         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5522         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5523         (PTRACE_GETSIGMASK): Likewise.
5524         (PTRACE_SETSIGMASK): Likewise.
5525         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5526         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
5527         Likewise.
5528         (PTRACE_SETSIGMASK): Likewise.
5529         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5530         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5531         (PTRACE_GETSIGMASK): Likewise.
5532         (PTRACE_SETSIGMASK): Likewise.
5533         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5534         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
5535         Likewise.
5536         (PTRACE_SETSIGMASK): Likewise.
5537         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5538         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
5539         Likewise.
5540         (PTRACE_SETSIGMASK): Likewise.
5541         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5542         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
5543         Likewise.
5544         (PTRACE_SETSIGMASK): Likewise.
5545         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5547 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
5548             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5550         [BZ #19439]
5551         * math/bits/mathcalls.h
5552         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
5553         prototype.
5554         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
5556 2016-01-11  Andreas Schwab  <schwab@suse.de>
5558         [BZ #19253]
5559         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
5560         cache when TZDEFRULES was used.
5561         * time/tst-tzname.c: New file.
5562         * time/Makefile (test): Add tst-tzname.
5563         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
5564         * timezone/Makefile (test-zones): Add $(posixrules-file).
5565         ($(testdata)/$(posixrules-file)): New rule.
5567 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
5569         Fix doc quoting problems with Texinfo 5
5570         Without this change, in the info file output, Texinfo 5 quotes code
5571         in text with undirected single quotes 'like this' and generates
5572         code examples that with many PDF readers cannot be cut out of PDFs
5573         and pasted into code.
5574         * manual/libc.texinfo: Configure the libc manual like the GNU
5575         Emacs manual, by using @documentencoding and setting
5576         txicodequoteundirected and txicodequotebacktick.  This way,
5577         Texinfo 5 quotes code in text with directed single quotes ‘like
5578         this’ and produces examples that can be cut out of PDFs.  This
5579         change causes Texinfo 5 to generate info files that contain UTF-8
5580         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
5581         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
5583 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5585         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
5586         __libc_tabort, __libc_tend): New wrappers that enforce compiler
5587         barriers to their respective compiler built-ins.
5588         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
5589         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
5590         * sysdeps/powerpc/sysdep.h: Likewise.
5591         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
5592         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
5593         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
5595 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
5597         * scripts/config.guess: Revert previous shebang change.
5598         * scripts/config.sub: Likewise.
5599         * scripts/mkinstalldirs: Likewise.
5601 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5603         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
5604         PPC_FEATURE2_HAS_IEEE128.
5605         * sysdeps/powerpc/dl-procinfo.c:
5606         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
5608 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
5610         [BZ #19415]
5611         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
5612         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
5613         (_dl_lookup_address): Rewrite using function resolver trampoline.
5614         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
5615         two bits in address.
5617 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5619         * longlong.h: Change !__SHMEDIA__ to
5620         (!defined (__SHMEDIA__) || !__SHMEDIA__).
5621         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
5623 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
5624             Joseph Myers  <joseph@codesourcery.com>
5625             Mark Shinwell  <shinwell@codesourcery.com>
5626             Andrew Stubbs  <ams@codesourcery.com>
5627             Rich Felker <dalias@libc.org>
5629         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
5631 2016-01-07  Richard Henderson  <rth@redhat.com>
5633         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
5635 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5637         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
5638         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
5639         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5640         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5641         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
5643 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
5644             Joseph Myers  <joseph@codesourcery.com>
5646         * timezone/private.h: Update from tzcode 2015g.
5647         * timezone/tzfile.h: Likewise.
5648         * timezone/tzselect.ksh: Likewise.
5649         * timezone/zdump.c: Likewise.
5650         * timezone/zic.c: Likewise.
5651         * timezone/ialloc.c: Remove file.
5652         * timezone/scheck.c: Likewise.
5653         * timezone/Makefile (extra-objs): Remove variable.
5654         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
5655         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
5656         -Wno-maybe-uninitialized.
5657         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
5658         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
5659         (CFLAGS-ialloc.c): Remove variable.
5660         (CFLAGS-scheck.c): Likewise.
5661         * timezone/README: Update list of files from tzcode.
5663 2016-01-07  Khem Raj  <raj.khem@gmail.com>
5665         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
5666         instead of __fxprintf when _LIBC is undefined.
5668 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
5670         * catgets/test-gencat.sh: Remove space after shebang.
5671         * conform/GlibcConform.pm: Likewise.
5672         * conform/check-header-lists.sh: Likewise.
5673         * conform/conformtest.pl: Likewise.
5674         * conform/linknamespace.pl: Likewise.
5675         * conform/list-header-symbols.pl: Likewise.
5676         * debug/catchsegv.sh: Likewise.
5677         * elf/genrtldtbl.awk: Likewise.
5678         * elf/tst-pathopt.sh: Likewise.
5679         * elf/tst-rtld-load-self.sh: Likewise.
5680         * grp/tst_fgetgrent.sh: Likewise.
5681         * iconvdata/gen-8bit-gap-1.sh: Likewise.
5682         * iconvdata/gen-8bit-gap.sh: Likewise.
5683         * iconvdata/gen-8bit.sh: Likewise.
5684         * iconvdata/run-iconv-test.sh: Likewise.
5685         * intl/tst-gettext.sh: Likewise.
5686         * intl/tst-gettext2.sh: Likewise.
5687         * intl/tst-gettext4.sh: Likewise.
5688         * intl/tst-gettext6.sh: Likewise.
5689         * intl/tst-translit.sh: Likewise.
5690         * io/ftwtest-sh: Likewise.
5691         * libio/test-freopen.sh: Likewise.
5692         * locale/gen-translit.pl: Likewise.
5693         * malloc/tst-mtrace.sh: Likewise.
5694         * manual/check-safety.sh: Likewise.
5695         * manual/libc-texinfo.sh: Likewise.
5696         * manual/tsort.awk: Likewise.
5697         * manual/xtract-typefun.awk: Likewise.
5698         * nptl/tst-cancel-wrappers.sh: Likewise.
5699         * nptl/tst-tls6.sh: Likewise.
5700         * posix/globtest.sh: Likewise.
5701         * posix/tst-getconf.sh: Likewise.
5702         * posix/wordexp-tst.sh: Likewise.
5703         * scripts/check-c++-types.sh: Likewise.
5704         * scripts/check-local-headers.sh: Likewise.
5705         * scripts/config.guess: Likewise.
5706         * scripts/config.sub: Likewise.
5707         * scripts/cpp: Likewise.
5708         * scripts/cross-test-ssh.sh: Likewise.
5709         * scripts/documented.sh: Likewise.
5710         * scripts/evaluate-test.sh: Likewise.
5711         * scripts/gen-libc-abis: Likewise.
5712         * scripts/gen-sorted.awk: Likewise.
5713         * scripts/list-fixed-bugs.py: Likewise.
5714         * scripts/merge-test-results.sh: Likewise.
5715         * scripts/mkinstalldirs: Likewise.
5716         * scripts/rellns-sh: Likewise.
5717         * scripts/test-installation.pl: Likewise.
5718         * scripts/update-copyrights: Likewise.
5719         * stdio-common/tst-printf.sh: Likewise.
5720         * stdio-common/tst-unbputc.sh: Likewise.
5721         * stdlib/tst-fmtmsg.sh: Likewise.
5722         * stdlib/tst-setcontext3.sh: Likewise.
5723         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
5724         * sysdeps/unix/make-syscalls.sh: Likewise.
5726 2016-01-06  John David Anglin  <dave.anglin@bell.net>
5728         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
5729         asm stw with atomic_exchange_rel.  Add explanatory comment.
5730         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
5731         Likewise.
5733 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5735         [BZ #19122]
5736         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
5737         * sysdeps/generic/dl-unistd.h: New file.
5738         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
5740 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5742          [BZ #19122]
5743          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
5744          * sysdeps/generic/dl-mman.h: New file.
5745          * sysdeps/mach/hurd/dl-mman.h: Likewise.
5747 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
5749         * manual/texinfo.tex: Update to version 2016-01-04.21 with
5750         trailing whitespace removed.
5751         * scripts/config.guess: Update to version 2016-01-01.
5752         * scripts/config.sub: Update to version 2016-01-01.
5753         * scripts/move-if-change: Update from gnulib.
5755 2016-01-04  Anton Blanchard  <anton@samba.org>
5757         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
5758         for array indices.
5759         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
5761 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
5763         * NEWS: Update copyright dates.
5764         * catgets/gencat.c (print_version): Likewise.
5765         * csu/version.c (banner): Likewise.
5766         * debug/catchsegv.sh: Likewise.
5767         * debug/pcprofiledump.c (print_version): Likewise.
5768         * debug/xtrace.sh (do_version): Likewise.
5769         * elf/ldconfig.c (print_version): Likewise.
5770         * elf/ldd.bash.in: Likewise.
5771         * elf/pldd.c (print_version): Likewise.
5772         * elf/sotruss.sh: Likewise.
5773         * elf/sprof.c (print_version): Likewise.
5774         * iconv/iconv_prog.c (print_version): Likewise.
5775         * iconv/iconvconfig.c (print_version): Likewise.
5776         * locale/programs/locale.c (print_version): Likewise.
5777         * locale/programs/localedef.c (print_version): Likewise.
5778         * login/programs/pt_chown.c (print_version): Likewise.
5779         * malloc/memusage.sh (do_version): Likewise.
5780         * malloc/memusagestat.c (print_version): Likewise.
5781         * malloc/mtrace.pl: Likewise.
5782         * manual/libc.texinfo: Likewise.
5783         * nptl/version.c (banner): Likewise.
5784         * nscd/nscd.c (print_version): Likewise.
5785         * nss/getent.c (print_version): Likewise.
5786         * nss/makedb.c (print_version): Likewise.
5787         * posix/getconf.c (main): Likewise.
5788         * scripts/test-installation.pl: Likewise.
5789         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5791         * All files with FSF copyright notices: Update copyright dates
5792         using scripts/update-copyrights.
5793         * intl/plural.c: Regenerated.
5794         * locale/programs/charmap-kw.h: Likewise.
5795         * locale/programs/locfile-kw.h: Likewise.
5797 2016-01-02  Helge Deller  <deller@gmx.de>
5799         [BZ #19285]
5800         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
5801         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
5802         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
5803         (MADV_xxK_PAGES): Remove.
5805 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
5807         [BZ #15421]
5808         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
5809         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
5810         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
5811         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
5813 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
5815         [BZ #19408]
5816         * sysdeps/unix/sysv/linux/personality.c: New file.
5817         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
5818         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
5819         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
5820         (sysdep_routines): Add personality.
5821         (tests): Add tst-personality.
5822         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
5823         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
5824         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
5825         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
5826         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
5827         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
5828         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
5829         Likewise.
5830         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
5831         Likewise.
5832         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
5833         Likewise.
5834         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
5835         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
5836         Likewise.
5838 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
5840         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
5841         (PATH_ARM_SYSTYPE): Remove.
5842         (PATH_CPUINFO): Likewise.
5843         (IO_BASE_FOOTBRIDGE): Likewise.
5844         (IO_SHIFT_FOOTBRIDGE): Likewise.
5845         (struct platform): Likewise.
5846         (init_iosys): Remove compatibility code for 2.4 kernels.
5847         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
5849 2015-12-29  Florian Weimer  <fweimer@redhat.com>
5851         * malloc/tst-malloc-thread-fail.c: New file.
5852         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
5853         (tst-malloc-thread-fail): Link against libpthread.
5855 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
5857         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
5858         (get_parser): New function.
5859         (main): New function.
5861 2015-12-29  Rob Wu  <rob@robwu.nl>
5863         [BZ #19369]
5864         * resolv/res_init.c (__res_vinit): Reset defdname before use.
5866 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
5868         [BZ #19270]
5869         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5871 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
5873         [BZ #15421]
5874         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
5876 2015-12-23  Torvald Riegel  <triegel@redhat.com>
5878         [BZ #13690]
5879         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
5880         after releasing it.
5881         (__lll_robust_unlock): Likewise.
5882         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5883         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
5884         (lll_robust_unlock): Likewise.
5885         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
5886         Prevent warnings in callers.
5888 2015-12-23  Florian Weimer  <fweimer@redhat.com>
5890         * malloc/arena.c (list_lock): Update comment.
5892 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5894         * sysdeps/powerpc/hwcapinfo.c: Export symbol
5895         __parse_hwcap_and_convert_at_platform to libc.a.
5897 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5899         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
5900         platform and feature support for POWER9.
5901         * sysdeps/powerpc/dl-procinfo.h: Likewise.
5902         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
5903         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
5904         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
5905         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
5906         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
5907         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
5908         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
5910 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5912         Harmonize generic stdio-lock support with nptl
5914         This fixes build when _IO_funlockfile is a macro, fixes build where
5915         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
5916         stack unwind.
5918         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
5919         _IO_release_lock ): Use cleanup attribute on new
5920         _IO_acquire_lock_file variable instead of assuming that
5921         _IO_release_lock will be called.
5922         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
5923         _IO_acquire_lock_needs_exceptions_enabled.
5924         (_IO_acquire_lock_clear_flags2): New macro.
5926 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5928         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5930 2015-12-21  Florian Weimer  <fweimer@redhat.com>
5932         [BZ #19182]
5933         * malloc/arena.c (list_lock): Document lock ordering requirements.
5934         (free_list_lock): New lock.
5935         (ptmalloc_lock_all): Comment on free_list_lock.
5936         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
5937         (detach_arena): Update comment.  free_list_lock is now needed.
5938         (_int_new_arena): Use free_list_lock around detach_arena call.
5939         Acquire arena lock after list_lock.  Add comment, including FIXME
5940         about incorrect synchronization.
5941         (get_free_list): Switch to free_list_lock.
5942         (reused_arena): Acquire free_list_lock around detach_arena call
5943         and attached threads counter update.  Add two FIXMEs about
5944         incorrect synchronization.
5945         (arena_thread_freeres): Switch to free_list_lock.
5946         * malloc/malloc.c (struct malloc_state): Update comments to
5947         mention free_list_lock.
5949 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5951         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
5952         Remove functions.
5953         (sloww, sloww1): Accept argument to offset quadrant.
5954         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
5955         quadrant.
5956         (__sin, __cos): Consolidate common code into new functions.
5957         (reduce_sincos_1, do_sincos_1): New functions.
5958         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5960         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
5961         code to new functions.
5962         (reduce_sincos_2, do_sincos_2): New functions.
5963         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5965         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
5966         common code for sincos.
5967         (__cos) [!IN_SINCOS]: Likewise.
5968         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
5969         New function.
5970         (__sincos): Use it.
5972 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
5974         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
5975         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
5976         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5978 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5980         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
5981         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
5982         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5983         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
5984         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5985         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
5986         index_Prefer_No_VZEROUPPER): New feature.
5987         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
5988         Prefer_No_VZEROUPPER for Knights Landing.
5990 015-12-18  Torvald Riegel  <triegel@redhat.com>
5992         * math/atest-exp2.c (mp_exp_m1): Remove.
5994 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5996         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
5997         syscalls.
5998         (__SYSCALL0): New macro.
5999         (__SYSCALL1): Likewise.
6000         (__SYSCALL2): Likewise.
6001         (__SYSCALL3): Likewise.
6002         (__SYSCALL4): Likewise.
6003         (__SYSCALL5): Likewise.
6004         (__SYSCALL6): Likewise.
6005         (__SYSCALL_CONCAT_X): Likewise.
6006         (__SYSCALL_CONCAT): Likewise.
6007         (__SYSCALL_DIST): Likewise.
6008         (__SYSCALL_CALL): Likewise.
6010 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
6012         [BZ #19363]
6013         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
6015 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6017         [BZ #19375]
6018         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
6019         negative subnormals.
6021 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
6023         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6024         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
6025         (INTERNAL_SYSCALL_NCS): Use it.
6026         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6028 2015-12-16  Florian Weimer  <fweimer@redhat.com>
6030         [BZ #19243]
6031         * malloc/arena.c (get_free_list): Remove assert and adjust
6032         reference count handling.  Add comment about reused_arena
6033         interaction.
6034         (reused_arena): Add comments abount get_free_list interaction.
6035         * malloc/tst-malloc-thread-exit.c: New file.
6036         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
6037         (tst-malloc-thread-exit): Link against libpthread.
6039 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6041         [BZ #19367]
6042         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
6043         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
6044         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6045         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
6046         (index_Prefer_MAP_32BIT_EXEC): Likewise.
6048 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6050         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
6051         Silvermont optimizations for Knights Landing.
6053 2015-12-15  Andreas Schwab  <schwab@suse.de>
6055         [BZ #17197]
6056         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
6057         immediately after emitting SI.
6058         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
6059         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
6060         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
6061         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
6062         * iconvdata/bug-iconv10.c: New file.
6063         * iconvdata/Makefile (tests): Add bug-iconv10.
6064         ($(objpfx)bug-iconv10.out): New rule.
6066 2015-12-15  Florian Weimer  <fweimer@redhat.com>
6068         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
6069         aliasing violation.
6071 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
6073         [BZ #18472]
6074         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
6075         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
6076         conditionals for them.
6077         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
6078         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
6079         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
6080         sys/kdaemon.h.
6081         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
6082         compat-only syscall, obsoleted in glibc 2.23.
6083         (create_module): Likewise.
6084         (get_kernel_syms): Likewise.
6085         (query_module): Likewise.
6086         (uselib): Likewise.
6087         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
6089 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
6091         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
6092         <linux/version.h>.
6093         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
6094         conditional code.
6095         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
6096         and ioshift_name initialization.
6098 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6100         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6101         Fix indentation.
6103 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6105         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
6107 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6109         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
6111 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
6112             Jakub Wilk  <jwilk@debian.org>
6114         [BZ #19347]
6115         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
6116         to change the group of the device to the tty group.
6118 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
6120         Split large string section; add truncation advice
6121         * manual/examples/strncat.c: Remove.
6122         This example was misleading, as the code would have undefined
6123         behavior if "hello" was longer than SIZE.  Anyway, the manual
6124         shouldn't encourage strncpy+strncat for this sort of thing.
6125         * manual/string.texi (Copying Strings and Arrays): Split into
6126         three sections Copying Strings and Arrays, Concatenating Strings,
6127         and Truncating Strings, as this section was way too long.  All
6128         cross-referenced changed.  Add advice about string-truncation
6129         functions.  Remove misleading strncat example.
6131 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
6133         * manual/nss.texi (NSS Modules Interface): Document
6134         NSS_STATUS_NOTFOUND and SUCCESS.
6136 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6138         [BZ 18568]
6139         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6140         201505L, for Unicode 8.
6142 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
6144         * locale/C-translit.h: Regenerate.
6146 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6148         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
6149         and U+0153.
6151 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
6153         [BZ #19351]
6154         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
6155         expanding log(1+z), compare z rather than its square with epsilon
6156         to determine when to avoid evaluating the expansion.
6158         [BZ #19350]
6159         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6160         Increase overflow threshold.
6162         [BZ #19349]
6163         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
6164         when small.
6166         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6167         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6168         New macro.
6169         [__LINUX_KERNEL_VERSION >= 0x040300]
6170         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6171         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6172         Likewise.
6173         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6174         Likewise.
6175         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6176         Likewise.
6177         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6178         Likewise.
6179         [__LINUX_KERNEL_VERSION >= 0x040300]
6180         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6181         [__LINUX_KERNEL_VERSION >= 0x040300]
6182         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6183         [__LINUX_KERNEL_VERSION >= 0x040300]
6184         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6185         [__LINUX_KERNEL_VERSION >= 0x040300]
6186         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6187         [__LINUX_KERNEL_VERSION >= 0x040300]
6188         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6189         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6190         Likewise.
6191         [__LINUX_KERNEL_VERSION >= 0x040300]
6192         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6193         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6194         Likewise.
6195         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6196         Likewise.
6197         [__LINUX_KERNEL_VERSION >= 0x040300]
6198         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6199         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6200         Likewise.
6201         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6202         Likewise.
6203         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6204         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
6205         Likewise.
6206         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
6207         Likewise.
6208         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6209         Likewise.
6210         [__LINUX_KERNEL_VERSION >= 0x040300]
6211         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6212         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6213         Likewise.
6214         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6215         Likewise.
6216         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6217         Likewise.
6218         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6219         Likewise.
6220         [__LINUX_KERNEL_VERSION >= 0x040300]
6221         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6222         [__LINUX_KERNEL_VERSION >= 0x040300]
6223         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6224         [__LINUX_KERNEL_VERSION >= 0x040300]
6225         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6226         [__LINUX_KERNEL_VERSION >= 0x040300]
6227         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6228         [__LINUX_KERNEL_VERSION >= 0x040300]
6229         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6230         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6231         Likewise.
6232         [__LINUX_KERNEL_VERSION >= 0x040300]
6233         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6234         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6235         Likewise.
6236         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6237         Likewise.
6238         [__LINUX_KERNEL_VERSION >= 0x040300]
6239         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6240         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6241         Likewise.
6242         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6243         Likewise.
6244         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6245         (__ASSUME_SOCKET_SYSCALL): Likewise.
6246         (__ASSUME_BIND_SYSCALL): Likewise.
6247         (__ASSUME_CONNECT_SYSCALL): Likewise.
6248         (__ASSUME_LISTEN_SYSCALL): Likewise.
6249         (__ASSUME_ACCEPT_SYSCALL): Likewise.
6250         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6251         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6252         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6253         (__ASSUME_SEND_SYSCALL): Likewise.
6254         (__ASSUME_SENDTO_SYSCALL): Likewise.
6255         (__ASSUME_RECV_SYSCALL): Likewise.
6256         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6257         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
6258         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6259         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6260         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6261         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6262         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6263         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
6264         Likewise.
6265         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
6266         Likewise.
6267         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
6268         Likewise.
6269         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
6270         Likewise.
6271         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
6272         Likewise.
6273         [__LINUX_KERNEL_VERSION >= 0x020625]
6274         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6275         [__LINUX_KERNEL_VERSION >= 0x020625]
6276         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6277         [__LINUX_KERNEL_VERSION >= 0x020625]
6278         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6279         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
6280         Likewise.
6281         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
6282         Likewise.
6283         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
6284         Likewise.
6285         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
6286         Likewise.
6287         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
6288         Likewise.
6289         [__LINUX_KERNEL_VERSION >= 0x020625]
6290         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6291         [__LINUX_KERNEL_VERSION >= 0x020625]
6292         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6293         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
6294         Likewise.
6295         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
6296         Likewise.
6298 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6300         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
6301         record the current if the current ABI and CPU support the FP64
6302         extension.
6303         (has-modd-spreg): Define to record the current if the current ABI and
6304         CPU support 32-bit floating point values in odd FPU registers.
6305         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6306         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
6307         $(has-modd-spreg) equals yes.
6308         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
6309         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
6310         $(has-modd-spreg) equal yes.
6312 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6314         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
6315         basename.
6317 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
6319         * benchtests/Makefile (bench-math): Move ffs and ffsll...
6320         (bench-string): ... here.
6321         (bench): Add bench-string.
6322         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
6323         to *-benchset to reflect what they are.
6324         (benchset): Adjust.
6326         * benchtests/sincos-inputs: Add inputs from sin-inputs and
6327         cos-inputs.
6329 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
6331         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
6332         __attribute__ ((__simd__)) for vector math function declarations.
6334 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6336         Fix typo in strncat, wcsncat manual entries
6337         * manual/string.texi (Copying and Concatenation): Fix typos in
6338         sample implementations of strncat and wcsncat, by having them use
6339         the old value of the destination length, not the new one.
6341 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
6343         [BZ #16961]
6344         [BZ #16962]
6345         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
6346         string on the stack for strtod.
6347         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
6348         a string on the stack for strtof.
6349         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
6350         constructing a string on the stack for strtold.
6351         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
6352         __strtold_nan to GLIBC_PRIVATE.
6353         * math/test-nan-overflow.c: New file.
6354         * math/test-nan-payload.c: Likewise.
6355         * math/Makefile (tests): Add test-nan-overflow and
6356         test-nan-payload.
6358 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6360         Consistency about byte vs character in string.texi
6361         * manual/string.texi (String and Array Utilities):
6362         Distinguish more carefully among bytes, multibyte characters,
6363         and wide characters.  Use "byte" when talking about C 'char',
6364         to distinguish it more clearly from multibyte characters.
6365         Say "wide character" or "multibyte character" instead of
6366         "character", when a wide or multibyte character is intended.
6367         Similarly for "multibyte string" versus "string".
6368         Define these terms more carefully.
6370 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
6372         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
6373         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
6374         Likewise.
6375         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6376         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6377         * sysdeps/sh/math_private.h: New file.
6378         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
6379         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
6380         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
6381         long double function name.
6382         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6383         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6384         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6385         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6386         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
6388         Remove __finitel, __isinfl, and __isnanl.
6389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6390         Likewise.
6391         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6393         Remove __finitel.
6394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6395         Likewise.
6396         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6398 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
6400         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
6401         installed libmvec_nonshared.a.
6403 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6405         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
6406         (sysdep_routines): Likewise.
6407         (sysdep-rtld-routines): Likewise.
6408         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
6409         [$(subdir) = nptl](tests-static): test-get_hwcap-static
6410         * sysdeps/powerpc/Versions: Added new
6411         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
6412         * sysdeps/powerpc/hwcapinfo.c: New file.
6413         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
6414         and parse hwcap, hwcap2 and platform number information.
6415         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
6416         to store HWCAP+HWCAP2 and platform number.
6417         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
6418         for HWCAP+HWCAP2 and platform number in the TCB.
6419         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
6420         the HWCAP, HWCAP2 and platform number in the TCB.
6421         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
6422         (TLS_INIT_TP): Included calls to add the hwcap and
6423         at_platform values in the TCB in TP initialization.
6424         (TLS_DEFINE_INIT_TP): Likewise.
6425         (THREAD_GET_HWCAP): New macro.
6426         (THREAD_SET_HWCAP): Likewise.
6427         (THREAD_GET_AT_PLATFORM): Likewise.
6428         (THREAD_SET_AT_PLATFORM): Likewise.
6429         * sysdeps/powerpc/powerpc32/dl-machine.h:
6430         (dl_platform_init): New function that calls
6431         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
6432         powerpc32.
6433         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
6434         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
6435         this functionality, static linking case.
6436         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
6437         linking case.
6438         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
6439         __parse_hwcap_and_convert_at_platform for the static linking case.
6440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
6441         Included the new __parse_hwcap_and_convert_at_platform symbol in the
6442         ABI list for GLIBC 2.23.
6443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
6444         Likewise.
6445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
6446         Likewise.
6448 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
6450         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
6451         * configure: Regenerate.
6452         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
6453         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
6455 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
6457         * iconvdata/ibm930.c: Add comment explaining encoding uses.
6458         * iconvdata/ibm933.c: Likewise.
6459         * iconvdata/ibm935.c: Likewise.
6460         * iconvdata/ibm937.c: Likewise.
6461         * iconvdata/ibm939.c: Likewise.
6463 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6465         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
6466         pthread_join.
6467         * nptl/tst-cancel21.c (tf): Likewise.
6469 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
6471         [BZ #19313]
6472         * bits/typesizes.h (__CPU_MASK_TYPE): New.
6473         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6474         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6475         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
6476         Likewise.
6477         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
6478         Likewise.
6479         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
6480         Likewise.
6481         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
6482         Likewise.
6483         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
6484         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
6485         unsigned long int with __CPU_MASK_TYPE.
6487 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6489         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6491 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
6493         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
6494         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
6495         t512.x.
6496         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
6498 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
6500         [BZ #19214]
6501         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
6502         argument to return extended model.  Update family and model
6503         with extended family and model when family == 0x0f.
6504         (init_cpu_features): Updated.
6506 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6508         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
6509         signed off_t, so 32bit bigger than 2GiB values are fine actually.
6511         * sysdeps/mach/hurd/mmap64.c: New file.
6513 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
6515         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
6516         rights for its main user thread in NEWTASK.
6518 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
6520         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
6521         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
6523 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
6525         [BZ #14259]
6526         * Makeconfig: Rename localedir to complocaledir.
6527         Rename inst_localedir to inst_complocaledir.
6528         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
6529         * config.make.in: Use complocaledir and libc_cv_complocaledir.
6530         * configure.ac: Use libc_cv_complocaledir.
6531         * configure: Regenerate.
6532         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
6533         -DCOMPLOCALEDIR.
6534         * locale/findlocale.c: Use COMPLOCALEDIR.
6535         * locale/loadarchive.c: Likewise.
6536         * locale/programs/locale.c: Likewise.
6537         * locale/programs/localedef.c: Likewise.
6538         * locale/programs/locarchive.c: Likewise.
6539         * localedata/Makefile: Use inst_complocaledir.
6540         * sysdeps/gnu/configure: Regenerate.
6541         * sysdeps/hppa/configure: Regenerate.
6542         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
6543         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6545         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
6546         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
6547         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
6548         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
6550 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
6552         [BZ #19058]
6553         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
6554         AS_NEEDED.
6555         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
6556         workaround.
6557         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
6558         libmvec-static-only-routines): Added new file.
6559         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
6561 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6563         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
6564         of interrupted RPC instead of restoring it.
6566         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
6567         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
6568         libc_hidden_def.
6569         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
6570         into initialized data instead of common. Define rtld_hidden_data_def.
6571         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
6572         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
6573         libc_hidden_def.
6574         (if_freenameindex): Add libc_hidden_weak.
6575         (if_nameindex): Add libc_hidden_weak.
6576         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
6577         __open64.
6578         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
6579         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
6580         * sysdeps/mach/nanosleep.c: Include <time.h>
6581         (__nanosleep): Rename to __libc_nanosleep.
6582         (__nanosleep): Add weak_alias.
6583         (nanosleep): Update alias.
6585 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
6587         * stdlib/strtod_nan.c: New file.
6588         * stdlib/strtod_nan_double.h: Likewise.
6589         * stdlib/strtod_nan_float.h: Likewise.
6590         * stdlib/strtod_nan_main.c: Likewise.
6591         * stdlib/strtod_nan_narrow.h: Likewise.
6592         * stdlib/strtod_nan_wide.h: Likewise.
6593         * stdlib/strtof_nan.c: Likewise.
6594         * stdlib/strtold_nan.c: Likewise.
6595         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
6596         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
6597         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
6598         * wcsmbs/wcstod_nan.c: Likewise.
6599         * wcsmbs/wcstof_nan.c: Likewise.
6600         * wcsmbs/wcstold_nan.c: Likewise.
6601         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
6602         strtold_nan.
6603         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
6604         wcstof_nan.
6605         * include/stdlib.h (__strtof_nan): Declare and use
6606         libc_hidden_proto.
6607         (__strtod_nan): Likewise.
6608         (__strtold_nan): Likewise.
6609         (__wcstof_nan): Likewise.
6610         (__wcstod_nan): Likewise.
6611         (__wcstold_nan): Likewise.
6612         * include/wchar.h (____wcstoull_l_internal): Declare.
6613         * stdlib/strtod_l.c: Do not include <ieee754.h>.
6614         (____strtoull_l_internal): Remove declaration.
6615         (STRTOF_NAN): Define macro.
6616         (SET_MANTISSA): Remove macro.
6617         (STRTOULL): Likewise.
6618         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
6619         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
6620         (STRTOF_NAN): Define macro.
6621         (SET_MANTISSA): Remove macro.
6622         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
6623         (SET_MANTISSA): Remove macro.
6624         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
6625         macro.
6626         (SET_MANTISSA): Remove macro.
6627         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
6628         macro.
6629         (SET_MANTISSA): Remove macro.
6630         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
6631         (SET_MANTISSA): Remove macro.
6632         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
6633         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
6634         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
6636         [BZ #19266]
6637         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
6638         upper case and lower case letters inside NAN(), not using TOLOWER.
6639         * stdlib/tst-strtod-nan-locale-main.c: New file.
6640         * stdlib/tst-strtod-nan-locale.c: Likewise.
6641         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
6642         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
6643         Depend on $(gen-locales).
6644         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
6645         * wcsmbs/tst-wcstod-nan-locale.c: New file.
6646         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
6647         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
6648         Depend on $(gen-locales).
6649         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
6651 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
6653         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
6655         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
6657         __finitel, __isinfl, and __isnanl.
6658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6659         Likewise.
6660         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
6662         __finitel.
6663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6664         Likewise.
6665         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6667 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6669         * malloc/memusage.c (me): Remove redundant getenv call.
6671 2015-10-24  Florian Weimer  <fweimer@redhat.com>
6673         [BZ #19143]
6674         [BZ #19164]
6675         * nptl/check-cpuset.h: Remove.
6676         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
6677         Remove CPU set size check.
6678         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
6679         Likewise.
6680         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
6681         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6682         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
6683         (__pthread_setaffinity_new): Remove CPU set size check.
6684         * sysdeps/unix/sysv/linux/sched_setaffinity.c
6685         (__kernel_cpumask_size): Remove.
6686         (__sched_setaffinity_new): Remove CPU set size check.
6687         * manual/threads.texi (Default Thread Attributes): Remove stale
6688         reference to check_cpuset_attr, determine_cpumask_size in comment.
6689         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
6690         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
6691         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
6692         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
6693         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
6694         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
6695         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
6696         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
6697         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
6698         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
6699         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
6700         skeleton test file.
6701         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
6702         tst-affinity-pid.
6704 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6706         * scripts/update-abilist.sh: New file.
6707         * Makefile (+subdir_targets): Add subdir_update-all-abi.
6708         * Makerules (update-all-abi-%, update-all-abi)
6709         (subdir_update-all-abi): New targets.
6710         * elf/Makefile (update-all-abi): New target.
6712 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6714         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
6715         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
6716         (__libc_lock_define_initialized): Use it.
6717         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
6718         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
6719         * malloc/malloc.c (main_arena): Likewise.
6720         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6721         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6723 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
6725         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6726         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
6727         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6728         (PTRACE_O_MASK): Update value.
6729         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
6730         New value in enum __ptrace_setoptions.
6731         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6732         (PTRACE_O_MASK): Update value.
6733         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6734         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6735         (PTRACE_O_MASK): Update value.
6736         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
6737         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6738         (PTRACE_O_MASK): Update value.
6739         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
6740         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6741         (PTRACE_O_MASK): Update value.
6742         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
6743         New value in enum __ptrace_setoptions.
6744         (PTRACE_O_MASK): Update value.
6745         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
6746         New value in enum __ptrace_setoptions.
6747         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6748         (PTRACE_O_MASK): Update value.
6750         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
6751         New macro.
6752         (PACKET_AUXDATA): Likewise.
6753         (PACKET_ORIGDEV): Likewise.
6754         (PACKET_VERSION): Likewise.
6755         (PACKET_HDRLEN): Likewise.
6756         (PACKET_RESERVE): Likewise.
6757         (PACKET_TX_RING): Likewise.
6758         (PACKET_LOSS): Likewise.
6759         (PACKET_VNET_HDR): Likewise.
6760         (PACKET_TX_TIMESTAMP): Likewise.
6761         (PACKET_TIMESTAMP): Likewise.
6762         (PACKET_FANOUT): Likewise.
6763         (PACKET_TX_HAS_OFF): Likewise.
6764         (PACKET_QDISC_BYPASS): Likewise.
6765         (PACKET_ROLLOVER_STATS): Likewise.
6766         (PACKET_FANOUT_DATA): Likewise.
6767         (PACKET_MR_UNICAST): Likewise.
6769         [BZ #19242]
6770         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
6771         (TOUPPER): Likewise.
6772         * stdlib/tst-strtol-locale-main.c: New file.
6773         * stdlib/tst-strtol-locale.c: Likewise.
6774         * stdlib/Makefile (tests): Add tst-strtol-locale.
6775         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
6776         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
6777         Depend on $(gen-locales).
6778         * wcsmbs/tst-wcstol-locale.c: New file.
6779         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
6780         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
6781         tr_TR.ISO-8859-9.
6782         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
6783         Depend on $(gen-locales).
6785 2015-11-20  Roland McGrath  <roland@hack.frob.com>
6787         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
6788         __glibc_likely instead of __builtin_expect.  After falling back to
6789         dyncode_create in a non-ET_DYN case, use the allocate_code_data
6790         system interface to register the code pages as occupied.
6792 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
6794         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6795         [!ARM_MATH_PRIVATE_H].
6796         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
6797         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6798         [!HPPA_MATH_PRIVATE_H].
6799         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
6800         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
6801         to [!I386_MATH_PRIVATE_H].
6802         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
6803         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
6804         Change guard to [!M68K_MATH_PRIVATE_H].
6805         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
6806         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
6807         guard to [!MICROBLAZE_MATH_PRIVATE_H].
6808         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
6809         macro.
6810         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6811         [!MIPS_MATH_PRIVATE_H].
6812         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
6813         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6814         [!NIO2_MATH_PRIVATE_H].
6815         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
6816         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6817         [!TILE_MATH_PRIVATE_H].
6818         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
6820         [BZ #15421]
6821         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
6822         initialize with 0 and define as weak alias of __signgam.
6823         * include/math.h [!_ISOMAC] (__signgam): Declare.
6824         * math/Makefile (libm-calls): Add w_lgamma_compat.
6825         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
6826         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
6827         test-signgam-ullong-init.
6828         (tests-static): Add test-signgam-uchar-static,
6829         test-signgam-uchar-init-static, test-signgam-uint-static,
6830         test-signgam-uint-init-static, test-signgam-ullong-static and
6831         test-signgam-ullong-init-static.
6832         (CFLAGS-test-signgam-uchar.c): New variable.
6833         (CFLAGS-test-signgam-uchar-init.c): Likewise.
6834         (CFLAGS-test-signgam-uchar-static.c): Likewise.
6835         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
6836         (CFLAGS-test-signgam-uint.c): Likewise.
6837         (CFLAGS-test-signgam-uint-init.c): Likewise.
6838         (CFLAGS-test-signgam-uint-static.c): Likewise.
6839         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
6840         (CFLAGS-test-signgam-ullong.c): Likewise.
6841         (CFLAGS-test-signgam-ullong-init.c): Likewise.
6842         (CFLAGS-test-signgam-ullong-static.c): Likewise.
6843         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
6844         * math/Versions (libm): Add GLIBC_2.23.
6845         * math/lgamma-compat.h: New file.
6846         * math/test-signgam-main.c: Likewise.
6847         * math/test-signgam-uchar-init-static.c: Likewise.
6848         * math/test-signgam-uchar-init.c: Likewise.
6849         * math/test-signgam-uchar-static.c: Likewise.
6850         * math/test-signgam-uchar.c: Likewise.
6851         * math/test-signgam-uint-init-static.c: Likewise.
6852         * math/test-signgam-uint-init.c: Likewise.
6853         * math/test-signgam-uint-static.c: Likewise.
6854         * math/test-signgam-uint.c: Likewise.
6855         * math/test-signgam-ullong-init-static.c: Likewise.
6856         * math/test-signgam-ullong-init.c: Likewise.
6857         * math/test-signgam-ullong-static.c: Likewise.
6858         * math/test-signgam-ullong.c: Likewise.
6859         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
6860         wrapper of w_lgamma_main.c.
6861         * math/w_lgamma_compat.c: New file.
6862         * math/w_lgamma_compatf.c: Likewise.
6863         * math/w_lgamma_compatl.c: Likewise.
6864         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
6865         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6866         defining compatibility symbols.
6867         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
6868         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
6869         wrapper of w_lgammaf_main.c.
6870         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
6871         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6872         defining compatibility symbols.
6873         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
6874         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
6875         wrapper of w_lgammal_main.c.
6876         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
6877         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6878         defining compatibility symbols.
6879         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
6880         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
6881         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
6882         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
6883         <lgamma-compat.h>.
6884         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
6885         (__ieee754_gamma): Define as alias.
6886         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
6887         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
6888         <lgamma-compat.h>.
6889         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
6890         (__ieee754_gammaf): Define as alias.
6891         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
6892         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
6893         <lgamma-compat.h>.
6894         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
6895         (__ieee754_gammal): Define as alias.
6896         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
6897         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
6898         <math/w_lgamma_compat.c>.
6899         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
6900         Define as alias of __lgamma_compat and use in defining lgammal.
6901         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
6902         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
6903         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
6904         (USE_AS_COMPAT): New macro.
6905         (LGAMMA_OLD_VER): Undefine and redefine.
6906         (lgammal): Do not define here.
6907         (gammal): Only define here if [GAMMA_ALIAS].
6908         * conform/linknamespace.pl (@whitelist): Remove signgam.
6909         * sysdeps/nacl/libm.abilist: Update.
6910         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6911         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6912         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6913         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6914         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6915         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6916         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6917         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6918         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6919         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6920         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6921         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6923         Likewise.
6924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6925         Likewise.
6926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6927         Likewise.
6928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6929         Likewise.
6930         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6931         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6932         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6933         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6934         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6936         Likewise.
6937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6938         Likewise.
6939         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6940         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6941         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6943 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6945         [BZ #16364]
6946         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
6947         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
6949 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6951         * sysdeps/s390/fpu/bits/mathinline.h:
6952         Use __asm__ [__volatile__] instead of asm [volatile].
6953         * sysdeps/s390/abort-instr.h: Likewise.
6954         * sysdeps/s390/atomic-machine.h: Likewise.
6955         * sysdeps/s390/bits/string.h: Likewise.
6956         * sysdeps/s390/dl-tls.h: Likewise.
6957         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6958         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6959         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6960         * sysdeps/s390/fpu/fesetround.c: Likewise.
6961         * sysdeps/s390/fpu/fpu_control.h: Likewise.
6962         * sysdeps/s390/fpu/s_fma.c: Likewise.
6963         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
6964         * sysdeps/s390/memusage.h: Likewise.
6965         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
6966         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
6967         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
6968         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
6969         * sysdeps/s390/nptl/tls.h: Likewise.
6970         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
6971         * sysdeps/s390/s390-32/backtrace.c: Likewise.
6972         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6973         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
6974         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6975         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6976         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
6977         * sysdeps/s390/s390-64/backtrace.c: Likewise.
6978         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6979         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
6980         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
6981         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6982         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6983         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
6984         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6985         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6986         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
6987         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6988         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
6989         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6990         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
6991         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6992         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
6994 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6995             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6997         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
6998         Add lwarx hint, and use macro for acquire instruction.
6999         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7000         Likewise.
7001         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
7002         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
7003         update to use new atomic macros.
7005 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7007         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7008         (__lll_trylock_elision): Fix setting of adapt_count.
7009         * sysdeps/unix/sysv/linux/powerpc/htm.h
7010         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
7011         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
7012         (_ABORT_SYSCALL): Renumber, and clarify definition.
7013         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
7015 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7017         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
7018         after system headers to prevent MIN/MAX redefinition.  Define
7019         HAVE_ALLOCA to preserve builtin alloca usage.
7021 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7023         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
7024         static and don't set or restore rounding.
7025         (__cos)[IN_SINCOS]: Likewise.
7026         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
7027         (__sincos): Set and restore rounding mode.  Remove check for infinite
7028         or NaN input.
7030         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
7032         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
7033         as used.
7035 2015-11-16  Florian Weimer  <fweimer@redhat.com>
7037         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
7039 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
7041         * config.make.in (have-glob-dat-reloc): New.
7042         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
7043         target supports GLOB_DAT relocaton. AC_SUBST.
7044         * configure: Regenerated.
7045         * elf/Makefile (tests): Add tst-prelink.
7046         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7047         (tst-prelink-ENV): New.
7048         ($(objpfx)tst-prelink-conflict.out): Likewise.
7049         ($(objpfx)tst-prelink-cmp.out): Likewise.
7050         * sysdeps/x86/tst-prelink.c: Moved to ...
7051         * elf/tst-prelink.c: Here.
7052         * sysdeps/x86/tst-prelink.exp: Moved to ...
7053         * elf/tst-prelink.exp: Here.
7054         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
7055         (tst-prelink-ENV): Removed.
7056         ($(objpfx)tst-prelink-conflict.out): Likewise.
7057         ($(objpfx)tst-prelink-cmp.out): Likewise.
7058         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
7060 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
7062         [BZ #14551]
7063         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
7064         (__mpn_construct_long_double): If high part overflows to infinity,
7065         set errno and recompute overflowed result of the correct sign.
7066         * sysdeps/ieee754/ldbl-128ibm/Makefile
7067         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
7068         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
7069         $(libm).
7070         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
7072 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
7074         [BZ #15479]
7075         [BZ #19238]
7076         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
7077         floating-point state after first operation on input.  Restore full
7078         state rather than just rounding mode.
7079         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7080         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7081         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7083         [BZ #19235]
7084         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
7085         add 0.5 to integer arguments.
7086         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
7087         Likewise.
7088         (.LC2): New object.
7090 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
7092         * scripts/pylintrc (reports): Set to no.
7094 2015-11-10  Roland McGrath  <roland@hack.frob.com>
7096         * elf/dl-load.c (open_verify): Take new argument FD.
7097         Skip __open call if passed FD is not -1.
7098         (_dl_map_object, open_path): Update callers.
7099         * elf/dl-sysdep-open.h: New file.
7100         * elf/dl-load.c: Include it.
7101         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
7102         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
7103         * sysdeps/nacl/dl-sysdep-open.h: New file.
7104         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
7105         from libc to rtld.
7107 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7109         [BZ #19228]
7110         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
7111         and restore full floating-point state.
7112         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7113         Likewise.
7114         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7115         Likewise.
7116         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7117         Likewise.
7118         * math/test-nearbyint-except-2.c: New file.
7119         * math/Makefile (tests): Add test-nearbyint-except-2.
7121 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
7123         [BZ #19178]
7124         * sysdeps/x86/Makefile (tests): Add tst-prelink.
7125         (tst-prelink-ENV): New.
7126         ($(objpfx)tst-prelink-conflict.out): Likewise.
7127         ($(objpfx)tst-prelink-cmp.out): Likewise.
7128         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7129         * sysdeps/x86/tst-prelink.c: New file.
7130         * sysdeps/x86/tst-prelink.exp: Likewise.
7132 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7134         * math/auto-libm-test-in: Add another test of pow.
7135         * math/auto-libm-test-out: Regenerated.
7136         * math/libm-test.inc (pow_test_data): Add another test.
7138 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7140         [BZ #19219]
7141         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
7142         weak_alias to nearbyintl.
7144 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7146         * sysdeps/aarch64/bits/string.h: New file.
7147         (_STRING_ARCH_unaligned): Define.
7149 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7151         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
7152         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7153         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7154         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
7155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
7157 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
7159         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
7160         for original name of the DSO.  Add it to the name list of the DSO
7161         if it is actually given.
7162         (_dl_map_object): Keep track of whether an audit module rewrote
7163         the file name.  If yes, pass the original name to
7164         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
7165         debugging is enabled, log the change of the file name.
7166         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
7167         _dl_map_object_from_fd.
7168         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
7169         * elf/tst-audit11.c: New file
7170         * elf/tst-auditmod11.c: New file.
7171         * elf/tst-audit11mod1.c: New file.
7172         * elf/tst-audit11mod2.c: New file.
7173         * elf/tst-audit11mod2.map: New file.
7174         * elf/tst-audit12.c: New file
7175         * elf/tst-auditmod12.c: New file.
7176         * elf/tst-audit12mod1.c: New file.
7177         * elf/tst-audit12mod2.c: New file.
7178         * elf/tst-audit12mod2.map: New file.
7179         * elf/tst-audit12mod3.c: New file.
7181 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7183         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
7184         Don't create weak aliases,
7185         because versioned symbols are created later.
7186         * sysdeps/s390/s390-32/setjmp.S
7187         (setjmp, _setjmp): Remove weak and rename to an unique name
7188         in SHARED case due to existing versioned symbols.
7189         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7190         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
7191         (getcontext): Create weak alias only in non SHARED case.
7192         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7194 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7196         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
7197         (__ASSUME_*_SYSCALL) Define new macros.
7198         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
7199         Remove socketcall syscalls.
7200         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
7201         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
7202         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
7203         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
7204         * sysdeps/unix/sysv/linux/send.c (__libc_send):
7205         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
7207 2015-11-09  Florian Weimer  <fweimer@redhat.com>
7209         [BZ #12926]
7210         Terminate process on invalid netlink response.
7211         * sysdeps/unix/sysv/linux/netlinkaccess.h
7212         (__netlink_assert_response): Declare.
7213         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
7214         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
7215         (sysdep_routines): Add netlink_assert_response.
7216         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
7217         __netlink_assert_response.
7218         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7219         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7220         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
7221         __netlink_assert_response.
7223 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
7225         [BZ #19178]
7226         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
7227         (RTYPE_CLASS_PLT): Likewise.
7228         (RTYPE_CLASS_COPY): Likewise.
7229         (RTYPE_CLASS_TLS): Likewise.
7230         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
7231         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
7232         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
7233         DL_DEBUG_PRELINK.
7235 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
7237         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
7238         calls with argument -0.5.
7239         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
7241         * configure.ac (libc_cv_z_nodelete): Remove configure test.
7242         (libc_cv_z_nodlopen): Likewise.
7243         (libc_cv_z_initfirst): Likewise.
7244         * configure: Regenerated.
7246 2015-11-06  Florian Weimer  <fweimer@redhat.com>
7248         Simplify abilist format to be line-based.
7249         * scripts/abilist.awk: Collect descriptors in the descs variable.
7250         (emit): Write descs variable and sort it
7251         externally, with sort.
7252         * sysdeps/**/*.abilist: Convert to new format.
7254 2015-11-06  Mark Wielaard  <mjw@redhat.com>
7256         [BZ #11460]
7257         * io/Makefile (routines): Add fts64.
7258         (tests): Add tst-fts and tst-fts-lfs.
7259         (CFLAGS-fts64.c): New.
7260         * io/Versions (GLIBC_2.23): New.
7261         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
7262         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
7263         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
7264         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
7265         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
7266         (FTSENT64): Likewise.
7267         (fts64_children): Likewise.
7268         (fts64_close): Likewise.
7269         (fts64_open): Likewise.
7270         (fts64_read): Likewise.
7271         (fts64_set): Likewise.
7272         * io/fts64.c: New file.
7273         * io/tst-fts.c: New test.
7274         * io/tst-fts-lfs.c: Likewise.
7275         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
7276         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
7277         fts64_set.
7278         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7279         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7280         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7281         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7282         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7283         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7284         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7285         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7286         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7287         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7288         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7289         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7290         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7292         Likewise.
7293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7294         Likewise.
7295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7297         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7298         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7299         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7300         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7301         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7304         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7305         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7306         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7307         * sysdeps/wordsize-64/fts.c: New file.
7308         * sysdeps/wordsize-64/fts64.c: Likewise.
7309         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
7310         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
7311         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
7312         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
7314 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7316         * math/libm-test.inc (NON_FINITE): New macro.
7317         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
7318         * math/gen-libm-test.pl (show_exceptions): Add argument
7319         $non_finite.
7320         (parse_args): Update call to show_exceptions.
7321         * math/test-math-finite.h: New file.
7322         * math/test-math-no-finite.h: Likewise.
7323         * math/test-double-finite.c: Likewise.
7324         * math/test-float-finite.c: Likewise.
7325         * math/test-ldouble-finite.c: Likewise.
7326         * math/test-double.c: Include "test-math-no-finite.h".
7327         * math/test-float.c: Include "test-math-no-finite.h".
7328         * math/test-ldouble.c: Include "test-math-no-finite.h".
7329         * math/test-math-inline.h (TEST_FINITE): New macro.
7330         * math/test-math-vector.h (TEST_FINITE): Likewise.
7331         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
7332         (libm-tests): Add test-float-finite and test-double-finite.
7333         ($(objpfx)test-float-finite.o): New dependency on
7334         $(objpfx)libm-test.stmp.
7335         ($(objpfx)test-double-finite.o): Likewise.
7336         ($(objpfx)test-ldouble-finite.o): Likewise.
7337         (libm-test-no-inline-cflags): New variable.
7338         (libm-test-finite-cflags): Likewise.
7339         (CFLAGS-test-float-finite.c): Likewise.
7340         (CFLAGS-test-double-finite.c): Likewise.
7341         (CFLAGS-test-ldouble-finite.c): Likewise.
7342         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
7343         (CFLAGS-test-double.c): Likewise.
7344         (CFLAGS-test-ldouble.c): Likewise.
7346 2015-11-05  Roland McGrath  <roland@hack.frob.com>
7348         * io/fcntl.c (__fcntl): Add ... to prototype.
7349         * misc/ioctl.c (__ioctl): Likewise.
7350         * misc/syscall.c (syscall): Likewise.
7352 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7354         * scripts/list-fixed-bugs.py: New file.
7356         [BZ #19213]
7357         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
7358         returned for argument 1.
7359         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
7360         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
7361         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
7362         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
7363         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
7364         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
7366         [BZ #19211]
7367         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
7368         __USE_XOPEN], not if [!__USE_ISOC99].
7369         (lgammaf): Likewise.
7370         (lgammal): Likewise.
7371         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
7372         (gammaf): Likewise.
7373         (gammal): Likewise.
7374         * math/test-signgam-finite-c11.c: New file.
7375         * math/test-signgam-finite-c99.c: Likewise.
7376         * math/test-signgam-finite.c: Likewise.
7377         * math/Makefile (tests): Add test-signgam-finite,
7378         test-signgam-finite-c99 and test-signgam-finite-c11.
7379         (CFLAGS-test-signgam-finite.c): New variable.
7380         (CFLAGS-test-signgam-finite-c99.c): Likewise.
7381         (CFLAGS-test-signgam-finite-c11.c): Likewise.
7383         [BZ #19212]
7384         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
7385         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
7386         500].
7387         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
7388         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
7389         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
7390         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
7391         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
7392         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
7393         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
7394         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
7395         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
7396         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
7398         [BZ #19209]
7399         * math/bits/math-finite.h (ldexp): Remove declaration.
7400         (ldexpf): Likewise.
7401         (ldexpl): Likewise.
7403         [BZ #19205]
7404         * math/bits/math-finite.h (acosf): Condition declaration on
7405         [__USE_ISOC99].
7406         (acosl): Likewise.
7407         (acoshf): Likewise.
7408         (acoshl): Likewise.
7409         (asinf): Likewise.
7410         (asinl): Likewise.
7411         (atan2f): Likewise.
7412         (atan2l): Likewise.
7413         (atanhf): Likewise.
7414         (atanhl): Likewise.
7415         (coshf): Likewise.
7416         (coshl): Likewise.
7417         (expf): Likewise.
7418         (expl): Likewise.
7419         (fmodf): Likewise.
7420         (fmodl): Likewise.
7421         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
7422         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
7423         (j0l): Likewise.
7424         (y0f): Likewise.
7425         (y0l): Likewise.
7426         (j1f): Likewise.
7427         (j1l): Likewise.
7428         (y1f): Likewise.
7429         (y1l): Likewise.
7430         (jnf): Likewise.
7431         (jnl): Likewise.
7432         (ynf): Likewise.
7433         (ynl): Likewise.
7434         (lgammaf_r): Condition declaration on [__USE_ISOC99].
7435         (lgammal_r): Likewise.
7436         (__lgamma_r_finite): New declaration.
7437         (__lgammaf_r_finite): Likewise.
7438         (__lgammal_r_finite): Likewise.
7439         (lgamma): Use __lgamma_r_finite.
7440         (lgammaf): Condition definition on [__USE_ISOC99].  Use
7441         __lgammaf_r_finite.
7442         (lgammal): Condition definition on [__USE_ISOC99].  Use
7443         __lgammal_r_finite.
7444         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
7445         __lgamma_r_finite.
7446         (gammaf): Condition definition on [__USE_ISOC99].  Use
7447         __lgammaf_r_finite.
7448         (gammal): Condition definition on [__USE_ISOC99].  Use
7449         __lgammal_r_finite.
7450         (logf): Condition declaration on [__USE_ISOC99].
7451         (logl): Likewise.
7452         (log10f): Likewise.
7453         (log10l): Likewise.
7454         (ldexpf): Likewise.
7455         (ldexpl): Likewise.
7456         (powf): Likewise.
7457         (powl): Likewise.
7458         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
7459         __USE_ISOC99].
7460         (remainderf): Condition declaration on [__USE_ISOC99].
7461         (remainderl): Likewise.
7462         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
7463         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
7464         (scalbl): Likewise.
7465         (sinhf): Condition declaration on [__USE_ISOC99].
7466         (sinhl): Likewise.
7467         (sqrtf): Likewise.
7468         (sqrtl): Likewise.
7470 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7472         * sysdeps/arm/atomic-machine.h
7473         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7474         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7475         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
7476         Remove conditional code.
7477         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7478         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7479         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
7480         Change conditional to [__ASSEMBLER__].
7481         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7482         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
7483         [!__ASSEMBLER__].
7484         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
7485         code.
7486         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
7487         conditional macro definitions.
7488         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
7489         (__arch_compare_and_exchange_val_16_acq): Likewise.
7490         (__arch_compare_and_exchange_val_32_acq): Likewise.
7491         (atomic_exchange_and_add): Likewise.
7492         (atomic_add): Likewise.
7493         (atomic_add_negative): Likewise.
7494         (atomic_add_zero): Likewise.
7495         (atomic_bit_set): Likewise.
7496         (atomic_bit_test_set): Likewise.
7497         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
7498         code unconditional.
7499         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7501         * math/test-math-errno.h: New file.
7502         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
7503         empty.
7504         (TEST_ERRNO): New macro.
7505         (TEST_EXCEPTIONS): Likewise.
7506         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
7507         (TEST_EXCEPTIONS): Likewise.
7508         * math/test-math-vector.h (TEST_ERRNO): Likewise.
7509         * math/test-double.c: Include "test-math-errno.h".
7510         * math/test-float.c: Likewise.
7511         * math/test-ldouble.c: Likewise.
7512         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
7513         code unconditional.
7514         (test_exceptions): Only run code if TEST_EXCEPTIONS.
7515         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
7516         unconditional.
7517         (test_errno): Only run code if TEST_ERRNO.
7518         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
7520 2015-11-04  Florian Weimer  <fweimer@redhat.com>
7522         * nptl/tst-once5.cc: Remove attribution.
7524 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7526         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
7527         sqrt, tan, tanh, y0, y1 and yn.
7528         * math/auto-libm-test-out: Regenerated.
7529         * math/libm-test.inc (scalb_test_data): Add more tests.
7530         (scalbn_test_data): Likewise.
7531         (scalbln_test_data): Likewise.
7532         (signbit_test_data): Likewise.
7533         (sin_test_data): Likewise.
7534         (sincos_test_data): Likewise.
7535         (sinh_test_data): Likewise.
7536         (sqrt_test_data): Likewise.
7537         (tan_test_data): Likewise.
7538         (tanh_test_data): Likewise.
7539         (tgamma_test_data): Likewise.
7540         (y0_test_data): Likewise.
7541         (y1_test_data): Likewise.
7542         (yn_test_data): Likewise.
7543         (significand_test_data): Likewise.
7544         * sysdeps/i386/fpu/libm-test-ulps: Update.
7546 2015-11-03  David Kastrup  <dak@gnu.org>
7548         [BZ #18604]
7549         * assert/assert.h (assert): Don't macro-expand failed assertion
7550         expression in error message.
7551         * malloc/malloc.c (assert): Likewise.
7553 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
7555         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
7556         test.
7557         * configure: Regenerated.
7559 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
7561         * math/libm-test.inc (modf_test_data): Add more tests.
7562         (nearbyint_test_data): Likewise.
7563         (nextafter_test_data): Likewise.
7564         (nexttoward_test_data): Likewise.
7565         (pow_test_data): Likewise.
7566         (remainder_test_data): Likewise.
7567         (remquo_test_data): Likewise.
7568         (rint_test_data): Likewise.
7570         [BZ #19201]
7571         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7572         Check for zero remainder in case of large exponents and ensure
7573         correct sign of result in that case.
7574         * math/libm-test.inc (remainder_test_data): Add more tests.
7576         [BZ #6799]
7577         * math/s_nextafter.c: Include <errno.h>.
7578         (__nextafter): Set errno on overflow and underflow.
7579         * math/s_nexttowardf.c: Include <errno.h>.
7580         (__nexttowardf): Set errno on overflow and underflow.
7581         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
7582         (__nextafterl): Set errno on overflow and underflow.
7583         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
7584         (__nexttoward): Set errno on overflow and underflow.
7585         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
7586         (__nexttowardf): Set errno on overflow and underflow.
7587         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
7588         (__nextafterf): Set errno on overflow and underflow.
7589         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
7590         (__nextafterl): Set errno on overflow and underflow.
7591         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
7592         (__nexttoward): Set errno on overflow and underflow.
7593         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
7594         (__nexttowardf): Set errno on overflow and underflow.
7595         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
7596         (__nextafterl): Set errno on overflow and underflow.
7597         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
7598         (__nexttoward): Set errno on overflow and underflow.
7599         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
7600         (__nexttowardf): Set errno on overflow and underflow.
7601         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
7602         (__nexttoward): Set errno on overflow and underflow.
7603         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
7604         (__nexttowardf): Set errno on overflow and underflow.
7605         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
7606         (__nldbl_nexttowardf): Set errno on overflow and underflow.
7607         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
7608         (__nextafterl): Set errno on overflow and underflow.
7609         * math/libm-test.inc (nextafter_test_data): Do not allow errno
7610         setting to be missing on overflow.  Add more tests.
7611         (nexttoward_test_data): Likewise.
7613         * configure.ac (libc_cv_initfini_array): Remove configure test.
7614         * configure: Regenerated.
7616 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
7618         [BZ #19189]
7619         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
7620         non-finite argument handle arguments with negative sign.
7622         * math/libm-test.inc (j0_test_data): Do not test sign of zero
7623         result from infinite argument.
7624         (j1_test_data): Likewise.
7625         (jn_test_data): Likewise.
7626         (y0_test_data): Likewise.
7627         (y1_test_data): Likewise.
7628         (yn_test_data): Likewise.
7630         [BZ #16171]
7631         * math/w_remainder.c (drem): Define as weak alias of __remainder.
7632         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
7633         * math/w_remainderf.c (dremf): Define as weak alias of
7634         __remainderf.
7635         * math/w_remainderl.c (dreml): Define as weak alias of
7636         __remainderl.
7637         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
7638         __remainder.
7639         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
7640         __remainderf.
7641         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
7642         __remainderl.
7643         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
7644         weak alias of remainderl.
7645         * sysdeps/ieee754/ldbl-opt/w_remainder.c
7646         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
7647         alias of __remainder.
7648         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
7649         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
7650         strong alias of __remainderl.
7651         (dreml): Use long_double_symbol.
7652         * math/Makefile (libm-calls): Remove w_drem.
7653         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
7654         (CFLAGS-nldbl-drem.c): Remove variable.
7655         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
7656         * math/w_drem.c: Remove file.
7657         * math/w_dremf.c: Likewise.
7658         * math/w_dreml.c: Likewise.
7659         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
7660         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
7661         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
7663         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
7664         * sysdeps/i386/configure: Regenerated.
7665         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
7666         * sysdeps/x86_64/configure: Regenerated.
7668         * configure.ac (libc_cv_asm_protected_directive): Remove configure
7669         test.
7670         (libc_cv_visibility_attribute): Likewise.
7671         (libc_cv_protected_data): Test unconditionally.
7672         (libc_cv_broken_visibility_attribute): Remove configure test.
7673         (libc_cv_have_sdata_section): Test unconditionally.
7674         * configure: Regenerated.
7676         * include/libc-internal.h (libc_max_align_t): Remove typedef.
7677         * include/scratch_buffer.h: Include <stddef.h> instead of
7678         <libc-internal.h>.
7679         (struct scratch_buffer): Use max_align_t instead of
7680         libc_max_align_t.
7682 2015-10-29  Florian Weimer  <fweimer@redhat.com>
7684         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
7685         instead of extend_alloca.  Change control flow to avoid a goto.
7686         Remove assert which is trivially always true.
7688 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7690         [BZ #16068]
7691         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
7692         (FE_ALL_EXCEPT_X86): New macro.
7693         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7694         FE_ALL_EXCEPT.  Ensure precision control is included in
7695         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7696         handle "denormal operand exception" and clear FZ and DAZ bits.
7697         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
7698         (FE_ALL_EXCEPT_X86): New macro.
7699         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7700         FE_ALL_EXCEPT.  Ensure precision control is included in
7701         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7702         handle "denormal operand exception" and clear FZ and DAZ bits.
7703         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
7704         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
7705         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7706         test-fenv-x87 and test-fenv-sse-2.
7707         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
7709         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
7710         * math/test-double.h (BUILD_COMPLEX): New macro.
7711         * math/test-float.h (BUILD_COMPLEX): Likewise.
7712         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
7714         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
7715         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
7716         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
7717         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
7718         instead of DBL_DENORM_MIN in comment.
7719         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
7720         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7721         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
7722         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
7723         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
7724         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7726 2015-10-28  Florian Weimer  <fweimer@redhat.com>
7728         [BZ# 19048]
7729         * malloc/malloc.c (struct malloc_state): Update comment.  Add
7730         attached_threads member.
7731         (main_arena): Initialize attached_threads.
7732         * malloc/arena.c (list_lock): Update comment.
7733         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
7734         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
7735         (deattach_arena): New function.
7736         (_int_new_arena): Initialize arena reference count and deattach
7737         replaced arena.
7738         (get_free_list, reused_arena): Update reference count and deattach
7739         replaced arena.
7740         (arena_thread_freeres): Update arena reference count and only put
7741         unreferenced arenas on the free list.
7743 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7745         [BZ #19181]
7746         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
7747         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
7748         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
7749         * math/test-fenv-clear-main.c: New file.
7750         * math/test-fenv-clear.c: Likewise.
7751         * math/Makefile (tests): Add test-fenv-clear.
7752         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
7753         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7754         test-fenv-clear-sse.
7755         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
7757         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
7758         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
7759         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
7761 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7763         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
7764         static libc.
7766 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7768         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
7769         test.
7770         * sysdeps/i386/configure: Regenerated.
7771         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
7772         test.
7773         * sysdeps/x86_64/configure: Regenerated.
7774         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
7775         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7776         memset-avx2 unconditionally instead of conditionally on
7777         [$(config-cflags-avx2) = yes].
7778         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7779         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
7780         unconditional.
7781         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
7782         * sysdeps/x86_64/multiarch/memset_chk.S
7783         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
7784         to [IS_IN (libc) && SHARED].
7786 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7788         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
7789         configure test.
7790         * sysdeps/arm/configure: Regenerated.
7791         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
7792         Define variable if not already defined.
7794         [BZ #17404]
7795         * sysdeps/mips/atomic-machine.h
7796         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
7797         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
7798         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7800         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
7801         unconditional.
7802         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
7803         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7804         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
7805         unconditional.
7806         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7807         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
7808         unconditional.
7809         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7810         * stdlib/setenv.c
7811         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
7812         code unconditional.
7813         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
7814         Remove conditional code.
7815         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7816         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
7817         unconditional.
7818         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7819         code.
7820         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7821         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
7822         unconditional.
7823         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7824         code.
7825         * sysdeps/ieee754/ldbl-128/k_tanl.c
7826         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7827         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7828         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7829         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7830         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7831         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7832         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
7833         unconditional.
7834         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7835         code.
7836         * sysdeps/ieee754/ldbl-96/k_tanl.c
7837         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7838         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7840         * nptl/tst-initializers1-c11.c: New file.
7841         * nptl/tst-initializers1-gnu11.c: Likewise.
7842         * nptl/Makefile (tests): Add these new tests.
7843         (CFLAGS-tst-initializers1-c11.c): New variable.
7844         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
7846         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
7847         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
7848         instead of -std=gnu99.
7849         * configure.ac (systemtap): Test with -std=gnu11 instead of
7850         -std=gnu99.
7851         * configure: Regenerated.
7852         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
7853         in compilation command in comment.
7855         * sysdeps/nptl/configure.ac: Remove file.
7856         * sysdeps/nptl/configure: Remove generated file.
7857         * configure.ac (libc_cv_forced_unwind): Do not substitute.
7858         * configure: Regenerated.
7859         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
7860         * config.make.in (have-forced-unwind): Remove variable.
7861         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7862         unconditional.
7863         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
7864         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
7865         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
7866         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
7867         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7868         unconditional.
7870 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7872         [BZ #19174]
7873         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
7874         .skip_lock_out_of_tbegin_retries.
7875         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7876         (__lll_lock_elision): Likewise, and respect a value of
7877         try_tbegin <= 0.
7879 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7881         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
7882         statement.
7884 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7886         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
7887         variable.
7888         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7889         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7891         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
7892         of -std=c1x -D_ISOC11_SOURCE.
7894         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
7895         * configure: Regenerated.
7896         * manual/install.texi (Tools for Compilation): Document
7897         requirement for GCC 4.7 or later.
7898         * INSTALL: Regenerated.
7900 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
7902         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
7903         on CNT to a conditional jump to 'puntdata'.
7905 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7907         * configure.ac (libc_cv_gcc___thread): Remove configure test.
7908         (libc_cv_gcc_tls_model_attr): Likewise.
7909         * configure: Regenerated.
7911         * configure.ac (libc_cv_need_minus_P): Remove configure test.
7912         * configure: Regenerated.
7913         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
7915 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
7917         * configure.ac (old_glibc_headers): Remove configure test.
7918         * configure: Regenerated.
7919         * config.make.in (old-glibc-headers): Remove variable.
7920         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
7921         (install): Remove dependency on remove-old-headers.
7922         (headers2_0): Remove variable.
7923         (remove-old-headers): Remove rule.
7925         * configure.ac (libc_cv_dot_text): Remove configure test.
7926         (libc_cv_asm_set_directive): Use .text instead of
7927         ${libc_cv_dot_text} in configure test.
7928         * configure: Regenerated.
7930 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7932         [BZ #19168]
7933         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7935 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7937         * configure.ac (CXX): Clear the variable if the C++ toolchain does
7938         not support static linking.
7939         * configure: Regenerate.
7941 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
7943         * math/libm-test.inc (check_float_internal): Do not special-case
7944         errors up to 0.5 ulp.
7946         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7947         log2.
7948         * math/auto-libm-test-out: Regenerated.
7949         * math/libm-test.inc (MAX_EXP): New macro.
7950         (ilogb_test_data): Add more tests.
7951         (isfinite_test_data): Likewise.
7952         (isgreater_test_data): Likewise.
7953         (isgreaterequal_test_data): Likewise.
7954         (isinf_test_data): Likewise.
7955         (isless_test_data): Likewise.
7956         (islessequal_test_data): Likewise.
7957         (islessgreater_test_data): Likewise.
7958         (isnan_test_data): Likewise.
7959         (isnormal_test_data): Likewise.
7960         (issignaling_test_data): Likewise.
7961         (isunordered_test_data): Likewise.
7962         (j0_test_data): Likewise.
7963         (j1_test_data): Likewise.
7964         (jn_test_data): Likewise.
7965         (lgamma_test_data): Likewise.
7966         (log_test_data): Likewise.
7967         (log10_test_data): Likewise.
7968         (log1p_test_data): Likewise.
7969         (log2_test_data): Likewise.
7970         (logb_test_data): Likewise.
7971         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7973         [BZ #18611]
7974         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
7975         avoid excess range and precision on underflow.
7976         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7977         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
7978         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7979         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
7980         underflow.
7981         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7982         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7983         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7984         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7985         * math/auto-libm-test-in: Do not allow missing errno setting for
7986         tests of j1 and jn.
7987         * math/auto-libm-test-out: Regenerated.
7989 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
7991         [BZ #15491]
7992         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
7993         floating-point environment instead of clearing all exceptions.
7994         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7995         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
7996         merging in "invalid" exceptions from frndint.
7997         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
7998         * math/test-nearbyint-except.c: New file.
7999         * math/Makefile (tests): Add test-nearbyint-except.
8001 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
8003         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
8005         * sysdeps/tile/libm-test-ulps: Regenerated.
8007 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
8010         (__NR_sync_file_range2): Assume it is always defined.
8011         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8012         (__NR_sync_file_range): Assume it is always defined.
8014 2015-10-22  Andreas Schwab  <schwab@suse.de>
8016         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8017         INTERNAL_SYSCALL_ERRNO.
8018         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8019         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8020         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8021         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8022         Likewise.
8023         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8025 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8027         * io/tst-fcntl.c (fd): New static variable.
8028         (do_prepare): Open temporary file here....
8029         (do_test): ...not here.
8031         * io/ftwtest-sh: Also trap on exit to remove temporary files.
8033 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8035         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
8036         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8037         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8038         Moved before "#ifdef __ASSEMBLER__".
8040 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8042         [BZ #19156]
8043         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
8044         arguments very close to 0.
8046 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
8048         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
8049         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
8051 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8053         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8054         New.  Defined for GCC 5 and above when not compiling for
8055         profiling.
8056         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8058         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8059         Renamed to ...
8060         (CFLAGS-epoll_pwait.o): This.
8061         (CFLAGS-mmap.c): Renamed to ...
8062         (CFLAGS-mmap.o): This.
8063         (CFLAGS-mmap64.c): Renamed to ...
8064         (CFLAGS-mmap64.o): This.
8065         (CFLAGS-epoll_pwait.os): New.
8066         (CFLAGS-mmap.os): Likewise.
8067         (CFLAGS-mmap64.os): Likewise.
8068         (CFLAGS-semtimedop.os): Likewise.
8069         (CFLAGS-semtimedop.c): Renamed to ...
8070         (CFLAGS-semtimedop.o): This.
8072 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8074         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
8075         warning message.
8077 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8079         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
8080         * Makefile ($(objpfx)c++-types-check.out): Filter out
8081         $(+gccwarn-c) instead of -Wstrict-prototypes.
8083         * io/fts.c (fts_open): Convert to prototype-style function
8084         definition.
8085         * malloc/mcheck.c (mcheck): Likewise.
8086         (mcheck_pedantic): Likewise.
8087         * posix/regexec.c (re_search_2_stub): Likewise.  Use
8088         internal_function.
8089         (re_search_internal): Likewise.
8090         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
8091         prototype-style function definition.
8092         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8093         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8094         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
8095         (xdr_utmpptr): Likewise.
8096         (xdr_utmparr): Likewise.
8097         (xdr_utmpidle): Likewise.
8098         (xdr_utmpidleptr): Likewise.
8099         (xdr_utmpidlearr): Likewise.
8101         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
8102         log, log10 and log2.
8103         * math/auto-libm-test-out: Regenerated.
8104         * math/libm-test.inc (fmod_test_data): Add more tests.
8105         (fpclassify_test_data): Likewise.
8106         (frexp_test_data): Likewise.
8107         (hypot_test_data): Likewise.
8108         (ilogb_test_data): Likewise.
8110 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
8112         * debug/fortify_fail.c (__fortify_fail): Convert to
8113         prototype-style function definition.  Use internal_function.
8114         * libio/genops.c (save_for_backup): Convert to prototype-style
8115         function definition.
8116         * libio/wgenops.c (save_for_wbackup): Likewise.
8117         * login/grantpt.c (grantpt): Likewise.
8118         * login/ptsname.c (ptsname): Likewise.
8119         (__ptsname_r): Likewise.
8120         * login/unlockpt.c (unlockpt): Likewise.
8121         * mach/msgserver.c (__mach_msg_server): Likewise.
8122         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
8123         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
8124         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
8125         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
8126         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
8127         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
8128         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
8129         Likewise.
8130         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
8131         internal_function.
8132         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
8133         prototype-style function definition.
8134         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
8135         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
8136         (__pthread_create_2_0): Likewise.
8137         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
8138         * nptl/register-atfork.c (__register_atfork): Likewise.
8139         * posix/glob.c (glob): Likewise.
8140         * posix/regcomp.c (re_comp): Likewise.
8141         * posix/regexec.c (re_exec): Likewise.
8142         * stdlib/add_n.c [__STDC__]: Make code unconditional.
8143         [!__STDC__]: Remove conditional code.
8144         * stdlib/cmp.c [__STDC__]: Make code unconditional.
8145         [!__STDC__]: Remove conditional code.
8146         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
8147         [!__STDC__]: Remove conditional code.
8148         * stdlib/divrem.c [__STDC__]: Make code unconditional.
8149         [!__STDC__]: Remove conditional code.
8150         * stdlib/lshift.c [__STDC__]: Make code unconditional.
8151         [!__STDC__]: Remove conditional code.
8152         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
8153         [!__STDC__]: Remove conditional code.
8154         * stdlib/mul.c [__STDC__]: Make code unconditional.
8155         [!__STDC__]: Remove conditional code.
8156         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
8157         [!__STDC__]: Remove conditional code.
8158         * stdlib/rshift.c [__STDC__]: Make code unconditional.
8159         [!__STDC__]: Remove conditional code.
8160         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
8161         function definition.
8162         (STRTOF): Likewise.
8163         * stdlib/strtod_l.c (__STRTOF): Likewise.
8164         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
8165         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
8166         (__strtol_l): Likewise.
8167         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
8168         [!__STDC__]: Remove conditional code.
8169         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
8170         definition.
8171         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8172         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8173         type.
8174         (__strcasecmp): Convert to prototype-style function definition.
8175         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
8176         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8177         type.
8178         (__strncasecmp): Convert to prototype-style function definition.
8179         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
8180         * sunrpc/xdr.c (xdr_union): Likewise.
8181         * sunrpc/xdr_array.c (xdr_array): Likewise.
8182         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
8183         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
8184         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
8185         Likewise.
8186         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
8187         Likewise.
8188         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
8189         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8190         Likewise.
8191         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
8192         (LOCALE_PARAM_PROTO): Likewise.
8193         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
8194         argument type.
8195         (ut_argument_spec): Remove macro.
8196         (ut_argument_spec_iso): Rename to ut_argument_spec.
8197         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
8198         prototype-style function definition.
8199         (memcpy_uppcase): Likewise.
8200         (__strftime_internal): Likewise.
8201         (my_strftime): Likewise.
8202         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
8203         (LOCALE_PARAM_DECL): Likewise.
8204         [_LIBC] (LOCALE_PARAM): Include argument type.
8205         (__strptime_internal): Convert to prototype-style function
8206         definition.
8207         (strptime): Likewise.
8208         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8209         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8210         type.
8211         (__wcscasecmp): Convert to prototype-style function definition.
8212         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
8213         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8214         type.
8215         (__wcsncasecmp): Convert to prototype-style function definition.
8217         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
8218         function definition.
8219         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8220         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8221         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
8222         * elf/dl-minimal.c (_itoa): Likewise.
8223         * hurd/hurdmalloc.c (malloc): Likewise.
8224         (free): Likewise.
8225         (realloc): Likewise.
8226         * inet/inet6_option.c (inet6_option_space): Likewise.
8227         (inet6_option_init): Likewise.
8228         (inet6_option_append): Likewise.
8229         (inet6_option_alloc): Likewise.
8230         (inet6_option_next): Likewise.
8231         (inet6_option_find): Likewise.
8232         * io/ftw.c (FTW_NAME): Likewise.
8233         (NFTW_NAME): Likewise.
8234         (NFTW_NEW_NAME): Likewise.
8235         (NFTW_OLD_NAME): Likewise.
8236         * libio/iofwide.c (_IO_fwide): Likewise.
8237         * libio/strops.c (_IO_str_init_static_internal): Likewise.
8238         (_IO_str_init_static): Likewise.
8239         (_IO_str_init_readonly): Likewise.
8240         (_IO_str_overflow): Likewise.
8241         (_IO_str_underflow): Likewise.
8242         (_IO_str_count): Likewise.
8243         (_IO_str_seekoff): Likewise.
8244         (_IO_str_pbackfail): Likewise.
8245         (_IO_str_finish): Likewise.
8246         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
8247         (_IO_wstr_overflow): Likewise.
8248         (_IO_wstr_underflow): Likewise.
8249         (_IO_wstr_count): Likewise.
8250         (_IO_wstr_seekoff): Likewise.
8251         (_IO_wstr_pbackfail): Likewise.
8252         (_IO_wstr_finish): Likewise.
8253         * locale/programs/localedef.c (normalize_codeset): Likewise.
8254         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8255         (add_locales_to_archive): Likewise.
8256         (delete_locales_from_archive): Likewise.
8257         * malloc/malloc.c (__libc_mallinfo): Likewise.
8258         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
8259         * misc/tsearch.c (__tfind): Likewise.
8260         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
8261         * nptl/pthread_attr_getdetachstate.c
8262         (__pthread_attr_getdetachstate): Likewise.
8263         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
8264         Likewise.
8265         * nptl/pthread_attr_getinheritsched.c
8266         (__pthread_attr_getinheritsched): Likewise.
8267         * nptl/pthread_attr_getschedparam.c
8268         (__pthread_attr_getschedparam): Likewise.
8269         * nptl/pthread_attr_getschedpolicy.c
8270         (__pthread_attr_getschedpolicy): Likewise.
8271         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
8272         Likewise.
8273         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
8274         Likewise.
8275         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
8276         Likewise.
8277         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
8278         Likewise.
8279         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
8280         (__pthread_attr_init_2_0): Likewise.
8281         * nptl/pthread_attr_setdetachstate.c
8282         (__pthread_attr_setdetachstate): Likewise.
8283         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
8284         Likewise.
8285         * nptl/pthread_attr_setinheritsched.c
8286         (__pthread_attr_setinheritsched): Likewise.
8287         * nptl/pthread_attr_setschedparam.c
8288         (__pthread_attr_setschedparam): Likewise.
8289         * nptl/pthread_attr_setschedpolicy.c
8290         (__pthread_attr_setschedpolicy): Likewise.
8291         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
8292         Likewise.
8293         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
8294         Likewise.
8295         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
8296         Likewise.
8297         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
8298         Likewise.
8299         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
8300         Likewise.
8301         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
8302         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
8303         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
8304         use internal_function.
8305         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
8306         prototype-style function definition.
8307         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
8308         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
8309         internal_function.
8310         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
8311         Convert to prototype-style function definition.
8312         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8313         Likewise.
8314         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
8315         Likewise.
8316         (__pthread_mutex_unlock): Likewise.
8317         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
8318         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
8319         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
8320         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
8321         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
8322         * nss/makedb.c (process_input): Likewise.
8323         * posix/fnmatch.c (__strchrnul): Likewise.
8324         (__wcschrnul): Likewise.
8325         (fnmatch): Likewise.
8326         * posix/fnmatch_loop.c (FCT): Likewise.
8327         * posix/glob.c (globfree): Likewise.
8328         (__glob_pattern_type): Likewise.
8329         (__glob_pattern_p): Likewise.
8330         * posix/regcomp.c (re_compile_pattern): Likewise.
8331         (re_set_syntax): Likewise.
8332         (re_compile_fastmap): Likewise.
8333         (regcomp): Likewise.
8334         (regerror): Likewise.
8335         (regfree): Likewise.
8336         * posix/regexec.c (regexec): Likewise.
8337         (re_match): Likewise.
8338         (re_search): Likewise.
8339         (re_match_2): Likewise.
8340         (re_search_2): Likewise.
8341         (re_search_stub): Likewise.  Use internal_function
8342         (re_copy_regs): Likewise.
8343         (re_set_registers): Convert to prototype-style function
8344         definition.
8345         (prune_impossible_nodes): Likewise.  Use internal_function.
8346         * resolv/inet_net_pton.c (inet_net_pton): Convert to
8347         prototype-style function definition.
8348         (inet_net_pton_ipv4): Likewise.
8349         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8350         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
8351         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
8352         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
8353         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8354         Make variadic.
8355         * time/strptime_l.c (localtime_r): Convert to prototype-style
8356         function definition.
8357         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8358         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8359         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8360         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8362         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
8363         definition.
8364         (_ufc_doit_r): Likewise.
8365         * crypt/crypt_util.c (_ufc_copymem): Likewise.
8366         (_ufc_output_conversion_r): Likewise.
8367         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
8368         * inet/rcmd.c (rcmd_af): Likewise.
8369         (rcmd): Likewise.
8370         (ruserok_af): Likewise.
8371         (ruserok): Likewise.
8372         (ruserok2_sa): Likewise.
8373         (ruserok_sa): Likewise.
8374         (iruserok_af): Likewise.
8375         (iruserok): Likewise.
8376         (__ivaliduser): Likewise.
8377         (__validuser2_sa): Likewise.
8378         * inet/rexec.c (rexec_af): Likewise.
8379         (rexec): Likewise.
8380         * inet/ruserpass.c (ruserpass): Likewise.
8381         * locale/programs/xmalloc.c (xcalloc): Likewise.
8382         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
8383         * math/w_drem.c (__drem): Likewise.
8384         * math/w_dremf.c (__dremf): Likewise.
8385         * math/w_dreml.c (__dreml): Likewise.
8386         * misc/daemon.c (daemon): Likewise.
8387         * resolv/res_debug.c (p_fqnname): Likewise.
8388         * stdlib/div.c (div): Likewise.
8389         * string/memcmp.c (memcmp_bytes): Likewise.
8390         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
8391         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
8393         * crypt/cert.c (main): Convert to prototype-style function
8394         definition.
8395         * io/pipe.c (__pipe): Likewise.
8396         * io/pipe2.c (__pipe2): Likewise.
8397         * misc/futimesat.c (futimesat): Likewise.
8398         * misc/utimes.c (__utimes): Likewise.
8399         * posix/execve.c (__execve): Likewise.
8400         * posix/execvp.c (execvp): Likewise.
8401         * posix/execvpe.c (__execvpe): Likewise.
8402         * posix/fexecve.c (fexecve): Likewise.
8403         * socket/socketpair.c (socketpair): Likewise.
8404         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8405         * stdlib/erand48.c (erand48): Likewise.
8406         * stdlib/erand48_r.c (__erand48_r): Likewise.
8407         * stdlib/jrand48.c (jrand48): Likewise.
8408         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
8409         * stdlib/lcong48.c (lcong48): Likewise.
8410         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
8411         * stdlib/nrand48.c (nrand48): Likewise.
8412         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
8413         * stdlib/seed48.c (seed48): Likewise.
8414         * stdlib/seed48_r.c (__seed48_r): Likewise.
8415         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
8416         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
8417         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
8419 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8421         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
8422         * configure: Regenerated.
8423         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
8424         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
8425         unconditional.
8426         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8427         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8428         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8429         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
8430         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
8431         unconditional.
8432         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8434         * posix/Makefile (CFLAGS-regex.c): Remove variable.
8435         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
8437         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
8438         function definition.
8439         * crypt/crypt_util.c (__encrypt_r): Likewise.
8440         * libio/genops.c (_IO_no_init): Likewise.
8441         * libio/iofopncook.c (_IO_fopencookie): Likewise.
8442         (_IO_old_fopencookie): Likewise.
8443         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8444         * libio/iogetline.c (_IO_getline): Likewise.
8445         (_IO_getline_info): Likewise.
8446         * libio/iogetwline.c (_IO_getwline): Likewise.
8447         (_IO_getwline_info): Likewise.
8448         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
8449         * libio/vswprintf.c (_IO_vswprintf): Likewise.
8450         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
8451         (find_entry): Likewise.
8452         (iterate_table): Likewise.
8453         (lookup): Likewise.
8454         * login/forkpty.c (forkpty): Likewise.
8455         * misc/hsearch_r.c (__hsearch_r): Likewise.
8456         * misc/select.c (__select): Likewise.
8457         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
8458         Likewise.
8459         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
8460         Likewise.
8461         * nptl/old_pthread_cond_timedwait.c
8462         (__pthread_cond_timedwait_2_0): Likewise.
8463         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
8464         * nptl/pthread_barrierattr_getpshared.c
8465         (pthread_barrierattr_getpshared): Likewise.
8466         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8467         Likewise.
8468         * nptl/pthread_mutex_setprioceiling.c
8469         (pthread_mutex_setprioceiling): Likewise.
8470         * nptl/pthread_mutexattr_getprioceiling.c
8471         (pthread_mutexattr_getprioceiling): Likewise.
8472         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
8473         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8474         Likewise.
8475         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8476         Likewise.
8477         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
8478         Likewise.
8479         * socket/recvfrom.c (__recvfrom): Likewise.
8480         * socket/sendto.c (__sendto): Likewise.
8481         * socket/setsockopt.c (__setsockopt): Likewise.
8482         * stdio-common/_itoa.c (_itoa): Likewise.
8483         * stdio-common/_itowa.c (_itowa): Likewise.
8484         * stdio-common/reg-printf.c (__register_printf_specifier):
8485         Likewise.
8486         (__register_printf_function): Likewise.
8487         * stdio-common/tempname.c (__path_search): Likewise.
8488         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
8489         * stdlib/mul_1.c (mpn_mul_1): Likewise.
8490         * stdlib/random_r.c (__initstate_r): Likewise.
8491         * stdlib/setenv.c (__add_to_environ): Likewise.
8492         * stdlib/submul_1.c (mpn_submul_1): Likewise.
8493         * streams/getpmsg.c (getpmsg): Likewise.
8494         * streams/putmsg.c (putmsg): Likewise.
8495         * streams/putpmsg.c (putpmsg): Likewise.
8496         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
8497         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
8498         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
8499         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
8500         * sunrpc/pm_getport.c (pmap_getport): Likewise.
8501         * sunrpc/svc_udp.c (cache_get): Likewise.
8502         * sunrpc/xdr_array.c (xdr_vector): Likewise.
8503         * sysdeps/mach/hurd/getcwd.c
8504         (__canonicalize_directory_name_internal): Likewise.
8505         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
8506         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
8507         * sysdeps/mach/hurd/select.c (__select): Likewise.
8508         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
8509         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
8510         * sysdeps/sparc/nptl/pthread_barrier_init.c
8511         (__pthread_barrier_init): Likewise.
8512         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
8513         (__pthread_cond_timedwait): Likewise.
8514         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
8515         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
8516         Likewise.
8517         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
8518         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
8519         Likewise.
8520         * sysvipc/semtimedop.c (semtimedop): Likewise.
8521         * time/setitimer.c (__setitimer): Likewise.
8522         * time/strftime_l.c (emacs_strftime): Likewise.
8524 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8526         * config.make.in (have-ssp): Delete.
8527         (stack-protector): New variable.
8528         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
8529         cache test for -fstack-protector-strong.  Export stack_protector to
8530         the best ssp flag.
8531         * configure: Regenerated.
8532         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
8533         * nscd/Makefile (CFLAGS-nscd): Likewise.
8534         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8536 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
8538         [BZ #19122]
8539         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
8540         attribute_hidden.
8542 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8544         [BZ #18743]
8545         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
8546         code to...
8547         (ELIDE_LOCK): ...here.
8548         (__get_new_count): New function with part of the code from
8549         __elide_lock that updates the value of adapt_count after a
8550         transaction abort.
8551         (__elided_trylock): Moved this code to...
8552         (ELIDE_TRYLOCK): ...here.
8554 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8556         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
8557         * configure: Regenerate.
8558         * INSTALL: Regenerate.
8559         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
8560         and tweak grammar.
8562 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
8564         * login/programs/pt_chown.c: Include signal.h
8565         (main): Clear any signal mask from the parent process.
8567 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8569         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
8570         * configure: Regenerated.
8571         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
8572         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
8573         $(gnu89-inline-CFLAGS).
8575         * configure.ac (libc_cv_asm_weak_directive): Remove configure
8576         test.
8577         (libc_cv_asm_weakext_directive): Likewise.
8578         * configure: Regenerated.
8579         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
8580         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
8581         * include/libc-symbols.h
8582         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
8583         #error.
8584         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
8585         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
8587         * sysdeps/arm/backtrace.c (__backtrace): Convert to
8588         prototype-style function definition.
8589         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8590         * sysdeps/i386/ffs.c (__ffs): Likewise.
8591         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8592         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
8593         Likewise.
8594         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8595         Likewise.
8596         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8597         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8598         Likewise.
8599         * sysdeps/m68k/ffs.c (__ffs): Likewise.
8600         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
8601         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
8602         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
8603         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
8604         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
8605         * sysdeps/mach/hurd/access.c (__access): Likewise.
8606         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
8607         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
8608         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
8609         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
8610         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
8611         (cthread_getspecific): Likewise.
8612         (cthread_setspecific): Likewise.
8613         (__libc_getspecific): Likewise.
8614         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
8615         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
8616         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
8617         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
8618         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
8619         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
8620         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
8621         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
8622         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
8623         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
8624         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
8625         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
8626         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
8627         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
8628         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
8629         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
8630         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
8631         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
8632         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
8633         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
8634         * sysdeps/mach/hurd/link.c (__link): Likewise.
8635         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
8636         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
8637         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
8638         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
8639         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8640         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
8641         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
8642         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
8643         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8644         * sysdeps/mach/hurd/rename.c (rename): Likewise.
8645         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
8646         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
8647         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
8648         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
8649         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
8650         * sysdeps/mach/hurd/send.c (__send): Likewise.
8651         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
8652         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
8653         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
8654         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
8655         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
8656         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
8657         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
8658         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
8659         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
8660         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
8661         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
8662         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
8663         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
8664         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
8665         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
8666         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
8667         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
8668         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
8669         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
8670         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
8671         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
8672         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
8673         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
8674         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
8675         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
8676         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
8677         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
8678         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8679         * sysdeps/posix/alarm.c (alarm): Likewise.
8680         * sysdeps/posix/cuserid.c (cuserid): Likewise.
8681         * sysdeps/posix/dirfd.c (dirfd): Likewise.
8682         * sysdeps/posix/dup.c (__dup): Likewise.
8683         * sysdeps/posix/dup2.c (__dup2): Likewise.
8684         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
8685         (main): Likewise.
8686         * sysdeps/posix/flock.c (__flock): Likewise.
8687         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
8688         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8689         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
8690         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
8691         * sysdeps/posix/isatty.c (__isatty): Likewise.
8692         * sysdeps/posix/killpg.c (killpg): Likewise.
8693         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8694         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
8695         * sysdeps/posix/raise.c (raise): Likewise.
8696         * sysdeps/posix/remove.c (remove): Likewise.
8697         * sysdeps/posix/rename.c (rename): Likewise.
8698         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
8699         * sysdeps/posix/seekdir.c (seekdir): Likewise.
8700         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
8701         * sysdeps/posix/sigignore.c (sigignore): Likewise.
8702         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
8703         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
8704         * sysdeps/posix/sigset.c (sigset): Likewise.
8705         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
8706         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8707         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
8708         * sysdeps/posix/time.c (time): Likewise.
8709         * sysdeps/posix/ttyname.c (getttyname): Likewise.
8710         (ttyname): Likewise.
8711         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
8712         * sysdeps/posix/utime.c (utime): Likewise.
8713         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
8714         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8715         Likewise.
8716         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
8717         (pthread_spin_trylock): Likewise.
8718         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
8719         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
8720         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
8721         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
8722         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
8723         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
8724         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
8725         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
8726         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
8727         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
8728         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
8729         * sysdeps/s390/ffs.c (__ffs): Likewise.
8730         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
8731         Likewise.
8732         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8733         Likewise.
8734         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
8735         Likewise.
8736         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
8737         (pthread_barrier_destroy): Likewise.
8738         * sysdeps/sparc/nptl/pthread_barrier_wait.c
8739         (__pthread_barrier_wait): Likewise.
8740         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
8741         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
8742         (__pthread_barrier_wait): Likewise.
8743         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
8744         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
8745         (memcmp_not_common_alignment): Likewise.
8746         (MEMCMP): Likewise.
8747         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
8748         (_wordcopy_fwd_dest_aligned): Likewise.
8749         (_wordcopy_bwd_aligned): Likewise.
8750         (_wordcopy_bwd_dest_aligned): Likewise.
8751         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
8752         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
8753         * sysdeps/unix/bsd/stty.c (stty): Likewise.
8754         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
8755         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
8756         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
8757         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
8758         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
8759         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
8760         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
8761         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
8762         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8763         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
8764         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
8765         * sysdeps/unix/stime.c (stime): Likewise.
8766         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
8767         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
8768         Likewise.  Use internal_function.
8769         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
8770         Convert to prototype-style function definition.
8771         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8772         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8773         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
8774         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8775         Likewise.  Use internal_function.
8776         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
8777         prototype-style function definition
8778         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8779         Likewise.
8780         (__getlogin_r): Likewise.
8781         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
8782         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
8783         (__pthread_cond_broadcast): Likewise.
8784         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
8785         (__pthread_cond_destroy): Likewise.
8786         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
8787         (__pthread_cond_init): Likewise.
8788         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
8789         (__pthread_cond_signal): Likewise.
8790         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
8791         (__pthread_cond_wait): Likewise.
8792         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
8793         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8794         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
8795         Likewise.
8796         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
8797         Likewise.
8798         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
8799         Likewise.
8800         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
8801         Likewise.
8802         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
8803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
8804         (__ftruncate64): Likewise.
8805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
8806         (truncate64): Likewise.
8807         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
8808         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
8809         (pthread_getcpuclockid): Likewise.
8810         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8811         Likewise.
8812         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8813         Likewise.
8814         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
8815         Likewise.
8816         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
8817         Likewise.
8818         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
8819         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
8820         (__libc_sigaction): Likewise.
8821         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
8822         Likewise.
8823         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
8824         (__sigprocmask): Likewise.
8825         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
8826         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
8827         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
8828         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8829         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8830         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
8831         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8832         Likewise.
8833         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
8834         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
8835         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8836         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
8837         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
8838         Likewise.
8839         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
8840         (__sigprocmask): Likewise.
8841         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
8842         (cfgetispeed): Likewise.
8843         (cfsetospeed): Likewise.
8844         (cfsetispeed): Likewise.
8845         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
8846         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
8847         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8848         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8849         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
8850         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
8851         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
8852         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
8853         Likewise.
8854         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
8855         Likewise.
8856         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
8857         Likewise.
8858         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
8859         Likewise.
8860         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8862 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8864         sunrpc: Rewrite with explicit TLS access using __thread.
8865         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
8866         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
8867         directly.
8868         (__rpc_thread_variables): Access thread_rpc_vars directly.
8869         Eliminate redundant assignment of the tvp variable.
8871 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8873         malloc: Rewrite with explicit TLS access using __thread.
8874         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
8875         (tsd_setspecific, tsd_getspecific): Remove.
8876         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
8877         (tsd_setspecific, tsd_getspecific): Likewise.
8878         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
8879         (tsd_setspecific, tsd_getspecific): Likewise.
8880         * malloc/arena.c (thread_arena): New TLS variable.
8881         (arena_key): Remove variable.
8882         (arena_get): Use thread_arena.
8883         (arena_lookup): Remove macro.
8884         (malloc_atfork, free_atfork, ptmalloc_lock_all)
8885         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
8886         (_int_new_arena, get_free_list, reused_arena)
8887         (arena_thread_freeres): Use thread_arena.
8888         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
8889         tsd_getspecific, tsd_setspecific from safety annotations.
8890         (Allocating Cleared Space): Remove arena_lookup from safety
8891         annotations.
8893 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8895         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
8896         struct scratch_buffer instead of extend_alloca.
8898 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8900         * sysdeps/unix/sysv/linux/kernel-features.h
8901         (__ASSUME_SOCK_CLOEXEC): Remove.
8902         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
8903         (__have_paccept): Remove unused macro.
8904         * include/unistd.h (__have_sock_cloexec): Remove declaration.
8905         * misc/syslog.c (openlog_internal): Remove fallback code for
8906         !__ASSUME_SOCK_CLOEXEC.
8907         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
8908         missing SOCK_CLOEXEC.
8909         * nscd/connections.c (have_sock_cloexec): Remove definition.
8910         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8911         * nscd/nscd_helper.c (open_socket): Remove fallback code for
8912         !__ASSUME_SOCK_CLOEXEC.
8913         * resolv/res_send.c (__have_o_nonblock): Remove definition.
8914         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8915         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
8916         definition.
8917         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
8918         code for !__ASSUME_SOCK_CLOEXEC.
8920 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8922         [BZ #18982]
8923         * manual/stdio.texi (Variable Arguments Output): Add portability
8924         note, explaining that vfprintf clobbers the va_list pointer.
8926 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8928         * math/libm-test.inc (fabs_test_data): Add more tests.
8929         (fdim_test_data): Likewise.
8930         (fma_test_data): Likewise.
8931         (fmax_test_data): Likewise.
8932         (fmin_test_data): Likewise.
8933         (fmod_test_data): Likewise.
8935 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
8937         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
8938         data.
8940 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8942         * math/libm-test.inc (ceil_test_data): Add more tests and more
8943         expectations for "inexact".
8944         (floor_test_data): Add more tests.
8945         (round_test_data): Likewise.
8946         (trunc_test_data): Likewise.
8948         * crypt/cert.c (good_bye): Convert to prototype-style function
8949         definition.
8950         (get8): Likewise.
8951         (put8): Likewise.
8952         * crypt/crypt-entry.c (crypt): Likewise.
8953         (__fcrypt): Likewise.
8954         * crypt/crypt_util.c (_ufc_prbits): Likewise.
8955         (_ufc_set_bits): Likewise.
8956         (_ufc_clearmem): Likewise.
8957         (__init_des_r): Likewise.
8958         (shuffle_sb): Likewise.
8959         (shuffle_sb): Likewise.
8960         (_ufc_setup_salt_r): Likewise.
8961         (_ufc_mk_keytab_r): Likewise.
8962         (_ufc_dofinalperm_r): Likewise.
8963         (encrypt): Likewise.
8964         (__setkey_r): Likewise.
8965         (setkey): Likewise.
8966         * crypt/md5.c (md5_init_ctx): Likewise.
8967         (md5_read_ctx): Likewise.
8968         (md5_finish_ctx): Likewise.
8969         (md5_stream): Likewise.
8970         (md5_buffer): Likewise.
8971         (md5_process_bytes): Likewise.
8972         * crypt/sha256.c (__sha256_init_ctx): Likewise.
8973         (__sha256_finish_ctx): Likewise.
8974         (__sha256_process_bytes): Likewise.
8975         * crypt/sha512.c (__sha512_init_ctx): Likewise.
8976         (__sha512_finish_ctx): Likewise.
8977         (__sha512_process_bytes): Likewise.
8978         * ctype/isctype.c (__isctype): Likewise.
8979         * debug/backtrace.c (__backtrace): Likewise.
8980         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
8981         * debug/fgets_chk.c (__fgets_chk): Likewise.
8982         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
8983         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
8984         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8985         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8986         * debug/memset_chk.c (__memset_chk): Likewise.
8987         * debug/strcat_chk.c (__strcat_chk): Likewise.
8988         * debug/strncat_chk.c (__strncat_chk): Likewise.
8989         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
8990         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
8991         * dirent/dirfd.c (dirfd): Likewise.
8992         * dirent/getdents.c (__getdirentries): Likewise.
8993         * dirent/getdents64.c (getdirentries64): Likewise.
8994         * dirent/rewinddir.c (__rewinddir): Likewise.
8995         * dirent/seekdir.c (seekdir): Likewise.
8996         * dirent/telldir.c (telldir): Likewise.
8997         * elf/sln.c (makesymlinks): Likewise.
8998         (makesymlink): Likewise.
8999         * gmon/gmon.c (__moncontrol): Likewise.
9000         (__monstartup): Likewise.
9001         (write_hist): Likewise.
9002         (write_call_graph): Likewise.
9003         (write_bb_counts): Likewise.
9004         * grp/setgroups.c (setgroups): Likewise.
9005         * inet/inet_lnaof.c (inet_lnaof): Likewise.
9006         * inet/inet_net.c (inet_network): Likewise.
9007         * inet/inet_netof.c (inet_netof): Likewise.
9008         * inet/rcmd.c (rresvport_af): Likewise.
9009         (rresvport): Likewise.
9010         * io/access.c (__access): Likewise.
9011         * io/chdir.c (__chdir): Likewise.
9012         * io/chmod.c (__chmod): Likewise.
9013         * io/chown.c (__chown): Likewise.
9014         * io/close.c (__close): Likewise.
9015         * io/creat.c (creat): Likewise.
9016         * io/creat64.c (creat64): Likewise.
9017         * io/dup.c (__dup): Likewise.
9018         * io/dup2.c (__dup2): Likewise.
9019         * io/dup3.c (__dup3): Likewise.
9020         * io/euidaccess.c (__euidaccess): Likewise.
9021         * io/faccessat.c (faccessat): Likewise.
9022         * io/fchmod.c (__fchmod): Likewise.
9023         * io/fchmodat.c (fchmodat): Likewise.
9024         * io/fchown.c (__fchown): Likewise.
9025         * io/fchownat.c (fchownat): Likewise.
9026         * io/fcntl.c (__fcntl): Likewise.
9027         * io/flock.c (__flock): Likewise.
9028         * io/fts.c (fts_load): Likewise.
9029         (fts_close): Likewise.
9030         (fts_read): Likewise.
9031         (fts_set): Likewise.
9032         (fts_children): Likewise.
9033         (fts_build): Likewise.
9034         (fts_stat): Likewise.
9035         (fts_sort): Likewise.
9036         (fts_alloc): Likewise.
9037         (fts_lfree): Likewise.
9038         (fts_palloc): Likewise.
9039         (fts_padjust): Likewise.
9040         (fts_maxarglen): Likewise.
9041         (fts_safe_changedir): Likewise.
9042         * io/getwd.c (getwd): Likewise.
9043         * io/isatty.c (__isatty): Likewise.
9044         * io/lchown.c (__lchown): Likewise.
9045         * io/link.c (__link): Likewise.
9046         * io/linkat.c (linkat): Likewise.
9047         * io/lseek.c (__libc_lseek): Likewise.
9048         * io/mkdir.c (__mkdir): Likewise.
9049         * io/mkdirat.c (mkdirat): Likewise.
9050         * io/mkfifo.c (mkfifo): Likewise.
9051         * io/mkfifoat.c (mkfifoat): Likewise.
9052         * io/open.c (__libc_open): Likewise.
9053         * io/open64.c (__libc_open64): Likewise.
9054         * io/readlink.c (__readlink): Likewise.
9055         * io/readlinkat.c (readlinkat): Likewise.
9056         * io/rmdir.c (__rmdir): Likewise.
9057         * io/symlink.c (__symlink): Likewise.
9058         * io/symlinkat.c (symlinkat): Likewise.
9059         * io/ttyname.c (ttyname): Likewise.
9060         * io/ttyname_r.c (__ttyname_r): Likewise.
9061         * io/umask.c (__umask): Likewise.
9062         * io/unlink.c (__unlink): Likewise.
9063         * io/unlinkat.c (unlinkat): Likewise.
9064         * io/utime.c (utime): Likewise.
9065         * libio/clearerr.c (clearerr): Likewise.
9066         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
9067         * libio/feof.c (_IO_feof): Likewise.
9068         * libio/feof_u.c (feof_unlocked): Likewise.
9069         * libio/ferror.c (_IO_ferror): Likewise.
9070         * libio/ferror_u.c (ferror_unlocked): Likewise.
9071         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9072         * libio/fileno.c (__fileno): Likewise.
9073         * libio/fputc.c (fputc): Likewise.
9074         * libio/fputc_u.c (fputc_unlocked): Likewise.
9075         * libio/fputwc.c (fputwc): Likewise.
9076         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
9077         * libio/freopen.c (freopen): Likewise.
9078         * libio/freopen64.c (freopen64): Likewise.
9079         * libio/fseek.c (fseek): Likewise.
9080         * libio/fseeko.c (fseeko): Likewise.
9081         * libio/fseeko64.c (fseeko64): Likewise.
9082         * libio/ftello.c (__ftello): Likewise.
9083         * libio/ftello64.c (ftello64): Likewise.
9084         * libio/fwide.c (fwide): Likewise.
9085         * libio/genops.c (_IO_un_link): Likewise.
9086         (_IO_link_in): Likewise.
9087         (_IO_least_marker): Likewise.
9088         (_IO_switch_to_main_get_area): Likewise.
9089         (_IO_switch_to_backup_area): Likewise.
9090         (_IO_switch_to_get_mode): Likewise.
9091         (_IO_free_backup_area): Likewise.
9092         (_IO_switch_to_put_mode): Likewise.
9093         (__overflow): Likewise.
9094         (__underflow): Likewise.
9095         (__uflow): Likewise.
9096         (_IO_setb): Likewise.
9097         (_IO_doallocbuf): Likewise.
9098         (_IO_default_underflow): Likewise.
9099         (_IO_default_uflow): Likewise.
9100         (_IO_default_xsputn): Likewise.
9101         (_IO_sgetn): Likewise.
9102         (_IO_default_xsgetn): Likewise.
9103         (_IO_sync): Likewise.
9104         (_IO_default_setbuf): Likewise.
9105         (_IO_default_seekpos): Likewise.
9106         (_IO_default_doallocate): Likewise.
9107         (_IO_init): Likewise.
9108         (_IO_old_init): Likewise.
9109         (_IO_default_sync): Likewise.
9110         (_IO_default_finish): Likewise.
9111         (_IO_default_seekoff): Likewise.
9112         (_IO_sputbackc): Likewise.
9113         (_IO_sungetc): Likewise.
9114         (_IO_set_column): Likewise.
9115         (_IO_set_column): Likewise.
9116         (_IO_adjust_column): Likewise.
9117         (_IO_get_column): Likewise.
9118         (_IO_init_marker): Likewise.
9119         (_IO_remove_marker): Likewise.
9120         (_IO_marker_difference): Likewise.
9121         (_IO_marker_delta): Likewise.
9122         (_IO_seekmark): Likewise.
9123         (_IO_unsave_markers): Likewise.
9124         (_IO_nobackup_pbackfail): Likewise.
9125         (_IO_default_pbackfail): Likewise.
9126         (_IO_default_seek): Likewise.
9127         (_IO_default_stat): Likewise.
9128         (_IO_default_read): Likewise.
9129         (_IO_default_write): Likewise.
9130         (_IO_default_showmanyc): Likewise.
9131         (_IO_default_imbue): Likewise.
9132         (_IO_iter_next): Likewise.
9133         (_IO_iter_file): Likewise.
9134         * libio/getc.c (_IO_getc): Likewise.
9135         * libio/getwc.c (_IO_getwc): Likewise.
9136         * libio/iofclose.c (_IO_new_fclose): Likewise.
9137         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9138         * libio/iofflush.c (_IO_fflush): Likewise.
9139         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
9140         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
9141         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
9142         * libio/iofgets.c (_IO_fgets): Likewise.
9143         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
9144         * libio/iofgetws.c (fgetws): Likewise.
9145         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9146         * libio/iofopen64.c (_IO_fopen64): Likewise.
9147         * libio/iofopncook.c (_IO_cookie_read): Likewise.
9148         (_IO_cookie_write): Likewise.
9149         (_IO_cookie_seek): Likewise.
9150         (_IO_cookie_close): Likewise.
9151         (_IO_cookie_seekoff): Likewise.
9152         (_IO_old_cookie_seek): Likewise.
9153         * libio/iofputs.c (_IO_fputs): Likewise.
9154         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
9155         * libio/iofputws.c (fputws): Likewise.
9156         * libio/iofputws_u.c (fputws_unlocked): Likewise.
9157         * libio/iofread.c (_IO_fread): Likewise.
9158         * libio/iofread_u.c (__fread_unlocked): Likewise.
9159         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
9160         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
9161         * libio/ioftell.c (_IO_ftell): Likewise.
9162         * libio/iofwrite.c (_IO_fwrite): Likewise.
9163         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9164         * libio/iogets.c (_IO_gets): Likewise.
9165         * libio/iopadn.c (_IO_padn): Likewise.
9166         * libio/iopopen.c (_IO_new_proc_open): Likewise.
9167         (_IO_new_popen): Likewise.
9168         (_IO_new_proc_close): Likewise.
9169         * libio/ioputs.c (_IO_puts): Likewise.
9170         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
9171         (_IO_seekoff): Likewise.
9172         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
9173         (_IO_seekpos): Likewise.
9174         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
9175         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
9176         * libio/ioungetc.c (_IO_ungetc): Likewise.
9177         * libio/ioungetwc.c (ungetwc): Likewise.
9178         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9179         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
9180         * libio/iowpadn.c (_IO_wpadn): Likewise.
9181         * libio/libc_fatal.c (__libc_fatal): Likewise.
9182         * libio/memstream.c (__open_memstream): Likewise.
9183         (_IO_mem_sync): Likewise.
9184         (_IO_mem_finish): Likewise.
9185         * libio/oldfileops.c (_IO_old_file_init): Likewise.
9186         (_IO_old_file_close_it): Likewise.
9187         (_IO_old_file_finish): Likewise.
9188         (_IO_old_file_fopen): Likewise.
9189         (_IO_old_file_attach): Likewise.
9190         (_IO_old_file_setbuf): Likewise.
9191         (_IO_old_do_write): Likewise.
9192         (old_do_write): Likewise.
9193         (_IO_old_file_underflow): Likewise.
9194         (_IO_old_file_overflow): Likewise.
9195         (_IO_old_file_sync): Likewise.
9196         (_IO_old_file_seekoff): Likewise.
9197         (_IO_old_file_write): Likewise.
9198         (_IO_old_file_xsputn): Likewise.
9199         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
9200         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9201         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
9202         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
9203         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9204         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
9205         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
9206         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9207         (_IO_old_popen): Likewise.
9208         (_IO_old_proc_close): Likewise.
9209         * libio/oldpclose.c (__old_pclose): Likewise.
9210         * libio/pclose.c (__new_pclose): Likewise.
9211         * libio/peekc.c (_IO_peekc_locked): Likewise.
9212         * libio/putc.c (_IO_putc): Likewise.
9213         * libio/putc_u.c (putc_unlocked): Likewise.
9214         * libio/putchar.c (putchar): Likewise.
9215         * libio/putchar_u.c (putchar_unlocked): Likewise.
9216         * libio/putwc.c (putwc): Likewise.
9217         * libio/putwc_u.c (putwc_unlocked): Likewise.
9218         * libio/putwchar.c (putwchar): Likewise.
9219         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
9220         * libio/rewind.c (rewind): Likewise.
9221         * libio/setbuf.c (setbuf): Likewise.
9222         * libio/setlinebuf.c (setlinebuf): Likewise.
9223         * libio/vasprintf.c (_IO_vasprintf): Likewise.
9224         * libio/vscanf.c (_IO_vscanf): Likewise.
9225         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
9226         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
9227         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9228         * libio/wgenops.c (_IO_least_wmarker): Likewise.
9229         (_IO_switch_to_main_wget_area): Likewise.
9230         (_IO_switch_to_wbackup_area): Likewise.
9231         (_IO_wsetb): Likewise.
9232         (_IO_wdefault_pbackfail): Likewise.
9233         (_IO_wdefault_finish): Likewise.
9234         (_IO_wdefault_uflow): Likewise.
9235         (__woverflow): Likewise.
9236         (__wuflow): Likewise.
9237         (__wunderflow): Likewise.
9238         (_IO_wdefault_xsputn): Likewise.
9239         (_IO_wdefault_xsgetn): Likewise.
9240         (_IO_wdoallocbuf): Likewise.
9241         (_IO_wdefault_doallocate): Likewise.
9242         (_IO_switch_to_wget_mode): Likewise.
9243         (_IO_free_wbackup_area): Likewise.
9244         (_IO_switch_to_wput_mode): Likewise.
9245         (_IO_sputbackwc): Likewise.
9246         (_IO_sungetwc): Likewise.
9247         (_IO_adjust_wcolumn): Likewise.
9248         (_IO_init_wmarker): Likewise.
9249         (_IO_wmarker_delta): Likewise.
9250         (_IO_seekwmark): Likewise.
9251         (_IO_unsave_wmarkers): Likewise.
9252         * libio/wmemstream.c (open_wmemstream): Likewise.
9253         (_IO_wmem_sync): Likewise.
9254         (_IO_wmem_finish): Likewise.
9255         * locale/nl_langinfo.c (nl_langinfo): Likewise.
9256         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
9257         * locale/programs/simple-hash.c (init_hash): Likewise.
9258         (delete_hash): Likewise.
9259         (insert_entry): Likewise.
9260         (set_entry): Likewise.
9261         (next_prime): Likewise.
9262         (is_prime): Likewise.
9263         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
9264         (xmalloc): Likewise.
9265         (xrealloc): Likewise.
9266         * locale/programs/xstrdup.c (xstrdup): Likewise.
9267         * localedata/collate-test.c (xstrcoll): Likewise.
9268         * localedata/xfrm-test.c (xstrcmp): Likewise.
9269         * login/getlogin_r.c (__getlogin_r): Likewise.
9270         * login/getpt.c (__posix_openpt): Likewise.
9271         * login/login_tty.c (login_tty): Likewise.
9272         * login/setlogin.c (setlogin): Likewise.
9273         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
9274         (mach_msg_destroy_port): Likewise.
9275         (mach_msg_destroy_memory): Likewise.
9276         * malloc/mcheck.c (flood): Likewise.
9277         * misc/acct.c (acct): Likewise.
9278         * misc/brk.c (__brk): Likewise.
9279         * misc/chflags.c (chflags): Likewise.
9280         * misc/chroot.c (chroot): Likewise.
9281         * misc/fchflags.c (fchflags): Likewise.
9282         * misc/fstab.c (getfsspec): Likewise.
9283         (getfsfile): Likewise.
9284         * misc/fsync.c (fsync): Likewise.
9285         * misc/ftruncate.c (__ftruncate): Likewise.
9286         * misc/ftruncate64.c (__ftruncate64): Likewise.
9287         * misc/getdomain.c (getdomainname): Likewise.
9288         (getdomainname): Likewise.
9289         * misc/gethostname.c (__gethostname): Likewise.
9290         * misc/getpass.c (getpass): Likewise.
9291         * misc/getttyent.c (skip): Likewise.
9292         (value): Likewise.
9293         * misc/gtty.c (gtty): Likewise.
9294         * misc/hsearch.c (hsearch): Likewise.
9295         (hcreate): Likewise.
9296         * misc/hsearch_r.c (__hcreate_r): Likewise.
9297         (__hdestroy_r): Likewise.
9298         * misc/ioctl.c (__ioctl): Likewise.
9299         * misc/mkdtemp.c (mkdtemp): Likewise.
9300         * misc/mkostemp.c (mkostemp): Likewise.
9301         * misc/mkostemp64.c (mkostemp64): Likewise.
9302         * misc/mkostemps.c (mkostemps): Likewise.
9303         * misc/mkostemps64.c (mkostemps64): Likewise.
9304         * misc/mkstemp.c (mkstemp): Likewise.
9305         * misc/mkstemp64.c (mkstemp64): Likewise.
9306         * misc/mkstemps.c (mkstemps): Likewise.
9307         * misc/mkstemps64.c (mkstemps64): Likewise.
9308         * misc/mktemp.c (__mktemp): Likewise.
9309         * misc/preadv.c (preadv): Likewise.
9310         * misc/preadv64.c (preadv64): Likewise.
9311         * misc/pwritev.c (pwritev): Likewise.
9312         * misc/pwritev64.c (pwritev64): Likewise.
9313         * misc/readv.c (__readv): Likewise.
9314         * misc/revoke.c (revoke): Likewise.
9315         * misc/setdomain.c (setdomainname): Likewise.
9316         * misc/setegid.c (setegid): Likewise.
9317         * misc/seteuid.c (seteuid): Likewise.
9318         * misc/sethostid.c (sethostid): Likewise.
9319         * misc/sethostname.c (sethostname): Likewise.
9320         * misc/setregid.c (__setregid): Likewise.
9321         * misc/setreuid.c (__setreuid): Likewise.
9322         * misc/sstk.c (sstk): Likewise.
9323         * misc/stty.c (stty): Likewise.
9324         * misc/syscall.c (syscall): Likewise.
9325         * misc/syslog.c (setlogmask): Likewise.
9326         * misc/truncate.c (__truncate): Likewise.
9327         * misc/truncate64.c (truncate64): Likewise.
9328         * misc/ualarm.c (ualarm): Likewise.
9329         * misc/usleep.c (usleep): Likewise.
9330         * misc/ustat.c (ustat): Likewise.
9331         * misc/writev.c (__writev): Likewise.
9332         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
9333         * nptl/old_pthread_cond_broadcast.c
9334         (__pthread_cond_broadcast_2_0): Likewise.
9335         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
9336         Likewise.
9337         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
9338         Likewise.
9339         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
9340         Likewise.
9341         * nptl/pt-raise.c (raise): Likewise.
9342         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
9343         Likewise.
9344         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
9345         * nptl/pthread_barrierattr_destroy.c
9346         (pthread_barrierattr_destroy): Likewise.
9347         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
9348         Likewise.
9349         * nptl/pthread_barrierattr_setpshared.c
9350         (pthread_barrierattr_setpshared): Likewise.
9351         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9352         Likewise.
9353         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9354         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9355         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9356         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
9357         Likewise.
9358         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
9359         Likewise.
9360         * nptl/pthread_condattr_getpshared.c
9361         (pthread_condattr_getpshared): Likewise.
9362         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
9363         Likewise.
9364         * nptl/pthread_condattr_setpshared.c
9365         (pthread_condattr_setpshared): Likewise.
9366         * nptl/pthread_detach.c (pthread_detach): Likewise.
9367         * nptl/pthread_equal.c (__pthread_equal): Likewise.
9368         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
9369         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
9370         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
9371         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
9372         Likewise.
9373         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9374         Likewise.
9375         * nptl/pthread_mutex_getprioceiling.c
9376         (pthread_mutex_getprioceiling): Likewise.
9377         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
9378         Likewise.
9379         * nptl/pthread_mutexattr_getprotocol.c
9380         (pthread_mutexattr_getprotocol): Likewise.
9381         * nptl/pthread_mutexattr_getpshared.c
9382         (pthread_mutexattr_getpshared): Likewise.
9383         * nptl/pthread_mutexattr_getrobust.c
9384         (pthread_mutexattr_getrobust): Likewise.
9385         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9386         Likewise.
9387         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
9388         Likewise.
9389         * nptl/pthread_mutexattr_setprioceiling.c
9390         (pthread_mutexattr_setprioceiling): Likewise.
9391         * nptl/pthread_mutexattr_setprotocol.c
9392         (pthread_mutexattr_setprotocol): Likewise.
9393         * nptl/pthread_mutexattr_setpshared.c
9394         (pthread_mutexattr_setpshared): Likewise.
9395         * nptl/pthread_mutexattr_setrobust.c
9396         (pthread_mutexattr_setrobust): Likewise.
9397         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
9398         Likewise.
9399         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
9400         Likewise.
9401         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
9402         Likewise.
9403         * nptl/pthread_rwlockattr_getkind_np.c
9404         (pthread_rwlockattr_getkind_np): Likewise.
9405         * nptl/pthread_rwlockattr_getpshared.c
9406         (pthread_rwlockattr_getpshared): Likewise.
9407         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
9408         Likewise.
9409         * nptl/pthread_rwlockattr_setkind_np.c
9410         (pthread_rwlockattr_setkind_np): Likewise.
9411         * nptl/pthread_rwlockattr_setpshared.c
9412         (pthread_rwlockattr_setpshared): Likewise.
9413         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
9414         Likewise.
9415         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
9416         Likewise.
9417         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
9418         Likewise.
9419         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
9420         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
9421         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
9422         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
9423         * nptl/sem_close.c (sem_close): Likewise.
9424         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
9425         * nptl/sem_init.c (__old_sem_init): Likewise.
9426         * nptl/sigaction.c (__sigaction): Likewise.
9427         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9428         * posix/_exit.c (_exit): Likewise.
9429         * posix/alarm.c (alarm): Likewise.
9430         * posix/confstr.c (confstr): Likewise.
9431         * posix/fpathconf.c (__fpathconf): Likewise.
9432         * posix/getgroups.c (__getgroups): Likewise.
9433         * posix/getpgid.c (__getpgid): Likewise.
9434         * posix/group_member.c (__group_member): Likewise.
9435         * posix/pathconf.c (__pathconf): Likewise.
9436         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
9437         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
9438         * posix/setgid.c (__setgid): Likewise.
9439         * posix/setpgid.c (__setpgid): Likewise.
9440         * posix/setuid.c (__setuid): Likewise.
9441         * posix/sleep.c (__sleep): Likewise.
9442         * posix/sysconf.c (__sysconf): Likewise.
9443         * posix/times.c (__times): Likewise.
9444         * posix/uname.c (__uname): Likewise.
9445         * posix/waitid.c (__waitid): Likewise.
9446         * pwd/getpw.c (__getpw): Likewise.
9447         * resolv/base64.c (b64_pton): Likewise.
9448         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
9449         * resolv/gethnamaddr.c (Dprintf): Likewise.
9450         (gethostbyname): Likewise.
9451         (gethostbyname2): Likewise.
9452         (gethostbyaddr): Likewise.
9453         (_sethtent): Likewise.
9454         (_gethtbyname): Likewise.
9455         (_gethtbyname2): Likewise.
9456         (_gethtbyaddr): Likewise.
9457         (map_v4v6_address): Likewise.
9458         (map_v4v6_hostent): Likewise.
9459         (addrsort): Likewise.
9460         (ht_sethostent): Likewise.
9461         (ht_gethostbyname): Likewise.
9462         (ht_gethostbyaddr): Likewise.
9463         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
9464         (inet_net_ntop_ipv4): Likewise.
9465         * resolv/inet_neta.c (inet_neta): Likewise.
9466         * resolv/inet_ntop.c (inet_ntop): Likewise.
9467         (inet_ntop4): Likewise.
9468         (inet_ntop6): Likewise.
9469         * resolv/inet_pton.c (__inet_pton): Likewise.
9470         (inet_pton4): Likewise.
9471         (inet_pton6): Likewise.
9472         * resolv/res_debug.c (loc_aton): Likewise.
9473         (loc_ntoa): Likewise.
9474         * resource/getpriority.c (__getpriority): Likewise.
9475         * resource/getrusage.c (__getrusage): Likewise.
9476         * resource/nice.c (nice): Likewise.
9477         * resource/setpriority.c (__setpriority): Likewise.
9478         * resource/setrlimit64.c (setrlimit64): Likewise.
9479         * resource/vlimit.c (vlimit): Likewise.
9480         * resource/vtimes.c (vtimes): Likewise.
9481         * rt/aio_error.c (aio_error): Likewise.
9482         * rt/aio_return.c (aio_return): Likewise.
9483         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
9484         * signal/kill.c (__kill): Likewise.
9485         * signal/killpg.c (killpg): Likewise.
9486         * signal/raise.c (raise): Likewise.
9487         * signal/sigaction.c (__sigaction): Likewise.
9488         * signal/sigaddset.c (sigaddset): Likewise.
9489         * signal/sigaltstack.c (sigaltstack): Likewise.
9490         * signal/sigandset.c (sigandset): Likewise.
9491         * signal/sigblock.c (__sigblock): Likewise.
9492         * signal/sigdelset.c (sigdelset): Likewise.
9493         * signal/sigempty.c (sigemptyset): Likewise.
9494         * signal/sigfillset.c (sigfillset): Likewise.
9495         * signal/sighold.c (sighold): Likewise.
9496         * signal/sigignore.c (sigignore): Likewise.
9497         * signal/sigintr.c (siginterrupt): Likewise.
9498         * signal/sigisempty.c (sigisemptyset): Likewise.
9499         * signal/sigismem.c (sigismember): Likewise.
9500         * signal/signal.c (signal): Likewise.
9501         * signal/sigorset.c (sigorset): Likewise.
9502         * signal/sigpause.c (__sigpause): Likewise.
9503         * signal/sigpending.c (sigpending): Likewise.
9504         * signal/sigprocmask.c (__sigprocmask): Likewise.
9505         * signal/sigrelse.c (sigrelse): Likewise.
9506         * signal/sigreturn.c (__sigreturn): Likewise.
9507         * signal/sigset.c (sigset): Likewise.
9508         * signal/sigsetmask.c (__sigsetmask): Likewise.
9509         * signal/sigstack.c (sigstack): Likewise.
9510         * signal/sigsuspend.c (__sigsuspend): Likewise.
9511         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
9512         * signal/sysv_signal.c (__sysv_signal): Likewise.
9513         * socket/accept.c (accept): Likewise.
9514         * socket/accept4.c (__libc_accept4): Likewise.
9515         * socket/bind.c (__bind): Likewise.
9516         * socket/connect.c (__connect): Likewise.
9517         * socket/getpeername.c (getpeername): Likewise.
9518         * socket/getsockname.c (__getsockname): Likewise.
9519         * socket/getsockopt.c (getsockopt): Likewise.
9520         * socket/listen.c (__listen): Likewise.
9521         * socket/recv.c (__recv): Likewise.
9522         * socket/recvmsg.c (__recvmsg): Likewise.
9523         * socket/send.c (__send): Likewise.
9524         * socket/sendmsg.c (__sendmsg): Likewise.
9525         * socket/shutdown.c (shutdown): Likewise.
9526         * socket/sockatmark.c (sockatmark): Likewise.
9527         * socket/socket.c (__socket): Likewise.
9528         * stdio-common/ctermid.c (ctermid): Likewise.
9529         * stdio-common/cuserid.c (cuserid): Likewise.
9530         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
9531         * stdio-common/remove.c (remove): Likewise.
9532         * stdio-common/rename.c (rename): Likewise.
9533         * stdio-common/renameat.c (renameat): Likewise.
9534         * stdio-common/tempname.c (__gen_tempname): Likewise.
9535         * stdio-common/xbug.c (InitBuffer): Likewise.
9536         (AppendToBuffer): Likewise.
9537         (ReadFile): Likewise.
9538         * stdlib/a64l.c (a64l): Likewise.
9539         * stdlib/drand48_r.c (drand48_r): Likewise.
9540         * stdlib/getcontext.c (getcontext): Likewise.
9541         * stdlib/getenv.c (getenv): Likewise.
9542         * stdlib/l64a.c (l64a): Likewise.
9543         * stdlib/llabs.c (llabs): Likewise.
9544         * stdlib/lldiv.c (lldiv): Likewise.
9545         * stdlib/lrand48_r.c (lrand48_r): Likewise.
9546         * stdlib/mrand48_r.c (mrand48_r): Likewise.
9547         * stdlib/putenv.c (putenv): Likewise.
9548         * stdlib/random.c (__srandom): Likewise.
9549         (__initstate): Likewise.
9550         (__setstate): Likewise.
9551         * stdlib/random_r.c (__srandom_r): Likewise.
9552         (__setstate_r): Likewise.
9553         (__random_r): Likewise.
9554         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
9555         * stdlib/setcontext.c (setcontext): Likewise.
9556         * stdlib/setenv.c (setenv): Likewise.
9557         (unsetenv): Likewise.
9558         * stdlib/srand48.c (srand48): Likewise.
9559         * stdlib/srand48_r.c (__srand48_r): Likewise.
9560         * stdlib/swapcontext.c (swapcontext): Likewise.
9561         * stdlib/system.c (__libc_system): Likewise.
9562         * stdlib/tst-strtod.c (expand): Likewise.
9563         * stdlib/tst-strtol.c (expand): Likewise.
9564         * stdlib/tst-strtoll.c (expand): Likewise.
9565         * streams/fattach.c (fattach): Likewise.
9566         * streams/fdetach.c (fdetach): Likewise.
9567         * streams/getmsg.c (getmsg): Likewise.
9568         * streams/isastream.c (isastream): Likewise.
9569         * string/ffs.c (__ffs): Likewise.
9570         * string/ffsll.c (ffsll): Likewise.
9571         * string/memcmp.c (memcmp_common_alignment): Likewise.
9572         (memcmp_not_common_alignment): Likewise.
9573         (MEMCMP): Likewise.
9574         * string/memcpy.c (memcpy): Likewise.
9575         * string/memmove.c (MEMMOVE): Likewise.
9576         * string/memset.c (memset): Likewise.
9577         * string/rawmemchr.c (RAWMEMCHR): Likewise.
9578         * string/strchrnul.c (STRCHRNUL): Likewise.
9579         * string/strerror.c (strerror): Likewise.
9580         * string/strndup.c (__strndup): Likewise.
9581         * string/strverscmp.c (__strverscmp): Likewise.
9582         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
9583         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
9584         (clnttcp_freeres): Likewise.
9585         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
9586         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
9587         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
9588         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
9589         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
9590         (xdr_callhdr): Likewise.
9591         * sunrpc/rpcinfo.c (udpping): Likewise.
9592         (tcpping): Likewise.
9593         (pstatus): Likewise.
9594         (pmapdump): Likewise.
9595         (brdcst): Likewise.
9596         (deletereg): Likewise.
9597         (getprognum): Likewise.
9598         (getvers): Likewise.
9599         (get_inet_address): Likewise.
9600         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
9601         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9602         (svcudp_stat): Likewise.
9603         (svcudp_recv): Likewise.
9604         (svcudp_reply): Likewise.
9605         (svcudp_getargs): Likewise.
9606         (svcudp_freeargs): Likewise.
9607         (svcudp_destroy): Likewise.
9608         * sunrpc/xdr.c (xdr_bytes): Likewise.
9609         (xdr_netobj): Likewise.
9610         (xdr_string): Likewise.
9611         (xdr_wrapstring): Likewise.
9612         * sunrpc/xdr_float.c (xdr_float): Likewise.
9613         (xdr_double): Likewise.
9614         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
9615         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
9616         * sysvipc/ftok.c (ftok): Likewise.
9617         * sysvipc/msgctl.c (msgctl): Likewise.
9618         * sysvipc/msgget.c (msgget): Likewise.
9619         * sysvipc/msgrcv.c (msgrcv): Likewise.
9620         * sysvipc/msgsnd.c (msgsnd): Likewise.
9621         * sysvipc/semget.c (semget): Likewise.
9622         * sysvipc/semop.c (semop): Likewise.
9623         * sysvipc/shmat.c (shmat): Likewise.
9624         * sysvipc/shmctl.c (shmctl): Likewise.
9625         * sysvipc/shmdt.c (shmdt): Likewise.
9626         * sysvipc/shmget.c (shmget): Likewise.
9627         * termios/cfmakeraw.c (cfmakeraw): Likewise.
9628         * termios/speed.c (cfgetospeed): Likewise.
9629         (cfgetispeed): Likewise.
9630         (cfsetospeed): Likewise.
9631         (cfsetispeed): Likewise.
9632         * termios/tcflow.c (tcflow): Likewise.
9633         * termios/tcflush.c (tcflush): Likewise.
9634         * termios/tcgetattr.c (__tcgetattr): Likewise.
9635         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
9636         * termios/tcgetsid.c (tcgetsid): Likewise.
9637         * termios/tcsendbrk.c (tcsendbreak): Likewise.
9638         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
9639         * time/adjtime.c (__adjtime): Likewise.
9640         * time/dysize.c (dysize): Likewise.
9641         * time/ftime.c (ftime): Likewise.
9642         * time/getitimer.c (__getitimer): Likewise.
9643         * time/gettimeofday.c (__gettimeofday): Likewise.
9644         * time/gmtime.c (__gmtime_r): Likewise.
9645         (gmtime): Likewise.
9646         * time/localtime.c (__localtime_r): Likewise.
9647         (localtime): Likewise.
9648         * time/offtime.c (__offtime): Likewise.
9649         * time/settimeofday.c (__settimeofday): Likewise.
9650         * time/stime.c (stime): Likewise.
9651         * time/strftime_l.c (tm_diff): Likewise.
9652         (iso_week_days): Likewise.
9653         * time/strptime.c (strptime): Likewise.
9654         * time/time.c (time): Likewise.
9655         * time/timespec_get.c (timespec_get): Likewise.
9656         * time/tzset.c (tzset_internal): Likewise.
9657         (compute_change): Likewise.
9658         (__tz_compute): Likewise.
9659         * wcsmbs/btowc.c (__btowc): Likewise.
9660         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
9661         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
9662         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
9663         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
9664         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
9665         * wcsmbs/wcscat.c (__wcscat): Likewise.
9666         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9667         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
9668         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
9669         * wcsmbs/wcscspn.c (wcscspn): Likewise.
9670         * wcsmbs/wcsdup.c (wcsdup): Likewise.
9671         * wcsmbs/wcslen.c (__wcslen): Likewise.
9672         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
9673         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
9674         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
9675         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
9676         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9677         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
9678         * wcsmbs/wcsspn.c (wcsspn): Likewise.
9679         * wcsmbs/wcsstr.c (wcsstr): Likewise.
9680         * wcsmbs/wcstok.c (wcstok): Likewise.
9681         * wcsmbs/wctob.c (wctob): Likewise.
9682         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
9683         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9684         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
9685         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
9686         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
9687         * wcsmbs/wmemset.c (__wmemset): Likewise.
9688         * wctype/wcfuncs.c (__towlower): Likewise.
9689         (__towupper): Likewise.
9691         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
9692         (lll_unlock_elision): Add adapt_count parameter.
9694 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9696         * sysdeps/nptl/configure.ac: Do not give errors based on the
9697         results of top-level configure tests.
9698         * sysdeps/nptl/configure: Regenerated.
9700         * configure.ac (libc_cv_Bgroup): Remove configure test.
9701         * configure: Regenerated.
9702         * config.make.in (have-Bgroup): Remove variable.
9704         * configure.ac (sizeof_long_double): Remove configure test.
9705         * configure: Regenerated.
9706         * config.make.in (sizeof-long-double): Remove variable.
9708         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
9709         * configure: Regenerated.
9710         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
9711         variable.
9712         (exceptions): Likewise.
9713         * sysdeps/arm/configure: Regenerated.
9714         * config.make.in (exceptions): Remove variable.
9715         * Makeconfig (uses-callbacks): Use -fexceptions instead of
9716         $(exceptions).
9717         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
9718         (CFLAGS-vdprintf_chk.c): Likewise.
9719         (CFLAGS-printf_chk.c): Likewise.
9720         (CFLAGS-fprintf_chk.c): Likewise.
9721         (CFLAGS-vprintf_chk.c): Likewise.
9722         (CFLAGS-vfprintf_chk.c): Likewise.
9723         (CFLAGS-gets_chk.c): Likewise.
9724         (CFLAGS-fgets_chk.c): Likewise.
9725         (CFLAGS-fgets_u_chk.c): Likewise.
9726         (CFLAGS-fread_chk.c): Likewise.
9727         (CFLAGS-fread_u_chk.c): Likewise.
9728         (CFLAGS-wprintf_chk.c): Likewise.
9729         (CFLAGS-fwprintf_chk.c): Likewise.
9730         (CFLAGS-vwprintf_chk.c): Likewise.
9731         (CFLAGS-vfwprintf_chk.c): Likewise.
9732         (CFLAGS-fgetws_chk.c): Likewise.
9733         (CFLAGS-fgetws_u_chk.c): Likewise.
9734         * libio/Makefile (CFLAGS-fileops.c): Likewise.
9735         (CFLAGS-fputc.c): Likewise.
9736         (CFLAGS-fputwc.c): Likewise.
9737         (CFLAGS-freopen64.c): Likewise.
9738         (CFLAGS-freopen.c): Likewise.
9739         (CFLAGS-fseek.c): Likewise.
9740         (CFLAGS-fseeko64.c): Likewise.
9741         (CFLAGS-fseeko.c): Likewise.
9742         (CFLAGS-ftello64.c): Likewise.
9743         (CFLAGS-ftello.c): Likewise.
9744         (CFLAGS-fwide.c): Likewise.
9745         (CFLAGS-genops.c): Likewise.
9746         (CFLAGS-getc.c): Likewise.
9747         (CFLAGS-getchar.c): Likewise.
9748         (CFLAGS-getwc.c): Likewise.
9749         (CFLAGS-getwchar.c): Likewise.
9750         (CFLAGS-iofclose.c): Likewise.
9751         (CFLAGS-iofflush.c): Likewise.
9752         (CFLAGS-iofgetpos64.c): Likewise.
9753         (CFLAGS-iofgetpos.c): Likewise.
9754         (CFLAGS-iofgets.c): Likewise.
9755         (CFLAGS-iofgetws.c): Likewise.
9756         (CFLAGS-iofputs.c): Likewise.
9757         (CFLAGS-iofputws.c): Likewise.
9758         (CFLAGS-iofread.c): Likewise.
9759         (CFLAGS-iofsetpos64.c): Likewise.
9760         (CFLAGS-iofsetpos.c): Likewise.
9761         (CFLAGS-ioftell.c): Likewise.
9762         (CFLAGS-iofwrite.c): Likewise.
9763         (CFLAGS-iogetdelim.c): Likewise.
9764         (CFLAGS-iogetline.c): Likewise.
9765         (CFLAGS-iogets.c): Likewise.
9766         (CFLAGS-iogetwline.c): Likewise.
9767         (CFLAGS-ioputs.c): Likewise.
9768         (CFLAGS-ioseekoff.c): Likewise.
9769         (CFLAGS-ioseekpos.c): Likewise.
9770         (CFLAGS-iosetbuffer.c): Likewise.
9771         (CFLAGS-iosetvbuf.c): Likewise.
9772         (CFLAGS-ioungetc.c): Likewise.
9773         (CFLAGS-ioungetwc.c): Likewise.
9774         (CFLAGS-oldfileops.c): Likewise.
9775         (CFLAGS-oldiofclose.c): Likewise.
9776         (CFLAGS-oldiofgetpos64.c): Likewise.
9777         (CFLAGS-oldiofgetpos.c): Likewise.
9778         (CFLAGS-oldiofsetpos64.c): Likewise.
9779         (CFLAGS-oldiofsetpos.c): Likewise.
9780         (CFLAGS-peekc.c): Likewise.
9781         (CFLAGS-putc.c): Likewise.
9782         (CFLAGS-putchar.c): Likewise.
9783         (CFLAGS-putwc.c): Likewise.
9784         (CFLAGS-putwchar.c): Likewise.
9785         (CFLAGS-rewind.c): Likewise.
9786         (CFLAGS-wfileops.c): Likewise.
9787         (CFLAGS-wgenops.c): Likewise.
9788         (CFLAGS-oldiofopen.c): Likewise.
9789         (CFLAGS-iofopen.c): Likewise.
9790         (CFLAGS-iofopen64.c): Likewise.
9791         (CFLAGS-oldtmpfile.c): Likewise.
9792         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
9793         (CFLAGS-fprintf.c): Likewise.
9794         (CFLAGS-printf.c): Likewise.
9795         (CFLAGS-vfwprintf.c): Likewise.
9796         (CFLAGS-vfscanf.c): Likewise.
9797         (CFLAGS-vfwscanf.c): Likewise.
9798         (CFLAGS-fscanf.c): Likewise.
9799         (CFLAGS-scanf.c): Likewise.
9800         (CFLAGS-isoc99_vfscanf.c): Likewise.
9801         (CFLAGS-isoc99_vscanf.c): Likewise.
9802         (CFLAGS-isoc99_fscanf.c): Likewise.
9803         (CFLAGS-isoc99_scanf.c): Likewise.
9804         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
9805         (CFLAGS-isoc99_fwscanf.c): Likewise.
9806         (CFLAGS-isoc99_vwscanf.c): Likewise.
9807         (CFLAGS-isoc99_vfwscanf.c): Likewise.
9809         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
9810         after mkstemp64.
9811         * login/tst-utmp.c (do_prepare): Likewise.
9812         * rt/tst-aio.c (do_prepare): Likewise.
9813         * rt/tst-aio64.c (do_prepare): Likewise.
9815 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9817         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9818         (__lll_lock_elision): Remove adapt_count decrement...
9819         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9820         (__lll_trylock_elision): Likewise.
9821         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9822         (__lll_unlock_elision): ... to here. And utilize
9823         new adapt_count parameter.
9824         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9825         (__lll_unlock_elision): Update to include adapt_count
9826         parameter.
9827         (lll_unlock_elision): Pass pointer to adapt_count
9828         variable.
9830 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9832         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
9833         Add elision adapt_count parameter to list of arguments.
9834         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9835         (lll_unlock_elision): Update with new parameter list
9836         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
9837         (lll_unlock_elision): Likewise.
9838         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
9839         (lll_unlock_elision): Likewise.
9841 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9843         [BZ #19122]
9844         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
9845         attribute_hidden.
9847         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
9848         attribute_hidden.
9849         [IS_IN (rtld)] (__strdup): Likewise.
9850         [IS_IN (rtld)] (__strerror_r): Likewise.
9851         [IS_IN (rtld)] (__strsep_g): Likewise.
9852         [IS_IN (rtld)] (memchr): Likewise.
9853         [IS_IN (rtld)] (memcmp): Likewise.
9854         [IS_IN (rtld)] (memcpy): Likewise.
9855         [IS_IN (rtld)] (memmove): Likewise.
9856         [IS_IN (rtld)] (memset): Likewise.
9857         [IS_IN (rtld)] (rawmemchr): Likewise.
9858         [IS_IN (rtld)] (stpcpy): Likewise.
9859         [IS_IN (rtld)] (strchr): Likewise.
9860         [IS_IN (rtld)] (strcmp): Likewise.
9861         [IS_IN (rtld)] (strlen): Likewise.
9862         [IS_IN (rtld)] (strnlen): Likewise.
9863         [IS_IN (rtld)] (strsep): Likewise.
9865         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
9866         attribute_hidden.
9867         [IS_IN (rtld)] (__strtoul_internal): Likewise.
9869         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
9870         attribute_hidden.
9871         [IS_IN (rtld)] (__libc_sigaction): Likewise.
9873         * include/setjmp.h (__longjmp): Add attribute_hidden.
9874         [IS_IN (rtld)] (__sigsetjmp): Likewise.
9876         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
9877         Add attribute_hidden.
9879         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
9880         [IS_IN (rtld)] (__open): Likewise.
9881         [IS_IN (rtld)] (__fcntl): Likewise.
9883         * include/dirent.h (__opendirat): Add attribute_hidden.
9884         (__getdents): Likewise.
9885         (__getdents64): Likewise.
9886         (__alloc_dir): Likewise.
9887         [IS_IN (rtld)] (__closedir): Likewise.
9888         [IS_IN (rtld)] (__fdopendir): Likewise.
9889         [IS_IN (rtld)] (__readdir): Likewise.
9890         [IS_IN (rtld)] (__readdir64): Likewise.
9891         [IS_IN (rtld)] (__rewinddir): Likewise.
9893         * include/dlfcn.h (_dl_catch_error): Moved to ...
9894         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
9895         attribute_hidden.
9897         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
9898         (_itoa_word): Likewise.
9900         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
9901         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
9902         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
9903         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
9904         (_dl_higher_prime_number): Likewise.
9905         (_dl_debug_printf_c): Likewise.
9906         (_dl_signal_cerror): Likewise.
9907         (_dl_receive_error): Likewise.
9908         (_dl_reloc_bad_type): Likewise.
9909         (_dl_resolve_conflicts): Likewise.
9910         (_dl_check_all_versions): Likewise.
9911         (_dl_check_map_versions): Likewise.
9912         (_dl_sort_fini): Likewise.
9913         (_dl_debug_initialize): Likewise.
9914         (_dl_init_paths): Likewise.
9915         (_dl_show_auxv): Likewise.
9916         (_dl_next_ld_env_entry): Likewise.
9917         (_dl_important_hwcaps): Likewise.
9918         (_dl_load_cache_lookup): Likewise.
9919         (_dl_update_slotinfo): Likewise.
9920         (_dl_show_scope): Likewise.
9922         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
9923         attribute_hidden.
9924         (_wordcopy_fwd_dest_aligned): Likewise.
9925         (_wordcopy_bwd_aligned): Likewise.
9926         (_wordcopy_bwd_dest_aligned): Likewise.
9928         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9929         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9930         Likewise.
9931         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9932         Likewise.
9933         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
9935 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9937         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
9938         GCC 5 requirement.
9940 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9942         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
9943         test.
9944         * sysdeps/i386/configure: Regenerated.
9945         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
9946         code unconditional.
9948         * configure.ac (libc_cv_asm_previous_directive): Remove configure
9949         test.
9950         (libc_cv_asm_popsection_directive): Likewise.
9951         * configure: Regenerated.
9952         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
9953         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
9954         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
9955         (__make_section_unallocated): Make definition unconditional.
9956         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
9957         Remove conditional definition.
9958         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
9959         (__make_section_unallocated): Likewise.
9961         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
9962         * configure: Regenerated.
9963         * config.make.in (static-libgcc): Remove variable.
9964         * Makerules (build-shlib-helper): Use -static-libgcc instead of
9965         $(static-libgcc).
9966         (build-module-helper): Likewise.
9968         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
9969         * configure: Regenerated.
9971 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9973         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
9974         (struct char_buffer): New type.
9975         (char_buffer_start, char_buffer_size, char_buffer_error)
9976         (char_buffer_rewind, char_buffer_add): New functions.
9977         (ADDW): Remove macro, replaced by the char_buffer_add function.
9978         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
9979         of extend_alloca.  Make control flow more explicit.
9981 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9983         [BZ #19137]
9984         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9985         Add -fomit-frame-pointer.
9986         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
9988 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9990         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
9991         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
9992         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
9993         only if !__GNUC_PREREQ (5,0).
9994         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
9995         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
9996         (INTERNAL_SYSCALL_NCS): Likewise.
9997         (LOADREGS_0): New macro for GCC 5.
9998         (ASMARGS_0): Likewise.
9999         (LOADREGS_1): Likewise.
10000         (ASMARGS_1): Likewise.
10001         (LOADREGS_2): Likewise.
10002         (ASMARGS_2): Likewise.
10003         (LOADREGS_3): Likewise.
10004         (ASMARGS_3): Likewise.
10005         (LOADREGS_4): Likewise.
10006         (ASMARGS_4): Likewise.
10007         (LOADREGS_5): Likewise.
10008         (ASMARGS_5): Likewise.
10009         (LOADREGS_6): Likewise.
10010         (ASMARGS_6): Likewise.
10012 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10014         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
10015         -fomit-frame-pointer.
10016         (CFLAGS-mmap64.c): Likewise.
10017         (CFLAGS-semtimedop.c): Likewise.
10018         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
10019         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
10020         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10021         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10023 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10025         [BZ #18928]
10026         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
10027         _dl_pointer_guard member.
10028         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
10029         initializer.
10030         (security_init): Always set up pointer guard.
10031         (process_envvars): Do not process LD_POINTER_GUARD.
10033 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
10035         [BZ #19134]
10036         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
10037         (.LC2): Likewise.
10038         (.LC3): Likewise.
10039         (__lround): Do not add 0.5 to integer or out-of-range arguments.
10041 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10043         [BZ #19129]
10044         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
10045         r0 and r1.
10047 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
10049         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
10051 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
10053         * include/stap-probe.h: Fix macro definition formatting.
10055 2015-10-14  Florian Weimer  <fweimer@redhat.com>
10057         [BZ #19074]
10058         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
10059         load and store num_ifs.
10061 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10063         [BZ #18822]
10064         * sysdeps/unix/sysv/linux/sched_getaffinity.c
10065         (__sched_getaffinity_new): Add libc_hidden_proto and
10066         libc_hidden_def.
10068 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10070         [BZ #19007]
10071         * scripts/localplt.awk: Also allow GOT references.
10072         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
10073         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
10074         with "+ REL R_386_GLOB_DAT".
10075         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
10076         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
10078 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10080         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
10081         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10082         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
10083         Likewise.
10084         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10085         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
10086         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10087         INTERNAL_SYSCALLINTERNAL_SYSCALL and
10088         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10089         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10090         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10091         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10092         Likewise.
10093         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10095 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10097         [BZ #19125]
10098         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
10099         <math_private.h> and <stdint.h>.
10100         (__llround): Avoid conversions to and from long long int, and
10101         subtractions, where those might raise spurious exceptions.
10102         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
10103         <math_private.h> and <stdint.h>.
10104         (__llroundf): Avoid conversions to and from long long int, and
10105         subtractions, where those might raise spurious exceptions.
10107 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10109         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
10110         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10111         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10112         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
10113         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10114         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10115         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
10116         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
10117         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
10118         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10119         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10120         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10121         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
10122         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10123         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10124         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
10125         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
10126         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10127         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
10128         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
10129         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10130         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
10131         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
10132         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10133         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
10134         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10135         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
10136         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10137         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10138         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
10139         (__xstat64_conv): Likewise.
10140         (__xstat32_conv): Likewise.
10142 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10144         * sysdeps/unix/sysv/linux/sysdep.h: New file.
10145         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
10146         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
10147         <sysdeps/unix/sysv/linux/sysdep.h>.
10148         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10149         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
10150         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
10151         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10152         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10153         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
10154         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
10155         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10156         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10159         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10160         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10161         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10162         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10163         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10164         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
10165         (sysdep-dl-routines): Add sysdep.
10166         [$(subdir) == nptl] (libpthread-routines): Likewise.
10167         [$(subdir) == rt] (librt-routines): Likewise.
10168         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
10169         PIC when branching to SYSCALL_ERROR_LABEL.
10170         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
10171         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
10172         <sysdeps/unix/sysv/linux/sysdep.h>.
10173         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
10174         (SYSCALL_ERROR_ERRNO): Removed.
10175         (SYSCALL_ERROR_HANDLER): Changed to empty.
10176         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
10177         (__syscall_error): New prototype.
10178         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
10179         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
10181 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10183         [BZ #19124]
10184         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
10185         (_dl_runtime_resolve_avx512): Make it a hidden alias of
10186         _dl_runtime_resolve_avx.
10187         (_dl_runtime_profile_avx512): Make it a hidden alias of
10188         _dl_runtime_profile_avx.
10190 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10192         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
10193         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
10194         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
10195         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
10197         [BZ #16422]
10198         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
10199         New configure test.
10200         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
10201         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
10202         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
10203         <math_private.h> and <stdint.h>.
10204         (__llrint): Avoid conversions to long long int where those might
10205         raise spurious exceptions.
10206         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
10207         <math_private.h> and <stdint.h>.
10208         (__llrintf): Avoid conversions to long long int where those might
10209         raise spurious exceptions.
10211 2015-10-12  Andreas Schwab  <schwab@suse.de>
10213         [BZ #18969]
10214         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
10215         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
10216         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
10217         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
10218         $(gen-locales).
10219         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
10220         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
10221         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
10222         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
10223         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
10224         $(gen-locales).
10225         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
10226         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
10227         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
10228         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
10229         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
10230         ($(objpfx)tst-ftell-active-handler.out)
10231         ($(objpfx)tst-ftell-append.out)
10232         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
10233         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
10234         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
10235         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
10236         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
10237         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
10238         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
10239         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
10240         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
10241         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
10242         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
10243         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
10244         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
10245         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
10246         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
10247         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
10248         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
10249         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
10250         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
10251         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
10252         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
10253         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
10254         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
10255         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
10256         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
10257         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
10258         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
10259         $(gen-locales).
10260         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
10261         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
10262         $(gen-locales).
10263         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
10264         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
10265         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
10266         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
10267         $(gen-locales).
10268         * libio/tst_wprintf2.c (main): Use explicit locale.
10269         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
10271 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10273         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
10274         __msg_sig_post.
10275         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
10277 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10279         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10280         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10282         * sysdeps/arm/libm-test-ulps: Regenerated.
10284         [BZ #15470]
10285         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
10287         [BZ #16399]
10288         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
10289         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
10290         and <fix-fp-int-convert-overflow.h>.
10291         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10292         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10293         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
10294         and <fix-fp-int-convert-overflow.h>.
10295         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
10296         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10297         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
10298         <fix-fp-int-convert-overflow.h>.
10299         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10300         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10301         * sysdeps/ieee754/dbl-64/s_lround.c: Include
10302         <fix-fp-int-convert-overflow.h>.
10303         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
10304         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10305         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
10306         and <fix-fp-int-convert-overflow.h>.
10307         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10308         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10309         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
10310         <limits.h> and <fix-fp-int-convert-overflow.h>.
10311         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10312         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10313         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
10314         and <fix-fp-int-convert-overflow.h>.
10315         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10316         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10317         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
10318         and <fix-fp-int-convert-overflow.h>.
10319         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10320         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10321         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
10323 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
10325         [BZ #18589]
10326         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
10327         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
10328         $(gen-locales).
10330 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10331             Phil Blundell <pb@pbcl.net>
10333         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
10334         * nptl/tst-cancel26.c: New file.
10335         * nptl/tst-cancel27.c: Likewise.
10337 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
10339         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
10340         __ILP32__ isn't defined.
10341         (lrint): Likewise.
10342         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
10343         (lrintf): Likewise.
10344         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
10345         (lrintl): Likewise.
10346         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
10347         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
10348         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
10350 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10352         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10353         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10355         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
10356         file.
10357         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
10358         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10360 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10362         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
10363         configure test.
10364         * sysdeps/i386/configure: Regenerated.
10365         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
10366         configure test.
10367         * sysdeps/x86_64/configure: Regenerated.
10368         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
10369         Make code unconditional.
10371         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
10372         test.
10373         * sysdeps/i386/configure: Regenerated.
10374         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
10375         test.
10376         * sysdeps/x86_64/configure: Regenerated.
10377         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
10378         Make code unconditional.
10379         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
10380         Likewise.
10381         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
10382         Likewise.
10383         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10384         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
10385         code unconditional.
10386         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10387         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
10388         code unconditional.
10389         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10390         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
10391         code unconditional.
10392         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
10393         code unconditional.
10394         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10395         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
10396         code unconditional.
10397         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10398         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
10399         code unconditional.
10400         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10401         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
10402         code unconditional.
10403         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10404         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
10405         code unconditional.
10406         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10407         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
10409         [BZ #19095]
10410         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
10411         mantissa to long int before shifting left.
10413 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10415         [BZ #19094]
10416         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
10417         <limits.h>.
10418         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10419         when result overflows but exception would not result from cast.
10420         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
10421         <limits.h>.
10422         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10423         when result overflows but exception would not result from cast.
10424         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
10425         <limits.h>.
10426         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10427         when result overflows but exception would not result from cast.
10428         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
10429         <limits.h>.
10430         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10431         when result overflows but exception would not result from cast.
10432         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
10433         <limits.h>.
10434         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10435         when result overflows but exception would not result from cast.
10436         * math/libm-test.inc (lrint_test_data): Add more tests.
10437         (llrint_test_data): Likewise.
10439 2015-10-08  Roland McGrath  <roland@hack.frob.com>
10441         [BZ #18872]
10442         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
10443         Move out from under [$(run-built-tests) = yes] conditional.
10444         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
10445         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
10447 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
10449         [BZ #18589]
10450         * string/Makefile (tests): Add bug-strcoll2.
10451         (LOCALES): Add cs_CZ.UTF-8.
10452         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
10454         [BZ #18589]
10455         * string/bug-strcoll2.c: New file.
10456         * locale/categories.def: Revert commit
10457         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
10458         * locale/langinfo.h: Likewise.
10459         * locale/localeinfo.h: Likewise.
10460         * locale/C-collate.c: Likewise.
10461         * locale/programs/ld-collate.c (collate_output): Likewise.
10462         * string/strcoll_l.c (STRDIFF): Likewise.
10463         (STRCOLL): Likewise.
10464         * wcsmbs/wcscoll_l.c: Likewise.
10466 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10468         * math/libm-test.inc (lround_test_data): Do not expect the absence
10469         of "inexact" for some tests with non-integer arguments.
10470         (llround_test_data): Likewise.
10472         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
10473         test.
10474         (libc_cv_cc_sse2avx): Likewise.
10475         * sysdeps/i386/configure: Regenerated.
10476         * sysdeps/i386/i686/multiarch/Makefile
10477         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
10478         [$(subdir) = math].
10479         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
10480         code unconditional.
10481         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10482         Likewise.
10483         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
10484         Likewise.
10485         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10486         Likewise.
10487         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
10488         test.
10489         (libc_cv_cc_sse2avx): Likewise.
10490         * sysdeps/x86_64/configure: Regenerated.
10491         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
10492         unconditional.
10493         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
10494         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
10495         unconditional.
10496         (_dl_runtime_profile)
10497         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
10498         conditional code.
10499         * sysdeps/x86_64/fpu/multiarch/Makefile
10500         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
10501         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
10502         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10503         * sysdeps/x86_64/fpu/multiarch/e_exp.c
10504         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10505         * sysdeps/x86_64/fpu/multiarch/e_log.c
10506         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10507         * sysdeps/x86_64/fpu/multiarch/s_atan.c
10508         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10509         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10510         Likewise.
10511         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10512         Likewise.
10513         * sysdeps/x86_64/fpu/multiarch/s_sin.c
10514         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10515         * sysdeps/x86_64/fpu/multiarch/s_tan.c
10516         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10517         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
10518         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
10519         (HAVE_SSE2AVX_SUPPORT): Likewise.
10521 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
10523         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
10524         instead of #pragma optimize.
10526 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10528         [BZ #17195]
10529         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
10530         as is similarly done in systrim and _int_free already.
10532 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10534         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
10536 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10538         [BZ #19088]
10539         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
10540         <limits.h>.
10541         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10542         overflows but exception would not result from cast.
10543         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
10544         and <limits.h>.
10545         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10546         overflows but exception would not result from cast.
10547         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
10548         <limits.h>.
10549         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10550         overflows but exception would not result from cast.
10551         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
10552         <limits.h>.
10553         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10554         overflows but exception would not result from cast.
10555         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
10556         <limits.h>.
10557         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10558         overflows but exception would not result from cast.
10559         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
10560         <limits.h>.
10561         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10562         overflows but exception would not result from cast.
10563         * math/libm-test.inc (lround_test_data): Add more tests.
10564         (llround_test_data): Likewise.
10566 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
10568         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
10569         (CFLAGS-ialloc.c): Ditto.
10570         (CFLAGS-scheck.c): Ditto.
10572 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10574         [BZ #19086]
10575         * manual/filesys.texi (Storage Allocation): Fix argument order for
10576         posix_fallocate64.
10578 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10580         [BZ #19085]
10581         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
10582         exponent below 48 inside case for non-overflowing exponent.
10583         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
10585 2015-10-07  Florian Weimer  <fweimer@redhat.com>
10587         * iconvdata/cp737.h (from_idx): Add const.
10588         * iconvdata/cp775.h (from_idx): Likewise.
10590 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10592         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
10593         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
10594         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
10596         [BZ #19079]
10597         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
10598         file, conditioned on [!_LP64].
10599         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
10600         [!_LP64] (__lround): Do not define as function or alias.
10601         [!_LP64] (lround): Likewise.
10602         [!_LP64] (__lroundl): Likewise.
10603         [!_LP64] (lroundl): Likewise.
10604         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
10605         macro.
10606         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10607         Likewise.
10609 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10611         * math/libm-test.inc (lrint_test_data): Add more tests.
10612         (llrint_test_data): Likewise.
10613         (lround_test_data): Likewise.
10614         (llround_test_data): Likewise.
10616         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
10617         (llrint_test_data): Add tests used for lrint.
10619         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
10620         test.
10621         * sysdeps/i386/configure: Regenerated.
10622         * sysdeps/i386/i686/multiarch/Makefile
10623         [$(config-cflags-sse4) = yes]: Make code unconditional.
10624         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10625         Likewise.
10626         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
10627         Likewise.
10628         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
10629         test.
10630         * sysdeps/x86_64/configure: Regenerated.
10631         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
10632         Make code unconditional.
10633         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10634         Likewise.
10635         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
10636         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
10638         * scripts/rpm2dynsym.sh: Remove file.
10640 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10642         * configure.ac (libc_cv_cxx_thread_local): Define.
10643         * configure: Regenerate.
10644         * config.make.in (have-cxx-thread_local): Define.
10645         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
10646         (LDLIBS-tst-thread_local1): Define.
10647         (tests): Add tst-thread_local1.
10648         [have-cxx-thread_local != yes] (tests-unsupported): Add
10649         tst-thread_local1.
10650         * nptl/tst-thread_local1.cc: New file.
10652 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10654         [BZ #19078]
10655         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
10656         (u_thres): Likewise.
10657         (__expl): Determine whether to call __kernel_standard_l based on
10658         value of result, not argument.
10660         * math/libm-test.inc (scalb_test_data): Add more expectations for
10661         the "inexact" exception.
10663         [BZ #19077]
10664         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
10665         0.0L for argument 1.0L.
10667         [BZ #19076]
10668         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
10669         constant 0.0L when computing infinite result.
10671 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10673         [BZ #10432]
10674         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
10675         malloc_usable_size.
10677 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10679         [BZ #19018]
10680         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10681         Mangle function pointer before storing it.
10682         (__call_tls_dtors): Demangle function pointer before calling it.
10684 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10686         [BZ #19012]
10687         * iconv/gconv_db.c (gen_steps): Check for additional errors.
10688         Clean up on failure.
10690 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
10692         [BZ #19071]
10693         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
10694         long int variable to store possibly incremented high part of
10695         mantissa.
10696         * math/libm-test.inc (lround_test_data): Add tests used for
10697         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
10698         for tests requiring 64-bit long.  Do not condition tests on
10699         [TEST_FLOAT] unnecessarily.
10700         (llround_test_data): Add tests used for lround.  Add another
10701         expectation for the "inexact" exception.  Do not condition tests
10702         on [TEST_FLOAT] unnecessarily.
10704         [BZ #887]
10705         [BZ #19049]
10706         [BZ #19050]
10707         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
10708         * sysdeps/ieee754/dbl-64/e_log10.c: Include
10709         <fix-int-fp-convert-zero.h>.
10710         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10711         * sysdeps/ieee754/dbl-64/e_log2.c: Include
10712         <fix-int-fp-convert-zero.h>.
10713         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10714         * sysdeps/ieee754/dbl-64/s_erf.c: Include
10715         <fix-int-fp-convert-zero.h>.
10716         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10717         * sysdeps/ieee754/dbl-64/s_logb.c: Include
10718         <fix-int-fp-convert-zero.h>.
10719         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10720         * sysdeps/ieee754/flt-32/e_log10f.c: Include
10721         <fix-int-fp-convert-zero.h>.
10722         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10723         * sysdeps/ieee754/flt-32/e_log2f.c: Include
10724         <fix-int-fp-convert-zero.h>.
10725         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10726         * sysdeps/ieee754/flt-32/s_erff.c: Include
10727         <fix-int-fp-convert-zero.h>.
10728         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10729         * sysdeps/ieee754/flt-32/s_logbf.c: Include
10730         <fix-int-fp-convert-zero.h>.
10731         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10732         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
10733         <fix-int-fp-convert-zero.h>.
10734         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10735         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
10736         <fix-int-fp-convert-zero.h>.
10737         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10738         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
10739         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
10740         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
10741         file.
10742         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
10744 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
10746         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10748 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
10750         [BZ #19059]
10751         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
10752         overflowing computation.
10753         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10754         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10755         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10756         Likewise.
10757         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10758         Likewise.
10759         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10760         Likewise.
10761         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10762         Likewise.
10763         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10764         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10765         Likewise.
10766         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10767         Likewise.
10768         * math/libm-test.inc (nexttoward_test_data): Add more tests.
10770         * nss/rewrite_field.c (__nss_rewrite_field): Use
10771         internal_function.
10772         * nss/valid_field.c (__nss_valid_field): Likewise.
10773         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
10775 2015-10-02  Florian Weimer  <fweimer@redhat.com>
10777         [BZ #18724]
10778         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
10779         (__nss_invalid_field_characters, __nss_valid_field)
10780         (__nss_valid_list_field, __nss_rewrite_field): Declare.
10781         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
10782         tst-field.c: New file.
10783         * nss/Makefile (routines): Add valid_field, rewrite_field.
10784         (tests-static): Define unconditionally.
10785         (tests): Include tests-static.
10786         [build-static-nss] (tests-static): Use append.
10787         [build-static-nss] (tests): Remove modification.
10788         * nss/getent.c (print_group): Call putgrent.  Report error.
10789         (print_gshadow): Call putsgent.  Report error.
10790         (print_passwd): Call putpwent.  Report error.
10791         (print_shadow): Call putspent.  Report error.
10792         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
10793         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
10794         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
10795         name, password, directory, shell fields for valid syntax.  Rewrite
10796         GECOS field to match syntax.
10797         * pwd/Makefile (tests): Add tst-putpwent.
10798         * pwd/tst-putpwent.c: New file.
10799         * grp/putgrent.c (putgrent): Convert to ISO function definition.
10800         Check grName, grpasswd, gr_mem fields for valid syntax.
10801         Change loop variable i to size_t.
10802         * grp/Makefile (tests): Add tst-putgrent.
10803         * grp/tst-putgrent.c: New file.
10804         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
10805         valid syntax.
10806         * shadow/Makefile (tests): Add tst-putspent.
10807         * shadow/tst-putspent.c: New file.
10808         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
10809         sg_mem fields for valid syntax.
10810         * gshadow/Makefile (tests): Add tst-putsgent.
10811         * gshadow/tst-putsgent.c: New file.
10813 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10815         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
10816         assembly instructions.
10818 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10820         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
10821         prefix from operands.
10823 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
10825         [BZ #16347]
10826         [BZ #19046]
10827         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
10828         <libc-internal.h>.
10829         (MAXLGM): Do not use diagnostic control macros.
10830         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
10831         threshold for ldbl-128ibm.
10832         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
10833         instead of multiplying by log then subtracting.
10834         * math/auto-libm-test-in: Add more tests of lgamma.
10835         * math/auto-libm-test-out: Regenerated.
10837         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
10838         (TYPE_HEX_DIG): Likewise.
10839         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
10840         precisions when printing floating-point numbers.
10841         (check_float_internal): Likewise.
10843 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10845         [BZ #16620]
10846         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
10847         of log (10) rounded downward to 48 bits.
10848         (log10_low): Use corresponding low part of log (10).
10850         [BZ #19032]
10851         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
10852         compute result as (x - x) / (x - x) not as 0 / 0.
10853         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10854         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
10856         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10857         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
10858         and expm1.
10859         * math/auto-libm-test-out: Regenerated.
10860         * math/libm-test.inc (acos_test_data): Add more tests.
10861         (asin_test_data): Likewise.
10862         (asinh_test_data): Likewise.
10863         (atan_test_data): Likewise.
10864         (atanh_test_data): Likewise.
10865         (atan2_test_data): Likewise.
10866         (cbrt_test_data): Likewise.
10867         (ceil_test_data): Likewise.
10868         (copysign_test_data): Likewise.
10869         (cos_test_data): Likewise.
10870         (cosh_test_data): Likewise.
10871         (erf_test_data): Likewise.
10872         (erfc_test_data): Likewise.
10873         (exp_test_data): Likewise.
10874         (exp10_test_data): Likewise.
10875         (exp2_test_data): Likewise.
10876         (expm1_test_data): Likewise.
10877         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10879 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
10881         [BZ #19006]
10882         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
10883         to ...
10884         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
10885         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
10886         to ...
10887         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
10888         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
10889         to ...
10890         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
10891         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
10892         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
10893         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
10894         to ...
10895         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
10896         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10897         Moved to ...
10898         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
10899         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10900         Moved to ...
10901         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
10902         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
10903         to ...
10904         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
10905         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10906         Moved to ...
10907         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
10908         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
10909         to ...
10910         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
10911         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
10912         Removed.
10913         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
10914         Likewise.
10915         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
10916         Likewise.
10917         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
10918         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
10919         Likewise.
10920         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10921         Likewise.
10922         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10923         Likewise.
10924         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10925         Likewise.
10926         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10927         Likewise.
10928         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
10929         Likewise.
10930         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
10931         Likewise.
10932         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
10933         Likewise.
10934         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
10935         Likewise.
10936         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
10937         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
10938         Likewise.
10939         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10940         Likewise.
10941         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10942         Likewise.
10943         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10944         Likewise.
10945         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
10946         Likewise.
10947         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10948         Replace ../i486/pthread_cond_timedwait.S with
10949         ../pthread_cond_timedwait.S.
10951 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10953         * math/libm-test.inc (acos_test_data): Refine expectations for
10954         errno and "inexact" exceptions.
10955         (acosh_test_data): Likewise.
10956         (asin_test_data): Likewise.
10957         (asinh_test_data): Likewise.
10958         (atan_test_data): Likewise.
10959         (atanh_test_data): Likewise.
10960         (atan2_test_data): Likewise.
10961         (cbrt_test_data): Likewise.
10962         (ceil_test_data): Likewise.
10963         (copysign_test_data): Likewise.
10964         (cosh_test_data): Likewise.
10965         (erf_test_data): Likewise.
10966         (erfc_test_data): Likewise.
10967         (exp_test_data): Likewise.
10968         (exp10_test_data): Likewise.
10969         (exp2_test_data): Likewise.
10970         (expm1_test_data): Likewise.
10971         (fabs_test_data): Likewise.
10972         (floor_test_data): Likewise.
10973         (fma_test_data): Likewise.
10974         (fmax_test_data): Likewise.
10975         (fmin_test_data): Likewise.
10976         (fmod_test_data): Likewise.
10977         (fpclassify_test_data): Likewise.
10978         (frexp_test_data): Likewise.
10979         (hypot_test_data): Likewise.
10980         (ilogb_test_data): Likewise.
10981         (isgreater_test_data): Likewise.
10982         (isgreaterequal_test_data): Likewise.
10983         (isinf_test_data): Likewise.
10984         (isless_test_data): Likewise.
10985         (islessequal_test_data): Likewise.
10986         (islessgreater_test_data): Likewise.
10987         (isnan_test_data): Likewise.
10988         (isnormal_test_data): Likewise.
10989         (issignaling_test_data): Likewise.
10990         (isunordered_test_data): Likewise.
10991         (j0_test_data): Likewise.
10992         (j1_test_data): Likewise.
10993         (jn_test_data): Likewise.
10994         (lgamma_test_data): Likewise.
10995         (lrint_test_data): Likewise.
10996         (llrint_test_data): Likewise.
10997         (log_test_data): Likewise.
10998         (log10_test_data): Likewise.
10999         (log1p_test_data): Likewise.
11000         (log2_test_data): Likewise.
11001         (logb_test_data): Likewise.
11002         (lround_test_data): Likewise.
11003         (llround_test_data): Likewise.
11004         (modf_test_data): Likewise.
11005         (nearbyint_test_data): Likewise.
11006         (nextafter_test_data): Likewise.
11007         (nexttoward_test_data): Likewise.
11008         (pow_test_data): Likewise.
11009         (remainder_test_data): Likewise.
11010         (remquo_test_data): Likewise.
11011         (rint_test_data): Likewise.
11012         (round_test_data): Likewise.
11013         (signbit_test_data): Likewise.
11014         (sinh_test_data): Likewise.
11015         (sqrt_test_data): Likewise.
11016         (tanh_test_data): Likewise.
11017         (tgamma_test_data): Likewise.
11018         (trunc_test_data): Likewise.
11019         (y0_test_data): Likewise.
11020         (y1_test_data): Likewise.
11021         (yn_test_data): Likewise.
11022         (significand_test_data): Likewise.
11024 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
11026         * manual/filesys.texi (Storage Allocation): Document that
11027         posix_fallocate emulation fails when fd is open with O_WRONLY.
11029 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
11031         [BZ #19016]
11032         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
11033         allow more cases with X^2 + Y^2 >= 0.5.
11034         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
11035         normal element in sum instead of special-casing based on values of
11036         arguments.
11037         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
11038         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
11039         -1 as normal element in sum instead of special-casing based on
11040         values of arguments.
11041         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
11042         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
11043         (__x2y2m1): Update comment.
11044         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
11045         as normal element in sum instead of special-casing based on values
11046         of arguments.
11047         * math/s_clog.c (__clog): Handle more cases using log1p without
11048         hypot.
11049         * math/s_clog10.c (__clog10): Likewise.
11050         * math/s_clog10f.c (__clog10f): Likewise.
11051         * math/s_clog10l.c (__clog10l): Likewise.
11052         * math/s_clogf.c (__clogf): Likewise.
11053         * math/s_clogl.c (__clogl): Likewise.
11054         * math/auto-libm-test-in: Add more tests of clog and clog10.
11055         * math/auto-libm-test-out: Regenerated.
11056         * sysdeps/i386/fpu/libm-test-ulps: Update.
11057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11059 2015-09-28  Martin Sebor  <msebor@redhat.com>
11061         [BZ #18969]
11062         * string/Makefile (LOCALES): Define.
11063         (gen-locales.mk): Include.
11064         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
11065         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
11066         * string/tst-strxfrm2.c (do_test): Print the name of the locale
11067         on setlocale failure.
11069 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11071         [BZ #18985]
11072         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
11073         (__strftime_internal): Likewise.
11074         * time/tst-strftime.c (do_bz18985): New test.
11075         (do_test): Call it.
11077 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
11079         [BZ #18956]
11080         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
11081         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
11082         extracting high part.
11083         * math/auto-libm-test-in: Add another test of pow.
11084         * math/auto-libm-test-out: Regenerated.
11085         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11087 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11089         [BZ #18825]
11090         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
11091         New macro.
11092         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
11093         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11094         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
11095         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
11096         DBL_NARROW_EVAL, reloading the PIC register as needed.
11097         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
11098         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
11099         FLT_NARROW_EVAL.  Use separate return path for case when first
11100         argument is NaN.
11101         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
11102         DEFINE_LDBL_MIN.
11103         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
11104         PIC register.
11105         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
11106         math_check_force_underflow_nonneg.
11107         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
11108         underflow for subnormal result.
11109         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11110         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
11111         math_check_force_underflow_nonneg.
11112         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
11113         math_check_force_underflow.
11114         * sysdeps/x86_64/fpu/x86_64-math-asm.h
11115         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
11116         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
11117         DEFINE_LDBL_MIN.
11118         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
11119         * math/auto-libm-test-in: Add more tests of pow.
11120         * math/auto-libm-test-out: Regenerated.
11122 2015-09-25  Florian Weimer  <fweimer@redhat.com>
11124         * nss/bug17079.c (init_test_items): Add diagnostic for
11125         inconsistent entries.
11126         (test_buffer_size): Skip inconsistent entries.
11128 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11130         [BZ #13304]
11131         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
11132         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
11133         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
11135         [BZ #13304]
11136         * sysdeps/microblaze/s_fma.c: New file.
11137         * sysdeps/microblaze/s_fmaf.c: Likewise.
11138         * sysdeps/microblaze/sfp-machine.h: Likewise.
11140 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
11142         [BZ #17250]
11143         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
11144         member.
11146 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11148         [BZ #18803]
11149         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
11150         (MO): New macro.
11151         (__ieee754_hypot) [PIC]: Load PIC register.
11152         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
11153         DBL_NARROW_EVAL.
11154         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
11155         math_check_force_underflow_nonneg in case where result might be
11156         tiny.
11157         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11158         Likewise.
11159         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11160         Likewise.
11161         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11162         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
11163         * math/auto-libm-test-in: Add more tests of hypot.
11164         * math/auto-libm-test-out: Regenerated.
11166 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
11168         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
11170 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11172         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
11173         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
11174         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11175         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11176         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
11177         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11178         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11180         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
11181         LOAD_PIC_REG.
11183         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
11184         (FLT_CHECK_FORCE_UFLOW): Likewise.
11185         (DBL_CHECK_FORCE_UFLOW): Likewise.
11186         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
11187         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
11188         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
11189         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11190         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11191         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11192         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11193         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11194         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
11195         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11196         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
11197         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
11198         (flt_min): Replace with use of DEFINE_FLT_MIN.
11199         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
11200         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
11201         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11202         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
11203         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
11204         (flt_min): Replace with use of DEFINE_FLT_MIN.
11205         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
11206         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
11207         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11208         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
11209         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
11210         (flt_min): Replace with use of DEFINE_FLT_MIN.
11211         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
11212         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
11213         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11214         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11215         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
11216         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11217         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11218         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
11219         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11220         (__atan): Use DBL_CHECK_FORCE_UFLOW.
11221         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
11222         (flt_min): Replace with use of DEFINE_FLT_MIN.
11223         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
11224         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
11225         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11226         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
11227         main computation.
11228         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
11229         (flt_min): Replace with use of DEFINE_FLT_MIN.
11230         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
11231         main computation.
11232         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
11233         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11234         (MO): New macro.
11235         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
11236         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
11237         (flt_min): Replace with use of DEFINE_FLT_MIN.
11238         (MO): New macro.
11239         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
11240         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
11241         (__log1pl): Use MO.
11243         [BZ #19003]
11244         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
11245         $(config-cflags-nofma).
11247 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11249         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11251 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
11253         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
11254         (TWO127): Likewise.
11256         * sysdeps/generic/math_private.h (fabs_tg): New macro.
11257         (min_of_type): Likewise.
11258         (math_check_force_underflow): Likewise.
11259         (math_check_force_underflow_nonneg): Likewise.
11260         (math_check_force_underflow_complex): Likewise.
11261         * math/e_exp2l.c (__ieee754_exp2l): Use
11262         math_check_force_underflow_nonneg.
11263         * math/k_casinh.c (__kernel_casinh): Likewise.
11264         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11265         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11266         * math/s_catan.c (__catan): Use
11267         math_check_force_underflow_complex.
11268         * math/s_catanf.c (__catanf): Likewise.
11269         * math/s_catanh.c (__catanh): Likewise.
11270         * math/s_catanhf.c (__catanhf): Likewise.
11271         * math/s_catanhl.c (__catanhl): Likewise.
11272         * math/s_catanl.c (__catanl): Likewise.
11273         * math/s_ccosh.c (__ccosh): Likewise.
11274         * math/s_ccoshf.c (__ccoshf): Likewise.
11275         * math/s_ccoshl.c (__ccoshl): Likewise.
11276         * math/s_cexp.c (__cexp): Likewise.
11277         * math/s_cexpf.c (__cexpf): Likewise.
11278         * math/s_cexpl.c (__cexpl): Likewise.
11279         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
11280         * math/s_clog10.c (__clog10): Likewise.
11281         * math/s_clog10f.c (__clog10f): Likewise.
11282         * math/s_clog10l.c (__clog10l): Likewise.
11283         * math/s_clogf.c (__clogf): Likewise.
11284         * math/s_clogl.c (__clogl): Likewise.
11285         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
11286         * math/s_csinf.c (__csinf): Likewise.
11287         * math/s_csinh.c (__csinh): Likewise.
11288         * math/s_csinhf.c (__csinhf): Likewise.
11289         * math/s_csinhl.c (__csinhl): Likewise.
11290         * math/s_csinl.c (__csinl): Likewise.
11291         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
11292         * math/s_csqrtf.c (__csqrtf): Likewise.
11293         * math/s_csqrtl.c (__csqrtl): Likewise.
11294         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
11295         * math/s_ctanf.c (__ctanf): Likewise.
11296         * math/s_ctanh.c (__ctanh): Likewise.
11297         * math/s_ctanhf.c (__ctanhf): Likewise.
11298         * math/s_ctanhl.c (__ctanhl): Likewise.
11299         * math/s_ctanl.c (__ctanl): Likewise.
11300         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
11301         instead of volatile.
11302         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
11303         math_check_force_underflow.
11304         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11305         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
11306         volatile when forcing underflow.
11307         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11308         math_check_force_underflow_nonneg.
11309         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11310         Likewise.
11311         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
11312         math_check_force_underflow.
11313         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11314         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11315         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11316         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
11317         math_check_force_underflow_nonneg.
11318         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
11319         math_check_force_underflow.
11320         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
11321         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
11322         instead of volatile.
11323         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
11324         math_check_force_underflow.
11325         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11326         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11327         math_check_force_underflow_nonneg.
11328         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
11329         math_check_force_underflow.
11330         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
11331         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11332         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
11333         math_check_force_underflow_nonneg.
11334         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11335         Likewise.
11336         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
11337         math_check_force_underflow.
11338         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11339         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11340         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11341         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
11342         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11343         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
11344         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
11345         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
11346         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11347         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
11348         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
11349         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
11350         Likewise.
11351         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
11352         math_check_force_underflow_nonneg.
11353         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11354         Likewise.
11355         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
11356         math_check_force_underflow.
11357         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11358         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
11359         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11360         Likewise.
11361         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
11362         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
11363         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
11364         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
11365         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
11366         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
11367         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
11368         instead of volatile.
11369         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
11370         math_check_force_underflow.
11371         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
11372         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
11373         math_check_force_underflow.
11374         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
11375         Likewise.
11376         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11377         Use math_check_force_underflow_nonneg.
11378         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
11379         math_check_force_underflow.
11380         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11381         Likewise.
11382         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11383         Likewise.
11384         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11385         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11386         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11387         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11388         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
11389         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11390         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
11391         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
11392         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
11393         math_check_force_underflow_nonneg.
11394         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
11395         math_check_force_underflow.
11396         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11397         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
11398         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
11399         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
11400         math_check_force_underflow_nonneg.
11401         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
11402         math_check_force_underflow.
11403         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
11404         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
11405         instead of volatile.
11406         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
11407         math_check_force_underflow.
11409         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
11410         * stdlib/strtod_l.c: Include <math_private.h>.
11411         (overflow_value): Use math_narrow_eval.
11412         (underflow_value): Likewise.
11413         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11414         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11415         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
11416         (__ieee754_gamma_r): Likewise.
11417         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
11418         Likewise.
11419         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11420         Likewise.
11421         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
11422         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
11423         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
11424         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
11425         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11426         (__ieee754_gammaf_r): Likewise.
11427         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11428         Likewise.
11429         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
11430         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
11431         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
11432         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
11433         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
11434         volatile.
11435         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
11436         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
11437         math_narrow_eval.
11438         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11439         Likewise.
11440         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11441         Likewise.
11442         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
11443         Likewise.
11444         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
11445         volatile.
11446         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
11447         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
11448         math_narrow_eval.
11449         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11450         Likewise.
11451         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11452         Likewise.
11454 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
11456         * nptl/Versions: Remove ignored symbols.
11458 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11460         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
11461         * nss/Makefile (tests): Update.
11463 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11465         * nss/bug18287.c: New file.
11466         * nss/Makefile (tests): Add bug18287.
11468 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11470         * mach/Versions (__mach_host_self_): Add symbol.
11472 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11474         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
11475         vm_page_size.
11477 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11479         Really fix sysdeps/i386/fpu/s_scalbn.S build
11481         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
11482         (libc: GLIBC_2_22): Remove unused version set.
11484 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11486         * config.make.in (enable-timezone-tools): New variable.
11487         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
11488         (enable_timezone_tools): Export to generated files.
11489         * configure: Regenerate.
11490         * INSTALL: Regenerate.
11491         * manual/install.texi (--disable-timezone-tools): Document new flag.
11492         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
11493         ifeq ($(enable-timezone-tools),yes) check.
11495 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11497         * timezone/Makefile: Revert previous change.
11499         [BZ #18980]
11500         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
11501         (DEFINE_DBL_MIN): Likewise.
11502         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11503         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11504         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11505         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11506         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
11507         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11508         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11509         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
11510         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
11511         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11512         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11513         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
11514         (flt_min): Replace with use of DEFINE_FLT_MIN.
11515         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11516         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
11517         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11518         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11519         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
11520         (flt_min): Replace with use of DEFINE_FLT_MIN.
11521         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11522         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
11523         (flt_min): Replace with use of DEFINE_FLT_MIN.
11524         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11525         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
11526         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
11527         (__ieee754_hypot): Use DBL_NARROW_EVAL.
11528         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
11529         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
11530         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
11531         (__ieee754_pow): Use DBL_NARROW_EVAL.
11532         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
11533         (__ieee754_powf): Use FLT_NARROW_EVAL.
11534         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
11535         (__ieee754_expf_sse2): Convert double-precision result to single
11536         precision.
11537         * sysdeps/i386/fpu/libm-test-ulps: Update.
11539 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11541         * timezone/Makefile: Ignore unused variable errors due to private.h
11542         (time_t_min) and (time_t_max).
11543         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
11544         Likewise.
11546 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11548         [BZ #18981]
11549         * sysdeps/i386/fpu/i386-math-asm.h: New file.
11550         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
11551         (__ieee754_scalb): Use DBL_NARROW_EVAL.
11552         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
11553         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
11554         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
11555         (__scalbn): Use DBL_NARROW_EVAL.
11556         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
11557         (__scalbnf): Use FLT_NARROW_EVAL.
11559 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11561         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
11562         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
11563         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
11564         * stdio-common/printf_fp.c (___printf_fp):
11565         Use signbit to get the sign. Use isinf macro to allow inlining.
11566         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
11567         * stdio-common/printf_size.c (__printf_size): Likewise.
11569 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11571         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
11573 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11575         [BZ #18980]
11576         * sysdeps/generic/math_private.h: Include <float.h>.
11577         (math_narrow_eval): New macro.
11578         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11579         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
11580         math_narrow_eval on overflowing return value.
11581         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
11582         Likewise.
11583         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11584         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
11585         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
11586         Likewise.
11587         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11589 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11591         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
11592         * math/Makefile: Remove isinf_ns.c.
11593         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
11594         * math/multc3.c (__multc3): Likewise.
11595         * math/s_casin.c (__casin): Likewise.
11596         * math/s_casinf.c (__casinf): Likewise.
11597         * math/s_casinl.c (__casinl): Likewise.
11598         * math/s_cproj.c (__cproj): Likewise.
11599         * math/s_cprojf.c (__cprojf): Likewise.
11600         * math/s_cprojl.c (__cprofl): Likewise.
11601         * math/s_ctan.c (__ctan): Likewise.
11602         * math/s_ctanf.c (__ctanf): Likewise.
11603         * math/s_ctanh.c (__ctanh): Likewise.
11604         * math/s_ctanhf.c (__ctanhf): Likewise.
11605         * math/s_ctanhl.c (__ctanhl): Likewise.
11606         * math/s_ctanl.c (__ctanl): Likewise.
11607         * math/w_fmod.c (__fmod): Likewise.
11608         * math/w_fmodf.c (__fmodf): Likewise.
11609         * math/w_fmodl.c (_fmodl): Likewise.
11610         * math/w_remainder.c (__remainder): Likewise.
11611         * math/w_remainderf.c (__remainderf): Likewise.
11612         * math/w_remainderl.c (__remainderl): Likewise.
11613         * math/w_scalb.c (__scalb): Likewise.
11614         * math/w_scalbf.c (__scalbf): Likewise.
11615         * math/w_scalbl.c (__scalbl): Likewise.
11616         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
11617         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
11618         with isinf.
11619         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
11620         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
11621         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
11622         __isinf_nsf with isinf.
11623         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
11624         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
11625         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
11626         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
11627         with isinf.
11628         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
11629         __isinf_nsl with isinf.
11630         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
11631         with isinf.
11632         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
11633         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
11634         __isinf_nsl with isinf.
11635         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
11636         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
11637         with isinf.
11639 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11641         * resolv/base64.c (rcsid): Remove unused static.
11642         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
11643         static.  (tqpi1): Likewise.
11644         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
11645         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
11646         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
11647         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
11648         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
11649         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
11650         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
11651         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
11652         Likewise.
11654 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
11656         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
11657         <nptl/pthreadP.h>.
11658         (_longjmp_unwind): Use __libc_ptf_call.
11659         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
11661 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
11663         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
11664         * sysdeps/arm/__longjmp.S: Likewise.
11666 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11668         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
11669         Use __builtin_signbit.
11670         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
11671         Use __builtin_signbitf.
11672         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
11673         Use __builtin_signbitl.
11674         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11675         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
11677 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11679         [BZ #15367]
11680         [BZ #17441]
11682         * math/Makefile: Build test-snan.c with -fsignaling-nans.
11683         * math/math.h (fpclassify): Use __builtin_fpclassify when
11684         available.  (signbit): Use __builtin_signbit(f/l).
11685         (isfinite): Use__builtin_isfinite.  (isnormal): Use
11686         __builtin_isnormal.  (isnan): Use __builtin_isnan.
11687         (isinf): Use __builtin_isinf_sign.
11689 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11691         * benchtests/Makefile: Add bench-math-inlines, link with libm.
11692         * benchtests/bench-math-inlines.c: New benchmark.
11693         * benchtests/bench-util.h: New file.
11694         * benchtests/bench-util.c: New file.
11695         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
11697 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
11699         * elf/tst-dlmopen1.c: Define TEST_SO.
11700         (do_test): Use TEST_SO.
11702         * elf/dl-load.c: Include libc-internal.h.
11703         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
11705 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11707         [BZ #17887]
11708         * time/strptime_l.c (__strptime_internal): Make %z accept
11709         [+-]HH:MM time zones.
11711 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11713         [BZ #17886]
11714         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
11715         valid time zone.
11717 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
11719         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
11720         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
11721         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11722         (__ASSUME_FDATASYNC): Delete.
11724 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11726         * conform/linknamespace.pl: Require weak undefined symbols to be
11727         in the standard namespace.
11728         (%strong_syms): Rename to %seen_syms.
11729         (%strong_seen): Rename to %seen_where.
11731 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
11733         [BZ #18970]
11734         * misc/error.c (error): Replace pthread_setcancelstate with
11735         __pthread_setcancelstate.
11736         (error_at_line): Likewise.
11737         * posix/wordexp.c (parse_comm): Likewise.
11738         * stdlib/fmtmsg.c (fmtmsg): Likewise.
11739         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
11740         (__pthread_setcancelstate): This.
11741         (pthread_setcancelstate): Add an alias.
11742         * nptl/nptl-init.c (pthread_functions): Replace
11743         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
11744         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
11745         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
11746         hidden_proto.
11747         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
11748         it with hidden_def.
11749         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
11750         (pthread_setcancelstate): Renamed to ...
11751         (__pthread_setcancelstate): This.
11752         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
11753         __libc_ptf_call with __pthread_setcancelstate.
11755 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11756             Andreas Schwab  <schwab@suse.de>
11758         [BZ #17118]
11759         * math/s_ctan.c (__ctan): Determine sign of zero real part of
11760         result when imaginary part of argument is infinite using sine and
11761         cosine.
11762         * math/s_ctanf.c (__ctanf): Likewise.
11763         * math/s_ctanl.c (__ctanl): Likewise.
11764         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
11765         of result when real part of argument is infinite using sine and
11766         cosine.
11767         * math/s_ctanhf.c (__ctanhf): Likewise.
11768         * math/s_ctanhl.c (__ctanhl): Likewise.
11769         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
11770         (ctanh_test_data): Add more tests of ctanh.
11772 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11774         [BZ #15384]
11775         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
11776         bit-mask as in subtraction.
11777         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
11778         Likewise.
11779         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
11780         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
11781         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
11783         [BZ #18951]
11784         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
11785         underflow exception for small results.
11786         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11787         Likewise.
11788         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11789         Likewise.
11790         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11791         Likewise.
11792         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11793         Likewise.
11794         * math/auto-libm-test-in: Add more tests of tgamma.
11795         * math/auto-libm-test-out: Regenerated.
11797 2015-09-17  Andreas Schwab  <schwab@suse.de>
11799         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
11801 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
11803         [BZ #18977]
11804         * math/bits/mathcalls.h
11805         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
11806         not declare.
11807         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
11808         Likewise.
11809         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
11810         Likewise.
11811         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
11812         Likewise.
11813         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
11814         Likewise.
11815         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
11816         Likewise.
11817         * conform/data/math.h-data
11818         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
11819         function.
11820         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
11821         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
11822         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
11823         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
11824         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
11825         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
11826         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
11827         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
11828         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
11829         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
11830         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
11832         [BZ #6803]
11833         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
11834         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
11835         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
11836         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
11837         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
11838         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
11839         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
11840         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
11841         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11842         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
11843         Likewise.
11844         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11845         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
11846         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
11847         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
11848         long_double_symbol calls.
11849         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
11850         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
11851         strong alias of __ldexpl.
11852         (scalbnl): Define using long_double_symbol.
11853         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
11854         Remove alias.
11855         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
11856         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
11857         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
11858         (scalbln_test_data): Add more errno expectations.
11860 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
11862         Cache the host port like we cache the task port.  This way we do not
11863         need to call the kernel just to get the port.  Furthermore, we no
11864         longer increase the reference count on every invocation of
11865         `mach_host_self'.
11867         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
11868         Protect declarations against the macro expansion.
11869         * mach/mach_init.c (__mach_host_self_): New variable.
11870         (mach_init): Initialize `__mach_host_self_'.
11871         * mach/mach_init.h (__mach_host_self_): New declaration.
11872         (__mach_host_self, mach_host_self): New macros.
11873         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
11874         Release reference.
11876 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
11878         [BZ #4404]
11879         * po/de.po: Update from Translation Project.
11881         [BZ #16415]
11882         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
11883         (__expm1l): Remove code to handle positive infinity and overflow.
11884         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
11885         variable.
11886         (__expm1l): Remove code to handle positive infinity and overflow.
11888 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
11889             Paul Pluzhnikov  <ppluzhnikov@google.com>
11891         [BZ #18872]
11892         * stdio-common/Makefile (tst-printf-bz18872): New test.
11893         (tst-printf-bz18872-mem.out): Likewise.
11894         * stdio-common/tst-printf-bz18872.sh: Generate new test.
11895         * stdio-common/vfprintf.c: Fix memory leaks.
11897 2015-09-16  Andreas Schwab  <schwab@suse.de>
11899         [BZ #17244]
11900         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
11901         Remove extra va_start/va_end calls.
11903         [BZ #17243]
11904         * posix/execl.c (execl): Add missing va_end.
11905         * posix/execle.c (execle): Likewise.
11906         * posix/execlp.c (execlp): Likewise.
11908 2015-09-15  Roland McGrath  <roland@hack.frob.com>
11910         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
11911         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
11913 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
11915         [BZ #18967]
11916         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
11917         undefine around includes of <bits/mathcalls.h>.
11918         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
11919         not declare function.
11920         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
11921         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
11922         (scalb): Likewise.
11923         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
11924         not define macro.
11925         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
11926         variable.
11927         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11928         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11929         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11931         [BZ #18857]
11932         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
11933         return non-finite argument without doing ordered comparisons on
11934         it.
11936         [BZ #16296]
11937         * math/fenv.h (fegetround): Use __attribute_pure__.
11938         * include/fenv.h (__fegetround): Likewise.
11940         [BZ #18595]
11941         * math/s_ctan.c (__ctan): Force underflow exception for results
11942         whose real or imaginary part has small absolute value.
11943         * math/s_ctanf.c (__ctanf): Likewise.
11944         * math/s_ctanh.c (__ctanh): Likewise.
11945         * math/s_ctanhf.c (__ctanhf): Likewise.
11946         * math/s_ctanhl.c (__ctanhl): Likewise.
11947         * math/s_ctanl.c (__ctanl): Likewise.
11948         * math/auto-libm-test-in: Do not allow missing underflow for ctan
11949         and ctanh.  Add more tests of ctan and ctanh.
11951         [BZ #15918]
11952         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
11953         handling of cases where one argument is an infinity.
11955         [BZ #18875]
11956         [BZ #18966]
11957         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
11958         (MO): New macro.
11959         (__ieee754_exp10): For small results, force underflow exception
11960         and remove excess range and precision from return value.
11961         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
11962         (MO): New macro.
11963         (__ieee754_exp10f): For small results, force underflow exception
11964         and remove excess range and precision from return value.
11965         * math/auto-libm-test-in: Add more tests of exp10.
11966         * math/auto-libm-test-out: Regenerated.
11968 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
11970         [BZ #18875]
11971         [BZ #18961]
11972         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
11973         (MO): New macro.
11974         (__ieee754_exp): For small results, force underflow exception and
11975         remove excess range and precision from return value.
11976         (__exp_finite): Likewise.
11977         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
11978         (MO): New macro.
11979         (__ieee754_expf): For small results, force underflow exception and
11980         remove excess range and precision from return value.
11981         (__expf_finite): Likewise.
11982         * math/auto-libm-test-in: Add more tests of exp.
11983         * math/auto-libm-test-out: Regenerated.
11985         [BZ #16521]
11986         [BZ #18875]
11987         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
11988         small results.
11989         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
11990         (MO): New macro.
11991         (__ieee754_exp2): For small results, force underflow exception and
11992         remove excess range and precision from return value.
11993         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
11994         (MO): New macro.
11995         (__ieee754_exp2f): For small results, force underflow exception
11996         and remove excess range and precision from return value.
11997         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
11998         (MO): New macro.
11999         (__ieee754_exp2l): Force underflow exception for small results.
12000         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12001         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12002         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
12003         (MO): New macro.
12004         (__ieee754_exp2l): Force underflow exception for small results.
12005         * math/auto-libm-test-in: Add more tests or exp2.
12006         * math/auto-libm-test-out: Regenerated.
12008 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
12010         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
12012         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
12013         /dev/null.
12015 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12017         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12018         io fs process)): Drop spurious backslash.
12020 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12022         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
12023         Use sysinfo system call instead of parsing /proc/meminfo.
12024         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
12025         Likewise.
12027 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
12029         [BZ #16985]
12030         * programs/localedef.c (main): Display argv[remaining] when
12031         output_path is NULL.
12033 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12035         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12036         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
12037         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
12038         tanh.
12039         * math/auto-libm-test-out: Regenerated.
12040         * sysdeps/i386/fpu/libm-test-ulps: Update.
12041         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12042         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12045 2015-09-11  Roland McGrath  <roland@hack.frob.com>
12047         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
12048         Use 'override' keyword to freeze the value here, preventing
12049         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
12051 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12053         [BZ #14912]
12054         * sysdeps/aarch64/bits/atomic.h: Move to ...
12055         * sysdeps/aarch64/atomic-machine.h: ...here.
12056         (_AARCH64_BITS_ATOMIC_H): Rename macro to
12057         _AARCH64_ATOMIC_MACHINE_H.
12058         * sysdeps/alpha/bits/atomic.h: Move to ...
12059         * sysdeps/alpha/atomic-machine.h: ...here.
12060         * sysdeps/arm/bits/atomic.h: Move to ...
12061         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
12062         * bits/atomic.h: Move to ...
12063         * sysdeps/generic/atomic-machine.h: ...here.
12064         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12065         * sysdeps/i386/bits/atomic.h: Move to ...
12066         * sysdeps/i386/atomic-machine.h: ...here.
12067         * sysdeps/ia64/bits/atomic.h: Move to ...
12068         * sysdeps/ia64/atomic-machine.h: ...here.
12069         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
12070         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
12071         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12072         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
12073         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
12074         * sysdeps/microblaze/bits/atomic.h: Move to ...
12075         * sysdeps/microblaze/atomic-machine.h: ...here.
12076         * sysdeps/mips/bits/atomic.h: Move to ...
12077         * sysdeps/mips/atomic-machine.h: ...here.
12078         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
12079         * sysdeps/powerpc/bits/atomic.h: Move to ...
12080         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
12081         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
12082         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
12083         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
12084         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
12085         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
12086         <atomic-machine.h> instead of <bits/atomic.h>.
12087         * sysdeps/s390/bits/atomic.h: Move to ...
12088         * sysdeps/s390/atomic-machine.h: ...here.
12089         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
12090         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
12091         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12092         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
12093         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
12094         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
12095         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
12096         * sysdeps/tile/bits/atomic.h: Move to ...
12097         * sysdeps/tile/atomic-machine.h: ...here.
12098         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
12099         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
12100         <sysdeps/tile/atomic-machine.h> instead of
12101         <sysdeps/tile/bits/atomic.h>.
12102         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12103         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
12104         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
12105         <sysdeps/tile/atomic-machine.h> instead of
12106         <sysdeps/tile/bits/atomic.h>.
12107         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12108         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
12109         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
12110         <sysdeps/arm/atomic-machine.h> instead of
12111         <sysdeps/arm/bits/atomic.h>.
12112         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
12113         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
12114         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12115         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
12116         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
12117         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12118         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
12119         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
12120         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
12121         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
12122         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
12123         * sysdeps/x86_64/bits/atomic.h: Move to ...
12124         * sysdeps/x86_64/atomic-machine.h: ...here.
12125         * include/atomic.h: Include <atomic-machine.h> instead of
12126         <bits/atomic.h>.
12128         * sysdeps/mips/mips32/libm-test-ulps: Update.
12129         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12131         [BZ #18952]
12132         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
12133         not convert non-integer negative arguments to int to determine the
12134         value of signgam.
12135         * math/auto-libm-test-in: Add more tests of lgamma.
12136         * math/auto-libm-test-out: Regenerated.
12138         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
12139         cosh, csqrt, erfc, expm1 and lgamma.
12140         * math/auto-libm-test-out: Regenerated.
12141         * sysdeps/i386/fpu/libm-test-ulps: Update.
12142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12144 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
12146         [BZ #2542]
12147         [BZ #2543]
12148         [BZ #2558]
12149         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
12150         __lgamma_neg for arguments from -28.0 to -2.0.
12151         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
12152         __lgamma_negf for arguments from -15.0 to -2.0.
12153         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12154         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
12155         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
12156         Call __lgamma_negl for arguments from -33.0 to -2.0.
12157         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
12158         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12159         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12160         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
12161         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12162         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12163         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12164         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
12165         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12166         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12167         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
12168         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
12169         (__lgamma_neg): Likewise.
12170         (__lgamma_negl): Likewise.
12171         (__lgamma_product): Likewise.
12172         (__lgamma_productl): Likewise.
12173         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
12174         * math/auto-libm-test-in: Add more tests of lgamma.
12175         * math/auto-libm-test-out: Regenerated.
12176         * sysdeps/i386/fpu/libm-test-ulps: Update.
12177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12179 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
12181         [BZ #18675]
12182         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
12184 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
12186         [BZ #14912]
12187         * bits/libc-lock.h: Move to ...
12188         * sysdeps/generic/libc-lock.h: ...here.
12189         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12190         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
12191         * sysdeps/mach/hurd/libc-lock.h: ...here.
12192         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12193         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
12194         * sysdeps/mach/bits/libc-lock.h: Move to ...
12195         * sysdeps/mach/libc-lock.h: ...here.
12196         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12197         * sysdeps/nptl/bits/libc-lock.h: Move to ...
12198         * sysdeps/nptl/libc-lock.h: ...here.
12199         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12200         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
12201         * sysdeps/nptl/libc-lockP.h: ...here.
12202         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
12203         * crypt/crypt_util.c: Include <libc-lock.h> instead of
12204         <bits/libc-lock.h>.
12205         * dirent/scandir-tail.c: Likewise.
12206         * dlfcn/dlerror.c: Likewise.
12207         * elf/dl-close.c: Likewise.
12208         * elf/dl-iteratephdr.c: Likewise.
12209         * elf/dl-lookup.c: Likewise.
12210         * elf/dl-open.c: Likewise.
12211         * elf/dl-support.c: Likewise.
12212         * elf/dl-writev.h: Likewise.
12213         * elf/rtld.c: Likewise.
12214         * grp/fgetgrent.c: Likewise.
12215         * gshadow/fgetsgent.c: Likewise.
12216         * gshadow/sgetsgent.c: Likewise.
12217         * iconv/gconv_conf.c: Likewise.
12218         * iconv/gconv_db.c: Likewise.
12219         * iconv/gconv_dl.c: Likewise.
12220         * iconv/gconv_int.h: Likewise.
12221         * iconv/gconv_trans.c: Likewise.
12222         * include/link.h: Likewise.
12223         * inet/getnameinfo.c: Likewise.
12224         * inet/getnetgrent.c: Likewise.
12225         * inet/getnetgrent_r.c: Likewise.
12226         * intl/bindtextdom.c: Likewise.
12227         * intl/dcigettext.c: Likewise.
12228         * intl/finddomain.c: Likewise.
12229         * intl/gettextP.h: Likewise.
12230         * intl/loadmsgcat.c: Likewise.
12231         * intl/localealias.c: Likewise.
12232         * intl/textdomain.c: Likewise.
12233         * libidn/idn-stub.c: Likewise.
12234         * libio/libioP.h: Likewise.
12235         * locale/duplocale.c: Likewise.
12236         * locale/freelocale.c: Likewise.
12237         * locale/newlocale.c: Likewise.
12238         * locale/setlocale.c: Likewise.
12239         * login/getutent_r.c: Likewise.
12240         * login/getutid_r.c: Likewise.
12241         * login/getutline_r.c: Likewise.
12242         * login/utmp-private.h: Likewise.
12243         * login/utmpname.c: Likewise.
12244         * malloc/mtrace.c: Likewise.
12245         * misc/efgcvt.c: Likewise.
12246         * misc/error.c: Likewise.
12247         * misc/fstab.c: Likewise.
12248         * misc/getpass.c: Likewise.
12249         * misc/mntent.c: Likewise.
12250         * misc/syslog.c: Likewise.
12251         * nis/nis_call.c: Likewise.
12252         * nis/nis_callback.c: Likewise.
12253         * nis/nss-default.c: Likewise.
12254         * nis/nss_compat/compat-grp.c: Likewise.
12255         * nis/nss_compat/compat-initgroups.c: Likewise.
12256         * nis/nss_compat/compat-pwd.c: Likewise.
12257         * nis/nss_compat/compat-spwd.c: Likewise.
12258         * nis/nss_nis/nis-alias.c: Likewise.
12259         * nis/nss_nis/nis-ethers.c: Likewise.
12260         * nis/nss_nis/nis-grp.c: Likewise.
12261         * nis/nss_nis/nis-hosts.c: Likewise.
12262         * nis/nss_nis/nis-network.c: Likewise.
12263         * nis/nss_nis/nis-proto.c: Likewise.
12264         * nis/nss_nis/nis-pwd.c: Likewise.
12265         * nis/nss_nis/nis-rpc.c: Likewise.
12266         * nis/nss_nis/nis-service.c: Likewise.
12267         * nis/nss_nis/nis-spwd.c: Likewise.
12268         * nis/nss_nisplus/nisplus-alias.c: Likewise.
12269         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
12270         * nis/nss_nisplus/nisplus-grp.c: Likewise.
12271         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
12272         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
12273         * nis/nss_nisplus/nisplus-network.c: Likewise.
12274         * nis/nss_nisplus/nisplus-proto.c: Likewise.
12275         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
12276         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
12277         * nis/nss_nisplus/nisplus-service.c: Likewise.
12278         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
12279         * nis/ypclnt.c: Likewise.
12280         * nptl/libc_pthread_init.c: Likewise.
12281         * nss/getXXbyYY.c: Likewise.
12282         * nss/getXXent.c: Likewise.
12283         * nss/getXXent_r.c: Likewise.
12284         * nss/nss_db/db-XXX.c: Likewise.
12285         * nss/nss_db/db-netgrp.c: Likewise.
12286         * nss/nss_db/nss_db.h: Likewise.
12287         * nss/nss_files/files-XXX.c: Likewise.
12288         * nss/nss_files/files-alias.c: Likewise.
12289         * nss/nsswitch.c: Likewise.
12290         * posix/regex_internal.h: Likewise.
12291         * posix/wordexp.c: Likewise.
12292         * pwd/fgetpwent.c: Likewise.
12293         * resolv/res_hconf.c: Likewise.
12294         * resolv/res_libc.c: Likewise.
12295         * shadow/fgetspent.c: Likewise.
12296         * shadow/lckpwdf.c: Likewise.
12297         * shadow/sgetspent.c: Likewise.
12298         * socket/opensock.c: Likewise.
12299         * stdio-common/reg-modifier.c: Likewise.
12300         * stdio-common/reg-printf.c: Likewise.
12301         * stdio-common/reg-type.c: Likewise.
12302         * stdio-common/vfprintf.c: Likewise.
12303         * stdio-common/vfscanf.c: Likewise.
12304         * stdlib/abort.c: Likewise.
12305         * stdlib/cxa_atexit.c: Likewise.
12306         * stdlib/fmtmsg.c: Likewise.
12307         * stdlib/random.c: Likewise.
12308         * stdlib/setenv.c: Likewise.
12309         * string/strsignal.c: Likewise.
12310         * sunrpc/auth_none.c: Likewise.
12311         * sunrpc/bindrsvprt.c: Likewise.
12312         * sunrpc/create_xid.c: Likewise.
12313         * sunrpc/key_call.c: Likewise.
12314         * sunrpc/rpc_thread.c: Likewise.
12315         * sysdeps/arm/backtrace.c: Likewise.
12316         * sysdeps/generic/ldsodefs.h: Likewise.
12317         * sysdeps/generic/stdio-lock.h: Likewise.
12318         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
12319         * sysdeps/i386/backtrace.c: Likewise.
12320         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12321         * sysdeps/m68k/backtrace.c: Likewise.
12322         * sysdeps/mach/hurd/cthreads.c: Likewise.
12323         * sysdeps/mach/hurd/dirstream.h: Likewise.
12324         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12325         * sysdeps/nptl/malloc-machine.h: Likewise.
12326         * sysdeps/nptl/stdio-lock.h: Likewise.
12327         * sysdeps/posix/dirstream.h: Likewise.
12328         * sysdeps/posix/getaddrinfo.c: Likewise.
12329         * sysdeps/posix/system.c: Likewise.
12330         * sysdeps/pthread/aio_suspend.c: Likewise.
12331         * sysdeps/s390/s390-32/backtrace.c: Likewise.
12332         * sysdeps/s390/s390-64/backtrace.c: Likewise.
12333         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12334         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12335         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
12336         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
12337         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
12338         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12339         * sysdeps/unix/sysv/linux/system.c: Likewise.
12340         * sysdeps/x86_64/backtrace.c: Likewise.
12341         * time/alt_digit.c: Likewise.
12342         * time/era.c: Likewise.
12343         * time/tzset.c: Likewise.
12344         * wcsmbs/wcsmbsload.c: Likewise.
12345         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
12346         instead of <bits/libc-lock.h> in comment.
12348 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
12350         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
12351         Only use .set mips2 if the current ISA is below mips2.
12352         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
12353         Likewise.
12354         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
12355         mips32r2 if the current ISA is below mips32r2.
12356         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
12357         (TLS_IE): Updated to use the TLD_RDHWR macro.
12358         (TLS_LE): Likewise.
12359         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
12360         __ASSEMBLER__ condition.
12362 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12364         Fix parallel build of before-compile targets.
12366         * sysdeps/mach/Makefile ($(patsubst
12367         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
12368         mach-before-compile target.
12369         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12370         io fs process)): Move rule to dedicated hurd-before-compile target.
12372 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12374         Fix rules generating headers in hurd/ and mach/ when initial make call
12375         has subdir= explicitly set.
12377         * sysdeps/mach/Makefile ($(patsubst
12378         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
12379         calling $(MAKE).
12380         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12381         io fs process)): Force subdir to hurd when calling $(MAKE).
12382         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
12383         subdir to mach when calling $(MAKE).
12385 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
12387         Check sysheaders when looking for Mach and Hurd headers
12389         * sysdeps/mach/configure.ac: Add sysheaders check.
12390         * sysdeps/mach/configure: Regenerate.
12391         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
12392         * sysdeps/mach/hurd/configure: Regenerate.
12394 2015-09-04  Roland McGrath  <roland@hack.frob.com>
12396         [BZ #18921]
12397         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
12398         Fix inverted sense of test of 'o_directory_works' value.
12399         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
12400         Bernhard Voelker <mail@bernhard-voelker.de>.
12402 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12404         [BZ #14912]
12405         * bits/linkmap.h: Move to ...
12406         * sysdeps/generic/linkmap.h: ...here.
12407         * sysdeps/aarch64/bits/linkmap.h: Move to ...
12408         * sysdeps/aarch64/linkmap.h: ...here.
12409         * sysdeps/arm/bits/linkmap.h: Move to ...
12410         * sysdeps/arm/linkmap.h: ...here.
12411         * sysdeps/hppa/bits/linkmap.h: Move to ...
12412         * sysdeps/hppa/linkmap.h: ...here.
12413         * sysdeps/ia64/bits/linkmap.h: Move to ...
12414         * sysdeps/ia64/linkmap.h: ...here.
12415         * sysdeps/mips/bits/linkmap.h: Move to ...
12416         * sysdeps/mips/linkmap.h: ...here.
12417         * sysdeps/s390/bits/linkmap.h: Move to ...
12418         * sysdeps/s390/linkmap.h: ...here.
12419         * sysdeps/sh/bits/linkmap.h: Move to ...
12420         * sysdeps/sh/linkmap.h: ...here.
12421         * sysdeps/x86/bits/linkmap.h: Move to ...
12422         * sysdeps/x86/linkmap.h: ...here.
12423         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
12425 2015-09-04  Andreas Schwab  <schwab@suse.de>
12427         [BZ #18635]
12428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
12429         (__makecontext): Terminate FDE before return label.
12430         (__novec_makecontext): Likewise.
12432 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12434         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
12435         first member of struct sv in syscall macro.
12437 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12439         [BZ #14912]
12440         * bits/stdio-lock.h: Move to ...
12441         * sysdeps/generic/stdio-lock.h: ...here.
12442         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12443         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
12444         * sysdeps/nptl/stdio-lock.h: ...here.
12445         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12446         * include/libio.h: Include <stdio-lock.h> instead of
12447         <bits/stdio-lock.h>.
12448         * sysdeps/nptl/fork.c: Likewise.
12449         * sysdeps/pthread/flockfile.c: Likewise.
12450         * sysdeps/pthread/ftrylockfile.c: Likewise.
12451         * sysdeps/pthread/funlockfile.c: Likewise.
12453         [BZ #14912]
12454         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
12455         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
12456         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
12457         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
12458         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
12459         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12460         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
12462 2015-09-03  Roland McGrath  <roland@hack.frob.com>
12464         * elf/Makefile (test-xfail-tst-protected1a): New variable.
12465         (test-xfail-tst-protected1b): New variable.
12467 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
12469         [BZ #14912]
12470         * bits/libc-tsd.h: Move to ...
12471         * sysdeps/generic/libc-tsd.h: ...here.
12472         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
12473         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
12474         * sysdeps/mach/hurd/libc-tsd.h: ...here.
12475         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
12476         * include/ctype.h: Include <libc-tsd.h> instead of
12477         <bits/libc-tsd.h>.
12478         * include/rpc/rpc.h: Likewise.
12479         * locale/localeinfo.h: Likewise.
12480         * sunrpc/rpc_thread.c: Likewise.
12481         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12482         * sysdeps/nptl/malloc-machine.h: Likewise.
12484         * Makefile (headers): Remove bits/libc-lock.h.
12485         * libio/Makefile (headers): Remove bits/stdio-lock.h.
12487         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
12488         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
12489         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
12490         <bits/stdio-lock.h>.
12491         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
12492         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
12494 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12496         [BZ #18757]
12497         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
12498         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
12499         BZ #18757.
12501 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12503         * malloc/mtrace.pl: Filter out NULL entries.
12505 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
12507         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
12508         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
12509         macro.
12511         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
12512         (TCP_CC_INFO): Likewise.
12513         (TCP_SAVE_SYN): Likewise.
12514         (TCP_SAVED_SYN): Likewise.
12516 2015-08-31  Brett Neumeier <brett@neumeier.us>
12518         [BZ #18870]
12519         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
12521 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
12523         [BZ #18873]
12524         Fix broken overflow check in posix_fallocate
12525         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
12526         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12527         Fix parenthesization typo.
12529 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
12531         [BZ #18887]
12532         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
12533         tst-mntent-blank-passno.
12534         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
12535         * misc/tst-mntent-blank-corrupt.c: New test.
12536         * misc/tst-mntent-blank-passno.c: New test ripped from ...
12537         * misc/tst-mntent.c (do_test): ... here.
12539 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
12541         [BZ #4404]
12542         * po/de.po: Fix SIGALRM typo.
12544 2015-08-28  James Perkins  <james@loowit.net>
12546         * time/tst-strptime2.c (tests): Replace short list of test
12547         strings for strptime %z specifier with code which exhaustively
12548         tests every combination of sign and 0 to 5 digits. Tests for
12549         rejection of invalid strings.
12551 2015-08-28  James Perkins  <james@loowit.net>
12553         [BZ #16141]
12554         * time/strptime_l.c (__strptime_internal): Fix %z minutes
12555         calculation, removing incorrect decimal time rounding, so that
12556         all minute values result in a valid seconds value.
12557         * time/strptime_l.c (__strptime_internal): Extend %z time zone
12558         offset range limits to UTC-99:59 through UTC+99:59 to parse
12559         current and historical use cases.
12560         * time/tst-strptime2.c (tests): Modify and add tests for the
12561         strptime %z input field descriptor, specifically conversion of
12562         minutes to seconds and validating an offset range of -9959 to
12563         +9959.
12565 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12566             Dmitry V. Levin  <ldv@altlinux.org>
12568         [BZ #18877]
12569         * posix/Makefile (tests): Add tst-mmap-offset.
12570         * posix/tst-mmap.c: New file.
12571         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
12572         offset calculation for negative values.
12574 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12576         * sysdeps/i386/init-arch.h: New file.
12577         * sysdeps/i386/i586/init-arch.h: Likewise.
12578         * sysdeps/i386/i686/init-arch.h: Likewise.
12579         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
12580         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
12581         * sysdeps/x86/cpu-features.h (bit_I586): New.
12582         (bit_I686): Likewise.
12583         (bit_CX8): Likewise.
12584         (bit_CMOV): Likewise.
12585         (index_CX8): Likewise.
12586         (index_CMOV): Likewise.
12587         (index_I586): Likewise.
12588         (index_I686): Likewise.
12589         (reg_CX8): Likewise.
12590         (reg_CMOV): Likewise.
12591         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
12592         available at compile-time.
12593         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
12594         available at compile-time.
12595         * sysdeps/x86/init-arch.h (USE_I586): New macro.
12596         (USE_I686): Likewise.
12598 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12600         * sysdeps/i386/bcopy.S: New file.
12601         * sysdeps/i386/bzero.S: Likewise.
12602         * sysdeps/i386/memcpy.S: Likewise.
12603         * sysdeps/i386/memmove.S: Likewise.
12604         * sysdeps/i386/mempcpy.S: Likewise.
12605         * sysdeps/i386/memset.S: Likewise.
12606         * sysdeps/i386/bzero.c: Removed.
12607         * sysdeps/i386/memset.c: Likewise.
12608         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
12609         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
12610         * sysdeps/i386/i586/memset_chk.S: Likewise.
12611         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
12612         * sysdeps/i386/memcpy_chk.S: Here.
12613         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
12614         * sysdeps/i386/memmove_chk.S: Here.
12615         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
12616         * sysdeps/i386/mempcpy_chk.S: Likewise.
12617         * sysdeps/i386/i686/memset_chk.S: Moved to ...
12618         * sysdeps/i386/memset_chk.S: Likewise.
12620 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
12622         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
12623         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
12624         file, move DIAG_POP_NEEDS_COMMENT to end of file.
12625         * soft-fp/fmadf4.c: Ditto.
12626         * soft-fp/fmatf4.c: Ditto.
12628 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12630         * sysdeps/i386/i586/Implies: Removed.
12631         * sysdeps/i386/i686/Implies: Likewise.
12633 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12635         * sysdeps/i386/i486/strlen.S: Moved to ...
12636         * sysdeps/i386/strlen.S: Here.
12638 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12640         * sysdeps/i386/i486/strcat.S: Moved to ...
12641         * sysdeps/i386/strcat.S: Here.
12643 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12645         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
12646         * sysdeps/i386/pthread_spin_trylock.S: Here.
12647         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
12648         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
12650 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12652         * sysdeps/i386/i486/string-inlines.c: Moved to ...
12653         * sysdeps/i386/string-inlines.c: Here.
12655 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12657         * sysdeps/i386/i486/htonl.S: Moved ...
12658         * sysdeps/i386/htonl.S: here.
12660 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12662         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
12663         * sysdeps/i386/bits/atomic.h: Here.
12665 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12667         * sysdeps/i386/i486/Versions: Removed.
12669 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12671         [BZ #2898]
12672         * misc/mktemp.c: Add mkdtemp to the link_warning message.
12673         Based on patch by Aurelien Jarno.
12675 2015-08-26  Stan Shebs  <stanshebs@google.com>
12677         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
12678         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12680 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12682         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
12683         * sysdeps/powerpc/dl-procinfo.c:
12684         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
12685         feature so it shows when LD_SHOW_AUXV=1.
12687 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12689         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12690         (__arch_compare_and_exchange_val_32_acq): Remove and use common
12691         definition.  ISA 2.07B no longer requires full sync.
12693 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
12695         [BZ #18863]
12696         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
12697         (si_call_addr): Define.
12698         (si_syscall): Define.
12699         (si_arch): Define.
12701 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12703         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
12704         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
12705         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
12706         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12707         (__memset_zero_constant_len_parameter): New.
12708         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
12709         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12710         (__memset_zero_constant_len_parameter): Don't define if
12711         __memset_chk or USE_AS_BZERO are defined.
12713         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
12714         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
12715         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
12717         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
12718         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
12719         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
12720         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
12721         comments.
12722         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
12723         -mno-mmx for $(all-rtld-routines).
12724         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
12725         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
12726         i386.
12728 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
12730         * sysdeps/generic/unwind.h
12731         (_Unwind_Word): Use __mode__(__unwind_word__)
12732         instead of __mode__(__word__).
12733         (_Unwind_Sword): Likewise.
12735         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12736         (MAX_NEEDED_INPUT): New define.
12737         (MAX_NEEDED_OUTPUT): New define.
12739         * NEWS: New item for IBM z13 string optimizations.
12741         * sysdeps/s390/multiarch/memrchr-c.c: New File.
12742         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
12743         * sysdeps/s390/multiarch/memrchr.c: Likewise.
12744         * sysdeps/s390/multiarch/Makefile
12745         (sysdep_routines): Add memrchr functions.
12746         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12747         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
12749         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
12750         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
12751         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
12752         * sysdeps/s390/multiarch/Makefile
12753         (sysdep_routines): Add wmemcmp functions.
12754         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12755         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
12756         * benchtests/bench-wmemcmp.c: New File.
12757         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
12759         * sysdeps/s390/multiarch/wmemset-c.c: New File.
12760         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
12761         * sysdeps/s390/multiarch/wmemset.c: Likewise.
12762         * sysdeps/s390/multiarch/Makefile
12763         (sysdep_routines): Add wmemset functions.
12764         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12765         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
12766         * wcsmbs/wmemset.c: Use WMEMSET if defined.
12767         * string/test-memset.c: Add wmemset support.
12768         * wcsmbs/test-wmemset.c: New File.
12769         * wcsmbs/Makefile (strop-tests): Add wmemset.
12770         * benchtests/bench-memset.c: Add wmemset support.
12771         * benchtests/bench-wmemset.c: New File.
12772         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
12774         * sysdeps/s390/multiarch/memccpy-c.c: New File.
12775         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
12776         * sysdeps/s390/multiarch/memccpy.c: Likewise.
12777         * sysdeps/s390/multiarch/Makefile
12778         (sysdep_routines): Add memccpy functions.
12779         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12780         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
12781         * string/memccpy.c: Use MEMCCPY if defined.
12783         * sysdeps/s390/multiarch/memchr-vx.S: New File.
12784         * sysdeps/s390/multiarch/memchr.c: Likewise.
12785         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
12786         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
12787         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
12788         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
12789         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
12790         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
12791         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
12792         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
12793         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
12794         and rawmemchr functions.
12795         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12796         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
12797         and wmemchr.
12798         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
12799         * string/test-memchr.c: Add wmemchr support.
12800         * wcsmbs/test-wmemchr.c: New File.
12801         * wcsmbs/Makefile (strop-tests): Add wmemchr.
12802         * benchtests/bench-memchr.c: Add wmemchr support.
12803         * benchtests/bench-wmemchr.c: New File.
12804         * benchtests/Makefile (wcsmbs-bench): wmemchr.
12806         * sysdeps/s390/multiarch/strcspn-c.c: New File.
12807         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
12808         * sysdeps/s390/multiarch/strcspn.c: Likewise.
12809         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
12810         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
12811         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
12812         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
12813         wcscspn functions.
12814         * sysdeps/s390/multiarch/ifunc-impl-list.c
12815         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
12816         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
12817         * string/test-strcspn.c: Add wcscspn support.
12818         * wcsmbs/test-wcscspn.c: New File.
12819         * wcsmbs/Makefile (strop-tests): Add wcscspn.
12820         * benchtests/bench-strcspn.c: Add wcscspn support.
12821         * benchtests/bench-wcscspn.c: New File.
12822         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
12824         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
12825         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
12826         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
12827         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
12828         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
12829         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
12830         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
12831         wcspbrk functions.
12832         * sysdeps/s390/multiarch/ifunc-impl-list.c
12833         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
12834         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
12835         * string/test-strpbrk.c: Add wcspbrk support.
12836         * wcsmbs/test-wcspbrk.c: New File.
12837         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
12838         * benchtests/bench-strpbrk.c: Add wcspbrk support.
12839         * benchtests/bench-wcspbrk.c: New File.
12840         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
12842         * sysdeps/s390/multiarch/strspn-c.c: New File.
12843         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
12844         * sysdeps/s390/multiarch/strspn.c: Likewise.
12845         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
12846         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
12847         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
12848         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
12849         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
12850         wcsspn functions.
12851         * sysdeps/s390/multiarch/ifunc-impl-list.c
12852         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
12853         * string/test-strspn.c: Add wcsspn support.
12854         * wcsmbs/test-wcsspn.c: New File.
12855         * wcsmbs/Makefile (strop-tests): Add wcsspn.
12856         * benchtests/bench-strspn.c: Add wcsspn support.
12857         * benchtests/bench-wcsspn.c: New File.
12858         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
12860         * sysdeps/s390/multiarch/strrchr-c.c: New File.
12861         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
12862         * sysdeps/s390/multiarch/strrchr.c: Likewise.
12863         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
12864         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
12865         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
12866         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
12867         wcsrchr functions.
12868         * sysdeps/s390/multiarch/ifunc-impl-list.c
12869         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
12870         * benchtests/bench-wcsrchr.c: New File.
12871         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
12873         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
12874         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
12875         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
12876         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
12877         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
12878         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
12879         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
12880         wcschrnul functions.
12881         * sysdeps/s390/multiarch/ifunc-impl-list.c
12882         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
12883         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
12884         * string/test-strchr.c: Add wcschrnul support.
12885         * wcsmbs/test-wcschrnul.c: New File.
12886         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
12887         * benchtests/bench-strchr.c: Add wcschrnul support.
12888         * benchtests/bench-wcschrnul.c: New File.
12889         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
12891         * sysdeps/s390/multiarch/strchr-c.c: New File.
12892         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
12893         * sysdeps/s390/multiarch/strchr.c: Likewise.
12894         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
12895         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
12896         * sysdeps/s390/multiarch/wcschr.c: Likewise.
12897         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
12898         wcschr functions.
12899         * sysdeps/s390/multiarch/ifunc-impl-list.c
12900         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
12901         * string/strchr.c (STRCHR): Define and use macro.
12902         * benchtests/bench-wcschr.c: New File.
12903         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
12905         * sysdeps/s390/multiarch/strncmp-c.c: New File.
12906         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
12907         * sysdeps/s390/multiarch/strncmp.c: Likewise.
12908         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
12909         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
12910         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
12911         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
12912         wcsncmp functions.
12913         * sysdeps/s390/multiarch/ifunc-impl-list.c
12914         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
12915         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
12916         * benchtests/bench-strncmp.c: Add wcsncmp support.
12917         * benchtests/bench-wcsncmp.c: New File.
12918         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
12920         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
12921         * sysdeps/s390/multiarch/strcmp.c: Likewise.
12922         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
12923         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
12924         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
12925         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
12926         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
12927         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
12928         wcscmp functions.
12929         * sysdeps/s390/multiarch/ifunc-impl-list.c
12930         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
12931         * string/strcmp.c (STRCMP): Define and use macro.
12932         * benchtests/bench-wcscmp.c: New File.
12933         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
12934         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
12935         instead of _HAVE_STRING_ARCH_memchr.
12937         * sysdeps/s390/multiarch/strncat-c.c: New File.
12938         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
12939         * sysdeps/s390/multiarch/strncat.c: Likewise.
12940         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
12941         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
12942         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
12943         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
12944         wcsncat functions.
12945         * sysdeps/s390/multiarch/ifunc-impl-list.c
12946         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
12947         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
12948         * string/test-strncat.c: Add wcsncat support.
12949         * wcsmbs/test-wcsncat.c: New File.
12950         * wcsmbs/Makefile (strop-tests): Add wcsncat.
12951         * benchtests/bench-strncat.c: Add wcsncat support.
12952         * benchtests/bench-wcsncat.c: New File.
12953         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
12955         * sysdeps/s390/multiarch/strcat-c.c: New File.
12956         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
12957         * sysdeps/s390/multiarch/strcat.c: Likewise.
12958         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
12959         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
12960         * sysdeps/s390/multiarch/wcscat.c: Likewise.
12961         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
12962         wcscat functions.
12963         * sysdeps/s390/multiarch/ifunc-impl-list.c
12964         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
12965         * string/strcat.c (STRCAT): Define and use macro.
12966         * wcsmbs/wcscat.c: Use WCSCAT if defined.
12967         * string/test-strcat.c: Add wcscat support.
12968         * wcsmbs/test-wcscat.c: New File.
12969         * wcsmbs/Makefile (strop-tests): Add wcscat.
12970         * benchtests/bench-strcat.c: Add wcscat support.
12971         * benchtests/bench-wcscat.c: New File.
12972         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
12974         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
12975         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
12976         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
12977         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
12978         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
12979         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
12980         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
12981         wcpncpy functions.
12982         * sysdeps/s390/multiarch/ifunc-impl-list.c
12983         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
12984         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
12985         * string/test-stpncpy.c: Add wcpncpy support.
12986         * wcsmbs/test-wcpncpy.c: New File.
12987         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
12988         * benchtests/bench-stpncpy.c: Add wcpncpy support.
12989         * benchtests/bench-wcpncpy.c: New File.
12990         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
12992         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
12993         * sysdeps/s390/multiarch/strncpy.c: Likewise.
12994         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
12995         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
12996         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
12997         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
12998         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
12999         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
13000         wcsncpy functions.
13001         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
13002         * sysdeps/s390/multiarch/ifunc-impl-list.c
13003         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
13004         * string/test-strncpy.c: Add wcsncpy support.
13005         * wcsmbs/test-wcsncpy.c: New File.
13006         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
13007         * benchtests/bench-strncpy.c: Add wcsncpy support.
13008         * benchtests/bench-wcsncpy.c: New File.
13009         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
13011         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
13012         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
13013         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13014         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
13015         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
13016         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
13017         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
13018         wcpcpy functions.
13019         * string/stpcpy.c: Use STPCPY if defined.
13020         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
13021         * sysdeps/s390/multiarch/ifunc-impl-list.c
13022         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
13023         * string/test-stpcpy.c: Add wcpcpy support.
13024         * wcsmbs/test-wcpcpy.c: New File.
13025         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
13026         * benchtests/bench-stpcpy.c: Add wcpcpy support.
13027         * benchtests/bench-wcpcpy.c: New File.
13028         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
13030         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
13031         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13032         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
13033         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
13034         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
13035         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
13036         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
13037         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
13038         wcscpy functions.
13039         * sysdeps/s390/multiarch/ifunc-impl-list.c
13040         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
13041         * benchtests/bench-wcscpy.c: New File.
13042         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
13044         * sysdeps/s390/multiarch/strnlen-c.c: New File.
13045         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
13046         * sysdeps/s390/multiarch/strnlen.c: Likewise.
13047         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
13048         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
13049         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
13050         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
13051         wcsnlen functions.
13052         * sysdeps/s390/multiarch/ifunc-impl-list.c
13053         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
13054         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
13055         * string/test-strnlen.c: Add wcsnlen support.
13056         * wcsmbs/test-wcsnlen.c: New File.
13057         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
13058         * benchtests/bench-strnlen.c: Add wcsnlen support.
13059         * benchtests/bench-wcsnlen.c: New File.
13060         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
13062         * sysdeps/s390/multiarch/Makefile: New File.
13063         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
13064         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
13065         * sysdeps/s390/multiarch/strlen.c: Likewise.
13066         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
13067         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
13068         * sysdeps/s390/multiarch/wcslen.c: Likewise.
13069         * string/strlen.c (STRLEN): Define and use macro.
13070         * sysdeps/s390/multiarch/ifunc-impl-list.c
13071         (IFUNC_VX_IMPL): New macro function.
13072         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
13073         * benchtests/Makefile (wcsmbs-bench): New variable.
13074         (string-bench-all): Added wcsmbs-bench.
13075         * benchtests/bench-wcslen.c: New File.
13077         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
13078         s390_vx_libc_ifunc2): New macro function.
13080         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
13081         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
13082         assembler support.
13083         * sysdeps/s390/configure: Regenerated.
13085         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
13086         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
13088         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
13089         * sysdeps/s390/dl-procinfo.h: Add vector capability.
13090         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
13092         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
13093         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
13094         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
13095         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
13096         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
13097         (memcmp, bcmp): Use __memcmp_default as alias source.
13098         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
13099         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
13100         Rename to __memcmp_default.
13101         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
13102         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
13103         (memcpy): Use __memcpy_default as alias source.
13104         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
13105         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
13106         Rename to __memcpy_default.
13107         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
13108         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
13109         (memset): Use __memset_default as alias source.
13110         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
13111         * sysdeps/s390/s390-32/memset.S (__memset_g5):
13112         Rename to __memset_default.
13113         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
13114         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
13115         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
13116         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
13117         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
13118         (memcmp, bcmp): Use __memcmp_default as alias source.
13119         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
13120         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
13121         Rename to __memcmp_default.
13122         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
13123         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
13124         (memcpy): Use __memcpy_default as alias source.
13125         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
13126         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
13127         Rename to __memcpy_default.
13128         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
13129         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
13130         (memset): Use __memset_default as alias source.
13131         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
13132         * sysdeps/s390/s390-64/memset.S (__memset_z900):
13133         Rename to __memset_default.
13134         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
13135         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
13137         [BZ #18610]
13138         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
13139         __ieee_instruction_pointer to __unused.
13140         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
13141         __ieee_instruction_pointer.
13142         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
13143         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
13144         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13145         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13146         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
13147         Mark dxc-field as reserved.
13149 2015-08-25  Roland McGrath  <roland@hack.frob.com>
13151         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
13152         if the weak reference is not null.
13154 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13156         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
13158         [BZ #11214]
13159         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
13161 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13163         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
13164         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
13165         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
13166         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
13167         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
13168         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
13169         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
13170         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
13171         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
13172         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
13173         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
13174         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
13175         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
13176         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
13177         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
13178         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
13179         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
13180         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
13182 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13184         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
13185         register other than r0 for tabort, it has special meaning.
13186         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
13187         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
13188         transaction before starting syscall.
13190 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13192         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
13194 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13196         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
13198         * sysdeps/x86_64/rtld-memcmp.c: Removed.
13199         * sysdeps/x86_64/rtld-memset.S: Likewise.
13200         * sysdeps/x86_64/rtld-strchr.S: Likewise.
13201         * sysdeps/x86_64/rtld-strlen.S: Likewise.
13202         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
13203         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13205         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
13207 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
13209         * debug/strcpy_chk.c: Improve performance.
13210         * debug/stpcpy_chk.c: Likewise.
13211         * sysdeps/x86_64/strcpy_chk.S: Remove.
13212         * sysdeps/x86_64/stpcpy_chk.S: Remove.
13214         [BZ #18240]
13215         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
13217 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13219         [BZ #15128]
13220         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
13221         ifuncmain8.
13222         (modules-names): Add ifuncmod8.
13223         ($(objpfx)ifuncmain8): New rule.
13224         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
13225         <cpuid.h>.
13226         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
13227         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
13228         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
13229         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
13230         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
13231         * sysdeps/x86_64/dl-trampoline.h: Likewise.
13232         * sysdeps/x86_64/ifuncmain8.c: New file.
13233         * sysdeps/x86_64/ifuncmod8.c: Likewise.
13234         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
13235         Removed.
13236         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
13237         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
13238         Change rtld_savespace_sse to __glibc_unused2.
13239         (RTLD_CHECK_FOREIGN_CALL): Removed.
13240         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
13241         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
13242         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
13244 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13246         * sysdeps/aarch64/bzero.S (__bzero): Remove.
13248 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13250         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
13251         Unconditionally set __fpcr to avoid uninialized warning.
13252         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
13254 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13256         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
13257         is corrupt.
13259         * malloc/arena.c (arena_get2): Drop unused argument.
13260         (arena_lock): Adjust.
13261         (arena_get_retry): Likewise.
13263 2015-08-24  Andreas Schwab  <schwab@suse.de>
13265         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
13266         Don't define.
13267         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13268         (__ASSUME_IPC64): Don't undef.
13269         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
13270         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13271         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13272         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
13273         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
13274         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
13275         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
13276         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
13277         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
13278         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
13279         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
13280         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
13281         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
13282         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
13283         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
13284         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
13285         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
13286         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
13287         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
13288         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
13289         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
13291 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
13293         * manual/Makefile (install): Only build manual when perl is available.
13295 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13297         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
13298         '#undef memcpy' by '#undef memchr'.
13300 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13302         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
13303         memchr not point to the internal __GI_memchr implementation.
13305 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13307         * timezone/Makefile (CFLAGS-zdump.c): Remove
13308         -Wno-strict-prototypes.
13309         (CFLAGS-zic.c): Likewise.
13310         (CFLAGS-ialloc.c): Likewise.
13311         (CFLAGS-scheck.c): Likewise.
13313         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
13314         -Wno-error=undef.
13316 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13318         * i386/i686/multiarch/strcasestr-c.c: Removed.
13319         * x86_64/multiarch/strcasestr.c: Likewise.
13320         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13321         Remove strcasestr.
13323 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13325         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
13327         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
13328         variables for high and low parts before possibly modifying them.
13330 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13332         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
13333         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
13334         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
13335         of "multiarch/init-arch.h".
13336         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
13337         * sysdeps/x86/init-arch.h: This.
13339 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13341         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
13342         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
13344 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
13346         [BZ #17787]
13347         * manual/macros.texi: Add twoexp macro.
13348         * manual/filesys.texi: Fix exponents.
13349         * manual/llio.texi: Likewise.
13350         * manual/stdio.texi: Likewise.
13352 2015-08-20  Florian Weimer  <fweimer@redhat.com>
13354         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
13355         incorrect use.
13357 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13359         [BZ #18370]
13360         * math/s_csqrt.c (__csqrt): Force underflow exception for results
13361         whose real or imaginary part has small absolute value.
13362         * math/s_csqrtf.c (__csqrtf): Likewise.
13363         * math/s_csqrtl.c (__csqrtl): Likewise.
13364         * math/auto-libm-test-in: Add more tests of csqrt.
13365         * math/auto-libm-test-out: Regenerated.
13366         * sysdeps/i386/fpu/libm-test-ulps: Update.
13368 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13370         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
13371         __ppc_set_ppr_very_low): New functions.
13372         * manual/platform.texi: Add documentation about
13373         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
13375 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
13377         * string/stpncpy.c (stpncpy): Improve performance using
13378         __strnlen/memcpy/memset.
13380 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13382         [BZ #18796]
13383         * scripts/test-installation.pl: Don't add -lmvec to build options if
13384         libmvec wasn't built.
13386 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
13388         [BZ #14341]
13389         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
13390         case when there is a gap between DT_REL and DT_JMPREL sections.
13391         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
13392         (LDFLAGS-tst-split-dynreloc): New.
13393         (tst-split-dynreloc-ENV): Likewise.
13394         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
13395         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
13397 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13399         [BZ #18822]
13400         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
13401         attribute_hidden.
13402         (__xstat64_conv): Likewise.
13403         (__xstat32_conv): Likewise.
13405 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13407         [BZ #18822]
13408         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
13409         Don't load %ebx when calling __setcontext.  Call __setcontext
13410         with HIDDEN_JUMPTARGET.
13411         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
13412         libc_hidden_def.
13414 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13416         * sysdeps/i386/i686/Makefile
13417         [$(subdir) == string] (sysdep_routines): Moved to ...
13418         * sysdeps/i386/Makefile: Here.
13419         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
13420         * sysdeps/i386/cacheinfo.c: Here.
13421         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
13422         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
13423         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
13424         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
13426 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13428         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
13429         __i586__ is defined.
13430         (HAS_I686): Defined to 1 if __i686__ is defined.
13432 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13434         * elf/Makefile [$(have-z-execstack) = yes]
13435         (CPPFLAGS-tst-execstack.c): New variable.
13437         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
13438         conditional to [defined UTMPX || _HAVE_UT_TYPE].
13439         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
13440         UTMPX || _HAVE_UT_TV].
13441         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
13442         UTMPX || _HAVE_UT_TV - 0].
13444 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
13446         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
13447         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
13448         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
13450 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13452         * sysdeps/powerpc/dl-procinfo.c:
13453         (_dl_powerpc_cap_flags): Added missing strings for some
13454         hwcap features.
13455         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
13457 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
13459         Port the 0x7efe...feff pattern to GCC 6.
13460         See Steve Ellcey's bug report in:
13461         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
13462         * string/memrchr.c (MEMRCHR):
13463         * string/rawmemchr.c (RAWMEMCHR):
13464         * string/strchr.c (strchr):
13465         * string/strchrnul.c (STRCHRNUL):
13466         Rewrite code to avoid issues with signed shift overflow.
13468 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
13470         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
13471         whether cpuid is available only if HAS_CPUID is 0.
13472         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
13473         (HAS_I586): Likewise.
13474         (HAS_I686): Likewise.
13476 2015-08-18  Zack Weinberg  <zackw@panix.com>
13478         * misc/Versions (libc): Add GLIBC_2.23.
13480 2015-08-18  Alan Modra  <amodra@gmail.com>
13482         [BZ #18421]
13483         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
13484         .Lp__global.
13485         (_start): Load %dp via .Lp__global.
13486         [!SHARED]: Use .section .rodata.
13488 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13490         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
13491         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
13493 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13495         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
13496         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
13498 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13500         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
13501         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
13503 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13505         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
13506         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
13508 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13510         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
13511         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
13513 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13515         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
13516         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
13518 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13520         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
13522 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13524         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
13525         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
13526         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13527         (__ASSUME_LWS_CAS): Delete.
13529 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13531         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
13532         * sysdeps/hppa/configure: Regenerated.
13533         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
13534         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
13535         * sysdeps/hppa/nptl/tls.h: Likewise.
13537 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
13539         [BZ #18823]
13540         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
13541         for scaling up small arguments.
13542         * math/s_csqrtf.c (__csqrtf): Likewise.
13543         * math/s_csqrtl.c (__csqrtl): Likewise.
13544         * math/auto-libm-test-in: Add more tests of csqrt.
13545         * math/auto-libm-test-out: Regenerated.
13547 2015-08-17  Andreas Schwab  <schwab@suse.de>
13549         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
13550         version set GLIBC_2.19.
13552 2015-08-16  Zack Weinberg  <zackw@panix.com>
13554         [BZ #18681]
13555         * misc/regexp.h: This interface is no longer supported.
13556         Remove all contents, leaving only an #error directive.
13557         * misc/regexp.c (loc1, loc2, locs, step, advance):
13558         Demote to compatibility symbols.
13560 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
13562         [BZ #18084]
13563         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
13564         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
13565         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13566         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
13567         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
13568         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
13569         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
13570         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
13571         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13573 2015-08-15  Zack Weinberg  <zackw@panix.com>
13575         [BZ #18795]
13576         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
13577         buffer length is known to be too large, not if it's known to be
13578         small enough.
13579         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
13580         overflow at runtime, involving a length parameter, twice: once
13581         with a compile-time constant length parameter, once without.
13583 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
13585         [BZ #18824]
13586         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
13587         scaling x * y up instead of down.
13588         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13589         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13590         * math/auto-libm-test-in: Add more tests of fma.
13591         * math/auto-libm-test-out: Regenerated.
13593 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13595         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13597 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13599         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
13600         unnecessary movq.
13601         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
13602         Likewise.
13604 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
13606         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13607         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
13608         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
13609         and tgamma.
13610         * math/auto-libm-test-out: Regenerated.
13611         * sysdeps/i386/fpu/libm-test-ulps: Update.
13612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13614         [BZ #16520]
13615         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
13616         (__tanh): Force underflow exception for arguments with small
13617         absolute value.
13618         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
13619         (__tanhf): Force underflow exception for arguments with small
13620         absolute value.
13621         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
13622         (__tanhl): Force underflow exception for arguments with small
13623         absolute value.
13624         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
13625         (__tanhl): Force underflow exception for arguments with small
13626         absolute value.
13627         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
13628         (__tanhl): Force underflow exception for arguments with small
13629         absolute value.
13630         * math/auto-libm-test-in: Add more tests of tanh.
13631         * math/auto-libm-test-out: Regenerated.
13632         * sysdeps/i386/fpu/libm-test-ulps: Update.
13634 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13636         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
13637         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
13639 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13641         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
13642         <cpuid.h>.
13644 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13646         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
13647         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
13649 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13651         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
13652         Remove $(objpfx)init-arch.o.
13653         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
13654         init-arch.
13655         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
13656         (INIT_ARCH_EXT): Defined as empty.
13657         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
13658         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
13659         __init_cpu_features call.  Replace HAS_XXX with
13660         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13661         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
13662         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
13663         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
13664         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
13665         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13666         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
13667         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
13668         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13669         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
13670         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
13671         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13672         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
13673         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
13674         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13675         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
13676         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
13677         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13678         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13679         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
13680         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
13681         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13682         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
13683         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
13684         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13685         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
13686         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
13687         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13688         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
13689         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
13690         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13691         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
13692         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
13693         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13694         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
13695         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
13697 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13699         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
13700         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13701         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13702         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13703         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
13704         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
13705         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
13706         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
13707         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
13708         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
13709         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
13710         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
13711         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13712         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13713         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13714         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13715         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13716         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13717         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13718         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13719         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13720         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13721         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13722         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13723         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13724         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13725         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13726         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13727         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13728         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13729         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13730         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13731         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13732         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13733         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13734         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13735         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13736         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13737         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13738         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13739         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13740         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13741         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13743 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13745         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
13746         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13747         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13748         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13749         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13750         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
13751         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13752         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
13753         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13754         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13755         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13756         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
13757         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
13758         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
13759         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
13760         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
13761         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
13762         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
13763         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
13764         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
13765         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13766         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
13767         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
13768         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13769         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13770         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
13771         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
13772         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
13773         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13774         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13775         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13776         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13777         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13778         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13779         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13780         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13781         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13782         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13783         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13784         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13785         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13786         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13787         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13789 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13791         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
13792         (dl_platform_init): Call init_cpu_features.
13793         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
13794         * sysdeps/i386/i686/cacheinfo.c
13795         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
13796         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
13797         * sysdeps/i386/i686/multiarch/Versions: Removed.
13798         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
13799         Removed.
13800         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
13801         * sysdeps/unix/sysv/linux/x86/Makefile
13802         (libpthread-sysdep_routines): Remove init-arch.
13803         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
13804         <sysdeps/x86_64/dl-procinfo.c> instead of
13805         sysdeps/generic/dl-procinfo.c>.
13806         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
13807         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
13808         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
13809         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
13810         [$(subdir) == elf] (tests-static): Add
13811         tst-get-cpu-features-static.
13812         * sysdeps/x86/Versions: New file.
13813         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
13814         * sysdeps/x86/cpu-features.c: Likewise.
13815         * sysdeps/x86/cpu-features.h: Likewise.
13816         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
13817         * sysdeps/x86/libc-start.c: Likewise.
13818         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
13819         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
13820         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
13821         * sysdeps/x86_64/dl-procinfo.c: Likewise.
13822         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
13823         Assume USE_MULTIARCH is defined and don't check it.
13824         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
13825         (is_amd): Likewise.
13826         (max_cpuid): Likewise.
13827         (intel_check_word): Likewise.
13828         (__cache_sysconf): Don't call __init_cpu_features.
13829         (__x86_preferred_memory_instruction): Removed.
13830         (init_cacheinfo): Don't call __init_cpu_features. Replace
13831         __cpu_features with GLRO(dl_x86_cpu_features).
13832         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
13833         (dl_platform_init): Call init_cpu_features.
13834         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
13835         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
13836         * sysdeps/x86_64/multiarch/Versions: Removed.
13837         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
13838         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
13839         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
13840         Removed.
13841         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
13843 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13845         [BZ #18820]
13846         * libio/Makefile (test-fmemopen-mem): New test.
13847         * libio/test-fmemopen.c (do_bz18820): New test.
13848         * libio/fmemopen.c (__fmemopen): Fix memory leak.
13849         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
13851 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13853         [BZ #16734]
13854         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
13855         (FREE_BUF): Delete.
13856         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
13857         * libio/genops.c (_IO_setb): Use malloc and free directly.
13858         (_IO_default_doallocate, _IO_default_finish): Likewise.
13859         ( _IO_unbuffer_all): Likewise.
13860         ( libc_freeres_fn): Likewise.
13861         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13862         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13863         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
13864         (_IO_wdefault_doallocate): Likewise.
13866 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13868         [BZ #18086]
13869         * sysdeps/posix/nice.c (nice): Restore old errno.
13870         * posix/tst-nice.c (do_test): Add test for BZ #18086.
13872 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
13874         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
13876 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13878         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
13879         __bcopy and add a weak_alias to bcopy.
13880         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
13881         for static build.
13883         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
13884         cleanup macro usage.
13885         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
13886         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
13887         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13888         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
13889         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13890         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
13891         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
13892         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13893         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13894         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
13895         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13896         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
13897         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13898         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
13899         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13900         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
13901         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
13902         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
13903         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13905         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
13906         libc_hidden_def.
13907         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
13909         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
13910         (sysdep_routines): Add strstr-ppc64.
13911         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
13913 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
13915         [BZ #18778]
13916         * elf/Makefile (tests): Add Add tst-nodelete2.
13917         (modules-names): Add tst-nodelete2mod.
13918         (tst-nodelete2mod.so-no-z-defs): New.
13919         ($(objpfx)tst-nodelete2): Likewise.
13920         ($(objpfx)tst-nodelete2.out): Likewise.
13921         (LDFLAGS-tst-nodelete2): Likewise.
13922         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
13923         out of loop through all loaded libraries.
13924         * elf/tst-nodelete2.c: New file.
13925         * elf/tst-nodelete2mod.c: Likewise.
13926         * elf/tst-znodelete-zlib.cc: Delete.
13928 2015-08-11  Andreas Schwab  <schwab@suse.de>
13930         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
13931         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
13932         (__openat64_nocancel): Likewise.
13934 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
13936         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
13937         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
13938         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
13939         * math/auto-libm-test-out: Regenerated.
13940         * sysdeps/i386/fpu/libm-test-ulps: Update.
13941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13943 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13945         [BZ #18790]
13946         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
13947         threshold for returning +/- 1.
13948         * math/auto-libm-test-in: Add more tests of tanh.
13949         * math/auto-libm-test-out: Regenerated.
13950         * sysdeps/i386/fpu/libm-test-ulps: Update.
13952 2015-08-10  Andreas Schwab  <schwab@suse.de>
13954         [BZ #18781]
13955         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
13956         MORE_OFLAGS to oflag.
13957         * io/test-lfs.c (do_test): Test openat64.
13959 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13961         [BZ #18789]
13962         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
13963         smaller threshold for returning the argument.
13964         * math/auto-libm-test-in: Add more tests of sinh.
13965         * math/auto-libm-test-out: Regenerated.
13966         * sysdeps/i386/fpu/libm-test-ulps: Update.
13968 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13970         [BZ #18674]
13971         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
13972         break.
13974 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
13976         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
13977         (generated): Don't add $(addprefix z.,$(tzfiles)).
13979 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13981         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
13982         * scripts/sysd-rules.awk: Likewise.
13984 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13986         * iconvdata/tst-tables.sh: Change echo -n to printf.
13987         * nss/db-Makefile: Likewise.
13988         * posix/tst-getconf.sh: Likewise.
13989         * stdio-common/tst-unbputc.sh: Likewise.
13991 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13993         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
13994         MADV_*_PAGES defines behind this feature check.
13996 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
13998         [BZ #18480]
13999         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
14000         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
14001         Define.
14002         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
14003         LOAD_REGS_5, LOAD_REGS_6): Update.
14004         (INTERNAL_SYSCALL): Update using new LOAD defines.
14005         (INTERNAL_SYSCALL_NCS): Likewise.
14006         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
14008 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14010         [BZ #16734]
14011         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
14013 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14015         [BZ #17905]
14016         * catgets/Makefile (tst-catgets-mem): New test.
14017         * catgets/catgets.c (catopen): Don't use unbounded alloca.
14018         * catgets/open_catalog.c (__open_catalog): Likewise.
14019         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
14021 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
14023         [BZ #18787]
14024         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
14025         clobber registers.
14026         (atomic_compare_and_exchange_val_acq): Use register asms to assign
14027         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
14028         Cast return to __typeof (oldval).
14030 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
14032         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
14033         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
14034         and delete sys/syscall.h include.
14036 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
14038         [BZ #16517]
14039         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
14040         (tan): Force underflow exception for arguments with small absolute
14041         value.
14042         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
14043         (__kernel_tanf): Force underflow exception for arguments with
14044         small absolute value.
14045         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
14046         (__kernel_tanl): Force underflow exception for arguments with
14047         small absolute value.
14048         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
14049         (__kernel_tanl): Force underflow exception for arguments with
14050         small absolute value.
14051         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
14052         (__kernel_tanl): Force underflow exception for arguments with
14053         small absolute value.
14054         * math/auto-libm-test-in: Add more tests of tan.
14055         * math/auto-libm-test-out: Regenerated.
14057 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14059         Fix sysdeps/i386/fpu/s_scalbn.S build
14061         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
14063 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
14065         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14067 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14069         Fix gcrt0.o compilation
14071         When static-start-installed-name is different from
14072         start-installed-name, we must not use the shared objects.
14074         * csu/Makefile
14075         (extra-objs): Add gmon-start.o when building shared library and
14076         $(static-start-installed-name) is different from
14077         $(start-installed-name).
14078         $(objpfx)g$(static-start-installed-name): When building shared
14079         library and $(static-start-installed-name) is different from
14080         $(static-start-installed-name), revert to non-shared rule,
14081         i.e. using $(objpfx)% and gmon-start.o.
14083 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
14085         [BZ #16519]
14086         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
14087         (__ieee754_sinh): Force underflow exception for arguments with
14088         small absolute value.
14089         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
14090         (__ieee754_sinhf): Force underflow exception for arguments with
14091         small absolute value.
14092         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
14093         (__ieee754_sinhl): Force underflow exception for arguments with
14094         small absolute value.
14095         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
14096         (__ieee754_sinhl): Force underflow exception for arguments with
14097         small absolute value.
14098         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
14099         (__ieee754_sinhl): Force underflow exception for arguments with
14100         small absolute value.
14101         * math/auto-libm-test-in: Add more tests of sinh.
14102         * math/auto-libm-test-out: Regenerated.
14103         * sysdeps/i386/fpu/libm-test-ulps: Update.
14105 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14107         * libio/oldfileops.c: Include unistd.h.
14109 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
14111         * stdlib/isomac.c: Include ctype.h.
14113 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
14115         * dirent/tst-seekdir.c (main): Converted to ...
14116         (do_test): ... this.
14117         (TEST_FUNCTION): New macro.
14118         Include test-skeleton.c.
14119         * elf/tst-dlmodcount.c (main): Converted to ...
14120         (do_test): ... this.
14121         (TEST_FUNCTION): New macro.
14122         Include test-skeleton.c.
14123         * elf/tst-order-main.c (main): Converted to ...
14124         (do_test): ... this.
14125         (TEST_FUNCTION): New macro.
14126         Include test-skeleton.c.
14127         * elf/tst-pie2.c (main): Converted to ...
14128         (do_test): ... this.
14129         (TEST_FUNCTION): New macro.
14130         Include test-skeleton.c.
14131         * inet/tst-ether_aton.c (main): Converted to ...
14132         (do_test): ... this.
14133         (TEST_FUNCTION): New macro.
14134         Include test-skeleton.c.
14135         * misc/tst-mntent.c (main): Converted to ...
14136         (do_test): ... this.
14137         (TEST_FUNCTION): New macro.
14138         Include test-skeleton.c.
14139         * misc/tst-tsearch.c (main): Converted to ...
14140         (do_test): ... this.
14141         (TEST_FUNCTION): New macro.
14142         Include test-skeleton.c.
14143         * posix/tst-regexloc.c (main): Converted to ...
14144         (do_test): ... this.
14145         (TEST_FUNCTION): New macro.
14146         Include test-skeleton.c.
14147         * resolv/tst-aton.c (main): Converted to ...
14148         (do_test): ... this.
14149         (TEST_FUNCTION): New macro.
14150         Include test-skeleton.c.
14151         * stdio-common/test-fwrite.c (main): Converted to ...
14152         (do_test): ... this.
14153         (TEST_FUNCTION): New macro.
14154         Include test-skeleton.c.
14155         * stdio-common/tst-ferror.c (main): Converted to ...
14156         (do_test): ... this.
14157         (TEST_FUNCTION): New macro.
14158         Include test-skeleton.c.
14159         * stdio-common/tst-printf.c (main): Converted to ...
14160         (do_test): ... this.
14161         (TEST_FUNCTION): New macro.
14162         Include test-skeleton.c.
14163         * stdio-common/tst-printfsz.c (main): Converted to ...
14164         (do_test): ... this.
14165         (TEST_FUNCTION): New macro.
14166         Include test-skeleton.c.
14167         * stdlib/tst-strtod.c (main): Converted to ...
14168         (do_test): ... this.
14169         (TEST_FUNCTION): New macro.
14170         Include test-skeleton.c.
14171         * string/tst-strlen.c (main): Converted to ...
14172         (do_test): ... this.
14173         (TEST_FUNCTION): New macro.
14174         Include test-skeleton.c.
14175         * string/tst-svc.c (main): Converted to ...
14176         (do_test): ... this.
14177         (TEST_FUNCTION): New macro.
14178         Include test-skeleton.c.
14179         * time/tst-strptime.c (main): Converted to ...
14180         (do_test): ... this.
14181         (TEST_FUNCTION): New macro.
14182         Include test-skeleton.c.
14183         * timezone/tst-timezone.c (main): Converted to ...
14184         (do_test): ... this.
14185         (TEST_FUNCTION): New macro.
14186         Include test-skeleton.c.
14188 2015-08-05  Zack Weinberg  <zackw@panix.com>
14190         * misc/regexp.h: Update comments.
14192 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
14194         [BZ #18635]
14195         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
14196         before return label.
14198 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14200         [BZ #18661]
14201         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
14202         when calling __errno_location.
14203         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
14204         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
14206 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14208         [BZ #18661]
14209         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
14210         (__lll_timedwait_tid): Align stack to 16 bytes when calling
14211         __gettimeofday.
14213 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14215         [BZ #18661]
14216         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14217         (__start_context): Don't use pop to restore %rdi so that stack
14218         is aligned to 16 bytes when calling __setcontext.
14220 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14222         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
14223         only for libc.
14224         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14226 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14228         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
14229         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
14230         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
14232 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14234         * string/memccpy.c (memccpy):
14235         Improve performance by using memchr/memcpy/__mempcpy.
14237 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14239         * string/strncpy.c (strncpy):
14240         Improve performance by using __strnlen/memcpy.
14242 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14244         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14245         Optimize to avoid an unnecessary FPCR read.
14247 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14249         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14250         Optimize to reduce FPCR/FPSR accesses.
14252 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14254         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
14255         dead->data[category] != NULL.
14257 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
14259         [BZ #18647]
14260         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
14261         and |x| close to 1, use absolute value of x when computing log.
14262         * math/auto-libm-test-in: Add more tests of pow.
14263         * math/auto-libm-test-out: Regenerated.
14265 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14267         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
14268         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
14269         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
14271 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
14273         [BZ #18525]
14274         * locales/km_KH: Remove timezone definition.
14275         * locales/lo_LA: Likewise.
14276         * locales/my_MM: Likewise.
14277         * locales/nan_TW@latin: Likewise.
14278         * locales/th_TH: Likewise.
14279         * locales/uk_UA: Likewise.
14281 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14283         [BZ #18265]
14284         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
14285         (wcsncat): Likewise.
14286         (wcscmp): Likewise.
14287         (wcsncmp): Likewise.
14289 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14291         * test-skeleton.c (usage): New function.
14292         (main): Call usage when opt is '?'.
14294 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14296         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
14297         before first use.
14299 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14301         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
14302         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
14303         in there too.
14305 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
14307         * version.h (RELEASE): Set to "development".
14308         (VERSION): Set to "2.22.90"
14310         * version.h (RELEASE): Set to "stable".
14311         (VERSION): Set to "2.22"
14312         * include/features.h (__GLIBC_MINOR__): Set to 22.
14314 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
14316         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
14317         Restructure macro to avoid "value computed is not used" warning.
14318         (atomic_compare_and_exchange_val_acq): Likewise.
14320 2015-08-04  Andreas Schwab  <schwab@suse.de>
14322         [BZ #18635]
14323         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
14324         ret.
14325         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
14327 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
14329         * po/pl.po: Updated translation.
14330         * po/uk.po: Likewise.
14331         * po/fi.po: Likewise.
14332         * po/ko.po: Likewise.
14333         * po/ru.po: Likewise.
14334         * po/vi.po: Likewise.
14336 2015-07-31  Zack Weinberg  <zackw@panix.com>
14338         [BZ #18681]
14339         * regexp.h: Add unconditional #warning stating that this header
14340         will be removed soon.  Revise banner comment to match.
14341         (compile): Consistently use ERROR instead of RETURN to report
14342         errors (partial fix for bz#18681).
14343         * regexp.c: Don't include regexp.h. Remove some unnecessary
14344         declarations.
14346 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
14348         * po/libc.pot: Regenerated.
14350 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14352         [BZ #18740]
14353         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
14354         float-vlen4-arch-ext-cflags): Removed.
14355         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
14356         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
14358 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14360         [BZ #14113]
14361         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
14362         aligned to __aligned__.
14363         (pthread_cond_t, pthread_rwlock_t): Likewise.
14365 2015-07-30  Torvald Riegel  <triegel@redhat.com>
14367         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
14369 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14371         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
14372         (struct sigaction): Change sa_flags from a long to an int, and add
14373         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
14375 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14377         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
14378         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
14379         sysdeps/generic/sysdep.h include.
14380         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
14381         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
14382         sysdeps/hppa/sysdep.h.
14383         (ENTRY, PSEUDO): Undefine before defining.
14385 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14387         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
14388         from scratch to use INTERNAL_SYSCALL.
14390 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
14392         [BZ #18078]
14393         * scripts/check-localplt.awk: Support alternate relocations.
14394         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
14395         sections.
14396         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
14397         malloc entries with + REL R_386_GLOB_DAT.
14398         * sysdeps/x86_64/localplt.data: New file.
14400 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
14402         [BZ #18731]
14403         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
14404         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14405         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14407 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14409         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
14411 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14413         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
14414         directly in terms of __sync_fetch_and_add and delete (int) cast.
14416 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14418         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
14419         the -D_ASM_IA64_CURRENT_H flag.
14421 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14423         [BZ #18641]
14424         * pwd/pwd.h (putpwent): Delete __nonnull markings.
14426 2015-07-27  Andreas Schwab  <schwab@suse.de>
14428         * conform/conformtest.pl (checknamespace): Filter out string
14429         literals while tokenizing.
14431 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14433         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14434         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
14435         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14437 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14439         * nptl/tst-join7mod.c: Add #include <string.h>.
14441 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14443         * sysdeps/nios2/libm-test-ulps: Update.
14445 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14447         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
14448         Fix order of arguments to the rt_sigprocmask syscall.
14449         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
14450         Likewise.
14452 2015-07-24  Roland McGrath  <roland@hack.frob.com>
14454         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
14456 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14458         [BZ #18457]
14459         * nptl/Makefile (tests): New test case tst-join7.
14460         (modules-names): New test case module tst-join7mod.
14461         * nptl/tst-join7.c: New file.
14462         * nptl/tst-join7mod.c: New file.
14463         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
14464         all translation units in libc.so, libpthread.so and rtld.
14466 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14470 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14472         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
14473         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14474         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14475         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14476         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14477         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14478         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14479         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14480         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14481         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14482         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14483         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14484         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
14485         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
14486         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
14487         implementation.
14489 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14491         [BZ #17711]
14492         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14493         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
14494         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14495         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14496         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
14497         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14499 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14501         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
14502         instead of just saying load lock in the comments.
14504 2015-07-23  Roland McGrath  <roland@hack.frob.com>
14506         * sysdeps/unix/Subdirs: Moved ...
14507         * sysdeps/posix/Subdirs: ... here.
14508         * login/pty.h (struct termios, struct winsize): Add forward decls.
14509         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
14510         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
14511         * sysdeps/arm/nacl/libc.abilist: Updated.
14512         * sysdeps/nacl/libutil.abilist: New file.
14514         * bits/signum.h: Update comments to mention 1003.1-2013 too.
14515         (SIGWINCH): New macro.
14517         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
14518         * sysdeps/arm/nacl/libc.abilist: Add it.
14520 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14522         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
14524 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14526         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14527         Swap __glibc_reserved0 and sa_flags order.
14529 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14531         [BZ #18657]
14532         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
14533         are pending TLS destructor calls.
14534         * include/link.h (struct link_map): Add concurrency note for
14535         L_TLS_DTOR_COUNT.
14536         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14537         Don't touch the link map flag.  Atomically increment
14538         l_tls_dtor_count.
14539         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
14540         Avoid taking the load lock and don't touch the link map flag.
14541         * stdlib/tst-tls-atexit-nodelete.c: New test case.
14542         * stdlib/Makefile (tests): Use it.
14543         * stdlib/tst-tls-atexit.c (do_test): dlopen
14544         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
14545         to allow tst-tls-atexit-nodelete test case to use it.
14547 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14549         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
14550         to bits/types.h.
14551         (msgqnum_t): New typedef.
14552         (msglen_t): Likewise.
14553         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
14554         and msg_qbytes type to msglen_t.
14556 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14558         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
14559         pad0 to __glibc_reserved0.
14560         (struct stat64): Likewise.
14562 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14564         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14565         Change sa_flags from a long to an int and add __glibc_reserved0 before
14566         it for padding.
14568 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14570         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
14571         anonymous by deleting "siginfo" name.
14573 2015-07-21  Roland McGrath  <roland@hack.frob.com>
14575         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
14576         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
14577         rather than __nacl_irt_filename.
14578         * sysdeps/nacl/xstat.c (__xstat): Likewise.
14580         * NEWS: New item for arm-nacl port.
14581         * sysdeps/arm/nacl/libc.abilist: New file.
14582         * sysdeps/nacl/ld.abilist: New file.
14583         * sysdeps/nacl/libBrokenLocale.abilist: New file.
14584         * sysdeps/nacl/libanl.abilist: New file.
14585         * sysdeps/nacl/libcrypt.abilist: New file.
14586         * sysdeps/nacl/libdl.abilist: New file.
14587         * sysdeps/nacl/libm.abilist: New file.
14588         * sysdeps/nacl/libpthread.abilist: New file.
14589         * sysdeps/nacl/libresolv.abilist: New file.
14590         * sysdeps/nacl/librt.abilist: New file.
14592 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
14594         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
14595         __startcontext to initialize the new context.
14596         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
14597         up CFI directive to forbid further backtracing.
14599 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
14601         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
14602         reference.
14603         * charmaps/ANSI_X3.4-1968: Likewise.
14604         * charmaps/BS_4730: Likewise.
14605         * charmaps/BS_VIEWDATA: Likewise.
14606         * charmaps/CP1250: Likewise.
14607         * charmaps/CP1251: Likewise.
14608         * charmaps/CP1252: Likewise.
14609         * charmaps/CP1253: Likewise.
14610         * charmaps/CP1254: Likewise.
14611         * charmaps/CP1255: Likewise.
14612         * charmaps/CP1256: Likewise.
14613         * charmaps/CSN_369103: Likewise.
14614         * charmaps/EBCDIC-DK-NO: Likewise.
14615         * charmaps/GB_1988-80: Likewise.
14616         * charmaps/GREEK-CCITT: Likewise.
14617         * charmaps/GREEK7: Likewise.
14618         * charmaps/INIS-8: Likewise.
14619         * charmaps/ISIRI-3342: Likewise.
14620         * charmaps/ISO_2033-1983: Likewise.
14621         * charmaps/ISO_5427-EXT: Likewise.
14622         * locales/POSIX: Likewise.
14623         * locales/ar_SA: Likewise.
14624         * locales/be_BY: Likewise.
14625         * locales/be_BY@latin: Likewise.
14626         * locales/ca_ES: Likewise.
14627         * locales/cs_CZ: Likewise.
14628         * locales/da_DK: Likewise.
14629         * locales/de_BE: Likewise.
14630         * locales/de_CH: Likewise.
14631         * locales/de_LU: Likewise.
14632         * locales/en_AU: Likewise.
14633         * locales/en_BW: Likewise.
14634         * locales/en_CA: Likewise.
14635         * locales/en_DK: Likewise.
14636         * locales/en_GB: Likewise.
14637         * locales/en_IE: Likewise.
14638         * locales/en_NZ: Likewise.
14639         * locales/en_ZA: Likewise.
14640         * locales/en_ZW: Likewise.
14641         * locales/es_AR: Likewise.
14642         * locales/es_BO: Likewise.
14643         * locales/es_CL: Likewise.
14644         * locales/es_CO: Likewise.
14645         * locales/es_DO: Likewise.
14646         * locales/es_EC: Likewise.
14647         * locales/es_ES: Likewise.
14648         * locales/es_HN: Likewise.
14649         * locales/es_MX: Likewise.
14650         * locales/es_PA: Likewise.
14651         * locales/es_PE: Likewise.
14652         * locales/es_PY: Likewise.
14653         * locales/es_SV: Likewise.
14654         * locales/es_US: Likewise.
14655         * locales/es_UY: Likewise.
14656         * locales/es_VE: Likewise.
14657         * locales/et_EE: Likewise.
14658         * locales/fa_IR: Likewise.
14659         * locales/fo_FO: Likewise.
14660         * locales/fr_CA: Likewise.
14661         * locales/fr_CH: Likewise.
14662         * locales/gv_GB: Likewise.
14663         * locales/he_IL: Likewise.
14664         * locales/hr_HR: Likewise.
14665         * locales/id_ID: Likewise.
14666         * locales/is_IS: Likewise.
14667         * locales/it_CH: Likewise.
14668         * locales/iw_IL: Likewise.
14669         * locales/kl_GL: Likewise.
14670         * locales/ko_KR: Likewise.
14671         * locales/kw_GB: Likewise.
14672         * locales/lg_UG: Likewise.
14673         * locales/lt_LT: Likewise.
14674         * locales/lv_LV: Likewise.
14675         * locales/mi_NZ: Likewise.
14676         * locales/nhn_MX: Likewise.
14677         * locales/nl_BE: Likewise.
14678         * locales/pl_PL: Likewise.
14679         * locales/sk_SK: Likewise.
14680         * locales/sl_SI: Likewise.
14681         * locales/sv_FI: Likewise.
14682         * locales/tl_PH: Likewise.
14683         * locales/tr_TR: Likewise.
14684         * locales/vi_VN: Likewise.
14686 2015-07-21  Khem Raj  <raj.khem@gmail.com>
14688         [BZ #17475]
14689         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
14690         of tu_IN and bh_IN.
14692 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
14694         [BZ #18694]
14695         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
14696         bits/wordsize.h.
14697         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
14699 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14701         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
14702         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
14703         (spawn_thread): New function.
14704         (load): Rename to reg_dtor_and_close.  Move dlopen to...
14705         (do_test): ... here.  Use IS_LOADED to test for its
14706         availability.
14708 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
14710         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14712 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
14714         [BZ #18696]
14715         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
14716         si_addr_bnd.
14717         (si_lower): New.
14718         (si_upper): Likewise.
14720 2015-07-16  David S. Miller  <davem@davemloft.net>
14722         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
14724 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14726         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
14727         buffer.
14728         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
14729         fail output information.
14731 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14733         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
14734         and strstr-ppc64..
14735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14736         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
14737         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
14738         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
14739         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
14741 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14743         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14744         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14745         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14746         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14748 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14750         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14751         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
14752         rtld_hidden_proto.
14753         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
14755 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14757         * tst-nodelete-opened.c (do_test): Add comment to clarify how
14758         the test can fail.
14760         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
14762         [BZ #18676]
14763         * elf/tst-nodelete-opened.c: New test case.
14764         * elf/tst-nodelete-opened-lib.c: New test case module.
14765         * elf/Makefile (tests, modules-names): Use them.
14766         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
14767         early.
14769 2015-07-15  David S. Miller  <davem@davemloft.net>
14771         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
14772         futex-intenal.h
14773         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
14774         * sysdeps/sparc/sparc64/Makefile: Likewise.
14775         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14776         Remove space from macro define.
14777         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
14779 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
14781         [BZ #17475]
14782         * locale/iso-639.def: Update Bhili and Tulu language codes as
14783         per iso639-3.
14785 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
14787         * elf/tst-leaks1.c (main): Converted to ...
14788         (do_test): ... this.
14789         (TEST_FUNCTION): New macro.
14790         Include test-skeleton.c.
14791         * localedata/tst-langinfo.c (main): Converted to ...
14792         (do_test): ... this.
14793         (TEST_FUNCTION): New macro.
14794         Include test-skeleton.c.
14795         * math/test-fpucw.c (main): Converted to ...
14796         (do_test): ... this.
14797         (TEST_FUNCTION): New macro.
14798         Include test-skeleton.c.
14799         * math/test-tgmath.c (main): Converted to ...
14800         (do_test): ... this.
14801         (TEST_FUNCTION): New macro.
14802         Include test-skeleton.c.
14803         * math/test-tgmath2.c (main): Converted to ...
14804         (do_test): ... this.
14805         (TEST_FUNCTION): New macro.
14806         Include test-skeleton.c.
14807         * setjmp/tst-setjmp.c (main): Converted to ...
14808         (do_test): ... this.
14809         (TEST_FUNCTION): New macro.
14810         Include test-skeleton.c.
14811         * stdio-common/tst-sscanf.c (main): Converted to ...
14812         (do_test): ... this.
14813         (TEST_FUNCTION): New macro.
14814         Include test-skeleton.c.
14815         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
14816         (do_test): ... this.
14817         (TEST_FUNCTION): New macro.
14818         Include test-skeleton.c.
14820         * elf/tst-audit9.c (main): Converted to ...
14821         (do_test): ... this.
14822         (TEST_FUNCTION): New macro.
14823         Include test-skeleton.c.
14825 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
14827         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
14829 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14831         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
14832         New variable.
14834 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14836         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14838 2015-07-14  Roland McGrath  <roland@hack.frob.com>
14840         * sysdeps/generic/dl-fileid.h: New file.
14841         * sysdeps/posix/dl-fileid.h: New file.
14842         * sysdeps/nacl/dl-fileid.h: New file.
14843         * include/link.h: Include <dl-fileid.h>.
14844         (struct link_map): Replace l_dev and l_ino with l_file_id.
14845         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
14846         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
14847         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
14849 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14851         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
14853 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14855         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
14856         Add iff $CXX is set.
14857         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
14858         Likewise.
14859         (tst-nodelete-zmodiff): Likewise.
14860         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
14862 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14864         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
14866 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14868         * sysdeps/aarch64/fpu/math_private.h
14869         (define math_opt_barrier): Add AArch64 version.
14870         (math_force_eval): Likewise.
14872 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14874         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
14876 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
14878         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
14879         %ld with %jd and cast to intmax_t.
14880         (do_test_length_zero): Likewise.
14882 2015-07-10  Roland McGrath  <roland@hack.frob.com>
14884         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
14886 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
14888         * sysdeps/tile/libm-test-ulps: Regenerated.
14890         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
14891         Comment out the whole function, not just its body.
14893 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14895         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
14896         locks.
14898         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
14900 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14902         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
14903         (sem_assume_only_signals_cause_futex_EINTR): Remove.
14905 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14907         * sysdeps/nptl/futex-internal.h: New file.
14908         * sysdeps/nacl/futex-internal.h: New file.
14909         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
14910         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
14911         error checking.
14912         (setxid_unmark_thread): Likewise.
14913         (__nptl_setxid): Likewise.
14914         (__wait_lookup_done): Likewise.
14915         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
14916         * nptl/nptl-init.c (sighandler_setxid): Likewise.
14917         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
14918         * nptl/pthread_once.c (clear_once_control): Likewise.
14919         (__pthread_once_slow): Likewise.
14920         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14921         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
14922         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
14923         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14924         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
14925         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
14926         Likewise.
14927         (__pthread_rwlock_rdlock): Likewise.
14928         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14929         Likewise.
14930         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14931         Likewise.
14932         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
14933         Likewise.
14934         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
14935         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
14936         Likewise.
14937         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
14938         __ASSUME_PRIVATE_FUTEX check.
14939         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
14940         Check that shared futexes are supported.
14941         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
14942         wrappers with error checking.
14943         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
14944         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
14945         * nptl/pthread_barrierattr_setpshared.c
14946         (pthread_barrierattr_setpshared): Check that shared futexes are
14947         supported.
14948         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
14949         Likewise.
14950         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
14951         Likewise.
14952         * nptl/sem_init.c (futex_private_if_supported): Remove.
14953         (__new_sem_init): Adapt and check that shared futexes are supported.
14954         * nptl/sem_open.c (sem_open): Likewise.
14955         * nptl/sem_post.c (futex_wake): Remove.
14956         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
14957         (do_futex_wait): Use futex wrappers with error checking.
14958         * nptl/sem_wait.c: Include lowlevellock.h.
14959         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
14960         Use futex_supports_pshared.
14961         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
14962         Use futex wrappers with error checking.
14963         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
14964         Likewise.
14965         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
14966         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
14967         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
14968         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
14969         (futex_wake): Likewise.
14970         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
14971         (do_futex_wait): Use futex wrappers with error checking.
14972         (__new_sem_wait_slow): Update EINTR handling.
14973         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
14975 2015-07-09  Martin Sebor  <msebor@redhat.com>
14977         [BZ #18435]
14978         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14979         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
14980         * nptl/Makefile (test-xfail-tst-once5): Define.
14982 2015-07-09  Roland McGrath  <roland@hack.frob.com>
14984         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
14985         * elf/dl-minimal.c: For readability, reorder some definitions and
14986         introduce more page breaks.  Include <stdio.h>.
14987         (__libc_fatal): New function.
14989         * include/unistd.h: Add rtld_hidden_proto for _exit.
14990         * posix/_exit.c: Add rtld_hidden_def.
14991         * sysdeps/mach/hurd/_exit.c: Likewise.
14992         * sysdeps/nacl/_exit.c: Likewise.
14993         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
14994         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
14996 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
14998         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
14999         bndmov encoding with zero displacement.
15001 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15002             H.J. Lu  <hongjiu.lu@intel.com>
15004         [BZ #18134]
15005         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
15006         * sysdeps/i386/configure: Regenerated.
15007         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15008         (_dl_runtime_profile): Save and restore Intel MPX return bound
15009         registers when calling _dl_call_pltexit.  Add
15010         PRESERVE_BND_REGS_PREFIX before return.
15011         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
15012         (LRV_BND1_OFFSET): Likewise.
15013         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
15014         lrv_bnd1.
15015         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
15016         typo in bndmov encoding.
15017         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
15018         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
15019         branch instructions to preserve bounds.
15021 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15024         [GLIBC_2.22]: Add fmemopen.
15026 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15028         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
15029         returns an error, also try to use host port from __mach_host_self for
15030         the __vm_wire call.
15031         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
15033 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15035         [BZ #18400]
15036         [BZ #18648]
15037         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
15038         Fix pr_uid and pr_gid members.
15039         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
15040         definition to elf_greg_t.
15042 2015-07-08  Roland McGrath  <roland@hack.frob.com>
15044         [BZ #18383]
15045         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
15046         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
15047         * sysdeps/arm/configure: Regenerated.
15048         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
15049         (test-xfail-tst-tlsalign-static): Variable removed.
15051         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
15052         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
15053         rather than explicit 'ln -s'.
15055         * resolv/rpc/netdb.h: New file.
15056         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
15058 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15060         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
15061         length buffers.
15062         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15063         test-skeleton.c.
15065         [BZ #6544]
15066         [BZ #11216]
15067         [BZ #12836]
15068         [BZ #13151]
15069         [BZ #13152]
15070         [BZ #14292]
15071         * include/stdio.h (fmemopen): Remove hidden prototype.
15072         (__fmemopen): Add new hidden prototype.
15073         * libio/Makefile: Add oldfmemopen object.
15074         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
15075         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
15076         compliance.
15077         * libio/oldfmemopen.c: New file: old fmemopen implementation for
15078         symbol compatibility.
15079         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
15080         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
15081         fmemopen.
15082         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
15083         on append and read mode.
15084         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
15085         fmemopen.
15086         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
15087         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
15088         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
15089         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
15090         Likewise.
15091         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15092         [GLIBC_2.22]: Likewise.
15093         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
15094         Likewise.
15095         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
15096         Likewise.
15097         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15098         [GLIBC_2.22]: Likewise.
15099         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15100         [GLIBC_2.22]: Likewise.
15101         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15102         [GLIBC_2.22]: Likewise.
15103         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15104         [GLIBC_2.22]: Likewise.
15105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15106         [GLIBC_2.22]: Likewise.
15107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15108         [GLIBC_2.22]: Likewise.
15109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15110         [GLIBC_2.22]: Likewise.
15111         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
15112         Likewise.
15113         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
15114         Likewise.
15115         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
15116         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15117         [GLIBC_2.22]: Likewise.
15118         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15119         [GLIBC_2.22]: Likewise.
15120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15121         [GLIBC_2.22]: Likewise.
15122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15123         [GLIBC_2.22]: Likewise.
15124         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
15125         Likewise.
15126         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
15127         Likewise.
15128         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
15129         Likewise.
15130         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
15131         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
15133 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15135         [BZ #18643]
15136         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
15137         IPV6_PATHMTU, and IPV6_DONTFRAG.
15139 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
15141         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
15142         and _IO_UNBUFFERED.
15143         * libio/oldfileops.c: Likewise.
15144         * libio/wfileops.c: Likewise.
15146 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15148         * nscd/selinux.c: Delete selinux/flask.h include.
15150 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15152         [BZ #18641]
15153         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
15154         (putpwent): Likewise.
15155         (getpwnam): Likewise.
15156         (getpwent_r): Likewise.
15157         (getpwuid_r): Likewise.
15158         (getpwnam_r): Likewise.
15159         (fgetpwent_r): Likewise.
15161 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15163         [BZ #18557]
15164         * inet/rcmd.c (__validuser2_sa): Check user first to
15165         short-circuit host check.
15167 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
15168             Mikhail Ilin  <m.ilin@samsung.com>
15170         [BZ #17833]
15171         * elf/Makefile (tests): Add tst-nodelete.
15172         (modules-names): Add tst-nodelete-uniquemod.
15173         (tst-nodelete-uniquemod.so-no-z-defs): New.
15174         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
15175         (tst-nodelete-zmod.so-no-z-defs): Likewise.
15176         ($(objpfx)tst-nodelete): Likewise.
15177         ($(objpfx)tst-nodelete.out): Likewise.
15178         (LDFLAGS-tst-nodelete): Likewise.
15179         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
15180         * elf/dl-close.c (_dl_close_worker): Add a parameter to
15181         implement forced object deletion.
15182         (_dl_close): Pass false to _dl_close_worker.
15183         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
15184         * elf/tst-nodelete.cc: New file.
15185         * elf/tst-nodeletelib.cc: Likewise.
15186         * elf/tst-znodeletelib.cc: Likewise.
15187         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
15189 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15191         [BZ #18508]
15192         * stdlib/Makefile ($(objpfx)tst-makecontext3):
15193         Depend on $(libdl).
15194         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
15195         is not called infinitely times.
15196         (backtrace_helper): New function.
15197         (trace_arg): New struct.
15198         (st1): Enlarge stack size.
15199         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15200         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
15201         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15202         Likewise.
15204 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15206         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15208 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15210         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
15211         Include sys/types.h instead of bits/types.h.
15212         Remove inclusion of bits/wordsize.h.
15214 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15216         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
15217         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
15218         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
15219         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
15220         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
15221         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
15223 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15225         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
15226         link-defines.sym.
15227         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
15228         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
15229         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
15230         and LR_SIZE.
15231         * sysdeps/i386/link-defines.sym: New file.
15233 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15235         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
15236         (modules-names): Add tst-auditmod3a tst-auditmod3b.
15237         ($(objpfx)tst-audit3): New rule.
15238         ($(objpfx)tst-audit3.out): Likewise.
15239         * sysdeps/i386/tst-audit3.c: New file.
15240         * sysdeps/i386/tst-audit3.h: Likewise.
15241         * sysdeps/i386/tst-auditmod3a.c: Likewise.
15242         * sysdeps/i386/tst-auditmod3b.c: Likewise.
15244 2015-07-07  Torvald Riegel  <triegel@redhat.com>
15246         [BZ #18633]
15247         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
15248         pointer in C code.
15249         (__strcat_c): Likewise.
15250         (__strcat_g): Likewise.
15252 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
15254         [BZ #18592]
15255         * misc/sbrk.c: Set errno to ENOMEM on overflow.
15257 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15259         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
15260         New function.  (__ieee754_sqrtf): New function.
15261         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
15262         New function.
15263         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
15264         New function.
15266 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15268         * sysdeps/ieee754/support.c: Remove unused file.
15270 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15272         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
15273         registers instead of d ones so the layout is kernel abi compatible.
15274         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
15275         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
15276         Likewise.
15278 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15280         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15282 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15284         [BZ #18619]
15285         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
15286         and return argument in case of subnormal argument.
15288 2015-07-01  Martin Sebor  <msebor@redhat.com>
15290         [BZ #18435]
15291         * nptl/Makefile: Add tst-once5.cc.
15292         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15293         Remove macro redefinitions.
15294         * nptl/tst-once5.cc: New test.
15296 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15298         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15300         * sysdeps/arm/libm-test-ulps: Regenerated.
15302         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15303         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15305 2015-06-30  Torvald Riegel  <triegel@redhat.com>
15307         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
15308         lll_lock_wait_private and lll_futex_wake probes.
15310         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15311         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
15312         Likewise.
15313         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
15314         atomic_spin_nop.
15315         * sysdeps/x86_64/bits/atomic.h: Likewise.
15316         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
15317         to atomic_spin_nop and move ...
15318         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15319         ... here and ...
15320         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
15321         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
15322         atomic_spin_nop instead of BUSY_WAIT_NOP.
15323         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
15324         Likewise.
15325         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
15326         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15327         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
15328         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
15329         instead of atomic_delay.
15331 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
15333         [BZ #18613]
15334         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
15335         X_ADJ not X when adjusting exponent.
15336         (__ieee754_gamma_r): Do intermediate computations in
15337         round-to-nearest then adjust overflowing and underflowing results
15338         as needed.
15339         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
15340         of X_ADJ not X when adjusting exponent.
15341         (__ieee754_gammaf_r): Do intermediate computations in
15342         round-to-nearest then adjust overflowing and underflowing results
15343         as needed.
15344         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
15345         log of X_ADJ not X when adjusting exponent.
15346         (__ieee754_gammal_r): Do intermediate computations in
15347         round-to-nearest then adjust overflowing and underflowing results
15348         as needed.  Use 1.0L not 1.0f as numerator of division.
15349         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
15350         log of X_ADJ not X when adjusting exponent.
15351         (__ieee754_gammal_r): Do intermediate computations in
15352         round-to-nearest then adjust overflowing and underflowing results
15353         as needed.  Use 1.0L not 1.0f as numerator of division.
15354         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
15355         of X_ADJ not X when adjusting exponent.
15356         (__ieee754_gammal_r): Do intermediate computations in
15357         round-to-nearest then adjust overflowing and underflowing results
15358         as needed.  Use 1.0L not 1.0f as numerator of division.
15359         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
15360         to auto-libm-test-in.
15361         (tgamma_test): Use ALL_RM_TEST.
15362         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
15363         tests of tgamma with spurious-overflow.
15364         * math/auto-libm-test-out: Regenerated.
15365         * math/gen-libm-have-vector-test.sh: Do not check for START.
15366         * sysdeps/i386/fpu/libm-test-ulps: Update.
15367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15369         [BZ #18612]
15370         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
15371         arguments, just return 0.5 times the argument, with underflow
15372         forced as needed.
15373         * math/auto-libm-test-in: Add more tests of j1.
15374         * math/auto-libm-test-out: Regenerated.
15376         [BZ #16559]
15377         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
15378         (__ieee754_j1): Force underflow exception for small results.
15379         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15380         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
15381         (__ieee754_j1f): Force underflow exception for small results.
15382         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15383         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15384         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15385         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
15386         (__ieee754_j1l): Force underflow exception for small results.
15387         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15388         * math/auto-libm-test-in: Add more tests of j1 and jn.
15389         * math/auto-libm-test-out: Regenerated.
15391         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
15392         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
15393         (PF_MPLS): Likewise.
15394         (AF_IB): Likewise.
15395         (AF_MPLS): Likewise.
15396         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
15397         value and macro.
15398         (MS_RMT_MASK): Include MS_LAZYTIME.
15400 2015-06-26  Mel Gorman  <mgorman@suse.de>
15402         [BZ #18502]
15403         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
15404         already minimal.
15406 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
15408         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
15409         (DT_MIPS_NUM): Update.
15410         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
15411         DT_MIPS_RLD_MAP_REL.
15413 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
15415         [BZ #16559]
15416         [BZ #18602]
15417         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
15418         round-to-nearest internally then recompute results that
15419         underflowed to zero in the original rounding mode.
15420         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15421         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15422         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15423         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15424         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
15425         * sysdeps/i386/fpu/libm-test-ulps: Update.
15426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15428 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
15430         * NEWS: Fixed description of link with vector math library.
15432 2015-06-25  Andreas Schwab  <schwab@suse.de>
15434         [BZ #18549]
15435         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
15436         * libio/test-fmemopen.c (do_test): Add test for it.
15438 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
15440         [BZ #17841]
15441         * Makeconfig (no-pie-ldflag): New.
15442         (+link): Set to $(+link-pie) if default to PIE.
15443         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
15444         * config.make.in (build-pie-default): New.
15445         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
15446         is default.  AC_SUBST.
15447         * configure: Regenerated.
15448         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
15450 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15452         * nptl/descr.h (struct pthread): Change type of field setxid_futex
15453         to 'unsigned int'.
15455         * resolv/gai_misc.h (struct waitlist): Change type of field
15456         counterp to 'volatile unsigned int *'.
15457         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
15458         FUTEXADDR and OLDVAL.
15459         * resolv/getaddrinfo_a.c (getaddrinfo_a):
15460         Give local variable TOTAL type 'volatile unsigned int'.
15461         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15462         * resolv/gai_suspend.c (gai_suspend):
15463         Give local variable CNTR type 'unsigned int'.
15465         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
15466         counterp to 'volatile unsigned int *'.
15467         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
15468         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
15469         (aio_suspend): Give local variable CNTR type 'unsigned int'.
15470         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
15471         Give local variable TOTAL type 'volatile unsigned int'.
15472         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15474 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15476         [BZ #18383]
15477         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
15478         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
15479         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
15480         comment for i386/x86-64.
15481         (test-xfail-tst-tlsalign-extern-static): Removed.
15483 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15485         * math/test-double.h: New file.
15486         * math/test-float.h: Likewise.
15487         * math/test-ldouble.h: Likewise.
15488         * math/test-math-inline.h: Likewise.
15489         * math/test-math-no-inline.h: Likewise.
15490         * math/test-math-scalar.h: Likewise.
15491         * math/test-math-vector.h: Likewise.
15492         * math/test-vec-loop.h: Remove file.  Contents moved into
15493         test-math-vector.h.
15494         * math/libm-test.inc (MATHCONST): Do not document macro.
15495         * math/test-double.c: Include test-double.h, test-math-no-inline.h
15496         and test-math-scalar.h.
15497         (FUNC): Remove macro.
15498         (FUNC_TEST): Likewise.
15499         (FLOAT): Likewise.
15500         (MATHCONST): Likewise.
15501         (PRINTF_EXPR): Likewise.
15502         (PRINTF_XEXPR): Likewise.
15503         (PRINTF_NEXPR): Likewise.
15504         (TEST_DOUBLE): Likewise.
15505         (TEST_MATHVEC): Likewise.
15506         (__NO_MATH_INLINES): Likewise.
15507         * math/test-float.c: Include test-float.h, test-math-no-inline.h
15508         and test-math-scalar.h.
15509         (FUNC): Remove macro.
15510         (FUNC_TEST): Likewise.
15511         (FLOAT): Likewise.
15512         (MATHCONST): Likewise.
15513         (PRINTF_EXPR): Likewise.
15514         (PRINTF_XEXPR): Likewise.
15515         (PRINTF_NEXPR): Likewise.
15516         (TEST_FLOAT): Likewise.
15517         (TEST_MATHVEC): Likewise.
15518         (__NO_MATH_INLINES): Likewise.
15519         * math/test-idouble.c: Include test-double.h, test-math-inline.h
15520         and test-math-scalar.h.
15521         (FUNC): Remove macro.
15522         (FUNC_TEST): Likewise.
15523         (FLOAT): Likewise.
15524         (MATHCONST): Likewise.
15525         (PRINTF_EXPR): Likewise.
15526         (PRINTF_XEXPR): Likewise.
15527         (PRINTF_NEXPR): Likewise.
15528         (TEST_DOUBLE): Likewise.
15529         (TEST_MATHVEC): Likewise.
15530         (TEST_INLINE): Likewise.
15531         (__NO_MATH_INLINES): Likewise.
15532         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
15533         test-math-scalar.h.
15534         (FUNC): Remove macro.
15535         (FUNC_TEST): Likewise.
15536         (FLOAT): Likewise.
15537         (MATHCONST): Likewise.
15538         (PRINTF_EXPR): Likewise.
15539         (PRINTF_XEXPR): Likewise.
15540         (PRINTF_NEXPR): Likewise.
15541         (TEST_FLOAT): Likewise.
15542         (TEST_MATHVEC): Likewise.
15543         (TEST_INLINE): Likewise.
15544         (__NO_MATH_INLINES): Likewise.
15545         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
15546         and test-math-scalar.h.
15547         (FUNC): Remove macro.
15548         (FUNC_TEST): Likewise.
15549         (FLOAT): Likewise.
15550         (MATHCONST): Likewise.
15551         (PRINTF_EXPR): Likewise.
15552         (PRINTF_XEXPR): Likewise.
15553         (PRINTF_NEXPR): Likewise.
15554         (TEST_LDOUBLE): Likewise.
15555         (TEST_MATHVEC): Likewise.
15556         (TEST_INLINE): Likewise.
15557         (__NO_MATH_INLINES): Likewise.
15558         * math/test-ldouble.c: Include test-ldouble.h,
15559         test-math-no-inline.h and test-math-scalar.h.
15560         (FUNC): Remove macro.
15561         (FUNC_TEST): Likewise.
15562         (FLOAT): Likewise.
15563         (MATHCONST): Likewise.
15564         (PRINTF_EXPR): Likewise.
15565         (PRINTF_XEXPR): Likewise.
15566         (PRINTF_NEXPR): Likewise.
15567         (TEST_LDOUBLE): Likewise.
15568         (TEST_MATHVEC): Likewise.
15569         (__NO_MATH_INLINES): Likewise.
15570         * math/test-double-vlen2.h: Include test-double.h,
15571         test-math-no-inline.h and test-math-vector.h.
15572         (FLOAT): Remove macro.
15573         (FUNC): Likewise.
15574         (MATHCONST): Likewise.
15575         (PRINTF_EXPR): Likewise.
15576         (PRINTF_XEXPR): Likewise.
15577         (PRINTF_NEXPR): Likewise.
15578         (TEST_DOUBLE): Likewise.
15579         (TEST_MATHVEC): Likewise.
15580         (__NO_MATH_INLINES): Likewise.
15581         (CNCT): Likewise.
15582         (CONCAT): Likewise.
15583         (WRAPPER_NAME): Likewise.
15584         (WRAPPER_DECL): Likewise.
15585         (WRAPPER_DECL_ff): Likewise.
15586         (WRAPPER_DECL_fFF): Likewise.
15587         (VECTOR_WRAPPER): Likewise.
15588         (VECTOR_WRAPPER_ff): Likewise.
15589         (VECTOR_WRAPPER_fFF): Likewise.
15590         (VEC_LEN): New macro.
15591         * math/test-double-vlen4.h: Include test-double.h,
15592         test-math-no-inline.h and test-math-vector.h.
15593         (FLOAT): Remove macro.
15594         (FUNC): Likewise.
15595         (MATHCONST): Likewise.
15596         (PRINTF_EXPR): Likewise.
15597         (PRINTF_XEXPR): Likewise.
15598         (PRINTF_NEXPR): Likewise.
15599         (TEST_DOUBLE): Likewise.
15600         (TEST_MATHVEC): Likewise.
15601         (__NO_MATH_INLINES): Likewise.
15602         (CNCT): Likewise.
15603         (CONCAT): Likewise.
15604         (WRAPPER_NAME): Likewise.
15605         (WRAPPER_DECL): Likewise.
15606         (WRAPPER_DECL_ff): Likewise.
15607         (WRAPPER_DECL_fFF): Likewise.
15608         (VECTOR_WRAPPER): Likewise.
15609         (VECTOR_WRAPPER_ff): Likewise.
15610         (VECTOR_WRAPPER_fFF): Likewise.
15611         (VEC_LEN): New macro.
15612         * math/test-double-vlen8.h: Include test-double.h,
15613         test-math-no-inline.h and test-math-vector.h.
15614         (FLOAT): Remove macro.
15615         (FUNC): Likewise.
15616         (MATHCONST): Likewise.
15617         (PRINTF_EXPR): Likewise.
15618         (PRINTF_XEXPR): Likewise.
15619         (PRINTF_NEXPR): Likewise.
15620         (TEST_DOUBLE): Likewise.
15621         (TEST_MATHVEC): Likewise.
15622         (__NO_MATH_INLINES): Likewise.
15623         (CNCT): Likewise.
15624         (CONCAT): Likewise.
15625         (WRAPPER_NAME): Likewise.
15626         (WRAPPER_DECL): Likewise.
15627         (WRAPPER_DECL_ff): Likewise.
15628         (WRAPPER_DECL_fFF): Likewise.
15629         (VECTOR_WRAPPER): Likewise.
15630         (VECTOR_WRAPPER_ff): Likewise.
15631         (VECTOR_WRAPPER_fFF): Likewise.
15632         (VEC_LEN): New macro.
15633         * math/test-float-vlen4.h: Include test-float.h,
15634         test-math-no-inline.h and test-math-vector.h.
15635         (FLOAT): Remove macro.
15636         (FUNC): Likewise.
15637         (MATHCONST): Likewise.
15638         (PRINTF_EXPR): Likewise.
15639         (PRINTF_XEXPR): Likewise.
15640         (PRINTF_NEXPR): Likewise.
15641         (TEST_FLOAT): Likewise.
15642         (TEST_MATHVEC): Likewise.
15643         (__NO_MATH_INLINES): Likewise.
15644         (CNCT): Likewise.
15645         (CONCAT): Likewise.
15646         (WRAPPER_NAME): Likewise.
15647         (WRAPPER_DECL): Likewise.
15648         (WRAPPER_DECL_ff): Likewise.
15649         (WRAPPER_DECL_fFF): Likewise.
15650         (VECTOR_WRAPPER): Likewise.
15651         (VECTOR_WRAPPER_ff): Likewise.
15652         (VECTOR_WRAPPER_fFF): Likewise.
15653         (VEC_LEN): New macro.
15654         * math/test-float-vlen8.h: Include test-float.h,
15655         test-math-no-inline.h and test-math-vector.h.
15656         (FLOAT): Remove macro.
15657         (FUNC): Likewise.
15658         (MATHCONST): Likewise.
15659         (PRINTF_EXPR): Likewise.
15660         (PRINTF_XEXPR): Likewise.
15661         (PRINTF_NEXPR): Likewise.
15662         (TEST_FLOAT): Likewise.
15663         (TEST_MATHVEC): Likewise.
15664         (__NO_MATH_INLINES): Likewise.
15665         (CNCT): Likewise.
15666         (CONCAT): Likewise.
15667         (WRAPPER_NAME): Likewise.
15668         (WRAPPER_DECL): Likewise.
15669         (WRAPPER_DECL_ff): Likewise.
15670         (WRAPPER_DECL_fFF): Likewise.
15671         (VECTOR_WRAPPER): Likewise.
15672         (VECTOR_WRAPPER_ff): Likewise.
15673         (VECTOR_WRAPPER_fFF): Likewise.
15674         (VEC_LEN): New macro.
15675         * math/test-float-vlen16.h: Include test-float.h,
15676         test-math-no-inline.h and test-math-vector.h.
15677         (FLOAT): Remove macro.
15678         (FUNC): Likewise.
15679         (MATHCONST): Likewise.
15680         (PRINTF_EXPR): Likewise.
15681         (PRINTF_XEXPR): Likewise.
15682         (PRINTF_NEXPR): Likewise.
15683         (TEST_FLOAT): Likewise.
15684         (TEST_MATHVEC): Likewise.
15685         (__NO_MATH_INLINES): Likewise.
15686         (CNCT): Likewise.
15687         (CONCAT): Likewise.
15688         (WRAPPER_NAME): Likewise.
15689         (WRAPPER_DECL): Likewise.
15690         (WRAPPER_DECL_ff): Likewise.
15691         (WRAPPER_DECL_fFF): Likewise.
15692         (VECTOR_WRAPPER): Likewise.
15693         (VECTOR_WRAPPER_ff): Likewise.
15694         (VECTOR_WRAPPER_fFF): Likewise.
15695         (VEC_LEN): New macro.
15696         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
15697         test-vec-loop.h.
15698         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15699         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15700         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15701         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15702         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15703         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15704         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15706 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15708         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
15709         (__getlogin_r): ... this.
15711 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15713         [BZ #18594]
15714         * math/s_ccosh.c (__ccosh): Compare with least normal value
15715         instead of comparing class with FP_SUBNORMAL.
15716         * math/s_ccoshf.c (__ccoshf): Likewise.
15717         * math/s_ccoshl.c (__ccoshl): Likewise.
15718         * math/s_cexp.c (__cexp): Likewise.
15719         * math/s_cexpf.c (__cexpf): Likewise.
15720         * math/s_cexpl.c (__cexpl): Likewise.
15721         * math/s_csin.c (__csin): Likewise.
15722         * math/s_csinf.c (__csinf): Likewise.
15723         * math/s_csinh.c (__csinh): Likewise.
15724         * math/s_csinhf.c (__csinhf): Likewise.
15725         * math/s_csinhl.c (__csinhl): Likewise.
15726         * math/s_csinl.c (__csinl): Likewise.
15727         * math/s_ctan.c (__ctan): Likewise.
15728         * math/s_ctanf.c (__ctanf): Likewise.
15729         * math/s_ctanh.c (__ctanh): Likewise.
15730         * math/s_ctanhf.c (__ctanhf): Likewise.
15731         * math/s_ctanhl.c (__ctanhl): Likewise.
15732         * math/s_ctanl.c (__ctanl): Likewise.
15733         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
15734         csin, csinh, ctan and ctanh.
15735         * math/auto-libm-test-out: Regenerated.
15736         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
15737         * sysdeps/i386/fpu/libm-test-ulps: Update.
15738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15740 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15742         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
15743         return value is wrong, print the expected value too.
15745 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15747         [BZ #18585]
15748         * elf/readlib.c (is_gdb_python_file): New.
15749         (process_file): Don't issue errors on filenames with -gdb.py
15750         suffix.
15752 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15754         * math/auto-libm-test-in: Add more tests of csin and csinh.
15755         * math/auto-libm-test-out: Regenerated.
15756         * math/libm-test.inc (csin_test_data): Remove tests moved to
15757         auto-libm-test-in.
15758         (csinh_test_data): Likewise.
15760         [BZ #18593]
15761         * math/s_csin.c (__csin): Negate before rather than after possibly
15762         overflowing multiplication.
15763         * math/s_csinf.c (__csinf): Likewise.
15764         * math/s_csinh.c (__csinh): Likewise.
15765         * math/s_csinhf.c (__csinhf): Likewise.
15766         * math/s_csinhl.c (__csinhl): Likewise.
15767         * math/s_csinl.c (__csinl): Likewise.
15768         * math/auto-libm-test-in: Add some tests of csin and csinh.
15769         * math/auto-libm-test-out: Regenerated.
15770         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
15771         (csinh_test_data): Likewise.
15772         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15774         [BZ #18586]
15775         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
15776         underflow exception for small results.
15778 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15780         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15781         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
15782         variable and included header.
15783         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
15784         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
15785         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
15786         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
15787         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
15788         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
15789         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
15790         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
15791         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
15792         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
15793         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
15794         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
15795         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
15796         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
15797         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
15798         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
15800 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15802         [BZ #16526]
15803         [BZ #16538]
15804         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
15805         (__sin): Force underflow exception for arguments with small
15806         absolute value.
15807         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
15808         (__kernel_sinf): Force underflow exception for arguments with
15809         small absolute value.
15810         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
15811         (__kernel_sincosl): Force underflow exception for arguments with
15812         small absolute value.
15813         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
15814         (__kernel_sinl): Force underflow exception for arguments with
15815         small absolute value.
15816         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
15817         (__kernel_sincosl): Force underflow exception for arguments with
15818         small absolute value.
15819         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
15820         (__kernel_sinl): Force underflow exception for arguments with
15821         small absolute value.
15822         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
15823         (__kernel_sinl): Force underflow exception for arguments with
15824         small absolute value.
15825         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
15826         (__kernel_sinf): Force underflow exception for arguments with
15827         small absolute value.
15828         * math/auto-libm-test-in: Add more tests of sin and sincos.
15829         * math/auto-libm-test-out: Regenerated.
15831         [BZ #18245]
15832         [BZ #18583]
15833         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
15834         (__kernel_standard_l): Use feholdexcept and fesetenv around
15835         conversion to double instead of special-casing overflow and
15836         underflow.
15837         * math/libm-test.inc (fmod_test_data): Add more tests.
15838         (remainder_test_data): Likewise.
15839         (sqrt_test_data): Likewise.
15841 2015-06-23  Torvald Riegel  <triegel@redhat.com>
15843         [BZ #17403]
15844         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
15845         atomic_read_barrier, atomic_write_barrier): Define.
15846         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
15847         atomic_read_barrier, atomic_write_barrier): Define.
15849 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15851         * math/Makefile [$(PERL) != no]
15852         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
15853         dependency on libm-test.stmp below the inclusion of Rules.
15855 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
15857         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15858         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
15859         and included header.
15860         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
15861         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
15862         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
15863         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
15864         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
15865         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
15866         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
15867         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
15868         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
15869         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
15870         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
15871         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
15872         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
15873         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
15874         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
15875         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
15876         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
15877         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
15878         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
15880 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15882         [BZ #18371]
15883         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
15884         intermediate but not final result might underflow.
15885         * math/s_csqrtf.c (__csqrtf): Likewise.
15886         * math/s_csqrtl.c (__csqrtl): Likewise.
15887         * math/auto-libm-test-in: Add more tests of csqrt.
15888         * math/auto-libm-test-out: Regenerated.
15889         * sysdeps/i386/fpu/libm-test-ulps: Update.
15891         [BZ #18219]
15892         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
15893         threshold on absolute value of exponent for which scaling is used.
15894         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15895         * math/auto-libm-test-in: Add more tests of exp2.
15896         * math/auto-libm-test-out: Regenerated.
15898 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
15900         [BZ #17977]
15901         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
15902         when initializing interface list, based on the bug analysis
15903         and the patch proposed by Eric Newton.
15904         * resolv/tst-res_hconf_reorder.c: New test.
15905         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
15906         tst-res_hconf_reorder.
15907         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
15908         and $(shared-thread-library).
15909         (tst-res_hconf_reorder-ENV): New variable.
15911         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
15912         in comment.
15914 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
15916         [BZ #16353]
15917         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
15918         (__expm1): Force underflow exception for arguments with small
15919         absolute value.
15920         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
15921         (__expm1f): Force underflow exception for arguments with small
15922         absolute value.
15923         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
15924         (__expm1): Force underflow exception for arguments with small
15925         absolute value.
15926         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
15927         (__expm1f): Force underflow exception for arguments with small
15928         absolute value.
15929         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15930         Check for small arguments before calling __expm1.
15931         * math/auto-libm-test-in: Do not mark underflow exceptions as
15932         possibly missing for bug 16353.
15933         * math/auto-libm-test-out: Regenerated.
15935 2015-06-22  Andreas Schwab  <schwab@suse.de>
15937         [BZ #18513]
15938         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
15939         PTR queries.
15941 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
15943         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
15945         * string/strcoll_l.c: Remove unused struct element idxnow.
15947 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
15949         [BZ #18569]
15950         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
15951         underflow and return argument in case of subnormal argument.
15952         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15953         Likewise.
15954         * math/auto-libm-test-in: Add more tests of expm1.
15955         * math/auto-libm-test-out: Regenerated.
15957         [BZ #16361]
15958         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15959         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15960         tiny results.
15961         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15962         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15963         tiny results.
15964         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
15965         mark underflow exceptions as possibly missing for bug 16361.
15966         * math/auto-libm-test-out: Regenerated.
15968 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
15970         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
15971         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
15972         Remove variable.
15973         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15974         (test-xfail-XOPEN2K8/utmpx.h/conform).
15976         * conform/conformtest.pl ($xerrors): New variable.
15977         (note_error): New function.
15978         (compiletest): New argument $xfail.  Use not_error.
15979         (runtest): Likewise.
15980         (top level): Handle xfail- lines.  Update calls to compiletest and
15981         runtest.  Handle xfail- and optional- in headers listed with
15982         allow-header.
15983         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
15984         (O_EXEC): Likewise.
15985         (O_SEARCH): Likewise.
15986         * conform/data/stropts.h-data (ioctl): Likewise.
15987         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
15988         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
15989         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
15990         (msghdr.msg_controllen): Likewise.
15991         (cmsghdr.cmsg_len): Likewise.
15992         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
15993         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
15994         variable.
15995         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15996         (test-xfail-XPG4/stropts.h/conform): Likewise.
15997         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15998         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15999         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16000         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16001         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16002         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16003         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16004         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16005         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16006         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16007         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16008         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16009         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16010         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16011         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16012         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16013         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16014         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16015         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16017 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16019         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
16020         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
16021         definitions for proper unfolding of __MATHDECL_VEC.
16023 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16025         * benchtests/bench-strcoll.c:
16026         Include string.h.
16027         (main): Remove unused variable res.
16029 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16031         * timezone/Makefile (%/UTC %/Universal):
16032         Generate test-result files for UTC and Universal.
16034 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16036         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16038 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
16040         [BZ #16350]
16041         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
16042         for arguments with small absolute value.
16043         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
16044         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
16045         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
16046         (__asinh): Force underflow exception for arguments with small
16047         absolute value.
16048         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
16049         (__asinhf): Force underflow exception for arguments with small
16050         absolute value.
16051         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
16052         (__asinhl): Force underflow exception for arguments with small
16053         absolute value.
16054         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
16055         (__asinhl): Force underflow exception for arguments with small
16056         absolute value.
16057         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
16058         (__asinhl): Force underflow exception for arguments with small
16059         absolute value.
16060         * math/auto-libm-test-in: Do not mark underflow exceptions as
16061         possibly missing for bug 16350.
16062         * math/auto-libm-test-out: Regenerated.
16064         * include/bits/ipc.h: Remove file.
16065         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
16066         variable.
16067         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16068         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16069         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16070         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16071         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16072         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16073         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16074         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16075         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16077         * math/auto-libm-test-in: Remove spurious underflow allowance for
16078         tests of cexp.
16079         * math/auto-libm-test-out: Regenerated.
16081         [BZ #18558]
16082         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
16083         unconditional definition.
16084         (MCAST_BLOCK_SOURCE): Likewise.
16085         (MCAST_UNBLOCK_SOURCE): Likewise.
16086         (MCAST_LEAVE_GROUP): Likewise.
16087         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16088         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16089         (MCAST_MSFILTER): Likewise.
16090         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
16091         Remove variable.
16092         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16093         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16094         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16095         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16096         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16098 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
16100         * NEWS: Mention addition of x86_64 vector sincosf.
16101         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
16102         * math/test-float-vlen4.h: Likewise.
16103         * math/test-float-vlen8.h: Likewise.
16104         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16105         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
16106         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16107         * sysdeps/x86_64/fpu/Versions: New versions added.
16108         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16109         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16110         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16111         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
16112         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16113         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
16114         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16115         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
16116         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16117         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
16118         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
16119         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
16120         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
16121         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
16122         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
16123         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
16124         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
16125         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16126         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16127         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16128         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16129         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16130         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16131         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16133         * NEWS: Mention addition of x86_64 vector sincos.
16134         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
16135         * math/math.h (__MATHDECL_VEC): New macro.
16136         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
16137         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
16138         declaration under condition.
16139         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
16140         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
16141         TEST_VEC_LOOP change.
16142         * math/test-double-vlen4.h: Likewise.
16143         * math/test-double-vlen8.h: Likewise.
16144         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
16145         * math/test-float-vlen4.h: Likewise.
16146         * math/test-float-vlen8.h: Likewise.
16147         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16148         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
16149         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16150         * sysdeps/x86_64/fpu/Versions: New versions added.
16151         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16152         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16153         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16154         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
16155         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
16156         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
16157         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
16158         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
16159         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
16160         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
16161         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
16162         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
16163         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
16164         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
16165         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
16166         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
16167         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
16168         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16169         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16170         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16171         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16172         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16173         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16174         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16176         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16177         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16178         redirections for powf.
16179         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16180         * sysdeps/x86_64/fpu/Versions: New versions added.
16181         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16182         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16183         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16184         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
16185         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
16186         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
16187         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
16188         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
16189         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
16190         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
16191         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
16192         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
16193         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
16194         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
16195         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
16196         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
16197         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
16198         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16199         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16200         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16201         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16202         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16203         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16204         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16205         * math/test-float-vlen16.h: Fixed 2 argument macro.
16206         * math/test-float-vlen4.h: Likewise.
16207         * math/test-float-vlen8.h: Likewise.
16208         * NEWS: Mention addition of x86_64 vector powf.
16210 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
16212         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16213         and redefine.
16214         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16215         and redefine.
16216         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
16217         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16218         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16220         [BZ #18553]
16221         * resource/getpriority.c (getpriority): Rename to __getpriority
16222         and define as weak alias of __getpriority.
16223         * resource/setpriority.c (setpriority): Rename to __setpriority
16224         and define as weak alias of __setpriority.
16225         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
16226         __getpriority and define as weak alias of __getpriority.
16227         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
16228         __setpriority and define as weak alias of __setpriority.
16229         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
16230         strong name.
16231         (setpriority): Use __setpriority as strong name.
16232         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
16233         __getpriority and define as weak alias of __getpriority.
16234         * include/sys/resource.h (__getpriority): Declare.  Use
16235         libc_hidden_proto.
16236         (__setpriority): Likewise.
16237         (getpriority): Don't use libc_hidden_proto.
16238         (setpriority): Likewise.
16239         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
16240         getpriority.  Call __setpriority instead of setpriority.
16241         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
16242         Remove variable.
16244         [BZ #18547]
16245         * misc/getttyent.c (getttynam): Rename to __getttynam and define
16246         as weak alias of __getttynam.  Use prototype function definition.
16247         Call __setttyent, __getttyent and __endttyent instead of
16248         setttyent, getttyent and endttyent.
16249         (getttyent): Rename to __getttyent and define as weak alias of
16250         __getttyent.  Call __setttyent instead of setttyent.  Call
16251         __fgets_unlocked instead of fgets_unlocked.
16252         (setttyent): Rename to __setttyent and define as weak alias of
16253         __setttyent.
16254         (endttyent): Rename to __endttyent and define as weak alias of
16255         __endttyent.
16256         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
16257         (__setttyent): Likewise.
16258         (__endttyent): Likewise.
16259         (getttyent): Don't use libc_hidden_proto.
16260         (setttyent): Likewise.
16261         (endttyent): Likewise.
16262         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
16263         __endttyent instead of setttyent, getttyent and endttyent.
16264         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
16265         Remove variable.
16267         [BZ #18546]
16268         * socket/recv.c (__recv): Use libc_hidden_def.
16269         * socket/socket.c (__socket): Likewise.
16270         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16271         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16272         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
16273         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
16274         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
16275         libc_hidden_def.
16276         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
16277         libc_hidden_weak.
16278         * include/sys/socket.h (__socket): Do not use attribute_hidden.
16279         Use libc_hidden_proto.
16280         (__recv): Likewise.
16281         * socket/Versions (libc): Export __recv and __socket at version
16282         GLIBC_PRIVATE.
16283         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
16284         instead of recv.
16285         (init_mq_netlink): Call __socket instead of socket.
16286         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
16287         Remove variable.
16289         [BZ #18545]
16290         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
16291         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
16292         hidden_weak.
16293         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
16294         define as alias of __mq_timedsend.  Use hidden_weak.
16295         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
16296         __mq_timedsend as strong name.
16297         (mq_timedreceive): Use __mq_timedreceive as strong name.
16298         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
16299         (__mq_timedreceive): Likewise.
16300         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
16301         __mq_timedreceive instead of mq_timedreceive.
16302         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
16303         instead of mq_timedsend.
16304         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
16305         Remove variable.
16307         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
16308         hidden_def and hidden_weak instead of libc_hidden_def and
16309         libc_hidden_weak.
16310         (top level): Refer to hidden_def in comment.
16311         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
16312         macro.  Use it instead of libc_hidden_def.
16313         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
16314         specify __GI_* name explicitly.
16315         (mq_timedreceive): Likewise.
16316         (mq_setattr): Likewise.
16318         [BZ #18544]
16319         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
16320         __pthread_barrier_init and define as weak alias of
16321         __pthread_barrier_init.
16322         * sysdeps/sparc/nptl/pthread_barrier_init.c
16323         (pthread_barrier_init): Likewise.
16324         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
16325         __pthread_barrier_wait and define as weak alias of
16326         __pthread_barrier_wait.
16327         * sysdeps/sparc/nptl/pthread_barrier_wait.c
16328         (pthread_barrier_wait): Likewise.
16329         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16330         (pthread_barrier_wait): Likewise.
16331         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
16332         (pthread_barrier_wait): Likewise.
16333         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
16334         (pthread_barrier_wait): Likewise.
16335         * nptl/Versions (libpthread): Export __pthread_barrier_init and
16336         __pthread_barrier_wait at version GLIBC_PRIVATE.
16337         * include/pthread.h (__pthread_barrier_init): Declare.
16338         (__pthread_barrier_wait): Likewise.
16339         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
16340         Call __pthread_barrier_wait instead of pthread_barrier_wait.
16341         (helper_thread): Likewise.
16342         (init_mq_netlink): Call __pthread_barrier_init instead of
16343         pthread_barrier_init.
16345         [BZ #18542]
16346         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
16347         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
16348         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
16349         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
16350         vswscanf.
16351         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
16352         Remove variable.
16354         [BZ #18540]
16355         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
16356         strong alias of _IO_fflush.  Use libc_hidden_def.
16357         * libio/iofflush_u.c (fflush_unlocked): Rename to
16358         __fflush_unlocked and define as weak alias of __fflush_unlocked.
16359         Use libc_hidden_weak.
16360         * include/stdio.h (__fflush_unlocked): Declare.  Use
16361         libc_hidden_proto.
16362         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
16363         fflush_unlocked.
16364         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
16365         Remove variable.
16367         [BZ #18539]
16368         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
16369         define as weak alias of __addseverity.
16370         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
16371         Remove variable.
16372         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16373         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16374         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16376         [BZ #18536]
16377         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
16378         (__tfind): Likewise.
16379         (__tdelete): Likewise.
16380         (__twalk): Likewise.
16381         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
16382         __twalk to GLIBC_PRIVATE.
16383         * include/search.h (__tsearch): Use libc_hidden_proto.
16384         (__tfind): Likewise.
16385         (__tdelete): Likewise.
16386         (__twalk): Likewise.
16387         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
16388         Call __tdelete instead of tdelete.
16389         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
16390         tfind.  Call __tsearch instead of tsearch.
16391         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
16392         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
16393         Remove variable.
16394         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16396         [BZ #18534]
16397         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
16398         (dprintf): Define as a weak alias of __dprintf, not a strong
16399         alias.
16400         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
16401         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
16402         dprintf.
16403         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
16404         Remove variable.
16405         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16406         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16408         [BZ #18533]
16409         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
16410         not a strong alias.
16411         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
16412         Remove variable.
16414         [BZ #18532]
16415         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
16416         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
16417         (in6addr_loopback): Rename to __in6addr_loopback and define as
16418         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
16419         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
16420         libc_hidden_proto.
16421         (__in6addr_any): Likewise.
16422         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
16423         in6addr_any.
16424         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
16425         variable.
16426         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16428 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
16430         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
16431         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
16432         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16433         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16434         redirections for pow.
16435         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16436         * sysdeps/x86_64/fpu/Versions: New versions added.
16437         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16438         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16439         build of SSE, AVX2 and AVX512 IFUNC versions.
16440         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
16441         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
16442         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
16443         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
16444         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
16445         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
16446         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
16447         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
16448         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
16449         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
16450         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
16451         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
16452         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
16453         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
16454         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16455         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16456         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16457         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16458         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16459         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16460         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16461         * NEWS: Mention addition of x86_64 vector pow.
16463         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16464         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16465         redirections for expf.
16466         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16467         * sysdeps/x86_64/fpu/Versions: New versions added.
16468         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16469         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16470         build of SSE, AVX2 and AVX512 IFUNC versions.
16471         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
16472         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
16473         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
16474         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
16475         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
16476         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
16477         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
16478         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
16479         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
16480         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
16481         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
16482         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
16483         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
16484         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16485         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16486         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16487         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16488         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16489         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16490         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16491         * NEWS: Mention addition of x86_64 vector expf.
16493         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
16494         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
16495         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16496         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16497         redirections for exp.
16498         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16499         * sysdeps/x86_64/fpu/Versions: New versions added.
16500         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16501         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16502         build of SSE, AVX2 and AVX512 IFUNC versions.
16503         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
16504         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
16505         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
16506         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
16507         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
16508         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
16509         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
16510         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
16511         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
16512         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
16513         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
16514         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
16515         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
16516         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16517         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16518         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16519         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16520         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16521         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16522         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16523         * NEWS: Mention addition of x86_64 vector exp.
16525         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16526         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16527         redirections for logf.
16528         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16529         * sysdeps/x86_64/fpu/Versions: New versions added.
16530         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16531         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16532         build of SSE, AVX2 and AVX512 IFUNC versions.
16533         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
16534         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
16535         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
16536         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
16537         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
16538         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
16539         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
16540         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
16541         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
16542         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
16543         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
16544         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
16545         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
16546         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16547         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16548         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16549         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16550         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16551         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16552         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16553         * NEWS: Mention addition of x86_64 vector logf.
16555         * bits/libm-simd-decl-stubs.h: Added stubs for log.
16556         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
16557         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16558         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16559         redirections for log.
16560         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16561         * sysdeps/x86_64/fpu/Versions: New versions added.
16562         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16563         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16564         build of SSE, AVX2 and AVX512 IFUNC versions.
16565         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
16566         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
16567         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
16568         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
16569         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
16570         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
16571         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
16572         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
16573         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
16574         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
16575         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
16576         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
16577         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
16578         test.
16579         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16580         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16581         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16582         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16583         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16584         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16585         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16586         * NEWS: Mention addition of x86_64 vector log.
16588 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16590         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
16591         cfi_adjust_cfa_offset argument.
16592         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
16593         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
16595         [BZ #18034]
16596         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
16597         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
16598         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
16599         ordering using ldar.
16600         (_dl_tlsdesc_dynamic): Likewise.
16601         (_dl_tlsdesc_return_lazy): Likewise.
16602         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
16603         relaxed atomics instead of volatile and synchronize with release store.
16604         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
16605         volatile.
16606         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
16608 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
16610         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16611         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
16612         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16613         * sysdeps/x86_64/fpu/Versions: New versions added.
16614         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16615         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16616         build of SSE, AVX2 and AVX512 IFUNC versions.
16617         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
16618         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
16619         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
16620         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
16621         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
16622         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
16623         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
16624         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
16625         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
16626         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
16627         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
16628         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
16629         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
16630         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16631         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16632         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16633         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16634         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16635         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16636         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16637         * NEWS: Mention addition of x86_64 vector sinf.
16639 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
16641         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
16642         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
16643         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
16644         Remove variable.
16645         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16646         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16648 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16650         [BZ #18530]
16651         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
16652         strong alias of _IO_fputs.  Use libc_hidden_def.
16653         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
16654         and define as weak alias of __fputs_unlocked.  Use
16655         libc_hidden_weak.
16656         * include/stdio.h (__fputs_unlocked): Declare.  Use
16657         libc_hidden_proto.
16658         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
16659         fputs_unlocked.
16661         [BZ #18529]
16662         * resolv/netdb.h [__USE_POSIX]: Change condition to
16663         [__USE_XOPEN2K].
16664         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
16665         not expect.
16666         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
16667         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
16668         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
16669         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
16670         [XPG4 || UNIX98] (AI_ALL): Likewise.
16671         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
16672         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
16673         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
16674         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
16675         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
16676         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
16677         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
16678         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
16679         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
16680         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
16681         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
16682         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
16683         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
16684         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
16685         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
16686         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16687         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16688         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
16689         [XPG4 || UNIX98] (gai_strerror): Likewise.
16690         [XPG4 || UNIX98] (getaddrinfo): Likewise.
16691         [XPG4 || UNIX98] (getnameinfo): Likewise.
16693         [BZ #18528]
16694         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
16695         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
16696         __USE_XOPEN2K8].
16697         (getgrent): Likewise.
16698         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
16699         expect.
16700         [XPG3 || POSIX2008] (endgrent): Likewise.
16701         [XPG3] (setgrent): Likewise.
16702         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
16703         variable.
16704         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
16706         [BZ #18527]
16707         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
16708         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
16709         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
16710         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
16711         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
16712         * include/unistd.h (__getlogin_r): Declare.  Use
16713         libc_hidden_proto.
16714         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
16715         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
16716         variable.
16717         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
16718         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
16719         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
16721 2015-06-12  Martin Sebor  <msebor@redhat.com>
16723         [BZ #18512]
16724         * Makerules (check-install-supported): New target.
16725         (install): Add check-install-supported as a dependency.
16726         * manual/install.texi (Installing the C Library): Document
16727         that overriding prefix and exec_prefix is not supported.
16728         Mention DESTDIR.
16729         * INSTALL: Regenerate from the above.
16731 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16733         [BZ #18519]
16734         * posix/Versions (libc): Export __libc_pread at version
16735         GLIBC_PRIVATE.
16736         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
16737         instead of pread.
16738         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
16739         variable.
16741         [BZ #18522]
16742         * misc/efgcvt_r.c
16743         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
16744         (cvt_symbol): Use weak_alias instead of strong_alias.
16745         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
16746         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
16747         Remove variable.
16748         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
16749         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
16751         [BZ #18520]
16752         * inet/herrno.c (h_errno): Rename to __h_errno.
16753         (__libc_h_errno): Define as alias of __h_errno not h_errno.
16754         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
16755         to __h_errno instead of h_errno.
16756         * nptl/herrno.c (h_errno): Rename to __h_errno.
16757         (__h_errno_location): Refer to __h_errno not h_errno.
16758         * resolv/Versions (h_errno): Rename to __h_errno.
16759         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
16760         Remove variable.
16761         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
16763 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
16765         * configure.ac: More strict check for AVX512 assembler support.
16766         * configure: Regenerated.
16768         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
16769         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
16770         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16771         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
16772         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16773         * sysdeps/x86_64/fpu/Versions: New versions added.
16774         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16775         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16776         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16777         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
16778         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
16779         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
16780         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
16781         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
16782         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
16783         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
16784         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
16785         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
16786         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
16787         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
16788         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
16789         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
16790         test.
16791         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16792         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16793         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16794         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16795         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16796         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16797         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16798         * NEWS: Mention addition of x86_64 vector sin.
16800 2015-06-11  Florian Weimer  <fweimer@redhat.com>
16802         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
16803         comment.
16805 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16807         [BZ #18479]
16808         * nptl/pt-interp.c: New file.
16809         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
16810         Add pt-interp.
16811         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
16812         $(common-objpfx)runtime-linker.h.
16814 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
16816         * Makeconfig (+interp): Remove unused variable.
16817         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
16818         only.  Depend on $(common-objpfx)runtime-linker.h instead of
16819         $(elf-objpfx)runtime-linker.h.
16820         ($(elf-objpfx)runtime-linker.h): Rename to
16821         $(common-objpfx)runtime-linker.h and move ...
16822         * Makerules [$(build-shared) = yes]: ... here.
16823         * elf/interp.c: Include <runtime-linker.h> instead of
16824         <elf/runtime-linker.h>.
16826 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16828         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
16829         (__gettimeofday_syscall): Remove vsyscall fallback.
16830         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
16831         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
16832         Add syscall fallback function.
16833         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
16834         if vDSO is not present.
16835         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
16836         fallback function.
16837         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
16838         present.
16839         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
16840         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16842 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
16844         [BZ #18497]
16845         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
16846         of wcscmp.
16847         (wcscmp): Define as weak alias of WCSCMP.
16848         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
16849         wcscoll.
16850         (USE_HIDDEN_DEF): Define.
16851         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
16852         __wcscoll.  Don't use libc_hidden_weak.
16853         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
16854         wcscmp.
16855         * sysdeps/i386/i686/multiarch/wcscmp-c.c
16856         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
16857         __GI_wcscmp.
16858         (weak_alias): Undefine and redefine.
16859         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
16860         __wcscmp and define as weak alias of __wcscmp.
16861         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
16862         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
16863         (__wcscoll): Likewise.
16864         (wcscmp): Don't use libc_hidden_proto.
16865         (wcscoll): Likewise.
16866         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
16867         wcscoll.
16868         * posix/regexec.c (check_node_accept_bytes): Likewise.
16869         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
16870         variable.
16871         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
16872         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
16874         [BZ #18507]
16875         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
16876         __fstatvfs and define as weak alias of __fstatvfs.  Use
16877         libc_hidden_weak.
16878         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
16879         and define as weak alias of __statvfs.  Use libc_hidden_weak.
16880         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
16881         Define as alias of __fstatvfs, not fstatvfs.
16882         (fstatvfs64): Likewise.
16883         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
16884         Define as alias of __statvfs, not statvfs.
16885         (statvfs64): Likewise.
16886         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
16887         Remove variable.
16889 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16892         (HAVE_GETCPU_VSYSCALL): Define.
16893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16894         (HAVE_GETCPU_VSYSCALL): Likewise.
16895         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
16896         * sysdeps/unix/sysv/linux/sched_getcpu.c
16897         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
16898         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
16899         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
16900         prototype.
16901         * sysdeps/unix/sysv/linux/x86_64/init-first.c
16902         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
16903         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
16904         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
16905         Define.
16906         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
16907         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16908         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
16909         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16911 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
16913         * sysdeps/x86_64/fpu/Makefile: New file.
16914         * sysdeps/x86_64/fpu/Versions: New file.
16915         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
16916         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
16917         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
16918         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
16919         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
16920         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
16921         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
16922         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
16923         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
16924         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
16925         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
16926         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
16927         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
16928         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16929         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16930         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
16931         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
16932         * sysdeps/x86_64/configure.ac: Options for libmvec build.
16933         * sysdeps/x86_64/configure: Regenerated.
16934         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
16935         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
16936         * manual/install.texi (Configuring and compiling): Document
16937         --disable-mathvec.
16938         * INSTALL: Regenerated.
16939         * NEWS: Mention addition of libmvec and x86_64 vector cos.
16941         * math/Makefile: Added rules for vector tests.
16942         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
16943         declaration under condition.
16944         * math/test-double-vlen2.h: New file.
16945         * math/test-double-vlen4.h: New file.
16946         * math/test-double-vlen8.h: New file.
16947         * math/test-vec-loop.h: Added initialization macro.
16948         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
16949         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
16950         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
16951         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
16952         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
16953         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
16954         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
16955         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
16956         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
16957         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
16958         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
16960         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16961         * sysdeps/x86_64/fpu/Versions: New versions added.
16962         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
16963         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
16964         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
16965         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
16966         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
16967         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
16968         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
16969         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
16970         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
16971         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
16972         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
16973         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
16974         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
16975         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16976         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16977         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16978         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
16979         * NEWS: Mention addition of x86_64 vector cosf.
16981         * math/Makefile: Added CFLAGS for new tests.
16982         * math/test-float-vlen16.h: New file.
16983         * math/test-float-vlen4.h: New file.
16984         * math/test-float-vlen8.h: New file.
16985         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
16986         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
16987         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16988         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
16989         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
16990         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
16991         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
16992         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
16993         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
16994         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
16995         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
16997 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
16999         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
17000         * locale/programs/ld-ctype.c: Likewise.
17002 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
17004         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
17005         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
17006         bit_ZMM16_31_state): New macro.
17007         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17008         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
17010 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
17012         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
17014 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
17016         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
17018 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
17020         [BZ #18498]
17021         * libio/memstream.c (open_memstream): Rename to __open_memstream
17022         and define as weak alias of __open_memstream.
17023         * include/stdio.h (__open_memstream): Declare.  Use
17024         libc_hidden_proto.
17025         (open_memstream): Don't use libc_hidden_proto.
17026         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
17027         open_memstream.
17028         * posix/getopt.c (_getopt_internal_r): Likewise.
17029         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
17030         variable.
17031         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17032         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17033         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17035         [BZ #18496]
17036         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
17037         instead of wcrtomb.
17039         [BZ #18483]
17040         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
17041         [__USE_XOPEN2K8].  Remove redundant #endif.
17042         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
17043         Remove redundant #if.
17044         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
17045         Remove variable.
17046         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17047         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17049         [BZ #18495]
17050         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
17051         (__iswlower): Likewise.
17052         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
17053         (__iswlower): Likewise.
17054         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
17055         instead of towlower.
17056         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
17057         instead of iswlower.  Call __towupper instead of towupper.
17058         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
17059         instead of iswalnum.
17061 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17063         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
17064         errors to stderr.
17066 2015-06-05  Florian Weimer  <fweimer@redhat.com>
17068         [BZ #15661]
17069         [BZ #17322]
17070         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17071         Check for overflow properly.  Check for O_APPEND.  Ignore large
17072         file system block sizes.  Add comments about problems.
17073         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
17074         * manual/filesys.texi (Storage Allocation): New node.
17076 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17078         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
17079         cancellable syscalls.
17080         (SYS_ify): Add guard to no redefine it.
17081         (INLINE_SYSCALL): Likewise.
17082         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
17083         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
17084         SYSCALL_CANCEL instead.
17085         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
17086         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17087         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17088         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17089         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17090         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
17091         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
17092         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
17093         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17094         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17095         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
17096         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
17097         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
17098         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
17099         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
17100         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17101         Likewise.
17102         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17103         (__libc_pread64): Likewise.
17104         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
17105         (__libc_preadv): Likewise.
17106         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
17107         (__libc_readv64): Likewise.
17108         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17109         (__libc_pwrite): Likewise.
17110         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17111         (__libc_pwrite64): Likewise.
17112         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
17113         (__libc_pwritev): Likewise.
17114         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
17115         (__libc_pwritev64): Likewise.
17116         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
17117         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17118         (sync_file_range): Likewise.
17119         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
17120         Likewise.
17121         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
17122         Likewise.
17123         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17124         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17125         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17126         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17127         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17128         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17129         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17130         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
17131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17132         Likewise.
17133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17134         (__libc_read64): Likewise.
17135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
17136         Likewise.
17137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
17138         Likewise.
17139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
17140         Likewise.
17141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
17142         Likewise.
17143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17144         (__libc_pread64): Likewise.
17145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
17146         Likewise.
17147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17148         (__libc_pwrite64): Likewise.
17149         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
17150         (sync_file_range): Likewise.
17151         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
17152         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17153         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17154         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
17155         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
17156         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17157         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17158         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
17159         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
17160         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17161         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17162         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17163         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17164         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17165         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
17166         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17167         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17168         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17169         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17170         Likewise.
17171         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
17172         Likewise.
17173         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
17174         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
17175         Likewise.
17176         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
17177         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
17178         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
17179         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
17180         Likewise.
17181         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
17182         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
17183         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
17184         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
17185         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
17187 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
17189         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
17190         Include dl-vdso.
17191         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
17192         Use VDSO routines for gettimeofday, clock_gettime if
17193         available.
17194         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
17195         Declare VDSO symbols.
17196         * sysdeps/unix/sysv/linux/arm/sysdep.h:
17197         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
17198         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17199         * sysdeps/unix/sysv/linux/arm/Versions: Add
17200         __vdso_clock_gettime.
17202 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17204         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
17205         be an inline implementation regardless of library is built within.
17206         (open_not_cancel_2): Likewise.
17207         (__read_nocancel): Likewise.
17208         (__write_nocancel): Likewise.
17209         (openat_not_cancel): Likewise.
17210         (openat_not_cancel_3): Likewise.
17211         (openat64_not_cancel): Likewise.
17212         (openat64_not_cancel_3): Likewise.
17213         (__close_nocancel): Likewise.
17214         (pause_not_cancel): Likewise.
17215         (nanosleep_not_cancel): Likewise.
17216         (sigsuspend_not_cancel): Likewise.
17218 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17220         [BZ #14958]
17221         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
17222         wake-up.
17223         (__pthread_rwlock_rdlock_slow): Likewise.
17224         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17225         Likewise.
17226         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17227         Likewise.
17228         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
17229         * nptl/tst-rwlock16.c: New file.
17230         * nptl/Makefile (tests): Add new test.
17232 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17234         [BZ #18324]
17235         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
17236         missing wake-up of readers.
17237         * nptl/tst-rwlock15.c: New file.
17238         * nptl/Makefile (tests): Add new test.
17240 2015-06-03  Roland McGrath  <roland@hack.frob.com>
17242         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
17243         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
17244         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
17245         and __nacl_supply_interface_rtld.
17246         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
17247         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
17248         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
17249         Add __nacl_supply_interface_rtld.
17250         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
17252 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17254         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
17255         isfinite.
17256         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17257         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
17259 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17261         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
17262         __signbit* with standard C99 macros.
17263         * math/e_exp10l.c: Likewise.
17264         * math/e_exp2l.c: Likewise.
17265         * math/e_scalb.c: Likewise.
17266         * math/e_scalbf.c: Likewise.
17267         * math/e_scalbl.c: Likewise.
17268         * math/s_ldexp.c: Likewise.
17269         * math/s_ldexpf.c: Likewise.
17270         * math/s_ldexpl.c: Likewise.
17271         * math/w_atan2.c: Likewise.
17272         * math/w_atan2f.c: Likewise.
17273         * math/w_atan2l.c: Likewise.
17274         * math/w_cosh.c: Likewise.
17275         * math/w_coshf.c: Likewise.
17276         * math/w_coshl.c: Likewise.
17277         * math/w_exp10.c: Likewise.
17278         * math/w_exp10f.c: Likewise.
17279         * math/w_exp10l.c: Likewise.
17280         * math/w_exp2.c: Likewise.
17281         * math/w_exp2f.c: Likewise.
17282         * math/w_exp2l.c: Likewise.
17283         * math/w_fmod.c: Likewise.
17284         * math/w_fmodf.c: Likewise.
17285         * math/w_fmodl.c: Likewise.
17286         * math/w_hypot.c: Likewise.
17287         * math/w_hypotf.c: Likewise.
17288         * math/w_hypotl.c: Likewise.
17289         * math/w_jnl.c: Likewise.
17290         * math/w_lgamma.c: Likewise.
17291         * math/w_lgamma_r.c: Likewise.
17292         * math/w_lgammaf.c: Likewise.
17293         * math/w_lgammaf_r.c: Likewise.
17294         * math/w_lgammal.c: Likewise.
17295         * math/w_lgammal_r.c: Likewise.
17296         * math/w_pow.c: Likewise.
17297         * math/w_powf.c: Likewise.
17298         * math/w_powl.c: Likewise.
17299         * math/w_remainder.c: Likewise.
17300         * math/w_remainderf.c: Likewise.
17301         * math/w_remainderl.c: Likewise.
17302         * math/w_scalb.c: Likewise.
17303         * math/w_scalbf.c: Likewise.
17304         * math/w_scalbl.c: Likewise.
17305         * math/w_scalbln.c: Likewise.
17306         * math/w_scalblnf.c: Likewise.
17307         * math/w_scalblnl.c: Likewise.
17308         * math/w_sinh.c: Likewise.
17309         * math/w_sinhf.c: Likewise.
17310         * math/w_sinhl.c: Likewise.
17311         * math/w_tgamma.c: Likewise.
17312         * math/w_tgammaf.c: Likewise.
17313         * math/w_tgammal.c: Likewise.
17314         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17315         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
17316         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17317         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17318         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17319         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17320         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17321         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17322         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17323         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17324         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17325         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17326         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17327         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17328         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17329         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17330         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17331         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17332         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17333         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17334         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17335         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17336         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17337         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17338         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17339         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17340         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
17341         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17342         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17343         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17344         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
17345         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
17346         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
17347         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
17348         * stdio-common/printf_fp.c: Likewise.
17349         * stdio-common/printf_fphex.c: Likewise.
17350         * stdio-common/printf_size.c: Likewise.
17352 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
17354         [BZ #18470]
17355         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
17356         strnlen.
17357         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
17358         Remove variable.
17359         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17360         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17361         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17362         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17363         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17364         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17365         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17366         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17367         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17368         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17370         [BZ #18468]
17371         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
17372         weak alias of __wmemchr.  Use libc_hidden_weak.
17373         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
17374         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
17375         instead of wmemchr.
17377 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17379         [BZ #18383]
17380         * elf/tst-tlsalign-extern.c: New file.
17381         * elf/tst-tlsalign-extern-static.c: New file.
17382         * elf/tst-tlsalign-vars.c: New file.
17383         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
17384         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
17385         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
17386         ($(objpfx)tst-tlsalign-extern-static): Likewise.
17387         (test-xfail-tst-tlsalign-extern-static): New variable.
17389 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
17391         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
17392         Use variable name _sc_err instead of err.
17393         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
17394         instead of ret.
17395         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
17396         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
17397         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
17398         (INLINE_SYSCALL): Likewise.
17400         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
17401         * include/string.h (__strnlen): Use libc_hidden_proto.
17402         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
17403         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
17404         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
17405         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
17406         (libc_hidden_def): Undefine and redefine.
17407         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
17408         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
17409         __GI_strnlen.
17410         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
17411         libc_hidden_def.
17412         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
17414         [BZ #18469]
17415         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
17416         weak alias of __towlower.  Use libc_hidden_weak.
17417         (towupper): Rename to __towupper and define as weak alias of
17418         __towupper.  Use libc_hidden_weak.
17419         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
17420         (__towupper): Likewise.
17421         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
17422         __towlower instead of towlower.
17424 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17426         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
17427         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
17429 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17431         * sysdeps/aarch64/libm-test-ulps: Update.
17433 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17435         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
17436         Define.
17437         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17438         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17439         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17440         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17441         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
17442         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
17443         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
17445 2015-06-01  Martin Sebor  <msebor@redhat.com>
17447         [BZ #18116]
17448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17449         (__setcontext): Use extended four-operand version of mtsf whenever
17450         possible.
17451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17452         (__novec_swapcontext): Likewise.
17454 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17456         * benchtests/scripts/compare_bench.py: New file.
17457         * benchtests/scripts/import_bench.py (mean): New function.
17458         (split_list): Likewise.
17459         (do_for_all_timings): Likewise.
17460         (compress_timings): Likewise.
17462         * benchtests/scripts/import_bench.py: New file.
17463         * benchtests/scripts/validate_benchout.py: Import import_bench
17464         instead of jsonschema.
17465         (validate_bench): Remove function.
17466         (main): Use import_bench.
17468 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
17470         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
17471         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
17473 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17477 2015-05-28  Roland McGrath  <roland@hack.frob.com>
17479         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
17480         set THREAD_SELF->tid to a magic value and futex-wake it.
17481         Pass its address to the thread_exit system call.
17482         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
17483         bit is clear.
17484         * sysdeps/nacl/lowlevellock.h: New file.
17485         * sysdeps/nacl/lll_timedwait_tid.c: New file.
17487         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
17488         Add TIMEOUT to current time, don't subtract it.
17490 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
17492         [BZ #2981]
17493         [BZ #18422]
17494         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
17495         ($(objpfx)tst-audit2.out): Also depend on
17496         $(objpfx)tst-auditmod9b.so.
17497         * elf/tst-audit2.c: Include <dlfcn.h>.
17498         (calloc_called): New.
17499         (calloc): Allow to be called more than once.
17500         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
17502 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
17504         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
17505         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
17507 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
17509         * stdlib/monetary.h: Fix comment.
17511 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
17513         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
17514         Avoid using variables in #defines that might cause shadowing.
17515         (INTERNAL_VSYSCALL_CALL): Likewise.
17517 2015-05-26  Roland McGrath  <roland@hack.frob.com>
17519         * sysdeps/nacl/lll_timedlock_wait.c: New file.
17521         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
17522         * nptl/lll_timedlock_wait.c: ... to this new file.
17523         * nptl/Makefile (libpthread-routines): Add it.
17524         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
17525         * nptl/lll_timedwait_tid.c: ... to this new file.
17526         * nptl/Makefile (libpthread-routines): Add it.
17527         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
17528         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
17529         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
17530         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
17531         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
17532         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
17533         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
17534         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
17535         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
17536         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
17538 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17540         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
17541         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17542         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17543         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
17544         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
17545         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17546         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17547         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17548         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17549         * sysdeps/unix/sysv/linux/tile/sysdep.h
17550         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17551         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
17552         using vDSO syscall macro.
17554 2015-05-26  Andriy Rysin  <arysin@gmail.com>
17556         [BZ #17293]
17557         * uk_UA: Fix sorting order for Ukrainian locale
17559 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
17561         * stdlib/monetary.h: Fix comment.
17563 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17565         [BZ #18234]
17566         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
17567         st_mtim and st_ctim members.
17568         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
17569         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
17570         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
17571         (struct stat64): Likewise.
17572         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
17573         (struct stat64): Likewise.
17574         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
17575         (struct stat64): Likewise.
17577 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17579         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
17580         Define and include sysdep-vdso.h.
17581         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
17582         Likewise.
17583         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
17584         Likewise.
17585         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
17586         Define with VDSO_SYMBOL and use PTR_MANGLE.
17587         (__vdso_clock_gettime): Likewise.
17588         (__vdso_clock_getres): Likewise.
17589         (_libc_vdso_platform_setup): Likewise.
17590         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17591         Likewise.
17592         (_libc_vdso_platform_setup): Likewise.
17593         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
17594         Likewise.
17595         (__vdso_clock_gettime): Likewise.
17596         (__vdso_clock_getres): Likewise.
17597         (__vdso_get_tbfreq): Likewise.
17598         (__vdso_getcpu): Likewise.
17599         (__vdso_time): Likewise.
17600         (__vdso_sigtramp_rt64): Likewise.
17601         (__vdso_signtramp32): Likewise.
17602         (__vdso_sigtramp_rt32): Likewise.
17603         (_libc_vdso_platform_setup): Likewise.
17604         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
17605         Likewise.
17606         (__vdso_clock_gettime): Likewise.
17607         (__vdso_clock_getres): Likewise.
17608         (_libc_vdso_platform_setup): Likewise.
17609         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
17610         Likewise.
17611         (__vdso_clock_gettime): Likewise.
17612         (_libc_vdso_platform_setup): Likewise.
17613         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17614         Likewise.
17615         (__vdso_getcpu): Likewise.
17616         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
17617         Use VDSO_SYMBOL macro to define.
17618         (__vdso_clock_gettime): Likewise.
17619         (__vdso_clock_getres): Likewise.
17620         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
17621         Likewise.
17622         (__vdso_clock_gettime): Likewise.
17623         (__vdso_clock_getres): Likewise.
17624         (__vdso_get_tbfreq): Likewise.
17625         (__vdso_getcpu): Likewise.
17626         (__vdso_time): Likewise.
17627         (__vdso_sigtramp_rt64): Likewise.
17628         (__vdso_signtramp32): Likewise.
17629         (__vdso_sigtramp_rt32): Likewise.
17630         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
17631         Likewise.
17632         (__vdso_clock_gettime): Likewise.
17633         (__vdso_clock_getres): Likewise.
17634         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
17635         Likewise.
17636         (__vdso_clock_gettime): Likewise.
17637         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17638         Likewise.
17639         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
17640         macro.
17641         (INTERNAL_VSYSCALL): Likewise.
17642         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
17643         Remove macro.
17644         (INTERNAL_VSYSCALL): Likewise.
17645         (INTERNAL_VSYSCALL_NCS): Likewise.
17646         (INTERNAL_VSYSCALL_CALL): New macro.
17647         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17648         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
17649         Likewise.
17650         (INTERNAL_VSYSCALL): Likewise.
17651         (INTERNAL_VSYSCALL_NCS): Likewise.
17652         (INTERNAL_VSYSCALL_CALL): New macro.
17653         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17655         (INLINE_VSYSCALL): Remove macro.
17656         (INTERNAL_VSYSCALL): Remove macro.
17657         (INTERNAL_VSYSCALL_NCS): Remove macro.
17658         (INTERNAL_VSYSCALL_CALL): New macro.
17659         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
17660         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
17661         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17662         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
17663         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17665         (INLINE_VSYSCALL): Remove macro.
17666         (INTERNAL_VSYSCALL): Likewise.
17667         (INTERNAL_VSYSCALL_NCS): Likewise.
17668         (INTERNAL_VSYSCALL_CALL): New macro.
17669         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
17670         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
17671         PTR_DEMANGLE on vDSO pointer.
17672         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17673         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
17674         macro.
17675         (INTERNAL_SYSCALL): Likewise.
17676         (INTERNAL_VSYSCALL_NCS): Remove macro.
17677         (INTERNAL_VSYSCALL_CALL): New macro.
17678         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
17679         Remove macro.
17680         (INTERNAL_VSYSCALL): Likewise.
17681         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
17682         sysdep-vdso.h instead of libc-vdso.h.
17683         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
17684         definition.
17685         (INLINE_VSYSCALL): Likewise.
17686         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
17687         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
17688         definition.
17689         (INLINE_VSYSCALL): Likewise.
17690         (INTERNAL_VSYSCALL): Likewise.
17691         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17692         * sysdeps/unix/sysv/linux/timespec_get.c
17693         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17694         (timespec_get): Use ANSI prototype.
17695         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
17696         and definition for Linux.
17698 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17700         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
17701         * include/libc-symbols.h: libmvec_hidden_* macro series added.
17703 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17705         [BZ #2981]
17706         [BZ #18410]
17707         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
17708         for missing DT_PLTRELSZ.
17710 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
17712         Remove obsolete aliases that broke 'locale -a'
17713         [BZ #18412]
17714         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
17715         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
17716         breaking some applications that use 'locale -a' output.
17717         Change the encoding of this file from Latin-1 to ASCII to avoid
17718         other potential problems with people grepping this file.
17720 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17722         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
17723         -fasynchronous-unwind-tables.
17724         (CFLAGS-sendto.c): Likewise.
17725         (CFLAGS-sendmsg.c): Likewise.
17726         (CFLAGS-connect.c): Likewise.
17727         (CFLAGS-recvmsg.c): Likewise.
17728         (CFLAGS-recvfrom.c): Likewise.
17729         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
17730         (SOCKETCALL): New macro: non-cancellable socketcall.
17731         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
17732         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
17733         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
17734         * sysdeps/unix/sysv/linux/accept.c: New file.
17735         * sysdeps/unix/sysv/linux/bind.c: Likewise.
17736         * sysdeps/unix/sysv/linux/connect.c: Likewise.
17737         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
17738         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
17739         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
17740         * sysdeps/unix/sysv/linux/listen.c: Likewise.
17741         * sysdeps/unix/sysv/linux/recv.c: Likewise.
17742         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
17743         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
17744         * sysdeps/unix/sysv/linux/send.c: Likewise.
17745         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
17746         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
17747         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
17748         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
17749         * sysdeps/unix/sysv/linux/socket.c: Likewise.
17750         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
17751         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
17752         prototype.
17753         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
17754         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17755         instead of __internal_xxx function.
17756         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
17757         prototype.
17758         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
17759         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17760         instead of __internal_xxx function.
17761         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
17762         prototype.
17763         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
17764         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17765         instead of __internal_xxx function.
17766         * sysdeps/unix/sysv/linux/accept.S: Remove file.
17767         * sysdeps/unix/sysv/linux/bind.S: Likewise.
17768         * sysdeps/unix/sysv/linux/connect.S: Likewise.
17769         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
17770         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
17771         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
17772         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
17773         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
17774         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
17775         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
17776         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
17777         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17778         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
17779         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
17780         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
17781         * sysdeps/unix/sysv/linux/listen.S: Likewise.
17782         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
17783         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
17784         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
17785         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
17786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
17787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
17788         * sysdeps/unix/sysv/linux/recv.S: Likewise.
17789         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
17790         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
17791         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
17792         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17793         * sysdeps/unix/sysv/linux/send.S: Likewise.
17794         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
17795         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
17796         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
17797         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
17798         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
17799         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
17800         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
17801         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
17802         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
17803         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
17804         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
17805         socketcall is implemented in GLIBC.
17807 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
17809         * soft-fp/fmadf4.c: Include <libc-internal.h>.
17810         (__fma): Ignore uninitialized warnings around packing.
17811         * soft-fp/fmasf4.c: Include <libc-internal.h>.
17812         (__fmaf): Ignore uninitialized warnings around packing.
17813         * soft-fp/fmatf4.c: Include <libc-internal.h>.
17814         (__fmal): Ignore uninitialized warnings around packing.
17816         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
17817         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17818         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
17819         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17821         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
17822         switch statement into default case.
17823         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
17825         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
17826         a conditional in forcing "inexact".
17827         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17828         Likewise.
17830 2015-05-22  Roland McGrath  <roland@hack.frob.com>
17832         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17833         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
17834         for each INTERNAL_SYSCALL use.
17836 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
17838         [BZ #438]
17839         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
17840         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
17841         variable.
17843         [BZ #18444]
17844         * string/basename.c (basename): Rename to __basename and define as
17845         weak alias of __basename.  Use libc_hidden_weak.
17846         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
17847         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
17848         __basename instead of basename.
17849         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
17850         Remove variable.
17851         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
17853 2015-05-18  Florian Weimer  <fweimer@redhat.com>
17855         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
17856         (_IO_JUMPS_FILE_plus): New.
17857         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
17858         _IO_CAST_FIELD_ACCESS.
17859         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
17860         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
17861         * libio/freopen.c (freopen): Likewise.
17862         * libio/freopen64.c (freopen64): Likewise.
17863         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
17864         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
17865         * libio/iofwide.c (_IO_fwide): Likewise.
17866         * libio/memstream.c (open_memstream): Likewise.
17867         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17868         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17869         * libio/oldiopopen.c (_IO_old_popen): Likewise.
17871 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
17873         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
17874         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
17875         NADJ.
17876         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
17877         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
17878         NADJ.
17879         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
17880         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
17881         NADJ.
17883         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
17884         (p == 4) case.
17886         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
17887         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
17888         Remove variable.
17889         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
17890         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
17891         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
17893 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17895         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
17896         Adjust jump table label generation macros.
17898 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17900         * stdio-common/vfprintf.c (vfprintf): Move local variables
17901         args_malloced, specs, specs_malloced, and the code after
17902         do_positional to the printf_positional function.
17903         (printf_positional): New function.
17905 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17907         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
17908         function.
17909         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
17910         STEP4_TABLE, process_arg): Move macro definitions
17911         out of the vfprintf function.  (Cosmetic change only.)
17913 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
17915         * benchtests/Makefile (stdio-common-bench): Define.
17916         (benchset): Add stdio-common-bench.
17917         * sprintf-inputs: New file.
17918         * sprintf-source.c: New file.
17920 2015-05-21  Andreas Schwab  <schwab@suse.de>
17922         [BZ #13028]
17923         [BZ #17053]
17924         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
17925         of struct __res_state.
17926         * resolv/res_send.c (__libc_res_nsend): Likewise.
17927         (get_nsaddr): New function.
17928         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
17929         statp directly.
17931 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
17933         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
17934         -D_POSIX_C_SOURCE=199506L.
17936         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
17938         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
17939         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
17940         Do not mention otherwise.
17941         [POSIX] (_XOPEN_VERSION): Do not expect.
17942         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
17943         [POSIX] (_POSIX2_C_BIND): Likewise.
17944         [POSIX] (_POSIX2_VERSION): Likewise.
17945         [POSIX] (_XOPEN_XPG2): Likewise.
17946         [POSIX] (_XOPEN_XPG3): Likewise.
17947         [POSIX] (_XOPEN_XPG4): Likewise.
17948         [POSIX] (_XOPEN_UNIX): Likewise.
17949         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
17950         [POSIX] (_POSIX_BARRIERS): Likewise.
17951         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
17952         [POSIX] (_POSIX_CPUTIME): Likewise.
17953         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
17954         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
17955         [POSIX] (_POSIX_SHELL): Likewise.
17956         [POSIX] (_POSIX_SPAWN): Likewise.
17957         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
17958         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
17959         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
17960         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
17961         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
17962         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
17963         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
17964         [POSIX] (_XBS5_LP64_OFF64): Likewise.
17965         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
17966         [POSIX] (_POSIX_TIMEOUTS): Likewise.
17967         [POSIX] (_POSIX2_PBS): Likewise.
17968         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
17969         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
17970         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
17971         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
17972         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
17973         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
17974         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
17975         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
17976         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
17977         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
17978         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
17979         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
17980         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
17981         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
17982         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
17983         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
17984         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
17985         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
17986         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
17987         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
17988         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
17989         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
17990         [POSIX] (_SC_2_C_BIND): Likewise.
17991         [POSIX] (_SC_2_C_VERSION): Likewise.
17992         [POSIX] (_SC_2_PBS): Likewise.
17993         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
17994         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
17995         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
17996         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
17997         [POSIX] (_SC_2_PBS_TRACK): Likewise.
17998         [POSIX] (_SC_ATEXIT_MAX): Likewise.
17999         [POSIX] (_SC_BARRIERS): Likewise.
18000         [POSIX] (_SC_BASE): Likewise.
18001         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
18002         [POSIX] (_SC_DEVICE_IO): Likewise.
18003         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
18004         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
18005         [POSIX] (_SC_FD_MGMT): Likewise.
18006         [POSIX] (_SC_FIFO): Likewise.
18007         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
18008         [POSIX] (_SC_FILE_LOCKING): Likewise.
18009         [POSIX] (_SC_FILE_SYSTEM): Likewise.
18010         [POSIX] (_SC_IOV_MAX): Likewise.
18011         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
18012         [POSIX] (_SC_NETWORKING): Likewise.
18013         [POSIX] (_SC_PAGE_SIZE): Likewise.
18014         [POSIX] (_SC_PASS_MAX): Likewise.
18015         [POSIX] (_SC_PIPE): Likewise.
18016         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
18017         [POSIX] (_SC_REGEXP): Likewise.
18018         [POSIX] (_SC_SHELL): Likewise.
18019         [POSIX] (_SC_SIGNALS): Likewise.
18020         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
18021         [POSIX] (_SC_SPIN_LOCKS): Likewise.
18022         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
18023         [POSIX] (_SC_USER_GROUPS): Likewise.
18024         [POSIX] (_SC_USER_GROUPS_R): Likewise.
18025         [POSIX] (_SC_STREAMS): Likewise.
18026         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
18027         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
18028         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
18029         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
18030         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
18031         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
18032         [POSIX] (_PC_FILESIZEBITS): Likewise.
18033         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
18034         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
18035         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
18036         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
18037         [POSIX] (uid_t): Likewise.
18038         [POSIX] (gid_t): Likewise.
18039         [POSIX] (off_t): Likewise.
18040         [POSIX] (pid_t): Likewise.
18041         [POSIX] (cuserid): Allow.
18042         (_SC_2_CHAR_TERM): Require constant.
18043         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
18044         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
18045         variable.
18047 2015-05-20  Roland McGrath  <roland@hack.frob.com>
18049         * sysdeps/nacl/pthread-pids.h: New file.
18050         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
18051         (create_thread): Use __nacl_get_tid to initialize PD->tid.
18053         * nptl/pthread-pids.h: New file.
18054         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
18055         * nptl/nptl-init.c: Include <pthread-pids.h>.
18056         (__pthread_initialize_minimal_internal):
18057         Call __pthread_initialize_pids instead of set_tid_address syscall.
18059         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
18060         * sysdeps/posix/usleep.c: ... here.
18062 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18064         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
18065         call_pselect6 object.
18066         [$(subdir) = io]: Remove call_sync_file_range object.
18067         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
18068         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
18069         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
18070         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
18072 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
18074         * math/s_cproj.c: Add include "math_private.h".
18075         * math/s_cprojf.c: Likewise.
18076         * math/s_cprojl.c: Likewise.
18078 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
18080         [BZ #18244]
18081         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
18082         high mantissa bit when testing whether P is a NaN.
18083         * math/libm-test.inc (remainder_test_data): Add more tests.
18084         (remquo_test_data): Likewise.
18086         [BZ #18049]
18087         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
18088         below -32, return the argument, with underflow if subnormal.
18089         * math/auto-libm-test-in: Add more tests of atanh.
18090         * math/auto-libm-test-out: Regenerated.
18092 2015-05-19  Roland McGrath  <roland@hack.frob.com>
18094         [BZ #18434]
18095         * nptl/tst-sem15.c: New file.
18096         * nptl/Makefile (tests): Add it.
18097         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
18098         s/<</>>/ to fix typo in EOVERFLOW check.
18099         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
18101 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18103         * manual/strings.texi (envz_remove): Fix typo in safety
18104         annotations.
18106 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
18107             Steve Ellcey  <sellcey@imgtec.com>
18109         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
18110         in order to avoid strict alias warnings.
18111         (iruserok_af): Ditto for ra.
18113 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
18115         [BZ #17581]
18116         * malloc/hooks.c
18117         (magicbyte): Convert to a function and avoid returning 0x01.
18118         (mem2mem_check): Avoid using a length byte equal to the magic byte.
18119         (mem2chunk_check): Fix unsigned comparisons to zero.
18120         Hoist defs of sz and magic.
18122 2015-05-19  Richard Henderson  <rth@redhat.com>
18124         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
18126         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18128 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18130         [BZ #16159]
18131         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
18132         * malloc/arena.c (arena_lock): Check if arena is corrupt.
18133         (reused_arena): Find a non-corrupt arena.
18134         (heap_trim): Pass arena to unlink.
18135         * malloc/hooks.c (malloc_check_get_size): Pass arena to
18136         malloc_printerr.
18137         (top_check): Likewise.
18138         (free_check): Likewise.
18139         (realloc_check): Likewise.
18140         * malloc/malloc.c (malloc_printerr): Add arena argument.
18141         (unlink): Likewise.
18142         (munmap_chunk): Adjust.
18143         (ARENA_CORRUPTION_BIT): New macro.
18144         (arena_is_corrupt): Likewise.
18145         (set_arena_corrupt): Likewise.
18146         (sysmalloc): Use mmap if there are no usable arenas.
18147         (_int_malloc): Likewise.
18148         (__libc_malloc): Don't fail if arena_get returns NULL.
18149         (_mid_memalign): Likewise.
18150         (__libc_calloc): Likewise.
18151         (__libc_realloc): Adjust for additional argument to
18152         malloc_printerr.
18153         (_int_free): Likewise.
18154         (malloc_consolidate): Likewise.
18155         (_int_realloc): Likewise.
18156         (_int_memalign): Don't touch corrupt arenas.
18157         * malloc/tst-malloc-backtrace.c: New test case.
18159         * Makefile (summarize-tests): Fix return value on success.
18161         * manual/string.texi (Envz Functions): Add envz_remove.
18163 2015-05-18  Roland McGrath  <roland@hack.frob.com>
18165         * sysdeps/posix/opendir.c: Include <stdbool.h>.
18166         (invalid_name): New function, broken out of ...
18167         (__opendirat): ... here.  Call it.
18168         (need_isdir_precheck): New function, broken out of ...
18169         (__opendirat): ... here.  Call it.
18170         Use __fxstatat64, not __xstatat64.
18171         (opendir_oflags): New function, broken out of ...
18172         (__opendirat): ... here.  Call it.
18173         (opendir_tail): New function, broken out of ...
18174         (__opendirat): ... here.  Call it.
18175         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
18176         opendir_tail, rather than punting to __opendirat.
18177         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
18179 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18181         * .gitignore: Ignore generated *.pyc.
18183 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
18185         * include/stdio.h: Define __need_wint_t.
18186         * test-skeleton.c: Avoid `for' loop initial declaration.
18187         * nptl/tst-initializers1.c: Use test-skeleton.c.
18189 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18191         [BZ #18418]
18192         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
18194 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18196         [BZ #16352]
18197         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
18198         (__ieee754_atanh): Force underflow exception for results with
18199         small absolute value.
18200         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
18201         (__ieee754_atanhf): Force underflow exception for results with
18202         small absolute value.
18203         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
18204         (__ieee754_atanh): Force underflow exception for results with
18205         small absolute value.
18206         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
18207         (__ieee754_atanhf): Force underflow exception for results with
18208         small absolute value.
18209         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
18210         (__ieee754_atanhl): Force underflow exception for results with
18211         small absolute value.
18212         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
18213         (__ieee754_atanhl): Force underflow exception for results with
18214         small absolute value.
18215         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
18216         (__ieee754_atanhl): Force underflow exception for results with
18217         small absolute value.
18218         * math/auto-libm-test-in: Do not allow missing underflow
18219         exceptions from atanh.
18220         * math/auto-libm-test-out: Regenerated.
18222         [BZ #18221]
18223         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
18224         2**-28 as threshold for returning x or +/- 1/x.
18225         * math/auto-libm-test-in: Add more tests of tan.
18226         * math/auto-libm-test-out: Regenerated.
18228         [BZ #18220]
18229         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18230         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
18231         * math/auto-libm-test-in: Add another test of lgamma.
18232         * math/auto-libm-test-out: Regenerated.
18234 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
18236         * stdio-common/printf_fp.c (___printf_fp): Use abs.
18237         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
18238         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
18239         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
18240         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
18241         (ADD2A): Use fabs.  (SUB2A): Use fabs.
18242         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
18243         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
18244         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
18245         (log1): Use fabs.  (my_log2): Use fabs.
18246         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
18247         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
18248         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
18249         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
18250         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
18251         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
18252         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
18253         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
18254         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
18255         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
18256         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
18258 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18260         [BZ #18217]
18261         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
18262         as threshold for returning 1 - x.
18263         * math/auto-libm-test-in: Add more tests of erfc.
18264         * math/auto-libm-test-out: Regenerated.
18266 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
18268         [BZ #18196]
18269         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
18270         threshold for large arguments.
18271         * math/auto-libm-test-in: Add another test of atan.
18272         * math/auto-libm-test-out: Regenerated.
18274         [BZ #16339]
18275         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
18276         (__log1p): Force underflow exception for results with small
18277         absolute value.
18278         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
18279         (__log1pf): Force underflow exception for results with small
18280         absolute value.
18281         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
18282         (__log1p): Force underflow exception for results with small
18283         absolute value.
18284         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
18285         (__log1pf): Force underflow exception for results with small
18286         absolute value.
18287         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
18288         (__log1pl): Force underflow exception for results with small
18289         absolute value.
18290         * math/auto-libm-test-in: Do not allow missing underflow
18291         exceptions from log1p.
18292         * math/auto-libm-test-out: Regenerated.
18294 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
18295             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18297         [BZ #16704]
18298         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
18300 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
18302         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
18303         (libmvec): New variable.
18304         * configure.ac: Added option for mathvec build.
18305         * configure: Regenerated.
18306         * mathvec/Depend: New file.
18307         * mathvec/Makefile: New file.
18308         * shlib-versions: Added libmvec.
18309         * math/Makefile: Added rule for libm.so installation.
18311         * bits/math-vector.h: New file.
18312         * bits/libm-simd-decl-stubs.h: New header.
18313         * math/Makefile (headers): Added new header
18314         libm-simd-decl-stubs.h.
18315         * math/math.h (__MATHCALL_VEC): New macro.
18317         * math/gen-libm-have-vector-test.sh: Script generates series of macros
18318         for conditions in testing functions.
18319         * math/Makefile: Added call of libm-have-vector-test.sh.
18320         * math/libm-test.inc (HAVE_VECTOR): New macros.
18322         * math/libm-test.inc: START refactored.
18323         * math/test-double.c (TEST_MATHVEC): Add define.
18324         * math/test-float.c: Likewise.
18325         * math/test-idouble.c: Likewise.
18326         * math/test-ifloat.c: Likewise.
18327         * math/test-ildoubl.c: Likewise.
18328         * math/test-ldouble.c: Likewise.
18329         * sysdeps/generic/math-tests-arch.h
18330         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
18331         architecture check.
18333         * math/test-double.c (FUNC_TEST): New macro.
18334         * math/test-float.c: Likewise.
18335         * math/test-idouble.c: Likewise.
18336         * math/test-ifloat.c: Likewise.
18337         * math/test-ildoubl.c: Likewise.
18338         * math/test-ldouble.c: Likewise.
18339         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
18341 2015-05-13  Roland McGrath  <roland@hack.frob.com>
18343         * sysdeps/nacl/fdopendir.c: New file.
18345         * dirent/scandir-tail.c: New file.
18346         * dirent/scandir64-tail.c: New file.
18347         * dirent/Makefile (routines): Add them.
18348         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
18349         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
18350         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
18351         [!SCANDIR] (SCANDIR_TAIL): New macro.
18352         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
18353         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
18354         (SCANDIRAT): Macro removed.
18355         (SCANDIR_TAIL): New macro.
18356         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
18357         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
18358         (SCANDIRAT): Just call __opendirat and __scandir_tail.
18359         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
18360         (READDIR): Macro removed.
18361         (SCANDIR_TAIL): New macro.
18362         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
18363         (SCANDIR_TAIL): New macro.
18365         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
18366         * dirent/scandir-cancel.c: ... to this new file.
18367         * dirent/Makefile (routines): Add it.
18368         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
18369         * sysdeps/unix/sysv/linux/i386/scandir64.c
18370         (SKIP_SCANDIR_CANCEL): Macro removed.
18371         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
18373         * dirent/tst-scandir.c: New file.
18374         * dirent/tst-scandir64.c: New file.
18375         * dirent/Makefile (tests): Add them.
18377 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18379         [BZ #18409]
18380         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
18382 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18384         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
18385         list.
18387 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
18389         * benchtests/bench-strcoll.c: New benchmark.
18390         * benchtests/Makefile: Generate locales and run benchmark.
18391         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
18392         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18393         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
18394         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
18395         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
18396         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
18397         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
18398         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
18399         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
18400         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
18401         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
18402         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
18403         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
18404         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
18405         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
18406         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
18407         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
18408         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
18409         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
18410         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
18411         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
18412         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
18413         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
18414         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
18416 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
18418         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
18419         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18421 2015-05-12  Roland McGrath  <roland@hack.frob.com>
18423         * posix/uname-values.h: New file.
18424         * posix/uname.c: Include that instead of <config-name.h>.
18425         * sysdeps/nacl/uname-values.h: New file.
18426         * sysdeps/arm/nacl/uname-values.h: New file.
18428 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
18430         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
18431         splitting into fields.
18433 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
18435         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
18436         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
18437         * locale/localeinfo.h: Add enum collation_encoding_type.
18438         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
18439         * programs/ld-collate.c (collate_output): Add encoding type info.
18440         * string/strcoll_l.c (STRDIFF): New function.
18441         * (STRCOLL): Use STRDIFF to skip over equal prefix.
18442         * wcsmbs/wcscoll_l.c: Define STRDIFF.
18444 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
18446         [BZ #18397]
18447         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
18448         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
18449         <fpu_control.h> instead of <math/fpu_control.c>.
18450         * sysdeps/mips/mips32/fpu/Makefile: New file.
18452 2015-05-11  Andreas Schwab  <schwab@suse.de>
18454         [BZ #18007]
18455         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
18456         nss_endgrent.
18457         (_nss_compat_endgrent): Call nss_endgrent.
18458         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
18459         nss_endpwent.
18460         (_nss_compat_endpwent): Call nss_endpwent.
18461         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
18462         needent, call nss_setspent only if non-zero.
18463         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
18464         (internal_endspent): Don't call nss_endspent.
18465         (_nss_compat_endspent): Call nss_endspent.
18466         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
18467         Remove.  All uses removed.
18468         (internal_setent): Remove parameter stayopen, add parameter
18469         stream.  Use it instead of global variable.
18470         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
18471         (internal_endent, internal_getent): Add parameter stream.  Use it
18472         instead of global variable.
18473         (CONCAT(_nss_files_end,ENTNAME))
18474         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
18475         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
18476         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
18477         uses removed.
18478         (internal_setent, internal_endent): Add parameter stream.  Use it
18479         instead of global variable.
18480         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
18481         stream.
18482         (get_next_alias): Add parameter stream.
18483         (_nss_files_getaliasent_r): Pass global stream.
18484         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
18485         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
18486         (_nss_files_gethostbyname4_r): Pass local stream to
18487         internal_setent, internal_getent and internal_endent.  Remove
18488         locking.
18490 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18492         * tst-strfmon1.c (tests): Update expected currency symbol.
18494 2015-05-08  Roland McGrath  <roland@hack.frob.com>
18496         * sysdeps/nacl/gethostname.c: New file.
18498 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
18500         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
18501         and sinh.
18502         * math/auto-libm-test-out: Regenerated.
18503         * sysdeps/i386/fpu/libm-test-ulps: Update.
18504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18506 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
18508         [BZ #18125]
18509         * stdlib/tst-setcontext3.c: New file.
18510         * stdlib/tst-setcontext3.sh: New file.
18511         * stdlib/Makefile (tests): Add tst-setcontext3.
18512         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
18513         to verify test program created output file.
18514         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
18515         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
18516         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
18517         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
18519 2015-05-06  Roland McGrath  <roland@hack.frob.com>
18521         [BZ #18383]
18522         * elf/tst-tlsalign.c: New file.
18523         * elf/tst-tlsalign-static.c: New file.
18524         * elf/tst-tlsalign-lib.c: New file.
18525         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
18526         (tests-static): Add tst-tlsalign-static.
18527         (modules-names): Add tst-tlsalign-lib.
18528         (test-xfail-tst-tlsalign): New variable.
18529         (test-xfail-tst-tlsalign-static): New variable.
18531         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
18532         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
18534 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
18536         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
18537         csqrt, erfc, sin and sincos.
18538         * math/auto-libm-test-out: Regenerated.
18539         * sysdeps/i386/fpu/libm-test-ulps: Update.
18540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18542 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18544         * sysdeps/aarch64/libm-test-ulps: Update.
18546 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
18548         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
18549         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
18550         * math/auto-libm-test-out: Regenerated.
18551         * sysdeps/i386/fpu/libm-test-ulps: Update.
18552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18554 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18556         [BZ #18265]
18557         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
18558         (wcsncpy): Likewise.
18560 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18562         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18563         Assume __ASSUME_FALLOCATE is always true.
18564         * sysdeps/unix/sysv/linux/posix_fallocate64.c
18565         (__posix_fallocate64_l64): Likweise.
18566         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
18567         (posix_fallocate): Likewise.
18568         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
18569         (__posix_fallocate64_l64): Likewise.
18570         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18571         [!__ASSUME_FALLOCATE]: Add comment.
18573 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18575         * sysdeps/unix/sysv/linux/i386/Makefile
18576         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
18577         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
18578         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
18579         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18580         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18581         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
18582         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
18584 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
18586         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
18587         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
18588         tgamma.
18589         * math/auto-libm-test-out: Regenerated.
18590         * sysdeps/i386/fpu/libm-test-ulps: Update.
18591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18593 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18595         * math/auto-libm-test-in: Add more tests of tgamma.
18596         * math/auto-libm-test-out: Regenerated.
18597         * sysdeps/i386/fpu/libm-test-ulps: Update.
18598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18600         * math/auto-libm-test-in: Add more tests of tanh.
18601         * math/auto-libm-test-out: Regenerated.
18602         * sysdeps/i386/fpu/libm-test-ulps: Update.
18603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18605         * math/auto-libm-test-in: Add more tests of tan.
18606         * math/auto-libm-test-out: Regenerated.
18607         * sysdeps/i386/fpu/libm-test-ulps: Update.
18608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18610         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
18611         * math/auto-libm-test-out: Regenerated.
18612         * sysdeps/i386/fpu/libm-test-ulps: Update.
18613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18615         * math/auto-libm-test-in: Add another test of pow.
18616         * math/auto-libm-test-out: Regenerated.
18617         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18619         * math/auto-libm-test-in: Add more tests of lgamma.
18620         * math/auto-libm-test-out: Regenerated.
18621         * sysdeps/i386/fpu/libm-test-ulps: Update.
18622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18624         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
18625         log1p.
18626         * math/auto-libm-test-out: Regenerated.
18627         * sysdeps/i386/fpu/libm-test-ulps: Update.
18628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18630 2015-05-01  Mark Wielaard  <mjw@redhat.com>
18632         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
18633         Elf64_Chdr structs and ELFCOMPRESS constants.
18635 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18637         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
18638         expm1.
18639         * math/auto-libm-test-out: Regenerated.
18640         * sysdeps/i386/fpu/libm-test-ulps: Update.
18641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18643         * math/auto-libm-test-in: Add more tests of erf and erfc.
18644         * math/auto-libm-test-out: Regenerated.
18645         * sysdeps/i386/fpu/libm-test-ulps: Update.
18646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18648 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18650         * config.h.in (HAVE_AARCH64_BE): Add.
18652 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
18654         * math/auto-libm-test-in: Add more tests of csqrt.
18655         * math/auto-libm-test-out: Regenerated.
18656         * sysdeps/i386/fpu/libm-test-ulps: Update.
18657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18659         * math/auto-libm-test-in: Add more tests of cosh and sinh.
18660         * math/auto-libm-test-out: Regenerated.
18661         * sysdeps/i386/fpu/libm-test-ulps: Update.
18662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18664         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
18666 2015-04-29  Roland McGrath  <roland@hack.frob.com>
18668         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
18669         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
18671         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
18672         (euidaccess, eaccess): Define as weak aliases.
18674         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
18675         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
18676         but __suseconds_t is often 'long int' so some sources assume that
18677         type is being used (e.g. they use %ld to print tv_usec).
18679 2015-04-29  Florian Weimer  <fweimer@redhat.com>
18681         [BZ #18007]
18682         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
18683         (CVE-2014-8121)
18684         * nss/tst-nss-getpwent.c: New file.
18685         * nss/Makefile (tests): Add new test.
18687 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
18689         [BZ #18346]
18690         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
18691         exponents less than 48 as cases where high part of mantissa needs
18692         examining to determine whether argument is integral.
18693         * math/libm-test.inc (round_test_data): Add more tests.
18695 2015-04-28  Mark Wielaard  <mjw@redhat.com>
18697         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
18699 2015-04-27  David S. Miller  <davem@davemloft.net>
18701         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
18702         __tls_get_addr.
18703         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18705 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
18707         [BZ#18333]
18708         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
18710 2015-04-27  Florian Weimer  <fweimer@redhat.com>
18712         [BZ#18333]
18713         * time/tzset.c (parse_tzname): Return error on memory allocation
18714         failure.
18715         * test-skeleton.c (struct temp_name_list): Change type of name
18716         member to non-const.
18717         (add_temp_file): Create a copy of the file name.
18718         (delete_temp_files): Deallocate memory.
18719         (create_temp_file): Add comment.
18721 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18723         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
18724         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
18726 2015-04-24  Roland McGrath  <roland@hack.frob.com>
18728         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
18729         * sysdeps/arm/configure: Regenerated.
18731 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18733         [BZ #17715]
18734         * time/tzfile.c (__tzfile_read): Check for large values of
18735         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
18736         * time/tzset.c (__tzstring_len): New function, based on the old
18737         __tzstring function.
18738         (__tzstring): Call __tzstring_len.
18739         (parse_tzname): New helper function extracted from
18740         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
18741         the input string.
18742         (parse_offset): New helper function extracted from
18743         __tzset_parse_tz.  Replace switch with fallthrough with
18744         initialization before sscanf.
18745         (parse_rule): Likewise.
18746         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
18747         new-style function definition.
18748         * timezone/Makefile (tests): Add tst-tzset.
18749         (tst-tzset.out): Dependencies on time zone files.
18750         (tst-tzset-ENV): Set TZDIR.
18751         (testdata/XT%): Copy crafted time zone files.
18752         * timezone/README: Mention crafted time zone files.
18753         * timezone/testdata/XT1, timezone/testdata/XT2,
18754         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
18755         files.
18756         * timezone/tst-tzset.c: New test.
18758 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18760         * Makeconfig (+gccwarn): Remove -Winline.
18762 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18764         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
18766 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18768         * NEWS: Mention sysconf() cache information support for s390.
18769         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
18771 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
18773         * math/k_casinh.c (__kernel_casinh): Use __copysign.
18774         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
18775         (__nearbyint): Likewise.
18776         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
18777         (copysignl): Likewise.
18779 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
18781         [BZ #18287]
18782         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
18783         based on padding.  (CVE-2015-1781)
18785 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18787         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
18788         libc-vdso.h.
18789         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
18790         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
18791         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
18792         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18793         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18794         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
18795         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
18796         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18797         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18798         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
18799         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18800         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18801         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18802         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
18803         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18804         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
18805         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
18806         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
18807         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
18808         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
18809         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
18810         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
18811         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
18813 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
18815         * stdlib/setenv.c (__add_to_environ):
18816         Dump core quickly if setenv (..., NULL, ...) is called.
18817         This time, do it the right way, and pacify GCC with a pragma.
18819 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18821         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
18822         IMAP->l_prev cannot be null, and #if out the code for the contrary
18823         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
18824         believe that NS (&_dl_ns[NSID]) could point outside the array.
18826         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
18827         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
18828         before using NSID as an index.
18830 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
18832         [BZ #17825]
18833         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
18834         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
18835         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18837 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18839         Add preliminary port to Google Native Client on ARM.
18840         * abi-tags (.*-.*-nacl.*): New entry.
18841         * sysdeps/arm/nacl: New directory.
18842         * sysdeps/nacl: New directory.
18844 2015-04-16  David S. Miller  <davem@davemloft.net>
18846         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
18847         lowlevellock-futex.h
18849 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
18851         * sysdeps/tile/configure.ac: New file.
18852         * sysdeps/tile/configure: Regenerated.
18854 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18856         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
18857         conditionals for weak_alias and libc_hidden_weak.
18858         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
18859         libc_hidden_weak and weak_alias.
18860         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
18861         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
18862         and weak_alias for static one.
18864 2015-04-15  David S. Miller  <davem@davemloft.net>
18866         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18868 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18870         [BZ #18206]
18871         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
18872           Use signed comparision instead of substraction to avoid
18873           overflow bug.
18874         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
18875           Take the sign of ret.
18876         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
18877           Do not expect precise return values. Only the sign matters.
18878         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
18879         * wcsmbs/test-wcsncmp.c: New File.
18880         * string/test-strncmp.c: Add wcsncmp support.
18882 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18884         [BZ #6792]
18885         * math/w_log1p.c: New file.
18886         * math/w_log1pf.c: Likewise.
18887         * math/w_log1pl.c: Likewise.
18888         * math/Makefile (libm-calls): Add w_log1p.
18889         * math/s_log1pl.c (log1pl): Remove weak_alias.
18890         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
18891         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
18892         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
18893         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
18894         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
18895         [NO_LONG_DOUBLE] (log1pl): Likewise.
18896         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
18897         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
18898         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
18899         (log1p): Remove long_double_symbol.
18900         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
18901         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
18902         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
18903         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
18904         remove weak_alias for corresponding log1p function.
18905         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
18906         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
18907         * sysdeps/ia64/fpu/w_log1p.c: New file.
18908         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
18909         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
18910         * math/libm-test.inc (log1p_test_data): Add errno expectations.
18912 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
18914         [BZ #18247]
18915         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
18916         decimal exponent by 1.
18917         * stdlib/tst-strtod-round-data: Add more tests.
18918         * stdlib/tst-strtod-round.c (tests): Regenerated.
18920 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
18922         * math/auto-libm-test-in: Add more tests of clog and clog10.
18923         * math/auto-libm-test-out: Regenerated.
18924         * sysdeps/i386/fpu/libm-test-ulps: Update.
18925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18927 2015-04-09  Roland McGrath  <roland@hack.frob.com>
18929         * Makeconfig (module-cppflags): Exclude all .v.i files.
18930         (skip-module-cppflags): Variable removed.
18932         * configure.ac (libc_config_ok): Initialize before reading
18933         preconfigure scripts, not after.
18934         * configure: Regenerated.
18936         * test-skeleton.c (TIMEOUT): Move #define to top level.
18937         (main): Grok environment variable TEST_DIRECT.  If set, print
18938         test expectation details into that file and then behave as if
18939         given --direct.
18941 2015-04-09  Florian Weimer  <fweimer@redhat.com>
18943         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
18944         warning on 32-bit.
18946 2015-04-08  David S. Miller  <davem@davemloft.net>
18948         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18950 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18952         * math/auto-libm-test-in: Add more tests of atanh.
18953         * math/auto-libm-test-out: Regenerated.
18954         * sysdeps/i386/fpu/libm-test-ulps: Update.
18955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18957         * math/auto-libm-test-in: Add more tests of atan.
18958         * math/auto-libm-test-out: Regenerated.
18959         * sysdeps/i386/fpu/libm-test-ulps: Update.
18960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18962 2015-04-08  Florian Weimer  <fweimer@redhat.com>
18964         * elf/pldd.c (main): Rewrite to use struct
18965         scratch_buffer instead of extend_alloca.
18966         * elf/pldd-xx.c (find_maps): Likewise.
18967         * grp/initgroups.c: Include <scratch_buffer.h> instead of
18968         <alloca.h>.
18969         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
18970         scratch_buffer instead of extend_alloca.
18971         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
18972         grp/compat-initgroups.c.
18973         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
18974         Rewrite to use struct scratch_buffer instead of extend_alloca.
18975         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
18976         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18978 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18980         * math/auto-libm-test-in: Add more tests of cbrt.
18981         * math/auto-libm-test-out: Regenerated.
18982         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18984         * math/auto-libm-test-in: Add more tests of cabs.
18985         * math/auto-libm-test-out: Regenerated.
18986         * sysdeps/i386/fpu/libm-test-ulps: Update.
18987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18989         [BZ #18210]
18990         [BZ #18211]
18991         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
18992         (__ieee754_atan2): Set FE_TONEAREST mode for internal
18993         computations.
18994         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
18995         clog10.
18996         * math/auto-libm-test-out: Regenerated.
18997         * sysdeps/i386/fpu/libm-test-ulps: Update.
18998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19000         [BZ #18197]
19001         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
19002         (atan): Set FE_TONEAREST mode for internal computations.
19003         * math/auto-libm-test-in: Add more tests of atan.
19004         * math/auto-libm-test-out: Regenerated.
19006 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
19008         [BZ #17930]
19009         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
19011 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19013         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
19015 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19017         * include/scratch_buffer.h: New file.
19018         * malloc/scratch_buffer_grow.c: Likewise.
19019         * malloc/scratch_buffer_grow_preserve.c: Likewise.
19020         * malloc/scratch_buffer_set_array_size.c: Likewise.
19021         * malloc/tst-scratch_buffer.c: Likewise.
19022         * malloc/Makefile (routines): Add scratch_buffer_grow.
19023         (tests): Add test case.
19024         * malloc/Versions (GLIBC_PRIVATE): Export
19025         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
19026         __libc_scratch_buffer_set_array_size.
19028 2015-04-06  Richard Henderson  <rth@redhat.com>
19030         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
19031         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19033         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
19034         unsigned int before printing.
19036 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19038         [BZ #17596]
19039         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
19040         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19042 2015-04-02  Florian Weimer  <fweimer@redhat.com>
19044         * include/libc-internal.h (libc_max_align_t): Define.
19046 2015-04-02  Andreas Schwab  <schwab@suse.de>
19048         [BZ #16850]
19049         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
19051 2015-04-02  Mel Gorman  <mgorman@suse.de>
19053         [BZ #17195]
19054         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
19055         as well as the main arena.
19057 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19059         [BZ #18185]
19060         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
19061         sharing L2 cache to 2 for Silvermont/Knights Landing.
19063 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19065         [BZ #17711]
19066         * config.make.in (have-protected-data): New.
19067         * configure.ac: Check linker support for protected data symbol.
19068         * configure: Regenerated.
19069         * elf/Makefile (modules-names): Add tst-protected1moda and
19070         tst-protected1modb if $(have-protected-data) is yes.
19071         (tests): Add tst-protected1a and tst-protected1b if
19072         $(have-protected-data) is yes.
19073         ($(objpfx)tst-protected1a): New.
19074         ($(objpfx)tst-protected1b): Likewise.
19075         (tst-protected1modb.so-no-z-defs): Likewise.
19076         * elf/tst-protected1a.c: New file.
19077         * elf/tst-protected1b.c: Likewise.
19078         * elf/tst-protected1mod.h: Likewise.
19079         * elf/tst-protected1moda.c: Likewise.
19080         * elf/tst-protected1modb.c: Likewise.
19082 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19084         [BZ #17711]
19085         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
19086         indicates it is called from do_lookup_x on relocation against
19087         protected data, skip the data definion in the executable from
19088         copy reloc.
19089         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
19090         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
19091         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
19092         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
19093         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
19094         otherwise to 0.
19095         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19096         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
19097         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
19098         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19099         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
19100         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
19102 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
19104         * sysdeps/nptl/pthread.h: Remove duplicate definition of
19105         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
19107 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
19109         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
19110         THREAD_SETMEM_NC.
19111         * sysdeps/x86_64/nptl/tls.h: Ditto.
19113 2015-03-27  Roland McGrath  <roland@hack.frob.com>
19115         * dlfcn/tststatic.c (main): Converted to ...
19116         (do_test): ... this.
19117         (TEST_FUNCTION): New macro.
19118         Include test-skeleton.c.
19120 2015-03-26  Alan Modra  <amodra@gmail.com>
19122         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
19123         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
19124         zero for undefined weak.
19125         (elf_machine_plt_conflict): Similarly.
19127 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19129         * math/auto-libm-test-in: Add more tests of acosh, asinh and
19130         atanh.
19131         * math/auto-libm-test-out: Regenerated.
19132         * sysdeps/i386/fpu/libm-test-ulps: Update.
19133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19135         * math/auto-libm-test-in: Add another test of asin.
19136         * math/auto-libm-test-out: Regenerated.
19137         * sysdeps/i386/fpu/libm-test-ulps: Update.
19138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19140         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
19141         Remove macro.
19142         (LLL_EBX_REG): Likewise.
19143         (LLL_ENTER_KERNEL): Likewise.
19145         * math/auto-libm-test-in: Add more tests of asin.
19146         * math/auto-libm-test-out: Regenerated.
19147         * sysdeps/i386/fpu/libm-test-ulps: Update.
19148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19150         [BZ #18138]
19151         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
19152         libc_do_syscall_args): New structure.
19153         (INTERNAL_SYSCALL_MAIN_0): New macro.
19154         (INTERNAL_SYSCALL_MAIN_1): Likewise.
19155         (INTERNAL_SYSCALL_MAIN_2): Likewise.
19156         (INTERNAL_SYSCALL_MAIN_3): Likewise.
19157         (INTERNAL_SYSCALL_MAIN_4): Likewise.
19158         (INTERNAL_SYSCALL_MAIN_5): Likewise.
19159         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
19160         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
19161         Replace conditional definitions by conditional definitions of ....
19162         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
19163         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
19164         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
19165         (libpthread-sysdep_routines): Add libc-do-syscall.
19166         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
19167         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
19168         to __NR_futex not 240.
19170 2015-03-25  Alan Modra  <amodra@gmail.com>
19172         * NEWS: Advertise TLS optimization.
19173         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
19174         (DT_PPC_NUM): Increment.
19175         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
19176         (CHECK_STATIC_TLS): Use here.
19177         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
19178         TLS descriptors.
19179         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19180         * sysdeps/powerpc/dl-tls.c: New file.
19181         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
19182         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
19183         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
19184         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
19185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
19186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
19187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
19189 2015-03-25  Alan Modra  <amodra@gmail.com>
19191         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
19192         for overlapping .opd entries" to "support...".
19193         * sysdeps/powerpc/powerpc64/configure: Regenerate
19195 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19197         * math/auto-libm-test-in: Add more tests of acos.
19198         * math/auto-libm-test-out: Regenerated.
19199         * sysdeps/i386/fpu/libm-test-ulps: Update.
19200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19202         * math/auto-libm-test-in: Add more tests of expm1.
19203         * math/auto-libm-test-out: Regenerated.
19204         * sysdeps/i386/fpu/libm-test-ulps: Update.
19205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19207 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
19209         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19210         * math/auto-libm-test-out: Regenerated.
19211         * sysdeps/i386/fpu/libm-test-ulps: Update.
19212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19214         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19217         * math/auto-libm-test-in: Add more tests of log2.
19218         * math/auto-libm-test-out: Regenerated.
19219         * sysdeps/i386/fpu/libm-test-ulps: Update.
19220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19222 2015-03-23  Roland McGrath  <roland@hack.frob.com>
19224         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
19225         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
19226         _IO_IS_APPENDING bit in READ_WRITE instead.
19228 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19230         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19231         (__determine_cpumask_size): Replace extend_alloca with a
19232         variable-length array.  Do not treat res == 0 as an error.
19234 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19236         [BZ #18100]
19237         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
19238         and integer overflow.
19239         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
19240         (main): Add integer overflow tests.
19241         * manual/pattern.texi (Calling Wordexp): Document additional use
19242         for WRDE_SYNTAX.
19244 2015-03-23  Alan Modra  <amodra@gmail.com>
19246         * config.h.in: Remove HAVE_ASM_PPC_REL16.
19247         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
19248         and false branch of conditional.
19249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19250         Likewise.
19252 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
19254         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
19255         libc-modules.h
19256         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
19257         unused declaration of _hurd_intr_rpc_msg_in_trap.
19258         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
19259         defined instead of whether it is non-zero.
19260         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
19261         input constraint instead of both input and output constraint.  Use ecx
19262         clobber instead of %ecx.
19263         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
19264         mutex_unlock): Use a statement expression instead of an expression list.
19265         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
19266         type to vm_size_t instead of vm_address_t.
19267         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
19268         defined instead of whether it is non-zero.
19269         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
19270         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
19271         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
19272         comparisons with mapaddr.
19273         * nscd/nscd-client.h: Include <time.h>.
19274         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
19275         9th parameter to __vm_region instead of int.
19276         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
19277         * scripts/check-local-headers.sh (exclude): Add device/,
19278         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
19279         cthreads.h.
19281 2015-03-19  Roland McGrath  <roland@hack.frob.com>
19283         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
19284         to account for alignment padding.
19285         * sysdeps/arm/memmove.S: Likewise.
19287 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
19289         * sysdeps/unix/sysv/linux/generic/README: New file.
19291 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
19293         [BZ #18138]
19294         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
19295         (futex_abstimed_wait)
19296         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
19297         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
19298         of lll_futex_timed_wait.
19300 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
19302         [BZ #17542]
19303         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
19305 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
19307         [BZ #17090]
19308         [BZ #17620]
19309         [BZ #17621]
19310         [BZ #17628]
19311         * NEWS: Update.
19312         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
19313         entries with Static TLS too.  Skip entries past the end of the
19314         allocated DTV, from Alan Modra.
19315         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
19316         Static TLS DTV entry set up from...
19317         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
19318         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
19319         * nptl/allocatestack.c (init_one_static_tls): ... and here...
19320         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
19321         for Static TLS.
19322         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
19323         that the slot we find is associated with the given map before
19324         using its generation count.
19325         * nptl_db/db_info.c: Include ldsodefs.h.
19326         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
19327         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
19328         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
19329         (link_map::l_tls_offset): New struct field.
19330         (dtv_t::counter): Likewise.
19331         (rtld_global): New struct.
19332         (_rtld_global): New rtld variable.
19333         (dl_tls_dtv_slotinfo_list): New rtld global field.
19334         (dtv_slotinfo_list): New struct.
19335         (dtv_slotinfo): Likewise.
19336         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
19337         (td_lookup): Rename to...
19338         (td_mod_lookup): ... this.  Use new mod parameter instead of
19339         LIBPTHREAD_SO.
19340         * nptl_db/td_thr_tlsbase.c: Include link.h.
19341         (dtv_slotinfo_list, dtv_slotinfo): New functions.
19342         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
19343         addresses even if the DTV is out of date or missing them.
19344         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
19345         index zero-length arrays.
19346         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
19347         (td_lookup): Make it a macro implemented in terms of...
19348         (td_mod_lookup): ... this declaration.
19349         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
19350         (DB_MAIN_VARIABLE): Likewise.
19352 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19354         [BZ #18134]
19355         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19357 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
19359         * stdlib/setenv.c (__add_to_environ): Revert previous change.
19361 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
19363         [BZ #18128]
19364         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
19365         (atomic_add, atomic_increment_and_test)
19366         (atomic_decrement_and_test): Fix 64-bit arithmetic.
19368 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
19370         * stdlib/setenv.c (__add_to_environ):
19371         Dump core quickly if setenv (..., NULL, ...) is called.
19373 2015-03-13  Roland McGrath  <roland@hack.frob.com>
19375         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
19376         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
19377         all the necessary asm magic in one place.
19378         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
19379         using those.
19381 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
19383         [BZ #14906]
19384         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
19385         traced file mtime. Use consistent log message.
19386         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
19387         (register_traced_file): Call install_watches. Always set mtime.
19388         (invalidate_cache): Iterate over all trace files. Call install_watches.
19389         (inotify_check_files): Don't inline. Handle watching parent
19390         directories and configuration file movement in and out.
19391         (handle_inotify_events): New function.
19392         (main_loop_poll): Call handle_inotify_events.
19393         (main_loop_epoll): Likewise.
19394         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
19395         (struct traced_file): Use array of inotify fds. Add parent directory,
19396         and basename.
19397         (struct database_dyn): Remove unused file_mtime.
19398         (init_traced_file): New inline function.
19399         (define_traced_file): New macro.
19400         * nss/nss_db/db-init.c: Use define_traced_file.
19401         (_nss_db_init): Use init_traced_file.
19402         * nss/nss_files/files-init.c: Use define_traced_file.
19403         (_nss_files_init): Use init_traced_file.
19405 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
19407         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
19408         [_LIBC]: Do not include <stdlib.h>.
19409         [!_LIBC] (abort): Remove declaration.
19410         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
19411         _FP_STATIC_ASSERT instead of conditionally calling abort.
19412         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
19413         (_FP_EXTEND_CNAN): Likewise.
19414         (FP_TRUNC): Likewise.
19415         (__FP_CLZ): Likewise.
19416         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
19418 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
19420         * manual/string.texi (XPG basename): Fix prototype.
19422 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19424         [BZ #18080]
19425         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
19426         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19427         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
19428         (__setcontext): Likewise.
19429         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
19430         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19431         Call rt_sigprocmask syscall one time to set new signal mask
19432         and retrieve the current signal mask instead of two calls.
19433         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
19434         (__swapcontext): Likewise.
19435         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
19436         * stdlib/tst-setcontext2.c: New file.
19438 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19440         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19442 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
19444         [BZ #18093]
19445         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
19446         the wrong size.
19448 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19450         [BZ #18043]
19451         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
19453 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19455         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
19456         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
19457         Remove define.
19458         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
19459         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
19460         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
19461         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
19462         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
19463         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
19464         define.
19465         * nptl_db/td_symbol_list.c (td_lookup): Remove
19466         HAVE_ASM_GLOBAL_DOT_NAME code.
19467         * sysdeps/powerpc/powerpc64/configure.ac: Remove
19468         HAVE_ASM_GLOBAL_DOT_NAME check.
19469         * sysdeps/powerpc/powerpc64/configure: Regenerate.
19470         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
19471         (DOT_LABEL): Remove define.
19472         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
19473         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
19474         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
19475         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
19476         (__TLS_GET_ADDR): Likewise.
19477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
19478         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
19480 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
19482         [BZ #18111]
19483         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
19484         (_FPU_SETCW): Initialize cw from fpsr before storing.
19485         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
19486         (fesetexceptflag): Rewrite using fpu_control.h.
19487         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
19489 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
19491         [BZ #18110]
19492         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
19493         asms.
19494         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19496 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
19498         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
19499         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
19500         abort.
19501         (_FP_FMA): Likewise.
19502         (_FP_DIV): Likewise.
19504 2015-03-10  Roland McGrath  <roland@hack.frob.com>
19506         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
19507         with 0 in that case.
19508         * Makefile (summarize-tests): New canned sequence, factored out of
19509         commands for targets tests and xtests.  Display summary lines that
19510         don't start with PASS: or XFAIL: rather than ones that do start with
19511         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
19512         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
19513         do start with ERROR: or FAIL:.
19514         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
19515         (except for [$(build-shared) = yes]).
19516         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
19517         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
19518         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
19519         * nptl/Makefile: Revert 2015-03-04 changes.
19520         [$(CXX) empty] (tests-unsupported): New variable.
19521         * debug/Makefile: Likewise.
19523         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
19524         gnulib file.  Replace __attribute with __attribute__ throughout.
19526 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
19528         * sysdeps/hppa/fpu/libm-test-ulps: Update.
19530 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19532         [BZ #18104]
19533         * math/auto-libm-test-in: Add another test of pow.
19534         * math/auto-libm-test-out: Regenerated.
19536 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19538         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
19539         $(config-cflags-nofma).
19541 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19543         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
19544         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
19545         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
19546         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
19547         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
19548         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
19549         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
19550         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
19551         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
19552         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
19553         Add comment on closing #endif.
19555 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19557         * posix/wordexp.c (CHAR_IN_SET): New macro.
19558         (parse_param): Use it.
19560 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19562         * sysdeps/powerpc/fpu/libm-test-ulps: update.
19564 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19566         [BZ #18043]
19567         * posix/wordexp.c (parse_param): Fix buffer overflow.
19568         * posix/wordexp-test.c (test_case): Add test case.
19570 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19572         [BZ #18042]
19573         * posix/wordexp.c (parse_backtick): Fix off-by-one.
19574         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
19576 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19578         [BZ #18043]
19579         * posix/wordexp-test.c (test_case): Add test for BZ #18043
19580         (do_bz18043): Delete.
19581         (at_page_end): New.
19582         (testit): Refactor to have words at the edge of unreadable page.
19584 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19586         [BZ #16734]
19587         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
19588         Cleanup read-only streams as well.
19589         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
19591 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19593         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
19594         <bits/libc-lockP.h>
19596 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
19598         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
19599         on [__KERNEL__].
19600         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
19601         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
19602         * soft-fp/op-common.h (_FP_DECL): Likewise.
19604 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19606         * elf/ifuncdep2.c (global): Replace
19607         __attribute__((visibility("protected"))) with
19608         asm (".protected global").
19609         * elf/ifuncmod1.c (global): Likewise.
19610         * elf/ifuncmod5.c (global): Likewise.
19612 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
19614         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
19615         <asm/sfp-machine.h> instead of <sfp-machine.h>.
19617 2015-03-06  Roland McGrath  <roland@hack.frob.com>
19619         * manual/install.texi (Configuring and compiling):
19620         Document test-wrapper-env-only.
19621         * INSTALL: Regenerated.
19623 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19625         [BZ #18043]
19626         * posix/wordexp.c (parse_param): Fix buffer overflow.
19627         * posix/wordexp-test.c (do_bz18043): Add test case.
19629 2015-03-06  Vincent Bernat  <vincent@bernat.im>
19631         * time/tst-strptime2.c (do_test): Ensure failing tests are
19632         reported correctly.
19633         * time/tst-strptime3.c (do_test): Likewise.
19635 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
19637         Fix aio_error thread-safety.
19638         * sysdeps/pthread/aio_error.c: New file
19639         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
19640         synchronization.
19642 2015-03-06  Florian Weimer  <fweimer@redhat.com>
19644         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
19645         (group_number, vfprintf): Use it.
19646         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
19647         (JUMP, REF): Use it.
19648         (WORK_BUFFER_SIZE): New enum constant.
19649         (process_arg, vfprintf): Use it.
19651 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
19653         * manual/errno.texi (Error Messages): Complete example function
19654         by adding missing #define.
19655         (program_invocation_name): Add statement indicating GNU
19656         extension and reference which header file declares the variable.
19657         (program_invocation_short_name): Likewise.
19659 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
19661         * manual/errno.texi (Error Messages): Delete strerror ISO C89
19662         compatibility note.
19664 2015-03-05  Roland McGrath  <roland@hack.frob.com>
19666         * Makeconfig (test-wrapper-env-only): New variable.
19667         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
19668         then use that with $(test-wrapper-env-only) rather than using
19669         $(test-wrapper-env) $(run-program-env) $($*-ENV).
19671 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
19673         [BZ #18082]
19674         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
19675         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
19676         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
19677         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
19678         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
19679         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
19680         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
19681         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
19682         Likewise.
19683         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
19684         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
19685         Likewise.
19686         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
19687         Likewise.
19688         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
19689         Likewise.
19690         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
19691         Likewise.
19692         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
19693         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
19694         Likewise.
19695         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
19696         Likewise.
19697         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
19698         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
19700 2015-03-04  Roland McGrath  <roland@hack.frob.com>
19702         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
19703         (ETH_ALEN): New macro.
19704         (struct ether_addr): Use it for length of ether_addr_octet.
19706         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
19707         (setdb): Don't call __nss_configure_lookup for "rpc".
19708         (do_test): Don't call test_rpc.
19709         (output_rpcent, test_rpc): Functions moved ...
19710         * sunrpc/test-rpcent.c: ... to this new file.
19711         * sunrpc/Makefile (tests): Add it.
19713         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
19714         __xpg_sigpause.
19715         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
19716         * nptl/tst-signal6.c: Likewise.
19717         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
19718         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
19720         * configure.ac (libc_cv_cxx_link_ok): New check.
19721         Reset CXX to empty if it fails to link.
19722         * configure: Regenerated.
19723         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
19724         bug-atexit3-lib only if $(CXX) is nonempty.
19725         * nptl/Makefile (tests): Likewise for tst-cancel24.
19726         (tests, tests-static): Likewise for tst-cancel24-static.
19727         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
19728         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
19729         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
19730         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
19732 2015-03-04  Andreas Schwab  <schwab@suse.de>
19734         [BZ #17631]
19735         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
19736         for non-GCC compilers.
19737         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19738         Likewise.
19740 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19742         [BZ #17776]
19743         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
19744         integer before bitwise and assembly operations.
19745         (feclearexcept): Likewise.
19746         * math/test-fenvinline.c: New file.
19747         * math/Makefile: Add test-fenvinline test.
19749 2015-03-03  Alan Modra  <amodra@gmail.com>
19751         [BZ #16512]
19752         * scripts/localplt.awk: Strip off symbol version.
19753         * NEWS: Mention bug fix.
19755 2015-03-02  Roland McGrath  <roland@hack.frob.com>
19757         * sysdeps/pthread/timer_routines.c
19758         (timer_free_list, thread_free_list, thread_active_list): Make static.
19760 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
19762         [BZ #17779]
19763         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19764         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19765         Undefine.
19766         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19767         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19768         Likewise.
19769         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19770         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19771         Likewise.
19773 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
19775         [BZ #18036]
19776         * posix/fnmatch_loop.c (END): Detect invalid pattern.
19777         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
19779 2015-03-02  Andreas Schwab  <schwab@suse.de>
19781         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
19782         variable name.
19784 2015-03-02  Florian Weimer  <fweimer@redhat.com>
19786         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
19787         Return error status.
19789 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
19791         [BZ #15969]
19792         * locale/findlocale.c (_nl_find_locale): Introduce const
19793         version of loc_name and drop unsafe type casts.
19795 2015-02-27  Roland McGrath  <roland@hack.frob.com>
19797         * dlfcn/tststatic2.c (main): Converted to ...
19798         (do_test): ... this.
19799         (TEST_FUNCTION): New macro.
19800         Include test-skeleton.c.
19802 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
19804         [BZ #17711]
19805         * elf/Makefile (tests): Add vismain only if PIE is enabled.
19806         (tests-pie): Add vismain.
19807         (CFLAGS-vismain.c): New.
19808         * elf/vismain.c: Add comments for PIE requirement.
19810 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19812         [BZ #18046]
19813         [BZ #18047]
19814         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
19815         0x1p-56L as threshold for just returning the argument.
19816         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
19817         0x1p-32L as threshold for just returning the argument.
19818         * math/auto-libm-test-in: Add more tests of atanh.
19819         * math/auto-libm-test-out: Regenerated.
19820         * sysdeps/i386/fpu/libm-test-ulps: Update.
19821         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
19823 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19825         * string/bcopy.c (bcopy): Call memmove for performance.
19827 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19829         * string/bzero.c (__bzero): Call memset for performance.
19831 2015-02-27  John David Anglin  <dave.anglin@bell.net>
19833         [BZ #18068]
19834         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
19835         to 00100000.
19837 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19839         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
19841 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19843         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
19844         (__kernel_standard): Use CSTR macro when setting exc.name.
19845         * sysdeps/ieee754/Makefile [$(subdir) = math]
19846         (CFLAGS-k_standard.c): Remove variable.
19848         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
19849         setting p and q from "else if" to "else".
19850         (qzero): Likewise.
19851         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
19852         (qone): Likewise.
19853         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
19854         (qzerof): Likewise.
19855         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
19856         (qonef): Likewise.
19857         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
19858         (qzero): Likewise.
19859         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
19860         (qone): Likewise.
19862         [BZ #18038]
19863         [BZ #18039]
19864         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
19865         return pi/2 for arguments below 0x1p-113L.
19866         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
19867         return pi/2 for arguments below 0x1p-106L.
19868         * math/auto-libm-test-in: Add more tests of acos.
19869         * math/auto-libm-test-out: Regenerated.
19871         [BZ #16351]
19872         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
19873         (MO): New macro.
19874         (__ieee754_asin): Force underflow exception for results with small
19875         absolute value.
19876         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
19877         (MO): New macro.
19878         (__ieee754_asinf): Force underflow exception for results with
19879         small absolute value.
19880         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
19881         (__ieee754_asin): Force underflow exception for results with small
19882         absolute value.
19883         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
19884         (__ieee754_asinf): Force underflow exception for results with
19885         small absolute value.
19886         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
19887         (__ieee754_asinl): Force underflow exception for results with
19888         small absolute value.
19889         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
19890         (__ieee754_asinl): Force underflow exception for results with
19891         small absolute value.
19892         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
19893         (__ieee754_asinl): Force underflow exception for results with
19894         small absolute value.
19895         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19896         Include <math.h>.
19897         * math/auto-libm-test-in: Do not mark underflow exceptions as
19898         possibly missing for bug 16351.
19899         * math/auto-libm-test-out: Regenerated.
19901         [BZ #18030]
19902         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
19903         of power of 2 down when low part has opposite sign.
19904         * math/libm-test.inc (logb_test_data): Add more tests.
19906 2015-02-26  Andreas Schwab  <schwab@suse.de>
19908         [BZ #18032]
19909         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
19910         over collating symbol inside a bracket expression.  Minor cleanup.
19911         * posix/tst-fnmatch3.c (do_test): Add test case.
19913 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19915         [BZ #18029]
19916         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
19917         Adjust exponent of power of 2 down when low part has opposite
19918         sign.
19919         * math/libm-test.inc (ilogb_test_data): Add more tests.
19921 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
19923         [BZ #15969]
19924         * locale/findlocale.c (_nl_find_locale): Fix constness error in
19925         the previous change.
19927         [BZ #15969]
19928         * locale/findlocale.c (_nl_find_locale): Retry archive search
19929         after alias expansion.
19931 2015-02-25  Roland McGrath  <roland@hack.frob.com>
19933         * iconv/tst-iconv3.c (main): Converted to ...
19934         (do_test): ... this.
19935         (TEST_FUNCTION): New macro.
19936         Include test-skeleton.c.
19938         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
19939         (convert): Make function static.
19940         (test_unalign): Likewise.  Add const to argument pointee types.
19941         (main): Replace with static function do_test.
19942         Print "Succeeded." only if RET is zero.
19943         (TEST_FUNCTION): New macro.
19944         Include test-skeleton.c.
19946         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
19947         returns a null pointer.
19949 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19951         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
19952         to __memcpy_ppc only for static builds.
19954 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
19956         [BZ #18020]
19957         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
19958         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
19959         * math/auto-libm-test-in: Add more tests of asinh.
19960         * math/auto-libm-test-out: Regenerated.
19961         * sysdeps/i386/fpu/libm-test-ulps: Update.
19962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19964 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
19966         [BZ #15850]
19967         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
19968         and ip6_mtuinfo definitions here.
19969         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
19970         in this define too.  Update comment.
19972 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
19974         * elf/sprof.c (load_shobj): Tweak error message to match others.
19976 2015-02-24  Kevin Easton  <kevin@guarana.org>
19978         [BZ #16145] (partial fix)
19979         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
19980         to reduce lock contention.
19982 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
19984         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
19985         (struct timex): Update time comment.
19986         (ADJ_SETOFFSET): Define.
19988 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19990         [BZ #18019]
19991         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19992         2**56 not 2**28 as threshold for log (2x) formula.
19993         * math/auto-libm-test-in: Add more tests of acosh.
19994         * math/auto-libm-test-out: Regenerated.
19995         * sysdeps/i386/fpu/libm-test-ulps: Update.
19996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19998 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20000         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
20001         parenthesis around the buf assignment.
20002         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
20004 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20006         [BZ #16783]
20007         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
20008         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
20009         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
20010         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20011         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20012         * math/libm-test.inc (scalb_test_data): Add more tests.
20014 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20016         [BZ #17916]
20017         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
20018         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
20020 2015-02-24  Eric Rannaud  <e@nanocritical.com>
20022         [BZ #17523]
20023         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
20024         * io/bits/fcntl2.h (open): Use it.
20025         (openat): Likewise.
20026         * io/open.c (__libc_open): Likewise.
20027         * io/open64.c (__libc_open64): Likewise.
20028         * io/open64_2.c (__open64_2): Likewise.
20029         * io/open_2.c (__open_2): Likewise.
20030         * io/openat.c (__openat): Likewise.
20031         * io/openat64.c (__openat64): Likewise.
20032         * io/openat64_2.c (__openat64_2): Likewise.
20033         * io/openat_2.c (__openat_2): Likewise.
20034         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
20035         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20036         * sysdeps/posix/open64.c (__libc_open64): Likewise.
20037         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20038         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20039         (__open_nocancel): Likewise.
20040         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20041         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20042         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
20044 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20046         [BZ #14841]
20047         * resolv/gethnamaddr.c (getanswer): Skip logging if
20048         RES_USE_DNSSEC is set.
20049         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20051 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20053         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
20055 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
20057         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20058         201304L, for Unicode 7.
20060 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
20062         [BZ #17836]
20063         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
20064         shared library.  Add gmon-start.os otherwise.
20065         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
20066         $(objpfx)gmon-start.os if builing shared library.
20067         ($(objpfx)g$(static-start-installed-name)): Likewise.
20069 2015-02-23  Andreas Schwab  <schwab@suse.de>
20071         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
20073 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20075         [BZ #17269]
20076         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
20077         (enlarge_userbuf): Likewise.
20079 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
20081         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
20082         * math/atest-exp.c (TIMEOUT): Adjust to 200.
20083         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
20084         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
20086 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
20088         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
20089         expression inside statement expression.
20091 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20093         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
20094         <sysdeps/nptl/lowlevellock.h> and remove macros and
20095         functions that are now defined there.
20096         (SYS_futex): Remove.
20097         (lll_compare_and_swap): Remove.
20098         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
20100 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
20102         [BZ #17999]
20103         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
20104         instead of scandirat.
20105         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
20106         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
20107         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
20108         __scandirat.
20109         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
20110         (__scandirat): Declare.  Use libc_hidden_proto.
20111         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
20112         Remove variable.
20113         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20115 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20117         [BZ #15319]
20118         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
20119         (MO): New macro.
20120         (__ieee754_atan2): For results with small absolute value, force
20121         underflow exception and remove excess range and precision from
20122         return value.
20123         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
20124         (MO): New macro.
20125         (__ieee754_atan2f): For results with small absolute value, force
20126         underflow exception and remove excess range and precision from
20127         return value.
20128         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
20129         (MO): New macro.
20130         (__atan): For results with small absolute value, force underflow
20131         exception and remove excess range and precision from return value.
20132         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
20133         (MO): New macro.
20134         (__atanf): For results with small absolute value, force underflow
20135         exception and remove excess range and precision from return value.
20136         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
20137         <math.h>.
20138         (__ieee754_atan2): Force underflow exception for results with
20139         small absolute value.
20140         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
20141         <math_private.h>.
20142         (atan): Force underflow exception for results with small absolute
20143         value.
20144         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
20145         (__atanf): Force underflow exception for results with small
20146         absolute value.
20147         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
20148         <math.h>.
20149         (__atanl): Force underflow exception for results with small
20150         absolute value.
20151         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
20152         (__atanl): Force underflow exception for results with small
20153         absolute value.
20154         * sysdeps/x86/fpu/bits/mathinline.h
20155         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
20156         (__ieee754_atan2): Only define inline for long double.
20157         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20158         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
20159         * math/auto-libm-test-in: Do not mark underflow exceptions as
20160         possibly missing for bug 15319.  Add more tests of atan2.
20161         * math/auto-libm-test-out: Regenerated.
20162         * math/libm-test.inc (casin_test_data): Do not mark underflow
20163         exceptions as possibly missing for bug 15319.
20164         (casinh_test_data): Likewise.
20165         * sysdeps/i386/fpu/libm-test-ulps: Update.
20167 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
20169         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
20170         * sysdeps/mips/bits/endian.h: Fix comments.
20172 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20174         [BZ #17996]
20175         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
20176         (hdestroy_r): Likewise.
20177         (hsearch_r): Likewise.
20178         (__hcreate_r): Declare and use libc_hidden_proto.
20179         (__hdestroy_r): Likewise.
20180         (__hsearch_r): Likewise.
20181         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
20182         (hcreate): Call __hcreate_r instead of hcreate_r.
20183         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
20184         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
20185         as weak alias of __hcreate_r.
20186         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
20187         __hdestroy_r.
20188         (hsearch_r): Rename to __hsearch_r and define as weak alias of
20189         __hsearch_r.
20190         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
20191         Remove variable.
20192         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20193         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20194         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20195         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20197 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20199         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
20200         arena_lock into a single arena_get.
20202 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
20204         * dl-reloc.c: Inlucde libc-internal.h.
20205         (_dl_try_allocate_static_tls): Call ALIGN_UP.
20206         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
20207         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
20208         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
20209         (grow_heap): Likewise.
20210         * malloc/malloc.c: Include libc-internal.h.
20211         (do_check_malloc): Call powerof2.
20212         (sysmalloc): Use pagesize. Call ALIGN_UP.
20213         (systrim): Use pagesize.
20214         (mremap_chunk): Use pagesize. Call ALIGN_UP.
20215         (__libc_valloc): Use pagesize.
20216         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
20218 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20220         [BZ #17991]
20221         * include/sys/resource.h (__getrlimit64): Declare.  Use
20222         libc_hidden_proto.
20223         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
20224         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
20225         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
20226         getrlimit64.
20227         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
20228         __getrlimit64.
20229         [!getrlimit64] (getrlimit64): Define as weak alias of
20230         __getrlimit64.  Use libc_hidden_weak.
20231         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
20232         using __getrlimit64 not __new_getrlimit64.
20233         (__GI_getrlimit64): Likewise.
20234         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
20235         Likewise.
20236         (__GI_getrlimit64): Likewise.
20237         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
20238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
20239         (getrlimit): Add __getrlimit64 alias.
20240         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
20241         Likewise.
20242         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
20243         Remove variable.
20244         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20245         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20247 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
20249         * libio/fileops.c: Add missing sys/mman.h
20250         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
20252 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20254         * manual/math.texi (Errors in Math Functions): Clarify goals
20255         regarding inexact and underflow exceptions.
20257 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20259         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
20260         * sysdeps/mips/memset.S: Ditto.
20262 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20264         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
20266 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20268         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
20269         (__v1longjmp): Remove versioned symbol.
20270         (__v1siglongjmp): Remove alias and versioned symbol.
20271         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
20272         (__v2siglongjmp): Likewise.
20274 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20276         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
20278 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
20280         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
20282 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20284         [BZ #17987]
20285         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
20286         zero result does not depend on the sign resulting from
20287         subtraction.
20288         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20289         Likewise.
20290         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20291         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20292         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20293         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20294         * math/libm-test.inc (remquo_test_data): Add more tests.
20296 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
20298         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
20299         Problem reported by J William Piggott.
20301 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20303         [BZ #17978]
20304         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
20305         products 4 * y and 2 * y where those would overflow.
20306         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20307         Likewise.
20308         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20309         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20310         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20311         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20312         * math/libm-test.inc (remquo_test_data): Add more tests.
20314         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
20316         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
20317         [defined _COMPILING_NEWLIB].
20318         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
20319         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
20321         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
20322         [!defined __mips_isa_rev || __mips_isa_rev < 6].
20324 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20326         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
20327         acquired.
20329 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
20331         [BZ #17792]
20332         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
20333         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
20334         HOST_STACK_END_ADDR): Likewise.
20336 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
20338         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
20339         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
20340         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
20342 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20344         * sysdeps/generic/c++-types.data: New file.
20345         * sysdeps/generic/ld.abilist: New file.
20346         * sysdeps/generic/libBrokenLocale.abilist: New file.
20347         * sysdeps/generic/libanl.abilist: New file.
20348         * sysdeps/generic/libc.abilist: New file.
20349         * sysdeps/generic/libcrypt.abilist: New file.
20350         * sysdeps/generic/libdl.abilist: New file.
20351         * sysdeps/generic/libm.abilist: New file.
20352         * sysdeps/generic/libpthread.abilist: New file.
20353         * sysdeps/generic/libresolv.abilist: New file.
20354         * sysdeps/generic/librt.abilist: New file.
20356 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20358         [BZ #17569]
20359         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20360         Compute absolute value of x as modified by fmod, not original
20361         value of x.
20362         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
20363         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
20364         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
20365         RUN_TEST_ffI_f1_mod8.
20366         (remquo_test_data): Add more tests.
20368 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20370         * sysdeps/init_array/pt-crti.S: New file.
20372 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20374         [BZ #17967]
20375         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
20376         __builtin_fmaf instead of relying on contraction of a * b + c.
20378 2015-02-12  J William Piggott  <elseifthen@gmx.com>
20380         [BZ #17969]
20381         * manual/time.texi: correct the zoneinfo path in the TZ Variable
20382         node.
20384 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20386         [BZ #17964]
20387         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
20388         __builtin_fma instead of relying on contraction of a * b + c.
20390 2015-02-12  Roland McGrath  <roland@hack.frob.com>
20392         * Makeconfig (ASFLAGS): Add -Werror=undef.
20393         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
20394         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
20395         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
20397         * Makeconfig (after-link): New variable.
20398         (+link-pie, +link-pie-tests): Use it.
20399         (+link-static, +link-static-tests): Likewise.
20400         (+link, +link-tests): Likewise.
20401         * Makerules (build-module, build-module-asneeded): Likewise.
20402         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
20403         Likewise.
20404         * elf/Makefile ($(objpfx)ld.so): Likewise.
20406 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
20408         [BZ #17965]
20409         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
20410         both struct timeval and struct timespec.
20412 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20414         [BZ #16560]
20415         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20416         and redefine.
20417         (__ieee754_exp2l): Do not multiply small fractional parts by
20418         M_LN2l.
20419         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
20420         small argument.
20421         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20422         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20423         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
20424         * math/auto-libm-test-in: Add more tests of exp2.
20425         * math/auto-libm-test-out: Regenerated.
20427 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20429         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
20430         unaligned path.
20432 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20434         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
20435         little endian.
20437 2015-02-12  Andreas Schwab  <schwab@suse.de>
20439         [BZ #15790]
20440         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20441         Filter out elision flags from value returned in kind.
20442         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
20443         * nptl/tst-pthread-mutexattr.c: New file.
20445 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20447         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
20448         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
20449         into gnu-gnu, and update comment to refer to abi-tags.
20451 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
20453         [BZ #15467]
20454         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
20455         (__sincos): Set errno to EDOM for infinite argument.
20456         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
20457         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
20458         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
20459         (__sincosl): Set errno to EDOM for infinite argument.
20460         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
20461         (__sincosl): Set errno to EDOM for infinite argument.
20462         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
20463         (__sincosl): Set errno to EDOM for infinite argument.
20464         * math/libm-test.inc (sincos_test_data): Test errno setting.
20466 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
20468         * string/strxfrm_l.c: Remove #define STRCMP.
20469         * string/strcoll_l.c: Remove #define STRLEN.
20470         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
20471         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
20473 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
20475         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
20476         * sysdeps/mips/mips32/sfp-machine.h: ... here.
20477         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
20478         * sysdeps/mips/mips64/Makefile: ... here.
20479         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
20480         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
20481         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
20482         * sysdeps/mips/mips64/sfp-machine.h: ... here.
20483         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
20484         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
20485         * sysdeps/mips/mips64/n64/Implies: Likewise.
20487 2015-02-10  Roland McGrath  <roland@hack.frob.com>
20489         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
20490         <sys/time.h>, <string.h>, and <errno.h>.
20491         (dest_offset, dest_address, value, zero): Remove unused variables.
20492         (ldouble): Remove typedef.
20493         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
20494         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
20495         1).  Fix code style.
20496         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
20497         (check): Function removed.
20498         (CHECK): New macro.
20499         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
20500         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
20501         Don't call set_sigaction_FP and remove_sigaction_FP here.
20502         (ldouble_test): Just use 'long double' as macro argument, no need for
20503         the 'ldouble' typedef.
20504         (do_test): Set up SIGFPE handler at start, using plain signal rather
20505         than sigaction.  Fix code style.
20507 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
20509         [BZ #17949]
20510         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
20511         jump label.
20513 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20515         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
20516         * sysdeps/powerpc/powerpc32/configure: Regenerated.
20518         * sysdeps/powerpc/configure.ac: Remove file.
20519         * sysdeps/powerpc/configure: Likewise.
20521         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20522         [sysdep_routines]: Remove wordcopy-power6 object.
20523         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
20524         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
20525         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
20526         (__memmove_ppc32): Likewise.
20527         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
20528         file.
20529         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
20530         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
20531         Remove preprocessor.
20533         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20534         [sysdep_routines]: Remove wide chars objects.
20535         [wcsmbs]: New rule for wide char objects.
20537         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20538         Remove wordcopy-power6 obejct.
20539         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
20540         Use local call for wordcopy and memcpy symbols.
20541         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
20542         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
20543         implementation for loader.
20544         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
20546         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20547         Remove wordcopy-power7 object.
20548         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
20549         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
20550         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
20551         (_wordcopy_fwd_dest_aligned): Likewise.
20552         (_wordcopy_bwd_aligned): Likewise.
20553         (_wordcopy_bwd_dest_aligned): Likewise.
20555         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
20556         Rewrite to call __memmove_ppc instead of include default
20557         implementation.
20559         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20560         Remove wide chars objects.
20561         [wcsmbs]: New rule for wide char objects.
20563 2015-02-09  Andreas Schwab  <schwab@suse.de>
20565         [BZ #17912]
20566         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20567         in terms of __O_DIRECTORY.
20569 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20571         * time/getdate.c: Include <stdbool.h>.
20572         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
20573         call PTR_MANGLE.
20574         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
20575         PTR_DEMANGLE.
20577 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
20579         Add ersatz _Static_assert on older C hosts
20580         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
20581         pre-C11 C platform that is not known to support _Static_assert.
20583 2015-02-07  Richard Braun  <rbraun@sceen.net>
20585         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
20586         sigstate.
20587         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
20589 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20591         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
20592         priority against unexistent AIO_PRIO_DELTA_MAX.
20593         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
20594         instead of int.
20595         * misc/fchflags.c (fchflags): Likewise.
20596         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
20597         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
20598         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
20599         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
20600         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
20601         Declare macros.
20602         [__USE_MISC] (chflags, fchflags): Declare functions.
20603         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
20604         EINVAL when nfds is greater than FD_SETSIZE.
20605         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
20606         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
20607         45.
20608         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
20609         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
20610         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
20611         MACH_RCV_TIMED_OUT.
20612         * hurd/hurd/signal.h (_hurd_self_sigstate,
20613         _hurd_critical_section_lock, _hurd_critical_section_unlock):
20614         Explicit casts from void *.
20615         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
20616         * abi-tags: Rename gnu-gnu os into gnu.
20618         [BZ #4719]
20619         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
20620         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
20621         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
20622         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
20623         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
20624         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
20626         [BZ #17944]
20627         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
20628         duplicates ADDR->sun_path with sockaddr LEN limitation.
20629         * sysdeps/mach/hurd/connect.c: Include <string.h>
20630         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
20631         * sysdeps/mach/hurd/sendmsg.c: Likewise.
20632         * sysdeps/mach/hurd/sendto.c: Likewise.
20633         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
20634         implementing it by hand.
20636 2015-02-06  Roland McGrath  <roland@hack.frob.com>
20638         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
20639         Use sfi_breg on ldr.
20640         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
20641         Likewise.
20643         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
20644         it's defined.
20645         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
20646         Test SIGSETXID only if it's defined.
20648         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
20650         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
20651         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
20653         * nptl/tst-align2.c: Moved ...
20654         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
20655         * nptl/Makefile (tests): Remove tst-align2.
20656         * sysdeps/unix/sysv/linux/Makefile
20657         [$(subdir) = nptl] (tests): Add tst-align-clone.
20658         * nptl/tst-getpid1.c: Moved ...
20659         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
20660         * nptl/tst-getpid2.c: Moved ...
20661         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
20662         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
20663         * sysdeps/unix/sysv/linux/Makefile
20664         [$(subdir) = nptl] (tests): ... here.
20665         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
20666         * sysdeps/unix/sysv/linux/Makefile
20667         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
20669         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
20670         Drop trailing \n from perror argument.  Use return rather than exit.
20672         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
20673         on [SA_SIGINFO].
20674         * nptl/tst-cancel21.c (do_test): Likewise.
20675         * debug/tst-backtrace6.c: Include <signal.h> first thing.
20676         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
20677         [!SA_SIGINFO]: Make it a stub test.
20679         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
20680         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
20682         * posix/tst-getlogin.c: Move to ...
20683         * login/tst-getlogin.c: ... here.
20684         * posix/Makefile (tests): Move tst-getlogin to ...
20685         * login/Makefile (tests): ... here.
20687         * libio/tst-atime.c (do_test): Move local variables SV and E
20688         inside [ST_NOATIME] conditional.
20690         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
20692         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
20694         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
20695         (wait_code): New function replaces macro.
20696         Call nanosleep rather than syscall.
20698         * nptl/pt-system.c: Rewritten.  Put everything under
20699         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20700         Use IFUNC to redirect when possible.
20702         * nptl/pt-longjmp.c: Rewritten.  Put everything under
20703         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20704         Use IFUNC to redirect when possible.
20706         * nptl/pt-fork.c: Rewritten.  Put everything under
20707         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20708         Use IFUNC to redirect when possible.
20709         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
20711         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
20712         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
20713         unconditionally nowadays.  This included the only reference to
20714         __vdso_clock_gettime that appears outside libc proper.
20715         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
20716         Remove version set (containing only __vdso_clock_gettime).
20717         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20718         Add attribute_hidden.
20719         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20720         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
20721         libc_hidden_data_def.
20722         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20723         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20725         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
20726         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
20727         setrpcent, and getrpcport to ...
20728         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
20729         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
20730         getrpcbynumber_r, and getrpcent_r to ...
20731         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
20732         * inet/getrpcbyname.c: Moved ...
20733         * sunrpc/getrpcbyname.c: ... here.
20734         * inet/getrpcbyname_r.c: Moved ...
20735         * sunrpc/getrpcbyname_r.c: ... here.
20736         * inet/getrpcbynumber.c: Moved ...
20737         * sunrpc/getrpcbynumber.c: ... here.
20738         * inet/getrpcbynumber_r.c: Moved ...
20739         * sunrpc/getrpcbynumber_r.c: ... here.
20740         * inet/getrpcent.c: Moved ...
20741         * sunrpc/getrpcent.c: ... here.
20742         * inet/getrpcent_r.c: Moved ...
20743         * sunrpc/getrpcent_r.c: ... here.
20744         * inet/Makefile (routines): Move those to ...
20745         * sunrpc/Makefile (routines): ... here.
20746         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
20747         the $(subdirs) list.
20748         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
20749         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
20750         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
20751         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
20753         * elf/Makefile (routines): Include $(all-dl-routines), not just
20754         $(dl-routines).
20755         (rtld-routines): Likewise.  Use = rather than :=.
20756         * sysdeps/aarch64/Makefile [$(subdir) = elf]
20757         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
20758         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
20759         * sysdeps/arm/Makefile: Likewise.
20760         * sysdeps/i386/Makefile: Likewise.
20761         * sysdeps/x86_64/Makefile: Likewise.
20762         * sysdeps/hppa/Makefile [$(subdir) = elf]
20763         (sysdep_routines, sysdep-rtld-routines): Don't add
20764         $(sysdep-dl-routines) to these.
20765         * sysdeps/ia64/Makefile: Likewise.
20766         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
20767         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
20768         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
20769         Don't add dl-static to these; sysdep-dl-routines alone is enough.
20770         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
20771         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
20772         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
20773         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
20774         * sysdeps/powerpc/Makefile [$(subdir) = elf]
20775         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
20776         these; sysdep-dl-routines alone is enough.
20778 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
20780         [BZ #17932]
20781         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
20782         where multiplication results in zero and third argument is finite
20783         and nonzero.
20784         * math/auto-libm-test-in: Add more tests of fma.
20785         * math/auto-libm-test-out: Regenerated.
20787         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
20788         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
20789         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
20790         (_FP_CMP_EQ): Likewise.
20791         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
20793         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
20794         extra argument CHECK_NAN.  Redefine as wrapper around
20795         _FP_EXTEND_CNAN.
20797 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
20799         * version.h (RELEASE): Set to "stable".
20800         (VERSION): Set to "2.21"
20801         * include/features.h (__GLIBC_MINOR__): Set to 21.
20803         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
20805 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20806             Paul Eggert  <eggert@cs.ucla.edu>
20808         [BZ #16618]
20809         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
20810         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
20811         size in bytes. Store needed elements in wpmax. Use needed size
20812         in bytes for extend_alloca.
20814 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
20816         * manual/install.texi: Latest tested versions are GCC 4.9.2,
20817         binutls 2.25, and texinfo 5.2.
20818         * INSTALL: Regenerate.
20819         * sysdeps/nios2/configure: Regenerate.
20820         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
20821         * manual/contrib.texi: Update.
20822         * po/be.po: Update.
20823         * po/bg.po: Update.
20824         * po/ca.po: Update.
20825         * po/cs.po: Update.
20826         * po/da.po: Update.
20827         * po/de.po: Update.
20828         * po/el.po: Update.
20829         * po/eo.po: Update.
20830         * po/es.po: Update.
20831         * po/fi.po: Update.
20832         * po/fr.po: Update.
20833         * po/gl.po: Update.
20834         * po/hr.po: Update.
20835         * po/hu.po: Update.
20836         * po/ia.po: Update.
20837         * po/id.po: Update.
20838         * po/it.po: Update.
20839         * po/ja.po: Update.
20840         * po/ko.po: Update.
20841         * po/lt.po: Update.
20842         * po/nb.po: Update.
20843         * po/nl.po: Update.
20844         * po/pl.po: Update.
20845         * po/pt_BR.po: Update.
20846         * po/ru.po: Update.
20847         * po/rw.po: Update.
20848         * po/sk.po: Update.
20849         * po/sl.po: Update.
20850         * po/sv.po: Update.
20851         * po/tr.po: Update.
20852         * po/uk.po: Update.
20853         * po/vi.po: Update.
20854         * po/zh_CN.po: Update.
20855         * po/zh_TW.po: Update.
20857         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
20858         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
20859         * sysdeps/hppa/dl-irel.h: Remove #warning.
20860         * sysdeps/hppa/entry.h: Provide prototype for
20861         __canonicalize_funcptr_for_compare and cast argument.
20862         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
20863         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
20864         * sysdeps/hppa/sotruss-lib.c: New file.
20865         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
20866         (atomic_compare_and_exchange_val_acq): Use __typeof__.
20867         (atomic_compare_and_exchange_bool_acq): Likewise.
20868         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
20869         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
20871         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
20872         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
20873         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
20875 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
20877         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
20878         called function in non-PIC case.
20880 2015-01-31  David S. Miller  <davem@davemloft.net>
20882         * sysdeps/sparc/sparc32/bits/atomic.h
20883         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
20884         unlock not after it.
20885         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
20886         volatile register usage warnings from the compiler.
20888         * sysdeps/sparc/nptl/sem_init.c: Delete.
20889         * sysdeps/sparc/nptl/sem_post.c: Delete.
20890         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
20891         * sysdeps/sparc/nptl/sem_wait.c: Delete.
20892         * sysdeps/sparc/sparc32/sem_init.c: New file.
20893         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
20894         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
20895         padding explicitly initialized.
20896         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
20897         padding for in-semaphore spinlock.
20898         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
20899         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
20900         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
20901         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
20902         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
20903         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
20904         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
20905         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
20906         version.
20907         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
20908         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
20910 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
20912         [BZ #17801]
20913         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20914         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
20915         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
20916         New.
20917         (index_AVX_Fast_Unaligned_Load): Likewise.
20918         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
20919         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
20920         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
20921         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
20922         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
20923         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
20924         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
20925         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
20926         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
20928 2015-01-29  Andreas Schwab  <schwab@suse.de>
20930         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
20932 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
20934         [BZ #17892]
20935         * nscd/nscd_stat.c (send_stats): Initialize DATA.
20937 2015-01-28  Martin Sebor  <msebor@redhat.com>
20939         * math/README.libm-test: Clarify. Add "How to read the test output."
20941 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
20943         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
20944         Define to 0.
20946 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
20948         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
20949         (__HAVE_64B_ATOMICS): Define to 0.
20951 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20953         [BZ #17885]
20954         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
20955         value to set as new flag.
20957         [BZ #16576]
20958         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
20959         and use _ARCH_PPCSQ instead.
20960         (__ieee754_sqrt): Likewise.
20961         (__ieee754_sqrtf): Likewise.
20962         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
20963         _ARCH_PPCSQ is defined.
20964         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
20965         fsqrt instruction.
20966         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
20967         _ARCH_PPCSQ is defined.
20968         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
20969         fsqrts instruction.
20970         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
20972 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20974         * iconv/loop.c: Suppress array out of bound warning caused by GCC
20975         bug (GCC BZ #64739).
20977 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
20979         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
20980         Mark _retval as used.
20981         (lll_futex_wake_unlock): Likewise.
20982         (lll_futex_timed_wait_requeue_pi): Likewise.
20984         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20985         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
20986         register variables.
20988         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
20989         libm_hidden_def.
20991         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
20992         (__bswap_64): Mark as __always_inline.
20994 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
20996         [BZ #15378]
20997         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
20998         when none of the search directories exist.
21000 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21002         [BZ #17869]
21003         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
21004         power8 in .machine directive.
21006         [BZ #17868]
21007         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
21008         set dependency from opd value.
21010 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21012         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21013         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
21014         architecture.
21016 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21018         [BZ #17870]
21019         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
21020         with uint64_t.
21021         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
21022         (uint64_t) 1.
21023         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
21024         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
21025         Replace 1UL with (uint64_t) 1.
21026         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
21027         int with uint64_t.
21029 2015-01-23  Roland McGrath  <roland@hack.frob.com>
21031         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
21032         (if_freenameindex): Likewise.
21034         * resource/getrlimit64.c: Add missing libc_hidden_def.
21036 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
21038         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
21039         __label__.
21040         (_FP_FMA): Likewise.
21041         (_FP_TO_INT_ROUND): Likewise.
21042         (_FP_FROM_INT): Likewise.
21044 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21046         [BZ #16418]
21047         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
21048         Make code racy and cancel safe.
21050 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
21052         * sysdeps/arm/unwind-resume.h: Fix copyright year.
21053         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
21054         attribution.
21056         * pwd/tst-getpw.c: Rewrite.
21058         [BZ #17702]
21059         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
21060         (modules-names): Add moddummy1 and moddummy2.
21061         ($(objpfx)tst-rec-dlopen): Define.
21062         * dlfcn/moddummy1.c: New file.
21063         * dlfcn/moddummy2.c: New file.
21064         * dlfcn/tst-rec-dlopen.c: New file.
21065         * elf/dl-cache.c (_dl_load_cache_lookup):
21066         Return char*. Copy result with alloca/strcpy/strdup.
21067         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
21068         returns char*. Free cached. If not saving realname
21069         free cached.
21070         * elf/dl-open.c (dl_open_worker): Do not assert that
21071         _r_debug->r_state is RT_CONSISTENT.
21072         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
21073         returns char*.
21075 2015-01-21  Torvald Riegel  <triegel@redhat.com>
21076             Carlos O'Donell  <carlos@redhat.com>
21078         [BZ #12674]
21079         * nptl/sem_waitcommon.c: New file.
21080         * nptl/sem_wait.c: Include sem_waitcommon.c.
21081         (__sem_wait_cleanup, do_futex_wait): Remove.
21082         (__new_sem_wait): Adapt.
21083         (__new_sem_trywait): New function.
21084         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
21085         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
21086         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
21087         (sem_timedwait): Adapt.
21088         * nptl/sem_post.c (__new_sem_post): Adapt.
21089         (futex_wake): New function.
21090         (__old_sem_post): Add release MO fence.
21091         * nptl/sem_open.c (sem_open): Adapt.
21092         * nptl/sem_init.c (__new_sem_init): Adapt.
21093         (futex_private_if_supported): New function.
21094         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
21095         (__old_sem_getvalue): Add using previous code.
21096         * sysdeps/nptl/internaltypes.h: Adapt.
21097         * nptl/tst-sem13.c (do_test): Adapt.
21098         * nptl/tst-sem11.c (main): Adapt.
21099         * nptl/sem_trywait.c: Remove.
21100         * nptl/DESIGN-sem.txt: Remove.
21101         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
21102         (gen-as-const-headers): Remove structsem.sym.
21103         * nptl/structsem.sym: Remove.
21104         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
21105         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
21106         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
21107         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
21108         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
21109         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
21110         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
21111         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
21112         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
21113         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
21114         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
21115         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
21116         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
21117         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
21118         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
21119         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
21120         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
21121         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
21122         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
21123         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
21124         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
21125         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
21127 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
21129         * INSTALL: Regenerated.
21131         * po/libc.pot: Regenerated.
21133 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
21134             Sandra Loosemore  <sandra@codesourcery.com>
21135             Andrew Jenner  <andrew@codesourcery.com>
21136             Joseph Myers  <joseph@codesourcery.com>
21137             Nathan Sidwell  <nathan@codesourcery.com>
21139         * NEWS: Mention new Nios II port.
21140         * sysdeps/nios2/Implies: New file.
21141         * sysdeps/nios2/Makefile: New file.
21142         * sysdeps/nios2/Subdirs: New file.
21143         * sysdeps/nios2/Versions: New file.
21144         * sysdeps/nios2/__longjmp.S: New file.
21145         * sysdeps/nios2/abort-instr.h: New file.
21146         * sysdeps/nios2/backtrace.c: New file.
21147         * sysdeps/nios2/bits/endian.h: New file.
21148         * sysdeps/nios2/bits/fenv.h: New file.
21149         * sysdeps/nios2/bits/link.h: New file.
21150         * sysdeps/nios2/bits/setjmp.h: New file.
21151         * sysdeps/nios2/bsd-_setjmp.S: New file.
21152         * sysdeps/nios2/bsd-setjmp.S: New file.
21153         * sysdeps/nios2/configure: New generated file.
21154         * sysdeps/nios2/configure.ac: New file.
21155         * sysdeps/nios2/crti.S: New file.
21156         * sysdeps/nios2/crtn.S: New file.
21157         * sysdeps/nios2/dl-init.c: New file.
21158         * sysdeps/nios2/dl-machine.h: New file.
21159         * sysdeps/nios2/dl-sysdep.h: New file.
21160         * sysdeps/nios2/dl-tls.h: New file.
21161         * sysdeps/nios2/dl-trampoline.S: New file.
21162         * sysdeps/nios2/gccframe.h: New file.
21163         * sysdeps/nios2/gmp-mparam.h: New file.
21164         * sysdeps/nios2/jmpbuf-offsets.h: New file.
21165         * sysdeps/nios2/jmpbuf-unwind.h: New file.
21166         * sysdeps/nios2/ldsodefs.h: New file.
21167         * sysdeps/nios2/libc-tls.c: New file.
21168         * sysdeps/nios2/libm-test-ulps: New file.
21169         * sysdeps/nios2/machine-gmon.h: New file.
21170         * sysdeps/nios2/math-tests.h: New file.
21171         * sysdeps/nios2/math_private.h: New file.
21172         * sysdeps/nios2/memusage.h: New file.
21173         * sysdeps/nios2/nptl/Makefile: New file.
21174         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
21175         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
21176         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
21177         * sysdeps/nios2/nptl/pthreaddef.h: New file.
21178         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
21179         * sysdeps/nios2/nptl/tls.h: New file.
21180         * sysdeps/nios2/preconfigure: New file.
21181         * sysdeps/nios2/s_fma.c: New file.
21182         * sysdeps/nios2/s_fmaf.c: New file.
21183         * sysdeps/nios2/setjmp.S: New file.
21184         * sysdeps/nios2/sfp-machine.h: New file.
21185         * sysdeps/nios2/sotruss-lib.c: New file.
21186         * sysdeps/nios2/stackguard-macros.h: New file.
21187         * sysdeps/nios2/stackinfo.h: New file.
21188         * sysdeps/nios2/start.S: New file.
21189         * sysdeps/nios2/sysdep.h: New file.
21190         * sysdeps/nios2/tls-macros.h: New file.
21191         * sysdeps/nios2/tst-audit.h: New file.
21192         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
21193         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
21194         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
21195         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
21196         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
21197         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
21198         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
21199         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
21200         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
21201         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
21202         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
21203         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
21204         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
21205         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
21206         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
21207         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
21208         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
21209         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
21210         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
21211         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
21212         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
21213         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
21214         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
21215         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
21216         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
21217         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
21218         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
21219         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
21220         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
21221         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
21222         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
21223         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
21224         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
21225         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
21226         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
21227         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
21228         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
21229         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
21230         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
21231         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
21232         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
21233         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
21234         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
21235         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
21237 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21239         [BZ #17844]
21240         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
21241         (getutent): Use weak_alias in non SHARED case
21242         and default_symbol_version in SHARED case.
21243         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
21244         (getutent_r, pututline): Likewise.
21245         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
21246         (getutid): Likewise.
21247         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
21248         (getutid_r): Likewise.
21249         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
21250         (getutline): Likewise.
21251         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
21252         (getutline_r): Likewise.
21253         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
21254         (updwtmp): Likewise.
21256 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21258         [BZ #17848]
21259         * sysdeps/s390/s390-32/memcmp.S
21260         (memcmp_g5): Rename to __memcmp_g5.
21261         * sysdeps/s390/s390-32/memcpy.S
21262         (memcpy_g5): Rename to __memcpy_g5.
21263         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21264         (memcpy_mvcle) Rename to __memcpy_mvcle.
21265         * sysdeps/s390/s390-32/memset.S
21266         (memset_g5): Rename to __memset_g5.
21267         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21268         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21269         and use prefixed functions.
21270         * sysdeps/s390/s390-32/multiarch/memcmp.S
21271         (memcmp_z196): Rename to __memcmp_z196.
21272         (memcmp_z10): Rename to __memcmp_z10.
21273         (memcmp): Set alias to __memcmp_g5.
21274         (bcmp): Set alias to __memcmp_g5.
21275         * sysdeps/s390/s390-32/multiarch/memcpy.S
21276         (memcpy_z196): Rename to __memcpy_z196.
21277         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21278         (memcpy_z10): Rename to __memcpy_z10.
21279         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21280         (memcpy): Set alias to __memcpy_g5.
21281         * sysdeps/s390/s390-32/multiarch/memset.S
21282         (memset_z196): Rename to __memset_z196.
21283         Jump to __memset_mvcle instead of memset_mvcle.
21284         (memset_z10): Rename to __memset_z10.
21285         Jump to __memset_mvcle instead of memset_mvcle.
21286         (memset_mvcle) Rename to __memset_mvcle.
21287         (memset): Set alias to __memset_g5.
21288         * sysdeps/s390/s390-64/memcmp.S
21289         (memcmp_z900): Rename to __memcmp_z900.
21290         * sysdeps/s390/s390-64/memcpy.S
21291         (memcpy_z900): Rename to __memcpy_z900.
21292         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21293         (memcpy_mvcle) Rename to __memcpy_mvcle.
21294         * sysdeps/s390/s390-64/memset.S
21295         (memset_z900): Rename to __memset_z900.
21296         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
21297         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21298         and use prefixed functions.
21299         * sysdeps/s390/s390-64/multiarch/memcmp.S
21300         (memcmp_z196): Rename to __memcmp_z196.
21301         (memcmp_z10): Rename to __memcmp_z10.
21302         (memcmp): Set alias to __memcmp_z900.
21303         (bcmp): Set alias to __memcmp_z900.
21304         * sysdeps/s390/s390-64/multiarch/memcpy.S
21305         (memcpy_z196): Rename to __memcpy_z196.
21306         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21307         (memcpy_z10): Rename to __memcpy_z10.
21308         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21309         (memcpy): Set alias to __memcpy_z900.
21310         * sysdeps/s390/s390-64/multiarch/memset.S
21311         (memset_z196): Rename to __memset_z196.
21312         Jump to __memset_mvcle instead of memset_mvcle.
21313         (memset_z10): Rename to __memset_z10.
21314         Jump to __memset_mvcle instead of memset_mvcle.
21315         (memset_mvcle) Rename to __memset_mvcle.
21316         (memset): Set alias to __memset_z900.
21318 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
21320         [BZ #17748]
21321         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
21322         __fesetenv instead of fesetenv.
21324 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21326         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
21327         macro.
21329 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21331         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
21332         regression on LE.
21334         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
21335         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
21336         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21337         strncmp-power8 object.
21338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21339         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
21340         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
21341         * NEWS: Update.
21343 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21344             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21346         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
21347         trailing byte check.
21349 2015-01-13  David S. Miller  <davem@davemloft.net>
21351         * include/signal.h (__sigreturn): Guard with __USE_MISC.
21353 2015-01-13  Roland McGrath  <roland@hack.frob.com>
21355         * login/logout.c (logout): Use memset rather than bzero.
21356         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
21357         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
21358         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
21359         (_gethtbyaddr): Likewise.
21360         * locale/programs/simple-hash.c (bcopy): Macro removed.
21362 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21364         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21365         Add strcmp-power8 object.
21366         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21367         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
21368         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
21369         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
21370         __strcmp_power8 implementation.
21371         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
21372         * NEWS: Update.
21374         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21375         Add strncpy-power8 and stpncpy-power8 objects.
21376         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21377         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
21378         implementations.
21379         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
21380         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
21381         __stpncpy_power8 implementation.
21382         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
21383         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
21384         __strncpy_power8 implementation.
21385         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
21386         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
21387         * NEWS: Update.
21389         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
21390         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
21391         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
21393         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21394         strncat-power8 object.
21395         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
21396         __strcat_power8 implementation.
21397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21398         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
21399         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
21400         optimized strcat for power8.
21402         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21403         strcpy-power8 and stpcpy-power8 objects.
21404         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21405         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
21406         implementations.
21407         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
21408         multiarch stpcpy implementation for POWER8.
21409         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
21410         multiarch strcpy implementation for POWER8.
21411         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
21412         __strcpy_power8 function.
21413         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
21414         stpcpy for POWER8.
21415         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
21416         strcpy for POWER8.
21417         * NEWS: Update.
21419 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
21421         [BZ #16009]
21422         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
21423         weights and rules. Use do_xfrm_cached if data fits in cache,
21424         do_xfrm otherwise.  Moved former main loop to...
21425         * (do_xfrm_cached): New function.
21426         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
21427         find_idx, find_position and stack_push.
21428         * (find_idx): New function.
21429         * (find_position): Likewise.
21430         * localedata/sort-test.sh: Added test run for do_xfrm.
21431         * localedata/xfrm-test.c (main): Added command line option
21432         -nocache to run the test with strings that are too large for
21433         the STRXFRM cache.
21435 2015-01-13  Torvald Riegel  <triegel@redhat.com>
21437         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
21438         variable to lll_futex_wake call, not the value itself.
21440 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
21442         [BZ #17803]
21443         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
21444         twom64.  Adjust value to 0x1p-64L.
21445         (__scalblnl): Only return standard underflowing result for K <=
21446         -64 not K <= -63; adjust exponent for underflowing result by 64
21447         not 63.
21448         * math/libm-test.inc (scalbn_test_data): Add more tests.
21449         (scalbln_test_data): Likewise.
21451         [BZ #17834]
21452         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
21453         0x1p63L.
21454         (__scalblnl): Get new exponent of adjusted subnormal value from ES
21455         not HX.
21456         * math/libm-test.inc (scalbn_test_data): Add more tests.
21457         (scalbln_test_data): Likewise.
21459 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21460             Stefani Seibold  <stefani@seibold.net>
21462         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
21463         (sysdep_routines): Add dl-vdso here, ...
21464         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
21465         (sysdep_routines): ... not here.
21466         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
21467         fallback when vDSO is not presented.
21468         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21469         Define with libc_hidden_proto/libc_hidden_data_def definitions.
21470         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
21471         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
21472         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
21473         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
21474         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
21475         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
21476         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
21477         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
21478         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
21479         fallback configurable symbol when vDSO is not available.
21480         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
21481         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
21482         be able to redefine fallback symbol when vDSO is not available.
21483         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
21484         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
21486 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21488         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
21489         (TLS_INIT_TP): Add tm_capable initialization.
21490         (TLS_DEFINE_INIT_TP): Likewise.
21491         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
21492         TCB.
21493         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
21494         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
21495         calculation.
21496         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
21497         transactoion is lock elision is built and TCB tm_capable is set.
21498         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
21499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21500         (INTERNAL_SYSCALL_NCS): Likewise.
21501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21502         (INTERNAL_SYSCALL_NCS): Likewise.
21503         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
21505         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
21506         for powerpc.
21507         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21508         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
21509         and remove it for 32 bits case.
21510         [pthread_rwlock_t] (__rwelision): New field for lock elision.
21511         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
21512         initialization.
21513         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
21514         Disable lock elision with rdlocks if elision is not available.
21516         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
21517         (sysdep_routines): Add lock elision objects.
21518         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21519         [pthread_mutex_t] (__spins): Rework to add lock elision field.
21520         [pthread_mutex_t] (__elision): Add field.
21521         [__PTHREAD_SPINS]: Adjust to init lock elision field.
21522         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
21523         elision definitions for powerpc.
21524         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
21525         implementation of lock elision for powerpc.
21526         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
21527         implementation of timed lock elision for powerpc.
21528         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
21529         implementation of trylock with lock elision for powerpc.
21530         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
21531         implementaion of unlock for lock elision for powerpc.
21532         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
21533         automatic enable lock elision for mutexes.
21534         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
21535         transaction execution definitions for powerpc.
21536         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
21537         definitions.
21538         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
21539         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
21540         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
21541         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
21542         * NEWS: Update.
21544 2015-01-09  Roland McGrath  <roland@hack.frob.com>
21546         * sysdeps/posix/shm-directory.c: Use <> rather than ""
21547         for #include of <shm-directory.h>.
21549 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
21551         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
21552         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
21554 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
21556         [BZ #17791]
21557         * NEWS: Mention bug fix.
21558         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
21559         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
21560         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
21562 2015-01-09  Torvald Riegel <triegel@redhat.com>
21564         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
21566 2015-01-09  Torvald Riegel <triegel@redhat.com>
21568         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
21570 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21572         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
21573         pointer and cast to uintptr_t.
21575 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21577         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
21578         removed.
21579         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
21581 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21583         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
21584         of 0.
21586 2015-01-08  Roland McGrath  <roland@hack.frob.com>
21588         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
21589         <nptl/pthreadP.h> instead.
21590         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
21592         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
21593         already defined.
21594         [__SIGRTMIN] (init): Function removed.
21595         [__SIGRTMIN] (initialized): Variable removed.
21596         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
21597         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
21598         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
21599         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
21600         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
21601         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
21602         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
21603         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
21604         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
21605         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
21606         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
21607         * sysdeps/nptl/allocrtsig.c: New file.
21608         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
21609         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
21610         * sysdeps/generic/testrtsig.h: File removed.
21612         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
21613         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
21615         * nptl/nptl-init.c (pthread_functions): Conditionalize
21616         .ptr__nptl_setxid initialization on [SIGSETXID].
21618         * sysdeps/nptl/sys/procfs.h: New file.
21619         * nptl_db/Makefile (headers): Add it.
21620         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
21622         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
21623         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
21624         * nptl/pthread_attr_setaffinity.c: Include it.
21625         * nptl/pthread_setattr_default_np.c: Likewise.
21626         * nptl/check-cpuset.h: New file.
21628 2015-01-08  Richard Henderson  <rth@redhat.com>
21630         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
21631         (CFLAGS-tst-execstack-prog.c): Likewise.
21632         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
21634 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
21635             Sandra Loosemore  <sandra@codesourcery.com>
21636             Andrew Jenner  <andrew@codesourcery.com>
21637             Joseph Myers  <joseph@codesourcery.com>
21638             Nathan Sidwell  <nathan@codesourcery.com>
21640         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
21641         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
21642         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
21643         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
21644         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
21645         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
21646         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
21647         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
21648         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
21649         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
21650         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
21651         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
21652         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
21653         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
21654         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
21655         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
21656         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
21658 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21660         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
21661         timespec struct member in syscall macro.
21662         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
21663         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
21664         first timeval struct member in syscall macro.
21665         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
21667 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
21669         [BZ #17748]
21670         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
21671         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
21672         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
21673         __feupdateenv and define as weak alias of __feupdateenv.  Use
21674         libm_hidden_weak.
21675         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
21676         libm_hidden_def.
21677         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
21678         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
21679         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21680         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
21681         libm_hidden_def.
21682         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
21683         __feupdateenv and define as weak alias of __feupdateenv.  Use
21684         libm_hidden_weak.
21685         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
21686         libm_hidden_def.
21687         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
21688         __feupdateenv and define as weak alias of __feupdateenv.  Use
21689         libm_hidden_weak.
21690         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
21691         libm_hidden_def.
21692         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21693         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21694         (__feupdateenv): Likewise.
21695         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
21696         __feupdateenv and define as weak alias of __feupdateenv.  Use
21697         libm_hidden_weak.
21698         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21699         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
21700         libm_hidden_def.
21701         * sysdeps/tile/math_private.h (__feupdateenv): New inline
21702         function.
21703         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
21704         libm_hidden_def.
21705         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
21706         __feupdateenv instead of feupdateenv.
21707         (default_libc_feupdateenv_test): Likewise.
21708         (libc_feresetround_ctx): Likewise.
21710 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21712         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
21713         prototype.
21715 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
21717         * posix/regcomp.c (parse_bracket_exp): Initialize type to
21718         COLL_SYM in a couple of places to avoid uninitialized variable
21719         wanings on tilegx gcc 4.8.2.
21721 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21723         * sysdeps/aarch64/strcpy.S: New file.
21724         * sysdeps/aarch64/stpcpy.S: New file.
21725         * NEWS: Updated.
21727 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21729         * sysdeps/aarch64/strrchr.S: New file.
21730         * NEWS: Updated.
21732 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
21734         [BZ #17658]
21735         * stdlib/setenv.c: Fix memory leak when setting large,
21736         duplicate string.
21738 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
21740         [BZ #17273]
21741         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
21742         and tabs from buffer before parsing fstab entry.
21743         * misc/tst-mntent.c (main): Add test for mount entry with
21744         trailing spaces and tabs.
21746 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
21748         [BZ #17748]
21749         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
21750         * math/fesetround.c (fesetround): Rename to __fesetround and
21751         define as weak alias of __fesetround.  Use libm_hidden_weak.
21752         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
21753         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
21754         * sysdeps/arm/fesetround.c (fesetround): Likewise.
21755         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
21756         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
21757         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
21758         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
21759         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
21760         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
21761         __fesetround_inline.
21762         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
21763         __fesetround_inline instead of __fesetround.
21764         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
21765         __fesetround and define as weak alias of __fesetround.  Use
21766         libm_hidden_weak.  Call __fesetround_inline instead of
21767         __fesetround.
21768         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
21769         __fesetround and define as weak alias of __fesetround.  Use
21770         libm_hidden_weak.
21771         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
21772         Likewise.
21773         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
21774         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21775         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
21776         * sysdeps/tile/math_private.h (__fesetround): New inline function.
21777         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
21778         __fesetround and define as weak alias of __fesetround.  Use
21779         libm_hidden_weak.
21780         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
21781         __fesetround instead of fesetround.
21782         (default_libc_feholdexcept_setround): Likewise.
21783         (libc_feholdsetround_ctx): Likewise.
21784         (libc_feholdsetround_noex_ctx): Likewise.
21786         [BZ #17748]
21787         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
21788         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
21789         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21790         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
21791         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21792         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
21793         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21794         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21795         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21796         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21797         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21798         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21799         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21800         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21801         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
21802         libm_hidden_def.
21803         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
21804         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
21805         Likewise.
21806         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21807         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21808         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21809         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21810         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
21811         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21812         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
21813         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
21814         __fesetenv instead of fesetenv.
21815         (libc_feresetround_noex_ctx): Likewise.
21816         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21817         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21818         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
21819         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21820         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21821         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21822         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21823         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21824         (__feupdateenv): Likewise.
21825         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21826         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21827         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21828         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
21830 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21832         [BZ #17806]
21833         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
21834         addresses have been freed.
21836 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21838         * resolv/res_init.c (__res_vinit): Improve comments about nserv
21839         and nservall.
21841 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
21843         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
21844         Clean up check_pf allocation pattern. addresses
21846 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21848         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
21849         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
21850         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
21851         * nptl/pthread_exit.c (__pthread_exit): Likewise.
21852         * nptl/pthread_join.c (pthread_join): Likewise.
21853         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21854         * sysdeps/posix/waitid.c (__waitid): Likewise.
21855         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21856         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21857         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21858         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21859         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21860         Likewise.
21861         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21862         (__libc_pread64): Likewise.
21863         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21864         (__libc_pwrite): Likewise.
21865         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21866         (__libc_pwrite64): Likewsie.
21867         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21868         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21869         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21870         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21871         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21872         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21873         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21875         Likewise.
21876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21877         (__libc_pread64): Likewise.
21878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
21879         Likewise.
21880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21881         (__libc_pwrite64): Likewise.
21882         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21883         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21884         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
21885         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
21886         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21887         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21888         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
21889         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21890         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21891         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21892         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
21893         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21894         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21895         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
21896         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21897         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21898         Likewise.
21900 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21902         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
21903         (CFLAGS-test-double.c): Likewise.
21904         (CFLAGS-test-ldouble.c): Likewise.
21905         (CPPFLAGS-test-ifloat.c): Likewise.
21906         (CPPFLAGS-test-idouble.c): Likewise.
21907         (CPPFLAGS-test-ildoubl.c): Likewise.
21908         (CFLAGS-test-test-fenv.c): Remove variable.
21909         (CFLAGS-test-misc.c): Likewise.
21911 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
21913         [BZ #17797]
21914         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
21915         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
21916         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
21917         CLOCKS_PER_SEC == 1000000.
21918         * time/clocktest.c (main): Replace %ld with %jd and cast to
21919         intmax_t.
21921 2015-01-05  Roland McGrath  <roland@hack.frob.com>
21923         * sysdeps/generic/unwind-resume.h: New file.
21924         * sysdeps/gnu/unwind-resume.c: Include it.
21925         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
21926         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
21927         argument list.
21928         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
21929         global rather than static.
21930         (_Unwind_Resume): Update user.
21931         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
21932         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
21933         rather than static.  Add __attribute__ ((cold)).
21934         (_Unwind_Resume, __gcc_personality_v0): Update callers.
21935         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
21936         * sysdeps/arm/arm-unwind-resume.S: New file.
21937         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
21938         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
21939         * sysdeps/arm/Makefile [$(subdir) = csu]
21940         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
21941         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21942         Add rt-arm-unwind-resume.
21943         [$(subdir) = nptl]
21944         (libpthread-sysdep_routines, libpthread-shared-only-routines):
21945         Add pt-arm-unwind-resume.
21946         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
21947         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
21949 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21951         [BZ #17748]
21952         * include/fenv.h (__feholdexcept): Declare.  Use
21953         libm_hidden_proto.
21954         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
21955         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
21956         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21957         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
21958         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
21959         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
21960         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
21961         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21962         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
21963         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
21964         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21965         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
21966         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
21967         (feholdexcept): Likewise.
21968         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21969         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21970         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21971         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21972         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
21973         __feholdexcept instead of feholdexcept.
21974         (default_libc_feholdexcept_setround): Likewise.
21976 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21978         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
21979         to avoid using stl/str to align destination.
21981 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21983         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
21985 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21987         [BZ #17796]
21988         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
21989         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
21990         Define as weak alias not strong alias.
21992 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21994         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
21995         bltzal with addiupc.
21996         (RTLD_START): Ditto.
21998 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
22000         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
22001         for __vdso_* functions in declarations.
22002         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
22003         definitions.
22004         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
22005         INTERNAL_VSYSCALL): Use struct return types to check for error.
22007         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
22008         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
22009         function with cast from llround().
22010         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
22011         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22012         Define.
22014 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22016         [BZ #17793]
22017         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
22018         Define as weak alias not strong alias.
22020         [BZ #17635]
22021         * ctype/ctype-c99.c: New file.  isblank implementation moved from
22022         ...
22023         * ctype/ctype-extn.c: ... here.
22024         (__isblank_l): Move to ...
22025         * ctype/ctype-c99_l.c: ... here.  New file.
22026         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
22027         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
22028         Remove variable.
22029         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22030         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22031         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22032         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22033         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22035         [BZ #17777]
22036         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
22037         (posix_fadvise64): Define as weak alias not strong alias.
22038         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22039         (posix_fallocate64): Likewise.
22040         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
22041         Remove variable.
22042         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22043         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22044         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22045         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22046         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22048 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
22050         [BZ #16191]
22051         * NEWS: Mention bug fix.
22052         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
22053         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
22054         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
22055         (HOST_STACK_END_ADDR): Likewise.
22057 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22059         [BZ #17748]
22060         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
22061         * math/fegetround.c (fegetround): Rename to __fegetround and
22062         define as weak alias of __fegetround.  Use libm_hidden_weak.
22063         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
22064         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
22065         * sysdeps/arm/fegetround.c (fegetround): Likewise.
22066         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
22067         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22068         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
22069         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
22070         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
22071         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22072         Undefine after rather than before function definition; use
22073         parentheses around function name in definition.
22074         (__fegetround): Also undefine macro after function definition.
22075         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
22076         __fegetround and define as weak alias of __fegetround.  Use
22077         libm_hidden_weak.  Do not undefine as macro.
22078         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22079         Likewise.
22080         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
22081         __fegetround and define as weak alias of __fegetround.  Use
22082         libm_hidden_weak.
22083         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22084         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22085         * sysdeps/tile/math_private.h (__fegetround): New inline function.
22086         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
22087         __fegetround and define as weak alias of __fegetround.  Use
22088         libm_hidden_weak.
22089         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
22090         __fegetround instead of fegetround.
22092         [BZ #17782]
22093         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
22094         Condition macro definition on [__USE_MISC].
22096         [BZ #17781]
22097         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
22098         (struct sigaction): Change type of sa_flags field to int.
22100         [BZ #17780]
22101         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
22102         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
22103         __glibc_reserved0.
22105         * nptl/version.c (banner): Use single year in copyright notice.
22107         * NEWS: Update copyright dates.
22108         * catgets/gencat.c (print_version): Likewise.
22109         * csu/version.c (banner): Likewise.
22110         * debug/catchsegv.sh: Likewise.
22111         * debug/pcprofiledump.c (print_version): Likewise.
22112         * debug/xtrace.sh (do_version): Likewise.
22113         * elf/ldconfig.c (print_version): Likewise.
22114         * elf/ldd.bash.in: Likewise.
22115         * elf/pldd.c (print_version): Likewise.
22116         * elf/sotruss.sh: Likewise.
22117         * elf/sprof.c (print_version): Likewise.
22118         * iconv/iconv_prog.c (print_version): Likewise.
22119         * iconv/iconvconfig.c (print_version): Likewise.
22120         * locale/programs/locale.c (print_version): Likewise.
22121         * locale/programs/localedef.c (print_version): Likewise.
22122         * login/programs/pt_chown.c (print_version): Likewise.
22123         * malloc/memusage.sh (do_version): Likewise.
22124         * malloc/memusagestat.c (print_version): Likewise.
22125         * malloc/mtrace.pl: Likewise.
22126         * manual/libc.texinfo: Likewise.
22127         * nptl/version.c (banner): Likewise.
22128         * nscd/nscd.c (print_version): Likewise.
22129         * nss/getent.c (print_version): Likewise.
22130         * nss/makedb.c (print_version): Likewise.
22131         * posix/getconf.c (main): Likewise.
22132         * scripts/test-installation.pl: Likewise.
22133         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22135 2015-01-02  Will Newton  <will.newton@linaro.org>
22137         * sysdeps/arm/armv7/configure: Removed.
22138         * sysdeps/arm/armv7/configure.ac: Likewise.
22140 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22142         * All files with FSF copyright notices: Update copyright dates
22143         using scripts/update-copyrights.
22144         * intl/plural.c: Regenerated.
22145         * locale/programs/charmap-kw.h: Likewise.
22146         * locale/programs/locfile-kw.h: Likewise.
22148 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22150         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
22152 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22154         [BZ #17748]
22155         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
22156         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
22157         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22158         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22159         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22160         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
22161         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22162         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
22163         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22164         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22165         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22166         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22167         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22168         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22169         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
22170         libm_hidden_def.
22171         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
22172         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
22173         Likewise.
22174         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22175         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22176         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22177         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22178         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
22179         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22180         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22181         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
22182         __fegetenv instead of fegetenv.
22183         (libc_feholdsetround_noex_ctx): Likewise.
22185 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
22187         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
22188         (Elf_MIPS_ABIFlags_v0): New structure.
22189         (EF_MIPS_FP64): Define.
22190         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
22191         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
22192         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
22193         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
22194         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
22195         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
22196         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
22197         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
22198         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
22199         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
22200         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
22201         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
22202         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
22203         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
22204         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
22205         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
22206         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
22207         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
22208         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
22209         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
22210         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
22211         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
22212         field.
22213         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
22214         EF_MIPS_FP64.
22215         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
22216         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
22217         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
22218         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
22219         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
22220         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
22221         * sysdeps/mips/tst-abi-interlink.c: Likewise.
22222         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
22223         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
22224         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
22225         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
22226         record the current FP ABI extension.
22227         (mips-mode-switch): Define to show if kernel headers support mode
22228         switching.
22229         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22230         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
22231         supported SYSV ABI version to 3.
22232         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
22233         feature.
22235 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22236             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22238         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
22239         path.
22240         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
22242 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22244         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
22245         __fegetround and redefine to call __fegetround.  Remove condition
22246         on [!__NO_MATH_INLINES].
22247         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
22248         function.
22249         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
22250         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22251         Remove macro.
22252         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
22253         instead of <fenv_libc.h>.
22254         (__llrintl): Call fegetround instead of __fegetround.
22255         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
22256         instead of <fenv_libc.h>.
22257         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22258         (__lrintl): Call fegetround instead of __fegetround.
22259         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
22260         instead of <fenv_libc.h>.
22261         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22262         (__rintl): Call fegetround instead of __fegetround.
22264 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22266         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
22267         arrays.
22269 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22271         [BZ #17775]
22272         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
22273         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
22274         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
22276 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22278         * sysdeps/i386/tls-macros.h: Include <features.h>.
22279         (TLS_LE): Use non-PIC version for GCC >= 5.0.
22280         (TLS_IE): Likewise.
22281         (TLS_LD): Likewise.
22282         (TLS_GD): Likewise.
22283         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
22284         define for GCC >= 5.0.
22286 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
22288         * math/test-fenv.c (test_single_exception, set_single_exc,
22289         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
22290         feexcp_mask_test, feenable_test, fe_single_test): Add
22291         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
22292         case where they are not used.
22293         * math/libm-test.inc: Likewise.
22294         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
22295         unused in the absence of FP rounding/exception support.
22296         * stdio-common/tst-printf-round.c: Likewise.
22297         * stdlib/tst-strtod-round.c: Likewise.
22298         * stdlib/tst-strtod-underflow.c: Likewise.
22300 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
22302         [BZ #17723]
22303         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
22304         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
22305         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22306         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22307         libm_hidden_weak.
22308         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
22309         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22310         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
22311         libm_hidden_def.
22312         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22313         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22314         libm_hidden_weak.
22315         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
22316         Likewise.
22317         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
22318         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22319         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22320         libm_hidden_weak.
22321         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22322         libm_hidden_def.
22323         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22324         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
22325         (__feraiseexcept): Likewise.
22326         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22327         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22328         libm_hidden_weak.
22329         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22330         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22331         libm_hidden_def.
22332         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
22333         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
22334         Use libm_hidden_def.
22335         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
22336         libm_hidden_def.
22337         (feraiseexcept): Define as weak not strong alias.  Use
22338         libm_hidden_weak.
22339         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
22340         New inline function.  Factored out of ...
22341         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
22342         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
22343         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
22344         feraiseexcept.
22345         * math/w_acos.c (__acos): Likewise.
22346         * math/w_asin.c (__asin): Likewise.
22347         * math/w_ilogb.c (__ilogb): Likewise.
22348         * math/w_j0.c (y0): Likewise.
22349         * math/w_j1.c (y1): Likewise.
22350         * math/w_jn.c (yn): Likewise.
22351         * math/w_log.c (__log): Likewise.
22352         * math/w_log10.c (__log10): Likewise.
22353         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
22354         * sysdeps/aarch64/fpu/math_private.h
22355         (libc_feupdateenv_test_aarch64): Likewise.
22356         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22357         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
22358         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
22359         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22360         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22361         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22362         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
22363         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22364         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22365         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22367 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22369         [BZ #17732]
22370         * io/test-utime.c (main): Replace %ld with %jd and cast to
22371         intmax_t.
22372         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
22373         * nptl/tst-mutex5.c: Include <stdint.h>.
22374         (do_test): Replace %ld with %jd and cast to intmax_t.
22375         * posix/tst-regex.c (run_test): Likewise.
22376         (run_test_backwards): Likewise.
22377         * rt/tst-clock.c: Include <stdint.h>.
22378         (clock_test): Replace %ld with %jd and cast to intmax_t.
22379         * rt/tst-cpuclock1.c: Include <stdint.h>.
22380         (do_test): Replace %lu with %ju and cast to uintmax_t.
22381         * rt/tst-cpuclock2.c: Include <stdint.h>.
22382         (do_test): Replace %lu with %ju and cast to uintmax_t.
22383         * rt/tst-mqueue1.c: Include <stdint.h>.
22384         (check_attrs): Replace %ld with %jd and cast to intmax_t.
22385         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
22386         intmax_t.
22387         * rt/tst-mqueue4.c (do_test): Likewise.
22388         * rt/tst-timer4.c: Include <stdint.h>.
22389         (check_ts): Replace %ld with %jd and cast to intmax_t.
22390         (do_test): Likewise.
22391         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
22392         and cast to intmax_t.
22393         * sysdeps/pthread/tst-timer.c (main): Likewise.
22394         * time/clocktest.c (main): Likewise.
22395         * time/tst-posixtz.c (do_test): Likewise.
22396         * timezone/tst-timezone.c (main): Likewise.
22398 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22399             H.J. Lu  <hongjiu.lu@intel.com>
22401         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
22402         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
22403         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
22404         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
22405         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
22406         version if bit_Fast_Unaligned_Load is set.
22407         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22408         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22409         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22410         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22411         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22412         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22413         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22414         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
22415         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
22416         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
22417         to 4.
22418         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
22419         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
22420         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
22421         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
22423 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
22425         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
22426         instead of #if to avoid a Wundef warning.
22427         * stdlib/tst-limits.c (do_test): Likewise.
22429         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
22430         parallel other exception macros.
22431         (fegetenv): Convert from macro to extern inline so that it applies
22432         retroactively to inline functions already seen by the compiler.
22433         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
22435         * posix/Makefile (before-compile): Use $(objpfx) for
22436         posix-conf-vars-def.h.
22438 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22440         * posix/getconf.c (main): Use size_t for type of I.
22441         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
22442         NSPEC.
22444         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
22445         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
22446         * posix/posix-envs.def: Likewise.
22447         * sysdeps/posix/sysconf.c: Likewise.
22448         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
22449         (specs): Remove array.
22450         * scripts/gen-posix-conf-vars.awk: Support generation of specs
22451         array.
22453         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
22454         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
22455         (__sysconf): Use CONF_IS_* macros.
22457         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
22458         ($(objpfx)posix-conf-vars-def.h): New target.
22459         * posix/posix-conf-vars.list: New file.
22460         * posix/posix-conf-vars.h: New file.
22461         * posix/confstr.c: Include posix-conf-vars.h.
22462         (confstr): Use CONF_IS_* macros.
22463         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
22464         CONF_IS_* macros.
22465         * scripts/gen-posix-conf-vars.awk: New file.
22467 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
22469         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
22470         fegetround): Add no-op macros to avoid linknamespace issues.
22472         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
22473         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
22475         * sysdeps/unix/sysv/linux/tile/sysdep.h
22476         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
22477         assembly-specific section to avoid a redefinition warning.
22479         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
22480         long before casting to pointer to avoid a cast warning.
22482 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
22484         * sysdeps/tile/tilegx/Implies: New file.
22486 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
22488         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
22490 2014-12-23  Florian Weimer  <fweimer@redhat.com>
22492         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
22494 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22496         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
22497         not define.
22498         * sysdeps/unix/sysv/linux/utimes.c: Do not include
22499         <kernel-features.h>.
22500         (__utimes) [__NR_utimes]: Make code unconditional.
22501         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
22502         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22503         (__ASSUME_UTIMES): Do not undefine.
22504         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22505         (__ASSUME_UTIMES): Likewise.
22506         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22507         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
22508         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
22509         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
22511 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22513         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
22515 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
22517         [BZ #17747]
22518         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
22519         alias to weak alias for j0l, y0l.
22520         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
22521         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
22523         [BZ #17746]
22524         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
22525         conversion.
22527 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22529         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
22530         to zero if not already defined.
22532 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22534         [BZ #17724]
22535         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
22536         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
22537         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
22538         (char *) casts added.
22539         * sysdeps/ieee754/k_standardf.c: New file.
22540         * sysdeps/ieee754/k_standardl.c: Likewise.
22541         * math/Makefile (libm-support): Remove k_standard.
22542         (libm-calls): Add k_standard.
22544 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22546         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22547         Optimize to avoid an unnecessary FPCR read.
22549 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22551         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22552         Optimize to reduce FPCR/FPSR accesses.
22554 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22556         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
22557         Call libc_fetestexcept_aarch64.
22559 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22561         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
22562         Call libc_fesetround_aarch64.
22564 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22566         [BZ #17733]
22567         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
22568         (__bind): Do not define as weak alias.
22569         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
22570         define.
22571         (__getsockname): Do not define as weak alias.
22573 2014-12-22  Will Newton  <will.newton@linaro.org>
22575         * manual/install.texi: Document that we require bison 2.7
22576         or above.
22577         * INSTALL: Regenerate.
22578         * configure.ac: Use AC_CHECK_PROG_VER instead of
22579         AC_PATH_PROG when checking for bison and check for
22580         version 2.7 or above.
22581         * configure: Regenerate.
22583 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
22585         [BZ #17745]
22586         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
22587         * sysdeps/tile/ffsll.c (ffsll): To here.
22589         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
22591 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22593         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
22594         if not defined.
22595         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
22596         definition.
22597         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22598         hidden ___tls_get_addr.
22599         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22600         hidden __tls_get_addr.
22601         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
22602         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
22603         Likewise.
22605 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
22607         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
22608         _dl_init call.
22610 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22612         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
22613         from "call _dl_init@PLT".
22614         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
22616 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
22618         * manual/search.texi: (Array Sort Function): Clarify stable sorting
22619         guarantees.
22621 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
22623         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
22625 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22627         [BZ #17744]
22628         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
22629         strnlen.
22631 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22633         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
22634         of multu on MIPSr6.
22635         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
22636         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
22637         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
22638         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
22639         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
22641 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22643         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
22644         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
22645         (PTR_SUBU): Use subu for mips32r6/mips64r6.
22646         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
22647         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
22648         mips32r6/mips64r6.
22649         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
22651 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
22653         * string/strncat.c (STRNCAT): Simplify implementation.
22655 2014-12-19  David S. Miller  <davem@davemloft.net>
22657         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
22658         access the quad as both a long double and as a series of 4 words.
22660         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
22661         link_map->l_info array access.
22663 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22665         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
22667         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
22668         * math/atest-exp2.c (TIMEOUT): Likewise.
22669         * math/atest-sincos.c (TIMEOUT): Likewise.
22671 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22673         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
22674         -Wno-error with -fno-builtin-lround.
22676 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22678         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
22679         Contains futex constants and functions moved over from ...
22680         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
22681         <lowlevellock-futex.h>.
22682         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22683         (lll_timedwait_tid): Add comments and parentheses around macro
22684         arguments.
22686 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22688         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
22689         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
22690         (__lll_private_flag): Remove.
22691         (lll_futex_wait): Likewise.
22692         (lll_futex_timed_wait): Likewise.
22693         (lll_futex_wake): Likewise.
22694         (lll_futex_requeue): Likewise.
22695         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22696         (__lll_timedwait_tid): Spell out argument names.
22697         (lll_timedwait_tid): Add comments and parentheses around macro
22698         arguments.
22699         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
22700         LLL_SHARED and LLL_PRIVATE usable from assembly code.
22702 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22704         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
22705         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22706         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22707         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
22708         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
22709         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
22710         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
22711         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
22712         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
22713         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
22714         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
22715         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
22716         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
22717         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
22718         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
22719         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
22720         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
22721         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
22722         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
22724 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22726         * sysdeps/x86_64/x32/Makefile: New file.
22728 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22730         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
22731         1L with (mp_limb_t) 1.
22733 2014-12-17  Roland McGrath  <roland@hack.frob.com>
22735         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
22736         * nptl/libc_pthread_init.c: ... here.
22737         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
22738         * nptl/register-atfork.c: ... here.
22740         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
22741         Use pthread_sigmask rather than INTERNAL_SYSCALL.
22742         Use assert_perror to check its return value.
22743         (__gai_create_helper_thread): Likewise.
22745         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
22747         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
22749 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
22751         [BZ #17725]
22752         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
22753         __profil_counter.
22754         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
22755         Likewise.
22756         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
22757         Likewise.
22758         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
22759         Likewise.
22760         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
22761         (profil_counter): Likewise.
22762         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
22763         (profil_counter): Likewise.
22764         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
22765         Likewise.
22766         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
22767         Likewise.
22768         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
22769         (profil_counter): Likewise.
22770         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
22771         Likewise.
22772         [!__profil_counter] (profil_counter): Define as weak alias of
22773         __profil_counter.
22774         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
22775         (profil_counter): Rename to __profil_counter.
22776         [!__profil_counter] (profil_counter): Define as weak alias of
22777         __profil_counter.
22778         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
22779         (profil_counter): Rename to __profil_counter.
22780         [!__profil_counter] (profil_counter): Define as weak alias of
22781         __profil_counter.
22782         * sysdeps/posix/profil.c: Update comment referring to
22783         profil_counter.
22784         (__profil): Use __profil_counter instead of profil_counter.
22785         * sysdeps/posix/sprofil.c (profil_counter): Rename to
22786         __profil_counter.  Use __profil_counter_ushort and
22787         __profil_counter_uint in definitions.
22788         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
22789         instead of profil_counter_uint and profil_counter_ushort.
22791         [BZ #17722]
22792         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
22793         define as weak alias of __inet_makeaddr.
22794         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
22795         as weak alias of __inet_addr.
22796         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
22797         as weak alias of __inet_pton.  Use libc_hidden_weak.
22798         * include/arpa/inet.h (__inet_pton): Declare.  Use
22799         libc_hidden_proto.
22800         (inet_makeaddr): Don't use libc_hidden_proto.
22801         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
22802         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
22803         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
22804         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
22805         Remove variable.
22806         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
22807         (test-xfail-POSIX/time.h/linknamespace): Likewise.
22809 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
22811         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
22813 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22815         * stdio-common/bug-vfprintf-nargs.c (do_test):
22816         Cast value to intptr_t to avoid format warning
22817         for usage with PRIdPTR printing macro.
22819 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22821         * libio/tst-widetext.c (do_test):
22822         Use format type %td instead of %Zd for ptrdiff_t
22823         in order to avoid format warning.
22825 2014-12-17  Andreas Schwab  <schwab@suse.de>
22827         * nscd/mem.c (gc): Add size_t cast to match printf format.
22829 2014-12-16  Roland McGrath  <roland@hack.frob.com>
22831         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
22832         (init): Apply PTR_MANGLE to pointers before storing them.
22833         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
22834         before using them.
22836 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
22838         [BZ #17719]
22839         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
22840         define as weak alias of __memrchr.
22841         (__memrchr): Do not define as strong alias of memrchr.
22842         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
22843         Remove variable.
22844         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
22845         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22846         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
22848         [BZ #17717]
22849         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
22850         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
22851         (if_indextoname): Rename to __if_indextoname and define as weak
22852         alias of __if_indextoname.  Use libc_hidden_weak.
22853         (if_freenameindex): Rename to __if_freenameindex and define as
22854         weak alias of __if_freenameindex.
22855         (if_nameindex): Rename to __if_nameindex and define as weak alias
22856         of __if_nameindex.
22857         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
22858         __if_nametoindex and define as weak alias of __if_nametoindex.
22859         Use libc_hidden_weak.
22860         (if_freenameindex): Rename to __if_freenameindex and define as
22861         weak alias of __if_freenameindex.
22862         (if_nameindex): Rename to __if_nameindex and define as weak alias
22863         of __if_nameindex.
22864         (if_indextoname): Rename to __if_indextoname and define as weak
22865         alias of __if_indextoname.  Use libc_hidden_weak.
22866         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
22867         __if_nametoindex and define as weak alias of __if_nametoindex.
22868         Use libc_hidden_weak.
22869         (if_freenameindex): Rename to __if_freenameindex and define as
22870         weak alias of __if_freenameindex.  Use libc_hidden_weak.
22871         (if_nameindex_netlink): Use __if_freenameindex instead of
22872         if_freenameindex.
22873         (if_nameindex): Rename to __if_nameindex and define as weak alias
22874         of __if_nameindex.  Use libc_hidden_weak.
22875         (if_indextoname): Rename to __if_indextoname and define as weak
22876         alias of __if_indextoname.  Use libc_hidden_weak.
22877         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
22878         libc_hidden_proto.
22879         [!_ISOMAC] (__if_freenameindex): Likewise.
22880         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
22881         if_nametoindex.
22882         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
22883         variable.
22884         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
22885         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
22886         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
22887         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
22888         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
22889         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
22890         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
22892         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
22893         Remove variable.
22894         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
22895         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
22897 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22899         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
22900         subscript above bounds'
22902         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
22903         bounds.
22905 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
22907         * libio/tst-fopenloc.c: Use test-skeleton.c.
22909         * stdlib/tst-bsearch.c: Use test-skeleton.c.
22910         (entry): Rename to ITEM.
22911         (do_test, comp): Adjust.
22913         * stdio-common/tst-fseek.c: Use test-skeleton.c.
22915 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22917         * string/tester.c: Include <libc-internal.h>.
22918         (test_memset): Ignore -Wmemset-transposed-args.
22920 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22922         * misc/tst-mntent2.c (do_test): Fix warning.
22924 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22926         * elf/tst-unique4lib.cc(a): Mark as used.
22928 2014-12-16  Florian Weimer  <fweimer@redhat.com>
22930         [BZ #17630]
22931         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
22932         names.
22934 2014-12-16  Allan McRae  <allan@archlinux.org>
22936         * stdio-common/Makefile (tests): Re-add bug26.
22938 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
22940         [BZ #17657]
22941         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
22942         static array.
22944 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
22946         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
22947         (__lll_lock_wait): Likewise.
22948         (__lll_timedlock_wait): Likewise.
22949         (__lll_timedwait_tid): Likewise.
22950         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
22951         (__lll_robust_timedlock_wait): Likewise.
22952         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
22953         (lll_cond_trylock): Likewise.
22954         (__lll_lock): Likewise.
22955         (__lll_robust_lock): Likewise.
22956         (__lll_cond_lock): Likewise.
22957         (lll_robust_cond_lock): Likewise.
22958         (__lll_timedlock): Likewise.
22959         (__lll_robust_timedlock): Likewise.
22960         (__lll_unlock): Likewise.
22961         (__lll_robust_unlock): Likewise.
22962         (lll_wait_tid): Likewise.
22963         (lll_timedwait_tid): Likewise.
22965 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22967         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
22969 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22971         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
22973 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22975         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
22976         * stdio-common/tst-sprintf.c: Likewise.
22978 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22980         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
22982 2014-12-15  Jeff Law  <law@redhat.com>
22984         [BZ #16617]
22985         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
22986         on the heap.  (CVE-2012-3406)
22987         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
22988         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
22989         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
22991 2014-12-15  Will Newton  <will.newton@linaro.org>
22993         * manual/install.texi: Bump required version of texinfo
22994         to 4.7 from 4.5.
22995         * INSTALL: Regenerated.
22996         * configure.ac: Check for makeinfo version 4.7 and above.
22997         * configure: Regenerated.
22999 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23001         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
23002         PREFIX, string constant to insert between directory and name.
23003         * sysdeps/posix/shm_open.c: Update caller.
23004         * sysdeps/posix/shm_unlink.c: Likewise.
23005         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
23006         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
23007         (SEM_SHM_PREFIX): New macro.
23008         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
23009         [$(have-thread-library) = no].
23010         * nptl/Makefile (libpthread-routines): Add shm-directory.
23011         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
23012         * sysdeps/nptl/shm-directory.h: New file.
23013         * sysdeps/posix/shm-directory.c
23014         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
23015         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23016         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
23017         INTERNAL_SYSCALL.
23018         (__where_is_shmfs): Function removed.
23019         (mountpoint, defaultmount, defaultdir, __namedsem_once):
23020         Variables removed.
23021         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
23022         Use SHM_GET_NAME.
23023         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
23025         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
23026         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
23027         unconditional for use inside libpthread.
23028         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
23030 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23032         * nptl/pthread_getaffinity.c: New file.
23033         * nptl/pthread_setaffinity.c: New file.
23034         * nptl/pthread_getname.c: New file.
23035         * nptl/pthread_setname.c: New file.
23037         * nptl/pthread_create.c (START_THREAD_DEFN)
23038         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
23040 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23041             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23043         * resolv/res_send.c (send_vc): Disable warning resplen may
23044         be used uninitialized.
23046 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23048         * nptl/tst-mutex6.c
23049         (ATTR_NULL): New define checks ATTR against NULL.
23050         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
23051         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
23053 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
23055         [BZ #17581]
23056         * malloc/hooks.c
23057         (mem2mem_check): Revert my previous change.
23058         (malloc_check_get_size): Revert my previous change.
23059         (mem2chunk_check): Revert my previous change.
23061 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23063         * sysdeps/posix/shm-directory.c: New file.
23064         * sysdeps/posix/shm-directory.h: New file.
23065         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
23066         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
23067         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
23068         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
23069         Transmute EPERM to EACCES.
23070         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
23071         from ...
23072         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
23073         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
23075 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23077         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
23078         pointer and cast to uintptr_t.
23079         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
23080         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
23081         Add cast to avoid warning.
23082         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
23084 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23086         * nptl/semaphore.h: Move to ...
23087         * sysdeps/pthread/semaphore.h: ... here.
23088         * Makefile (installed-headers): Change nptl/semaphore.h to
23089         sysdeps/pthread/semaphore.h.
23091 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23093         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
23094         generated error format strings.
23096         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
23097         -Wformat-extra-args warnings for scanf formats.
23098         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
23099         test of zero-length format (duh).
23100         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
23101         corner-case scanf format test.
23102         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
23103         generated fprintf format string.
23104         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
23105         corner-case sprintf format tests.
23106         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
23107         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
23108         -Wformat-extra-args warnings throughout.
23109         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
23110         (CFLAGS-scanf4.c): Likewise.
23111         (CFLAGS-scanf7.c): Likewise.
23112         (CFLAGS-tst-sprintf.c): Likewise.
23113         (CFLAGS-tst-printf.c): Likewise.
23114         (CFLAGS-tst-printfsz.c): Likewise.
23116 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23118         * include/cpio.h: New file.
23119         * include/fmtmsg.h: Likewise.
23121         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
23122         corresponding format argument to size_t.
23123         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
23124         arguments.
23125         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
23126         corresponding format argument to size_t.
23127         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
23128         arguments.
23129         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
23130         corresponding format argument to size_t.
23131         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
23132         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
23133         (CFLAGS-tst-mbswcs2.c): Likewise.
23134         (CFLAGS-tst-mbswcs3.c): Likewise.
23135         (CFLAGS-tst-mbswcs4.c): Likewise.
23136         (CFLAGS-tst-mbswcs5.c): Likewise.
23137         (CFLAGS-tst-trans.c): Likewise.
23139 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23141         * posix/regexbug1.c (main): Use "%s" format with regerror results,
23142         rather than assuming they won't contain any '%'s.
23144 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
23146         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
23147         inhibit_loop_to_libcall to avoid recursive calls.
23148         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
23149         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
23151 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23153         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
23154         prototype.
23156 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23158         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
23159         integer value instead of boolean.
23161 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23163         * malloc/malloc.c: Fix powerof2 check.
23165 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23167         * locale/programs/locfile.h (maybe_swap_uint32):
23168         Remove inline and add unused attribute.
23170 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23172         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23173         Truncating assembler expression to a .long expression.
23175 2014-12-11  Andreas Schwab  <schwab@suse.de>
23177         * elf/rtld.c (struct map_args): Constify str member.
23178         (do_preload): Constify fname argument.
23180 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23182         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
23183         constants definition.
23185 2014-12-11  Andreas Schwab  <schwab@suse.de>
23187         [BZ #16657]
23188         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
23189         FORCE_ELISION instead of DO_ELISION.
23190         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
23191         Remove.
23192         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
23193         Likewise.
23195         * iconvdata/gconv-modules: Remove duplicate entry.
23197 2014-12-11  Will Newton  <will.newton@linaro.org>
23199         Merge gettext 0.19.3 into intl/.
23201         This involves a number of cosmetic changes to comments
23202         and ANSI function definitions and prototypes throughout
23203         all the files. The gettext copyright header is used but
23204         with the date ranges taken from the glibc copy.
23206         * NEWS: Add gettext merge to 2.21.
23207         * intl/bindtextdom.c: Switch to gettext copyright.
23208         Use ANSI definitions and prototypes.
23209         Use gl_* locking primitives rather than __libc_* ones.
23210         Use __builtin_expect rather than __glibc_likely/unlikely.
23211         * intl/dcgettext.c: Switch to gettext copyright.
23212         Use ANSI definitions and prototypes.
23213         * intl/dcigettext.c: Switch to gettext copyright.
23214         Use ANSI definitions and prototypes.
23215         (INTDIV0_RAISES_SIGFPE): New define.
23216         Use gl_* locking primitives rather than __libc_* ones.
23217         Include eval-plural.h instead of plural-eval.c.
23218         Use __builtin_expect rather than __glibc_likely/unlikely.
23219         * intl/dcngettext.c: Switch to gettext copyright.
23220         Use ANSI definitions and prototypes.
23221         * intl/dgettext.c: Likewise.
23222         * intl/dngettext.c: Likewise.
23223         * intl/plural-eval.c: Renamed to...
23224         * intl/eval-plural.h: ...this.
23225         * intl/explodename.c: Switch to gettext copyright.
23226         Use ANSI definitions and prototypes.
23227         (_nl_explode_name): Use strchr instead of __rawmemchr.
23228         * intl/finddomain.c: Switch to gettext copyright.
23229         Use ANSI definitions and prototypes.
23230         Use gl_* locking primitives rather than __libc_* ones.
23231         (_nl_find_domain): Use malloc rather than alloca for
23232         allocation of temporary locale name.
23233         * intl/gettext.c: Switch to gettext copyright.
23234         Use ANSI definitions and prototypes.
23235         * intl/gettextP.h: Switch to gettext copyright.
23236         Use ANSI definitions and prototypes.
23237         Use gl_* locking primitives rather than __libc_* ones.
23238         * intl/gmo.h: Switch to gettext copyright.
23239         (struct sysdep_string): Move struct segment_pair outside of
23240         struct definition.
23241         * intl/hash-string.c: Use ANSI definitions and prototypes.
23242         * intl/hash-string.h: Switch to gettext copyright.
23243         Use ANSI definitions and prototypes.
23244         * intl/l10nflist.c: Switch to gettext copyright.
23245         Use ANSI definitions and prototypes.
23246         (_nl_normalize_codeset): Avoid integer overflow.
23247         * intl/loadinfo.h: Switch to gettext copyright.
23248         Use ANSI definitions and prototypes.
23249         (LIBINTL_DLL_EXPORTED): New define.
23250         (PATH_SEPARATOR): New define.
23251         * intl/loadmsgcat.c: Switch to gettext copyright.
23252         * intl/localealias.c: Switch to gettext copyright.
23253         Use ANSI definitions and prototypes.
23254         (_nl_expand_alias): Use PATH_SEPARATOR.
23255         * intl/ngettext.c: Switch to gettext copyright.
23256         Use ANSI definitions and prototypes.
23257         * intl/plural-exp.c: Likewise.
23258         * intl/plural-exp.h: Switch to gettext copyright.
23259         Use ANSI definitions and prototypes.
23260         (struct expression): Move definition of enum operator outside
23261         of struct definition.
23262         * intl/plural.c: Regenerate.
23263         * intl/plural.y: Switch to gettext copyright.
23264         Use ANSI definitions and prototypes.
23265         Port to bison 3.0.
23266         * intl/textdomain.c: Switch to gettext copyright.
23267         Use ANSI definitions and prototypes.
23268         Use gl_* locking primitives rather than __libc_* ones.
23270 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
23272         * debug/warning-nop.c: Add used atrribute.
23274 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23276         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
23278         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
23279         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
23280         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
23282 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23283             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23285         [BZ #17634]
23286         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
23287         Undefine after defining function.  Define as weak alias of
23288         __wcschr.  Use libc_hidden_weak.
23289         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
23290         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
23291         (libc_hidden_def): Also define __GI___wcschr alias.
23292         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
23293         __wcschr and define as weak alias of __wcschr.
23294         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
23295         __wcschr.
23296         [!WCSCHR] (DEFAULT_WCSCHR): Define.
23297         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
23298         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
23299         libc_hidden_weak.  Do not use libc_hidden_def.
23300         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
23301         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
23302         __GI___wcschr alias.
23303         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
23304         [IS_IN (libc)] (wcschr): Define as macro expanding to
23305         __redirect_wcschr.
23306         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
23307         [IS_IN (libc)] (__wcschr_power6): Likewise.
23308         [IS_IN (libc)] (__wcschr_power7): Likewise.
23309         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
23310         instead of wcschr.
23311         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
23312         __libc_wcschr.
23313         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
23314         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
23315         __wcschr and define as weak alias of __wcschr.  Use
23316         libc_hidden_builtin_def.
23317         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
23318         as weak alias of __wcschr.  Use libc_hidden_weak.
23319         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
23320         wcschr.
23321         * time/era.c (_nl_init_era_entries): Likewise.
23322         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
23323         variable.
23324         (test-xfail-XPG3/time.h/linknamespace): Likewise.
23325         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23327 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23329         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
23330         format for long int variable.
23332 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
23334         [BZ #10672]
23335         * manual/search.texi: (Array Sort Function): Remove claim how to make
23336         qsort stable.
23338 2014-12-10  Andreas Schwab  <schwab@suse.de>
23340         [BZ #12847]
23341         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
23342         user-controlled locks.
23344 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
23346         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
23347         register.
23349 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23351         * configure.ac (--disable-werror): New configure option.
23352         (enable_werror): New AC_SUBST.
23353         * configure: Regenerated.
23354         * config.make.in (enable-werror): New variable.
23355         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
23356         -Wno-error=undef.
23357         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
23358         * manual/install.texi (Configuring and compiling): Document
23359         --disable-werror.
23360         * INSTALL: Regenerated.
23361         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
23362         (CFLAGS-tst-chk2.c): Likewise.
23363         (CFLAGS-tst-chk3.c): Likewise.
23364         (CFLAGS-tst-chk4.cc): Likewise.
23365         (CFLAGS-tst-chk5.cc): Likewise.
23366         (CFLAGS-tst-chk6.cc): Likewise.
23367         (CFLAGS-tst-lfschk1.c): Likewise.
23368         (CFLAGS-tst-lfschk2.c): Likewise.
23369         (CFLAGS-tst-lfschk3.c): Likewise.
23370         (CFLAGS-tst-lfschk4.cc): Likewise.
23371         (CFLAGS-tst-lfschk5.cc): Likewise.
23372         (CFLAGS-tst-lfschk6.cc): Likewise.
23374         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
23375         (main): Disable -Wdeprecated-declarations around calls to
23376         register_printf_function.
23378         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
23379         (do_test): Disable -Wdiv-by-zero around some calls to
23380         fwrite_unlocked and fread_unlocked.
23382         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
23383         (DIAG_POP_NEEDS_COMMENT): Likewise.
23384         (_DIAG_STR1): Likewise.
23385         (_DIAG_STR): Likewise.
23386         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
23387         * stdio-common/bug21.c: Include <libc-internal.h>.
23388         (do_test): Disable -Wformat around call to sscanf.
23389         * stdio-common/scanf14.c: Include <libc-internal.h>.
23390         (main): Disable -Wformat around some calls to scanf functions.
23392 2014-12-09  Torvald Riegel  <triegel@redhat.com>
23394         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
23396 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23398         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
23399         stack variable alignment.
23401 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
23403         [BZ #17682]
23404         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
23405         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
23406         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
23407         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
23408         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
23409         __getrlimit instead of getrlimit.
23410         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
23411         __gettimeofday instead of gettimeofday.
23412         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23413         Likewise.
23414         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23415         Likewise.
23416         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23417         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
23418         Remove variable.
23419         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23420         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23422 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23424         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
23425         for wide-character tests.
23427 2014-12-04  Roland McGrath  <roland@hack.frob.com>
23429         * io/openat64.c: #include <libc-internal.h>
23430         (__openat64): Prototypify.  Use ignore_value on MODE.
23431         * io/openat.c: Likewise.
23432         * misc/reboot.c: #include <libc-internal.h>
23433         (reboot): Prototypify.  Use ignore_value on HOWTO.
23434         * misc/ptrace.c: #include <libc-internal.h>
23435         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
23437 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
23439         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
23440         XPG4, UNIX98 and XOPEN2K.
23441         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
23442         Remove variable.
23443         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23445 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23447         * libio/fileops.c: Use ISO C style for function definitions.
23448         * libio/iofopen.c: Likewise.
23449         * libio/wfileops.c: Likewise.
23451         [BZ #17653]
23452         * libio/fileops.c (_IO_new_file_underflow): Unset cached
23453         offset on EOF.
23454         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
23455         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
23456         (fgets_func): Function pointer to fgets and fgetws.
23457         (do_ftell_test): Add test to verify ftell value after read
23458         EOF.
23459         (do_test): Set fgets_func.
23461         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
23462         O_TRUNC flag for w and w+ modes.
23463         (do_rewind_test): Likewise.
23464         (do_ftell_test): Likewise.
23465         (do_write_test): Likewise.
23467         [BZ #17647]
23468         * libio/fileops.c (do_ftell): Seek only when there are
23469         unflushed writes.
23470         * libio/wfileops.c (do_ftell_wide): Likewise.
23471         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
23472         test case.
23473         (do_one_test): Call it.
23475 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
23477         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
23478         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
23479         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
23480         Remove variable.
23481         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23482         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23483         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23485 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23487         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
23488         Remove variable.
23489         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23491         [BZ #17668]
23492         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
23493         as weak alias of __getifaddrs.  Use libc_hidden_weak.
23494         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23495         __freeifaddrs.  Use libc_hidden_weak.
23496         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
23497         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
23498         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23499         __freeifaddrs.  Use libc_hidden_weak.
23500         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
23501         __getifaddrs and define as weak alias of __getifaddrs.  Use
23502         libc_hidden_weak.
23503         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23504         __freeifaddrs.  Use libc_hidden_weak.
23505         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
23506         Remove variable.
23507         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23508         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23510 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
23512         [BZ #17601]
23513         * sysdeps/mips/start.S (__start): Use indirect jump to call
23514         __libc_start_main.
23516 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23518         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
23520         * nptl/tst-mutex1.c: Include <stdbool.h>.
23521         [!ATTR] (ATTR_NULL): New macro.
23522         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
23523         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
23524         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
23526         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
23527         to char *.
23529         [BZ #17665]
23530         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
23531         Change conditional to [__USE_MISC].
23533         [BZ #17664]
23534         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
23535         fgets_unlocked.
23536         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
23537         __fgets_unlocked.
23538         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
23539         fgets_unlocked.
23540         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
23541         Remove variable.
23542         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23543         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23544         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23545         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23546         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23547         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23548         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23549         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23550         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23552         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
23554 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23556         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23557         Remove strpbrk objects.
23558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23559         (__libc_ifunc_impl_list): Remove strpbrk implementation.
23560         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
23561         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
23562         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
23563         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
23565         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23566         Remove strcspn objects.
23567         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23568         (__libc_ifunc_impl_list): Remove strcspn implementation.
23569         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
23570         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
23571         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
23572         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
23574         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23575         Remove strspn objetcs.
23576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23577         (__libc_ifunc_impl_list): Remove strspn implementation.
23578         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
23579         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23580         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
23581         * sysdeps/powerpc/powerpc64/strspn.S: New file.
23583 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
23585         [BZ #17581]
23586         * malloc/hooks.c
23587         (mem2mem_check): Add a terminator to the chain of checking blocks.
23588         (malloc_check_get_size): Use it here.
23589         (mem2chunk_check): Ditto.
23591 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23593         * sysdeps/powerpc/powerpc64/strtok.S: New file.
23594         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
23596 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
23598         * bits/ioctl-types.h: Indent preprocessor directives correctly.
23600         * nptl/nptl-init.c: Include libc-internal.h.
23601         (__pthread_initialize_minimal_internal): Use ROUND_UP.
23603         * elf/ldconfig.c (search_dir): Expand comment.
23605 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
23607         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
23608         variable.
23609         (linknamespace-symlist-stdlibs-tests): Likewise.
23610         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
23611         instead of $(objpfx)symlist-stdlibs.
23612         (linknamespace-libs-isoc): New variable.
23613         (linknamespace-libs): Use $(linknamespace-libs-isoc).
23614         (linknamespace-libs-ISO): New variable.
23615         (linknamespace-libs-ISO99): Likewise.
23616         (linknamespace-libs-ISO11): Likewise.
23617         (linknamespace-libs-XPG3): Likewise.
23618         (linknamespace-libs-XPG4): Likewise.
23619         (linknamespace-libs-POSIX): Likewise.
23620         (linknamespace-libs-UNIX98): Likewise.
23621         (linknamespace-libs-XOPEN2K): Likewise.
23622         (linknamespace-libs-POSIX2008): Likewise.
23623         (linknamespace-libs-XOPEN2K8): Likewise.
23624         ($(objpfx)symlist-stdlibs): Replace by
23625         $(linknamespace-symlist-stdlibs-tests).  Use
23626         $(linknamespace-libs-$*) as set of libraries.
23627         ($(linknamespace-header-tests)): Update dependencies.  Use
23628         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
23629         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
23630         * conform/linknamespace.pl: Remove comment about considering
23631         definitions of symbols from irrelevant libraries.
23633 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
23635         [BZ #13862]
23636         * elf/dl-tls.c: Include <atomic.h>.
23637         (oom): Remove #ifdef SHARED/#endif.
23638         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
23639         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
23640         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
23641         big enough.
23642         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
23643         * nptl/Makefile (tests): Add tst-stack4.
23644         (modules-names): Add tst-stack4mod.
23645         ($(objpfx)tst-stack4): New.
23646         (tst-stack4mod.sos): Likewise.
23647         ($(objpfx)tst-stack4.out): Likewise.
23648         ($(tst-stack4mod.sos)): Likewise.
23649         (clean): Likewise.
23650         * nptl/tst-stack4.c: New file.
23651         * nptl/tst-stack4mod.c: Likewise.
23653 2014-11-27  J. Brown  <jb999@gmx.de>
23655         * sysdeps/x86/bits/string.h: Add recent CPUs.
23657 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23659         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
23660         sigblock.
23662         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
23663         feof.
23665         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
23666         variable.
23668 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
23670         * nscd/connections.c: Include libc-internal.h because of macro
23671         usage ignore_value.
23673 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23675         * string/bits/string3.h (__warn_memset_zero_len): Don't
23676         declare for gcc newer than 5.0.
23677         (memset): Don't test for zero-length __LEN for gcc newer than
23678         5.0.
23680 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23682         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
23683         size_t for %zu format.
23685         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
23686         difference, not %ju.
23688 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23690         * include/libc-internal.h (ignore_value): New macro.
23691         * nscd/connections.c (restart): Wrap calls to setuid and setgid
23692         with ignore_value.
23694         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
23695         definition.
23697         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
23698         pthread_cleanup_push to void *.
23700         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
23701         Undefine.
23703         [BZ #16619]
23704         [BZ #16740]
23705         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
23706         instead of 1L << 52.
23708         * libio/bug-rewind.c (do_test): Check fwscanf return values.
23709         * libio/bug-rewind2.c (do_test): Likewise.
23711         * debug/test-stpcpy_chk-ifunc.c: Remove file.
23712         * debug/test-strcpy_chk-ifunc.c: Likewise.
23713         * wcsmbs/test-wcschr-ifunc.c: Likewise.
23714         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23715         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23716         * wcsmbs/test-wcslen-ifunc.c: Likewise.
23717         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23718         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23719         * Rules [$(multi-arch) = no] (tests): Do not filter out
23720         $(tests-ifunc).
23721         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
23722         * debug/Makefile (tests-ifunc): Remove variable.
23723         (tests): Do not add $(tests-ifunc).
23724         * wcsmbs/Makefile (tests-ifunc): Remove variable.
23725         (tests): Do not add $(tests-ifunc).
23726         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
23727         [TEST_IFUNC]: Remove conditionals.
23728         * string/test-string.h (TEST_IFUNC): Remove macro.
23729         [TEST_IFUNC]: Remove conditionals.
23731         * string/test-strchr.c [!WIDE] (L): New macro.
23732         [WIDE] (L): Likewise.
23733         (check1): Use CHAR instead of char.  Use L on string and character
23734         constants.
23736 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
23738         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
23739         tests.
23740         * sysdeps/powerpc/bits/atomic.h
23741         (__arch_atomic_exchange_and_add_32_acq): Add definition.
23742         (__arch_atomic_exchange_and_add_32_rel): Likewise.
23743         (atomic_exchange_and_add_acq): Likewise.
23744         (atomic_exchange_and_add_rel): Likewise.
23745         * sysdeps/powerpc/powerpc32/bits/atomic.h
23746         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23747         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23748         * sysdeps/powerpc/powerpc64/bits/atomic.h
23749         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23750         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23752 2014-11-26  Torvald Riegel  <triegel@redhat.com>
23754         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
23755         Change synchronization of __sched_fifo_min_prio and
23756         __sched_fifo_max_prio.
23757         * nptl/pthread_mutexattr_getprioceiling.c
23758         (pthread_mutexattr_getprioceiling): Likewise.
23759         * nptl/pthread_mutexattr_setprioceiling.c
23760         (pthread_mutexattr_setprioceiling): Likewise.
23761         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23762         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
23763         Likewise.
23765 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23767         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
23768         void.
23770 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
23772         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
23773         third argument const.
23775 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
23777         fnmatch: work around GCC compiler warning bug with uninit var
23778         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
23779         This works around a bug with x86-64 GCC 4.9.2 and earlier
23780         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
23781         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
23782         used uninitialized in this function [-Wmaybe-uninitialized]".
23784 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
23786         * posix/bug-regex31.c (main): Return RES not 0.
23788 2014-11-25  Anton Blanchard <anton@samba.org>
23790         * sysdeps/powerpc/bits/atomic.h
23791         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
23793 2014-11-24  Sterling Augustine  <saugustine@google.com>
23795         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
23797 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
23799         [BZ #17608]
23800         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
23802 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
23804         [BZ #17633]
23805         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
23806         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
23807         variable.
23808         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
23809         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
23811 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23813         * string/strncpy.c (strncpy): Improve performance by using memset.
23815 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23817         * string/strcpy.c (strcpy):
23818         Improve performance by using strlen and memcpy.
23820 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
23822         * string/strcoll_l.c (get_next_seq): __always_inline.
23823         * string/strcoll_l.c (do_compare): __always_inline.
23825 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23827         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
23828         defined.
23829         * include/mqueue.h: Likewise.
23830         * include/stdlib.h: Likewise.
23832         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
23833         (get_null_defines): Adjust.
23834         * sunrpc/Makefile: Adjust comment.
23835         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
23836         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
23837         (CFLAGS-interp.c): Likewise.
23838         (CFLAGS-ldconfig.c): Likewise.
23839         (CPPFLAGS-.os): Likewise.
23840         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23841         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23842         * extra-modules.mk (extra-modules.mk): Likewise.
23843         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
23844         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
23845         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
23846         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
23847         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
23848         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
23849         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
23850         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
23851         * iconvdata/Makefile (CPPFLAGS): Likewise.
23852         (cpp-srcs-left): Add libof for all iconvdata routines.
23853         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
23854         * include/assert.h: Likewise.
23855         * include/ctype.h: Likewise.
23856         * include/errno.h: Likewise.
23857         * include/libc-symbols.h: Likewise.
23858         * include/math.h: Likewise.
23859         * include/netdb.h: Likewise.
23860         * include/resolv.h: Likewise.
23861         * include/stdio.h: Likewise.
23862         * include/stdlib.h: Likewise.
23863         * include/string.h: Likewise.
23864         * include/sys/stat.h: Likewise.
23865         * include/wctype.h: Likewise.
23866         * intl/l10nflist.c: Likewise.
23867         * libidn/idn-stub.c: Likewise.
23868         * libio/libioP.h: Likewise.
23869         * nptl/libc_multiple_threads.c: Likewise.
23870         * nptl/pthreadP.h: Likewise.
23871         * posix/regex_internal.h: Likewise.
23872         * resolv/res_hconf.c: Likewise.
23873         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
23874         * sysdeps/arm/memmove.S: Likewise.
23875         * sysdeps/arm/sysdep.h: Likewise.
23876         * sysdeps/generic/_itoa.h: Likewise.
23877         * sysdeps/generic/symbol-hacks.h: Likewise.
23878         * sysdeps/gnu/errlist.awk: Likewise.
23879         * sysdeps/gnu/errlist.c: Likewise.
23880         * sysdeps/i386/i586/memcpy.S: Likewise.
23881         * sysdeps/i386/i586/memset.S: Likewise.
23882         * sysdeps/i386/i686/memcpy.S: Likewise.
23883         * sysdeps/i386/i686/memmove.S: Likewise.
23884         * sysdeps/i386/i686/mempcpy.S: Likewise.
23885         * sysdeps/i386/i686/memset.S: Likewise.
23886         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23887         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23888         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
23889         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
23890         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23891         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23892         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
23893         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23894         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23895         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23896         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23897         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23898         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23899         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23900         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23901         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23902         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
23903         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
23904         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
23905         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23906         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23907         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23908         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23909         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23910         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23911         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23912         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
23913         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23914         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
23915         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23916         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23917         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23918         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23919         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23920         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23921         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23922         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23923         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23924         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23925         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23926         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23927         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23928         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23929         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23930         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23931         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23932         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
23933         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
23934         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23935         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23936         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23937         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
23938         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
23939         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23940         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23941         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
23942         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23943         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
23944         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
23945         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23946         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23947         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23948         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
23949         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23950         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23951         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
23952         * sysdeps/posix/closedir.c: Likewise.
23953         * sysdeps/posix/opendir.c: Likewise.
23954         * sysdeps/posix/readdir.c: Likewise.
23955         * sysdeps/posix/rewinddir.c: Likewise.
23956         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
23957         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
23958         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23959         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23960         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23961         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
23962         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
23963         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
23964         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
23965         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
23966         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
23967         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
23968         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
23969         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
23970         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
23971         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
23972         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
23973         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
23974         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
23975         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
23976         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
23977         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
23978         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
23979         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
23980         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
23981         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
23982         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
23983         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
23984         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
23985         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
23986         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
23987         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
23988         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
23989         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
23990         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
23991         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
23992         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23993         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23994         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
23995         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
23996         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
23997         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
23998         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
23999         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24000         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24001         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
24002         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
24003         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
24004         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
24005         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
24006         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
24007         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
24008         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24009         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
24010         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
24011         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
24012         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
24013         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
24014         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
24015         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
24016         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24017         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
24018         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24019         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
24020         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
24021         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24022         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
24023         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
24024         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
24025         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
24026         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24027         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
24028         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
24029         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
24030         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
24031         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
24032         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
24033         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
24034         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24035         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
24036         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
24037         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24038         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
24039         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
24040         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24041         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
24042         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
24043         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24044         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24045         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24046         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
24047         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
24048         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
24049         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24050         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24051         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
24052         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24053         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24054         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
24055         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
24056         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24057         * sysdeps/unix/alpha/sysdep.S: Likewise.
24058         * sysdeps/unix/alpha/sysdep.h: Likewise.
24059         * sysdeps/unix/make-syscalls.sh: Likewise.
24060         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24061         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24062         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24063         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
24064         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24065         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24066         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
24067         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24068         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24069         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
24070         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24071         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24072         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24073         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24074         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24075         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24076         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24077         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24078         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24079         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24080         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24081         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24082         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24083         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24084         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24085         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24086         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24089         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
24090         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24091         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24092         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24093         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24094         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24095         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24096         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24097         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24098         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24099         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24100         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24101         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24102         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24103         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24104         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24105         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24106         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24107         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24108         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24109         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24110         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24111         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24112         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24113         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24114         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
24115         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24116         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24117         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24118         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
24119         * sysdeps/x86_64/memcpy.S: Likewise.
24120         * sysdeps/x86_64/memmove.c: Likewise.
24121         * sysdeps/x86_64/memset.S: Likewise.
24122         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
24123         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24124         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24125         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
24126         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
24127         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24128         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24129         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24130         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24131         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24132         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24133         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24134         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
24135         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24136         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24137         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
24138         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24139         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24140         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24141         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24142         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
24143         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24144         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24145         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24146         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24147         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24148         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24149         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
24150         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24151         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24152         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
24153         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24154         * sysdeps/x86_64/strcmp.S: Likewise.
24156         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
24158         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
24159         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
24160         * elf/rtld-Rules: Likewise.
24161         * elf/setup-vdso.h: Likewise.
24162         * include/assert.h: Likewise.
24163         * include/bits/stdlib-float.h: Likewise.
24164         * include/errno.h: Likewise.
24165         * include/sys/stat.h: Likewise.
24166         * include/unistd.h: Likewise.
24167         * sysdeps/aarch64/setjmp.S: Likewise.
24168         * sysdeps/alpha/setjmp.S: Likewise.
24169         * sysdeps/arm/__longjmp.S: Likewise.
24170         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
24171         * sysdeps/arm/setjmp.S: Likewise.
24172         * sysdeps/arm/sysdep.h: Likewise.
24173         * sysdeps/generic/_itoa.h: Likewise.
24174         * sysdeps/generic/dl-sysdep.h: Likewise.
24175         * sysdeps/generic/ldsodefs.h: Likewise.
24176         * sysdeps/i386/dl-tls.h: Likewise.
24177         * sysdeps/i386/setjmp.S: Likewise.
24178         * sysdeps/m68k/setjmp.c: Likewise.
24179         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
24180         * sysdeps/mach/hurd/opendir.c: Likewise.
24181         * sysdeps/posix/getcwd.c: Likewise.
24182         * sysdeps/posix/opendir.c: Likewise.
24183         * sysdeps/posix/profil.c: Likewise.
24184         * sysdeps/powerpc/dl-procinfo.h: Likewise.
24185         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24186         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24187         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24188         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24189         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
24190         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24191         * sysdeps/s390/dl-tls.h: Likewise.
24192         * sysdeps/s390/s390-32/setjmp.S: Likewise.
24193         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24194         * sysdeps/sh/sh3/setjmp.S: Likewise.
24195         * sysdeps/sh/sh4/setjmp.S: Likewise.
24196         * sysdeps/unix/alpha/sysdep.h: Likewise.
24197         * sysdeps/unix/arm/sysdep.S: Likewise.
24198         * sysdeps/unix/i386/sysdep.S: Likewise.
24199         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24200         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24201         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24202         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24203         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24204         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24205         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24206         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24207         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24208         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24209         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24210         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24211         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24214         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24215         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24216         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24217         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24218         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24219         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24220         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24221         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24222         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24223         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24224         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24225         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24226         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24227         * sysdeps/x86_64/setjmp.S: Likewise.
24229         * include/math.h: Use IS_IN instead of IS_IN_libm.
24230         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
24231         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24232         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24233         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
24234         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24235         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24236         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24237         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24238         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24239         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24240         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
24241         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
24242         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
24243         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
24244         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
24245         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
24246         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24247         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
24248         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24249         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
24250         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
24251         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
24252         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
24253         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
24254         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
24255         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
24256         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
24257         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
24258         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
24259         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
24260         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
24261         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24262         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24264         Likewise.
24265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
24266         Likewise.
24267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
24268         Likewise.
24269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
24270         Likewise.
24271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
24272         Likewise.
24273         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24274         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
24275         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24276         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24277         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24278         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
24280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
24281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
24282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
24283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
24284         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
24285         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
24286         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24287         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24288         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24289         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24290         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24291         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24292         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24293         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
24294         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
24295         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
24296         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
24297         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
24298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24299         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
24301         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
24302         * nptl/pthreadP.h: Likewise.
24303         * nptl_db/structs.def: Likewise.
24304         * sysdeps/arm/sysdep.h: Likewise.
24305         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24306         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24307         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
24308         * sysdeps/unix/alpha/sysdep.h: Likewise.
24309         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24310         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24311         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24312         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24313         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24314         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24315         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24316         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24317         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24318         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24319         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24320         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24321         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24322         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24325         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24326         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24327         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24328         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24329         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24330         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24331         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24332         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24333         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
24334         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24336         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
24337         * nptl/pthreadP.h: Likewise.
24338         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24339         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24340         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24341         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24342         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24343         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24344         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24345         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24346         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24347         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24348         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24349         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24351         Likewise.
24352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24353         Likewise.
24354         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24355         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24356         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24357         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24358         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24359         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24360         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24361         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24363         * dlfcn/dladdr.c: Use IS_IN.
24364         * dlfcn/dladdr1.c: Likewise.
24365         * dlfcn/dlclose.c: Likewise.
24366         * dlfcn/dlerror.c: Likewise.
24367         * dlfcn/dlinfo.c: Likewise.
24368         * dlfcn/dlmopen.c: Likewise.
24369         * dlfcn/dlopen.c: Likewise.
24370         * dlfcn/dlsym.c: Likewise.
24371         * dlfcn/dlvsym.c: Likewise.
24373         * include/ifaddrs.h: Use IS_IN.
24374         * inet/check_pf.c: Likewise.
24375         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24376         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
24378         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
24379         IS_IN_ldconfig.
24380         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
24381         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
24383         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
24384         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
24385         IS_IN (libc).
24387         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
24389         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
24390         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24391         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24392         * include/libc-symbols.h (IS_IN_LIB): New macro.
24393         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
24394         * include/netdb.h: Likewise.
24395         * include/stap-probe.h: Remove all uses of IN_LIB.
24397         * Makeconfig (module-cppflags-real): Define MODULE_NAME
24398         instead of IN_MODULE.
24399         * include/libc-symbols.h (IN_MODULE): Define using
24400         MODULE_NAME.
24401         (PASTE_NAME, PASTE_NAME1): New macros.
24402         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
24403         of IN_LIB.
24404         (STAP_PROBE_ASM): Likewise.
24406 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24408         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
24409         __mach_init in dlopened libc.
24411 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
24413         * sysdeps/arm/preconfigure.ac: Delete EABI check.
24414         * sysdeps/arm/preconfigure: Regenerate.
24416 2014-11-21  Roland McGrath  <roland@hack.frob.com>
24418         * nptl/pthread_create.c (__pthread_create_2_1): Set
24419         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
24420         when copying values from IATTR into PD.
24422 2014-11-21  Will Newton  <will.newton@linaro.org>
24423             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
24425         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
24426         Refactor inline-asm.  Also add comment.
24428         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
24429         ElfW macro instead of hardcoded Elf64 types.
24430         (la_aarch64_gnu_pltenter): Likewise.
24431         * sysdeps/aarch64/dl-machine.h
24432         (elf_machine_runtime_setup): Use ElfW(Addr).
24434         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
24435         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
24436         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
24437         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
24438         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
24439         (R_AARCH64_TLS_DTPMOD64): Rename to ..
24440         (R_AARCH64_TLS_DTPMOD): This.
24441         (R_AARCH64_TLS_DTPREL64): Rename to ...
24442         (R_AARCH64_TLS_DTPREL): This.
24443         (R_AARCH64_TLS_TPREL64): Rename to ...
24444         (R_AARCH64_TLS_TPREL): This.
24445         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
24446         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
24447         R_AARCH64_TLS_TPREL64.
24448         (elf_machine_rela): Likewise.
24450 2014-11-21  Torvald Riegel  <triegel@redhat.com>
24452         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
24453         by setting it to 0.  64b atomics are not supported currently.
24455 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24457         [BZ #16469]
24458         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
24459         search domain names.
24461 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24463         [BZ #16469]
24464         * NEWS: Update.
24465         * resolv/res_query.c (__libc_res_nquerydomain): Retain
24466         trailing dot.
24467         * posix/tst-getaddrinfo5.c: New.
24468         * posix/Makefile (tests): Add it.
24470 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24472         [BZ #14498]
24473         * NEWS: Fixed.
24474         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
24475         after parsing line but before break_if_match.
24476         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
24477         if there is a protocol mismatch.
24479 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
24481         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
24482         because the potential race is on the user-supplied stream.
24484 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24486         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
24487         string literal if not passed a buffer.
24488         * manual/job.texi (ctermid): Update reasoning, note deviation
24489         from posix, suggest mtasurace when not passed a buffer, for
24490         future non-preliminary safety notes.
24492 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24494         * manual/users.texi (cuserid): Fix MT-Safety note for the case
24495         of not passing it a buffer.
24496         Reported by Peng Haitao.
24498 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24500         * manual/Makefile ($(objpfx)stamp-summary): Require
24501         check-safety.sh to pass.
24502         * manual/check-safety.sh: Wish for verification that every
24503         @deftypefn and @deftypefun is followed by a @safety remark.
24505 2014-11-20  Roland McGrath  <roland@hack.frob.com>
24507         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
24509         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
24510         PTHREAD_CANCEL_ASYNCHRONOUS.
24511         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
24512         send SIGCANCEL.
24514         * nptl/default-sched.h: New file.
24515         * sysdeps/unix/sysv/linux/default-sched.h: New file.
24516         * nptl/pthread_create.c: Include it.
24517         (__pthread_create_2_1): Use collect_default_sched instead of making
24518         Linux syscalls here directly.
24520 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24522         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
24523         __pthread_once): Use C11 atomics.
24525 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24527         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
24529 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24531         * include/atomic.h (__atomic_link_error, __atomic_check_size,
24532         atomic_thread_fence_acquire, atomic_thread_fence_release,
24533         atomic_thread_fence_seq_cst, atomic_load_relaxed,
24534         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
24535         atomic_compare_exchange_weak_relaxed,
24536         atomic_compare_exchange_weak_acquire,
24537         atomic_compare_exchange_weak_release,
24538         atomic_exchange_acquire, atomic_exchange_release,
24539         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
24540         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
24541         atomic_fetch_and_acquire,
24542         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
24544 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24546         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
24547         USE_ATOMIC_COMPILER_BUILTINS): Define.
24548         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
24549         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24550         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
24551         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24552         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
24553         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24554         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
24555         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24556         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
24557         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24558         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
24559         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24560         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
24561         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24562         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
24563         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24564         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24565         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24566         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24567         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24568         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
24569         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24570         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24571         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24572         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
24573         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24574         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24575         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24576         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
24577         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24578         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
24579         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24580         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
24581         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24582         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24583         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24584         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
24585         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24586         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
24587         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24589 2014-11-19  Roland McGrath  <roland@hack.frob.com>
24591         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
24592         the sched_priority value here.  It was already checked when the user
24593         called pthread_attr_setschedparam.
24595         * nptl/tst-bad-schedattr.c: New file.
24596         * nptl/Makefile (tests): Add it.
24598 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
24599             Florian Weimer  <fweimer@redhat.com>
24600             Joseph Myers  <joseph@codesourcery.com>
24601             Adam Conrad  <adconrad@0c3.net>
24602             Andreas Schwab  <schwab@suse.de>
24603             Brooks  <bmoses@google.com>
24605         [BZ #17625]
24606         * wordexp-test.c (__dso_handle): Add prototype.
24607         (__register_atfork): Likewise.
24608         (__app_register_atfork): New function.
24609         (registered_forks): New global.
24610         (register_fork): New function.
24611         (test_case): Add 3 new tests for WRDE_CMDSUB.
24612         (main): Call __app_register_atfork.
24613         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
24614         fork count is non-zero fail the test.
24615         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
24616         is set.
24617         (parse_dollars): Remove check for WRDE_NOCMD.
24618         (parse_dquote): Likewise.
24620 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24622         * Makeconfig (built-modules): List non-library modules to be
24623         built.
24624         (module-cppflags): Include libc-modules.h for
24625         everything except shlib-versions.v.i.
24626         (CPPFLAGS): Use it.
24627         (before-compile): Add libc-modules.h.
24628         ($(common-objpfx)libc-modules.h,
24629         $(common-objpfx)libc-modules.stmp): New targets.
24630         (common-generated): Add libc-modules.h and libc-modules.stmp.
24631         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
24632         * include/libc-symbols.h: Don't include libc-modules.h.
24633         * include/libc-modules.h: Remove file.
24634         * scripts/gen-libc-modules.awk: New script to generate
24635         libc-modules.h.
24636         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
24637         Depend on libc-modules.stmp.
24639         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
24641         * Makeconfig (in-module): Get value of libof set for the
24642         translation unit.
24643         (CPPFLAGS): Use $(in-module).
24644         * Makerules: Don't suffix routine names for nonlib.
24645         * include/libc-modules.h: New file.
24646         * include/libc-symbols.h: Include libc-modules.h
24647         (IS_IN): New macro to replace IS_IN_* macros.
24648         * elf/Makefile: Set libof-* for each routine.
24649         * elf/rtld-Rules: Likewise.
24650         * extra-modules.mk: Likewise.
24651         * iconv/Makefile: Likewise.
24652         * iconvdata/Makefile: Likewise.
24653         * locale/Makefile: Likewise.
24654         * malloc/Makefile: Likewise.
24655         * nss/Makefile: Likewise.
24656         * sysdeps/gnu/Makefile: Likewise.
24657         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
24658         * sysdeps/unix/sysv/linux/Makefile: Likewise.
24659         * sysdeps/s390/s390-64/Makefile: Likewise.
24660         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
24661         CPPFLAGS for nscd instead of nonlib.
24663 2014-11-18  Roland McGrath  <roland@hack.frob.com>
24665         * nptl/createthread.c: New file.
24667         * nptl/createthread.c: Moved ...
24668         * sysdeps/unix/sysv/linux/createthread.c: ... here.
24670         * nptl/createthread.c: Add proper top-line comment.
24671         (do_clone): Folded into ...
24672         (create_thread): ... here.  Take new arguments STOPPED_START and
24673         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
24674         increment __nptl_threads, do event-reporting logic, do
24675         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
24676         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
24677         resource cleanup if sched_setaffinity or sched_setscheduler fails,
24678         just send SIGCANCEL.
24679         * nptl/pthread_create.c: Forward-declare create_thread before
24680         including createthread.c.
24681         (start_thread): Use new macro START_THREAD_DEFN to replace defining
24682         declaration, and new macro START_THREAD_SELF to replace argument.
24683         Remove return statement.
24684         (report_thread_creation): New function.
24685         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
24686         synchronization logic, and __nptl_nthreads increment here, around
24687         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
24688         PD->parent_cancelhandling here, before create_thread.  When
24689         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
24690         __deallocate_stack, and ENOMEM translation here.
24692 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
24694         [BZ #17616]
24695         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
24696         (mptwo): Rename to __mptwo.
24697         (__inv): Use __mptwo instead of mptwo.
24698         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
24699         (mptwo): Rename to __mptwo.
24700         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
24701         of mpone and __mptwo instead of mptwo.
24702         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
24703         instead of mpone.
24704         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24705         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
24706         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
24707         of mpone and __mptwo instead of mptwo.
24708         (__mpranred): Use __mpone instead of mpone.
24709         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
24710         variable.
24711         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24712         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24713         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24714         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24715         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24716         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24717         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24718         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24719         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24720         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24721         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24722         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24723         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24724         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24725         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24726         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24727         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24728         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24729         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24731 2014-11-18  Tom de Vries  <tom@codesoucery.com>
24733         * manual/signal.texi (Primitives Interrupted by Signals): In section,
24734         replace BSD Handler xref with BSD Signal Handling.
24736 2014-11-17  Richard Henderson  <rth@redhat.com>
24738         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
24739         (_FP_PACK_RAW_2): Remove.
24740         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
24741         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
24742         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
24743         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
24744         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
24745         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
24746         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
24747         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
24748         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
24749         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
24750         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
24751         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
24752         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
24753         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
24754         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
24755         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
24757 2014-11-14  Roland McGrath  <roland@hack.frob.com>
24759         * signal/signal.h [__USE_MISC]
24760         (struct sigvec): Remove type.
24761         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
24762         (sigvec): Remove declaration.
24763         * sysdeps/posix/sigvec.c: Moved ...
24764         * signal/sigvec.c: ... here, replacing old file.
24765         (struct sigvec): New type, copied from old signal.h definition.
24766         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
24767         (__sigvec): Convert definition to prototype.
24768         (sigvec): Replace weak_alias with compat_symbol.
24769         * signal/Versions (libc: GLIBC_2.21): New version set.
24770         * include/signal.h: Remove __sigvec declaration.
24771         * sysdeps/unix/bsd/sigvec.c: Remove file.
24772         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
24773         * manual/signal.texi (BSD Handler): Remove subsection.
24774         Move siginterrupt up to ...
24775         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
24776         (Blocking in BSD): Fold subsection into its parent.
24777         * NEWS: Mention sigvec removal.
24779 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
24781         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
24782         (DLA_FMS): Make definition conditional only on [__FMA4__].
24783         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
24784         definition.
24786         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
24787         Make definition conditional only on [PROF].
24788         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
24789         definition.
24790         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
24791         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
24793         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
24794         !__GNUC__].
24795         * include/signal.h (__sigpause): Move declaration above call to
24796         libc_hidden_proto.
24797         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
24798         variable.
24799         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24800         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24802 2014-11-14  David S. Miller  <davem@davemloft.net>
24804         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
24805         Define before including <string/memcpy.c> and <string/mempcpy.c>.
24807 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
24809         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
24810         * configure: Regenerated.
24811         * manual/install.texi (Tools for Compilation): Document a
24812         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
24813         compiler verified to work.
24814         * INSTALL: Regenerated.
24816         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
24817         redeclare with asm name.
24818         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
24819         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
24820         including <string.h>.
24821         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24822         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
24823         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24824         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
24825         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24826         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24827         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24829 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
24831         * stdlib/strtol.c (__strtol): Use prototype definition.
24833         [BZ #17594]
24834         * stdlib/strtol.c (SYM__): New macro.
24835         (SYM__1): Likewise.
24836         (__strtol): Likewise.
24837         (strtol): Rename to __strtol and define as weak alias of
24838         __strtol.  Use libc_hidden_weak.
24840 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24842         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
24843         Use numbered labels in inline assembly.
24845 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24847         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
24848         Add setjmp LIBC_PROBE.
24849         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
24850         Likewise.
24851         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
24852         Add longjmp, longjmp_target LIBC_PROBE.
24853         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
24854         Likewise.
24856 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24858         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24859         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
24860         to get rid of unused variable warning.
24862 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24864         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
24865         Check for unwind_backtrace ==  NULL only in SHARED case.
24866         (__backchain_backtrace): Compile only in SHARED case.
24867         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
24868         Likewise.
24869         (__backchain_backtrace): Declare as static.
24871 2014-11-12  Roland McGrath  <roland@hack.frob.com>
24873         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
24874         (__libc_multiple_threads_ptr): Variable moved ...
24875         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
24877 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
24879         * conform/GlibcConform.pm: New file.
24880         * conform/conformtest.pl: Use GlibcConform module.
24881         * conform/linknamespace.pl: New file.
24882         * conform/list-header-symbols.pl: Likewise.
24883         * conform/Makefile (linknamespace-symlists-base): New variable.
24884         (linknamespace-symlists-tests): Likewise.
24885         (linknamespace-header-base): Likewise.
24886         (linknamespace-header-tests): Likewise.
24887         (tests-special): Add new tests.
24888         ($(linknamespace-symlists-tests)): New rule.
24889         (linknamespace-libs): New variable.
24890         ($(objpfx)symlist-stdlibs): New rule.
24891         ($(linknamespace-header-tests)): Likewise.
24892         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
24893         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
24894         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
24895         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
24896         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
24897         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
24898         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
24899         (test-xfail-ISO/math.h/linknamespace): Likewise.
24900         (test-xfail-ISO/signal.h/linknamespace): Likewise.
24901         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
24902         (test-xfail-ISO/time.h/linknamespace): Likewise.
24903         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24904         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
24905         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24906         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24907         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24908         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24909         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24910         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24911         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24912         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24913         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24914         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24915         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24916         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
24917         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
24918         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24919         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
24920         (test-xfail-XPG3/search.h/linknamespace): Likewise.
24921         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
24922         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24923         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
24924         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24925         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24926         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
24927         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
24928         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24929         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
24930         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
24931         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24932         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
24933         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24934         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
24935         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24936         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
24937         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
24938         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
24939         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
24940         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
24941         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24942         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
24943         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24944         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
24945         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
24946         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
24947         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24948         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
24949         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
24950         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
24951         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24952         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
24953         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24954         (test-xfail-POSIX/time.h/linknamespace): Likewise.
24955         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
24956         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
24957         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24958         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24959         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24960         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
24961         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
24962         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24963         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24964         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24965         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
24966         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24967         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24968         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24969         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
24970         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24971         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24972         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
24973         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
24974         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24975         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24976         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24977         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24978         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24979         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
24980         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
24981         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
24982         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
24983         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24984         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
24985         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24986         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
24987         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
24988         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
24989         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24990         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24991         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24992         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
24993         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
24994         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
24995         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24996         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24997         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24998         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24999         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
25000         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
25001         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25002         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25003         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25004         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25005         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25006         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25007         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25008         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25009         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25010         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25011         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
25012         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25013         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25014         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
25015         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25016         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25017         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25018         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25019         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25020         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25021         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25022         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25023         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25024         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25025         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25026         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25027         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25028         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25029         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
25030         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25031         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25032         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25033         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25034         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25035         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
25036         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25037         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25038         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25039         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25040         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25041         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25042         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25043         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25044         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25045         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25046         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25047         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25048         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25049         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
25050         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25051         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25052         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25054         [BZ #17589]
25055         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
25056         of fgets_unlocked.
25058         [BZ #17585]
25059         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
25060         (memmem): Rename to __memmem and define as weak alias of
25061         __memmem.  Use libc_hidden_weak.
25062         (__memmem): Use libc_hidden_def.
25063         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
25064         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
25065         memmem.
25067         [BZ #17582]
25068         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
25069         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
25070         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
25071         and define as weak alias of __fgets_unlocked.  Use
25072         libc_hidden_weak.
25073         (__fgets_unlocked): Use libc_hidden_def.
25074         * include/stdio.h (__fgets_unlocked): Declare.  Use
25075         libc_hidden_proto.
25076         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
25077         __fgets_unlocked instead of fgets_unlocked.
25078         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
25079         (GET_NPROCS_CONF_PARSER): Likewise.
25080         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
25081         (GET_NPROCS_CONF_PARSER): Likewise.
25083         [BZ #17574]
25084         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
25085         weak alias of __wmemset.  Use libc_hidden_weak.
25086         (__wmemset): Use libc_hidden_def.
25087         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
25088         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
25089         of wmemset.
25091         [BZ #17573]
25092         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
25093         with asm name __mempcpy.
25094         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
25096         [BZ #17572]
25097         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
25098         and define as weak alias of __rawmemchr.
25099         (__rawmemchr): Do not define as strong alias of rawmemchr.
25101         [BZ #17571]
25102         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
25103         alias of __qsort_r.
25104         (qsort): Call __qsort_r instead of qsort_r.
25105         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
25106         (__qsort_r): Declare.  Call libc_hidden_proto.
25107         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
25108         instead of qsort_r.
25109         * nscd/gai.c (__qsort_r): Define to qsort_r.
25110         * posix/tst-rfc3484.c (__qsort_r): Likewise.
25111         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
25112         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
25114         [BZ #17570]
25115         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
25116         define as weak alias of __malloc_info.
25118         [BZ #17584]
25119         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
25120         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25121         (__rewinddir): Use libc_hidden_def.
25122         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
25123         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25124         (__rewinddir): Use libc_hidden_def.
25125         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
25126         weak alias of __rewinddir.  Don't use libc_hidden_def.
25127         (__rewinddir): Use libc_hidden_def.
25128         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
25129         (__rewinddir): Use libc_hidden_proto.
25130         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
25131         rewinddir.
25132         (__getcwd): Use __rewinddir instead of rewinddir.
25134         [BZ #17583]
25135         * libio/fileno.c (fileno): Rename to __fileno and define as weak
25136         alias of __fileno.  Use libc_hidden_weak.
25137         (__fileno): Use libc_hidden_def.
25138         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
25139         * libio/ftello.c (ftello): Rename to __ftello and define as weak
25140         alias of __ftello.
25141         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
25142         __ftello.
25143         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
25144         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
25145         libc_hidden_def.
25146         (fread_unlocked): Don't use libc_hidden_ver.
25147         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
25148         and define as weak alias of __fread_unlocked.  Don't use
25149         libc_hidden_def.
25150         (__fread_unlocked): Use libc_hidden_def.
25151         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
25152         (ftello): Don't use libc_hidden_proto.
25153         (__ftello): Declare.  Use libc_hidden_proto.
25154         (fread_unlocked): Don't use libc_hidden_proto.
25155         (__fread_unlocked): Declare.  Use libc_hidden_proto.
25156         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
25157         and __ftello instead of fileno, fread_unlocked and ftello.
25159 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25161         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
25162         GOT12.
25163         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25164         Likewise.
25165         (_dl_start_user): Likewise.
25166         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
25168 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
25169             Siddhesh Poyarekar  <siddhesh@redhat.com>
25171         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
25172         Move argv and envp down instead of moving argc up.
25173         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
25175 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
25177         [BZ #17506]
25178         * test-skeleton.c (main): Return successful if one of
25179         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
25180         * string/tst-strcoll-overflow.c: Define expected status.
25182 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
25184         [BZ #17475]
25185         * locale/iso-639.def: Define Bhili and Tulu language codes.
25187 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
25189         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
25191 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
25193         [BZ #17555]
25194         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
25196 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25198         * configure.ac: Updated check of minimal required version to
25199         2.22.
25200         * manual/install.texi (Tools for Compilation): Updated version
25201         number.
25202         * configure: Regenerated.
25203         * INSTALL: Likewise.
25205 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
25207         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
25208         __tls_get_addr.
25210 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
25212         * include/sys/wait.h (__libc_waitpid): Remove declaration.
25213         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
25214         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25215         libc_hidden_weak.
25216         (waitpid): Define as alias of __waitpid.
25217         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
25218         __waitpid.
25219         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25220         libc_hidden_weak.
25221         (waitpid): Define as alias of __waitpid.
25222         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
25223         __libc_waitpid alias.
25224         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
25225         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
25226         Likewise.
25227         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
25228         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
25229         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
25230         alias.
25231         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
25232         __waitpid.
25233         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25234         libc_hidden_weak.
25235         (waitpid): Define as alias of __waitpid.
25237 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
25239         * manual/llio.texi: Add comment that write safety has been
25240         fixed in Linux.
25242         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
25243         (localplt-build-dso): Add elf/ld.so.
25244         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
25245         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
25246         and free for ld.so.
25247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
25248         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
25249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
25250         Likewise.
25251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25252         Likewise.
25253         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
25254         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
25255         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
25256         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
25257         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25258         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
25259         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
25260         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
25261         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25262         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
25263         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25265 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
25267         [BZ #14132]
25268         * include/libc-symbols.h (INTUSE): Remove macro.
25269         (INTDEF): Likewise.
25270         (INTVARDEF): Likewise.
25271         (_INTVARDEF): Likewise.
25272         (INTDEF2): Likewise.
25273         (INTVARDEF2): Likewise.
25274         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
25275         rtld_hidden_def instead of INTVARDEF.
25276         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
25277         (_dl_starting_up_internal): Remove declaration.
25278         (_dl_starting_up): Use rtld_hidden_proto.
25279         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
25280         declaration.
25281         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
25282         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
25283         _dl_starting_up.
25284         * elf/dl-writev.h (_dl_writev): Likewise.
25285         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
25286         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
25287         _dl_starting_up_internal.
25289 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25291         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25292         test-skeleton.c.
25294 2014-11-05  Will Newton  <will.newton@linaro.org>
25296         * benchtests/Makefile: (bench-malloc): Add malloc thread
25297         scalability benchmark.
25298         * benchtests/bench-malloc-threads.c: New file.
25300 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
25302         * sysdeps/aarch64/strchrnul.S: New file.
25304 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25306         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
25307         definition.
25308         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
25309         Likwise.
25310         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
25311         Likewise.
25312         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
25313         Likewise.
25314         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
25315         Likewise.
25316         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
25317         Likewise.
25319 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
25321         * catgets/test-gencat.c: Use test-skeleton.c.
25322         * catgets/tst-catgets.c: Likewise.
25323         * csu/tst-empty.c: Likewise.
25324         * elf/tst-audit2.c: Likewise.
25325         * elf/tst-global1.c: Likewise.
25326         * elf/tst-pathopt.c: Likewise.
25327         * elf/tst-piemod1.c: Likewise.
25328         * elf/tst-tls10.c: Likewise.
25329         * elf/tst-tls11.c: Likewise.
25330         * elf/tst-tls12.c: Likewise.
25331         * gnulib/tst-gcc.c: Likewise.
25332         * iconvdata/tst-e2big.c: Likewise.
25333         * iconvdata/tst-loading.c: Likewise.
25334         * iconv/tst-iconv1.c: Likewise.
25335         * iconv/tst-iconv2.c: Likewise.
25336         * inet/test-inet6_opt.c: Likewise.
25337         * inet/tst-gethnm.c: Likewise.
25338         * inet/tst-network.c: Likewise.
25339         * inet/tst-ntoa.c: Likewise.
25340         * intl/tst-codeset.c: Likewise.
25341         * intl/tst-gettext2.c: Likewise.
25342         * intl/tst-gettext3.c: Likewise.
25343         * intl/tst-ngettext.c: Likewise.
25344         * intl/tst-translit.c: Likewise.
25345         * io/test-stat.c: Likewise.
25346         * libio/test-fmemopen.c: Likewise.
25347         * libio/tst-freopen.c: Likewise.
25348         * libio/tst-sscanf.c: Likewise.
25349         * libio/tst-ungetwc1.c: Likewise.
25350         * libio/tst-ungetwc2.c: Likewise.
25351         * libio/tst-widetext.c: Likewise.
25352         * localedata/tst-ctype.c: Likewise.
25353         * localedata/tst-digits.c: Likewise.
25354         * localedata/tst-leaks.c: Likewise.
25355         * localedata/tst-mbswcs1.c: Likewise.
25356         * localedata/tst-mbswcs2.c: Likewise.
25357         * localedata/tst-mbswcs3.c: Likewise.
25358         * localedata/tst-mbswcs4.c: Likewise.
25359         * localedata/tst-mbswcs5.c: Likewise.
25360         * localedata/tst-setlocale.c: Likewise.
25361         * localedata/tst-trans.c: Likewise.
25362         * localedata/tst-wctype.c: Likewise.
25363         * localedata/tst-xlocale1.c: Likewise.
25364         * login/tst-grantpt.c: Likewise.
25365         * malloc/tst-calloc.c: Likewise.
25366         * malloc/tst-malloc.c: Likewise.
25367         * malloc/tst-mallocstate.c: Likewise.
25368         * malloc/tst-mcheck.c: Likewise.
25369         * malloc/tst-mtrace.c: Likewise.
25370         * malloc/tst-obstack.c: Likewise.
25371         * math/atest-exp2.c: Likewise.
25372         * math/atest-exp.c: Likewise.
25373         * math/atest-sincos.c: Likewise.
25374         * math/test-matherr.c: Likewise.
25375         * math/test-misc.c: Likewise.
25376         * math/test-powl.c: Likewise.
25377         * math/tst-definitions.c: Likewise.
25378         * misc/tst-dirname.c: Likewise.
25379         * misc/tst-efgcvt.c: Likewise.
25380         * misc/tst-fdset.c: Likewise.
25381         * misc/tst-hsearch.c: Likewise.
25382         * misc/tst-mntent2.c: Likewise.
25383         * nptl/tst-sem7.c: Likewise.
25384         * nptl/tst-sem8.c: Likewise.
25385         * nptl/tst-sem9.c: Likewise.
25386         * nss/test-netdb.c: Likewise.
25387         * posix/tst-fnmatch.c: Likewise.
25388         * posix/tst-getlogin.c: Likewise.
25389         * posix/tst-gnuglob.c: Likewise.
25390         * posix/tst-mmap.c: Likewise.
25391         * pwd/tst-getpw.c: Likewise.
25392         * resolv/tst-inet_ntop.c: Likewise.
25393         * rt/tst-timer.c: Likewise.
25394         * stdio-common/test-fseek.c: Likewise.
25395         * stdio-common/test-popen.c: Likewise.
25396         * stdio-common/test-vfprintf.c: Likewise.
25397         * stdio-common/tst-cookie.c: Likewise.
25398         * stdio-common/tst-fileno.c: Likewise.
25399         * stdio-common/tst-gets.c: Likewise.
25400         * stdio-common/tst-obprintf.c: Likewise.
25401         * stdio-common/tst-perror.c: Likewise.
25402         * stdio-common/tst-sprintf2.c: Likewise.
25403         * stdio-common/tst-sprintf3.c: Likewise.
25404         * stdio-common/tst-sprintf.c: Likewise.
25405         * stdio-common/tst-swprintf.c: Likewise.
25406         * stdio-common/tst-tmpnam.c: Likewise.
25407         * stdio-common/tst-unbputc.c: Likewise.
25408         * stdio-common/tst-wc-printf.c: Likewise.
25409         * stdlib/tst-environ.c: Likewise.
25410         * stdlib/tst-fmtmsg.c: Likewise.
25411         * stdlib/tst-limits.c: Likewise.
25412         * stdlib/tst-rand48-2.c: Likewise.
25413         * stdlib/tst-rand48.c: Likewise.
25414         * stdlib/tst-random2.c: Likewise.
25415         * stdlib/tst-random.c: Likewise.
25416         * stdlib/tst-strtol.c: Likewise.
25417         * stdlib/tst-strtoll.c: Likewise.
25418         * stdlib/tst-tls-atexit.c: Likewise.
25419         * stdlib/tst-xpg-basename.c: Likewise.
25420         * string/test-ffs.c: Likewise.
25421         * string/tst-bswap.c: Likewise.
25422         * string/tst-inlcall.c: Likewise.
25423         * string/tst-strtok.c: Likewise.
25424         * string/tst-strxfrm.c: Likewise.
25425         * sysdeps/x86_64/tst-audit10.c: Likewise.
25426         * sysdeps/x86_64/tst-audit3.c: Likewise.
25427         * sysdeps/x86_64/tst-audit4.c: Likewise.
25428         * sysdeps/x86_64/tst-audit5.c: Likewise.
25429         * time/tst-ftime_l.c: Likewise.
25430         * time/tst-getdate.c: Likewise.
25431         * time/tst-mktime3.c: Likewise.
25432         * time/tst-mktime.c: Likewise.
25433         * time/tst-posixtz.c: Likewise.
25434         * time/tst-strptime2.c: Likewise.
25435         * time/tst-strptime3.c: Likewise.
25436         * wcsmbs/tst-btowc.c: Likewise.
25437         * wcsmbs/tst-mbrtowc.c: Likewise.
25438         * wcsmbs/tst-mbsrtowcs.c: Likewise.
25439         * wcsmbs/tst-wchar-h.c: Likewise.
25440         * wcsmbs/tst-wcpncpy.c: Likewise.
25441         * wcsmbs/tst-wcrtomb.c: Likewise.
25442         * wcsmbs/tst-wcsnlen.c: Likewise.
25443         * wcsmbs/tst-wcstof.c: Likewise.
25445 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
25447         [BZ #14132]
25448         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
25449         INTDEF.
25450         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
25451         declaration.
25452         (_dl_mcount): Use rtld_hidden_proto.
25453         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
25454         _dl_mcount.
25455         * elf/rtld.c (_rtld_global_ro): Likewise.
25457         [BZ #14132]
25458         * elf/dl-init.c (_dl_init): Don't use INTDEF.
25459         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
25460         of _dl_init_internal.
25461         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
25462         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
25463         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
25464         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
25465         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
25466         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
25467         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
25468         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
25469         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
25470         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
25471         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
25472         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
25473         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25474         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25475         * sysdeps/tile/dl-start.S (_start): Likewise.
25476         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
25477         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
25479         [BZ #14132]
25480         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
25481         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
25482         (rtld_progname): Make macro definition unconditional.
25483         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
25484         INTDEF.
25485         (dlmopen_doit): Do not use INTUSE with _dl_argv.
25486         (dl_main): Likewise.
25487         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25488         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
25489         instead of _dl_argv_internal.
25490         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25491         __GI__dl_argv instead of INTUSE(_dl_argv).
25492         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
25493         __GI__dl_argv instead of _dl_argv_internal.
25495         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
25496         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
25497         macro.
25498         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
25499         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
25500         New macro.
25501         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
25502         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
25503         macro.
25504         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
25505         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
25507 2014-11-04  Andreas Schwab  <schwab@suse.de>
25509         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
25511 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25513         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
25514         mtvsrd instruction in binary form.
25516 2014-11-03  Andreas Schwab  <schwab@suse.de>
25518         [BZ #17522]
25519         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
25520         for less than MB_LEN_MAX use a local buffer of that size.
25521         * libio/tst-fputws.c: New file.
25522         * libio/Makefile (tests): Add tst-fputws.
25524 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
25526         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
25527         the size of the fpu_fr.fpu_dregs[] array.
25529 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
25531         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
25532         (__nanosleep): Do not define as alias.
25533         (nanosleep): Define as alias of __nanosleep.
25534         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
25535         __libc_nanosleep name.
25537 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25539         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
25540         install.texi in comment.
25542 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25544         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
25545         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
25546         ... add here and use lwsync or sync ...
25547         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
25548         ... and add here using lwsync.
25550 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25552         * elf/dl-machine-reject-phdr.h: New file.
25553         * elf/dl-load.c: #include that.
25554         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
25555         if that returned true.
25557 2014-10-31  Roland McGrath  <roland@hack.frob.com>
25559         [BZ #17496]
25560         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
25561         gen-as-const-headers chunk.  Add a big scare comment after the last
25562         safe place to touch before-compile.
25564 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25566         * manual/install.texi (Tools for Compilation): Update autoconf
25567         version requirements.
25568         * INSTALL: Regenerated.
25570         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
25571         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
25572         (__libc_pselect): Likewise.
25574         [BZ #14138]
25575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
25576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25580 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25582         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
25583         correct barrier instruction.
25584         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
25585         Likewise.
25586         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
25587         Likewise.
25589 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25591         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
25592         after defining inlines.  Instead, just use parens to defeat macro
25593         expansion of __isctype in its declaration.
25595 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25597         * include/sys/uio.h (__libc_readv): Remove declaration.
25598         (__libc_writev): Likewise.
25599         * misc/readv.c (__libc_readv): Rename to __readv.
25600         (__readv): Do not define as alias.
25601         (readv): Define as alias of __readv.
25602         * misc/writev.c (__libc_writev): Rename to __writev.
25603         (__writev): Do not define as alias.
25604         (writev): Define as alias of __writev.
25605         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
25606         (__readv): Do not define as alias.
25607         (readv): Define unconditionally as alias of __readv.
25608         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
25609         (__writev): Do not define as alias.
25610         (writev): Define unconditionally as alias of __writev.
25611         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
25612         name.
25613         (writev): Do not define __libc_writev name.
25615 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25617         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
25618         (convert_charseq): New function, broken out of ...
25619         (use_from_charmap): ... here.  Call it.
25620         (use_to_charmap): Use convert_charseq and free instead of duplicating
25621         its code with a variable-length stack struct.
25623 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25625         * include/fcntl.h (__libc_creat): Remove declaration.
25626         * io/creat.c (__libc_creat): Rename to creat.
25627         (creat): Do not define as alias.
25628         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
25629         of creat instead of __libc_creat.
25630         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
25631         to creat.
25632         (creat): Do not define as alias.
25633         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
25634         __libc_creat.
25635         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
25636         __libc_creat name.
25637         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
25638         Likewise.
25640 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
25642         * manual/llio.texi: Add comments discussing why write() may be
25643         considered MT-unsafe on Linux.
25645 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
25647         * dl-load.c (local_strdup): Remove.
25648         (expand_dynamic_string_token): Use __strdup.
25649         (decompose_rpath): Likewise.
25650         (_dl_map_object): Likewise.
25652 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
25654         [BZ #14132]
25655         * sysdeps/generic/unwind-dw2-fde.c
25656         (__register_frame_info_bases_internal): Do not declare.
25657         (__register_frame_info_table_bases_internal): Likewise.
25658         (__deregister_frame_info_bases_internal): Likewise.
25659         (__register_frame_info_bases): Declare and use hidden_proto before
25660         definition.  Use hidden_def instead of INTDEF.
25661         (__register_frame_info_table_bases): Likewise.
25662         (__deregister_frame_info_bases): Likewise.
25663         (__register_frame_info): Do not use INTUSE.
25664         (__register_frame): Likewise.
25665         (__register_frame_info_table): Likewise.
25666         (__register_frame_table): Likewise.
25667         (__deregister_frame_info): Likewise.
25668         (__deregister_frame): Likewise.
25670 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
25672         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25673         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
25674         not undefine.
25675         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
25676         Likewise.
25677         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
25678         Likewise.
25680 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
25682         [BZ #14138]
25683         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
25684         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
25685         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
25686         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
25687         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
25688         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
25689         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
25690         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
25691         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
25692         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
25693         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
25694         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
25695         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
25696         syscall.
25697         (setfsuid): Likewise.
25698         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
25699         (setfsuid): Likewise.
25700         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
25701         (setfsuid): Likewise.
25702         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
25703         Likewise.
25704         (setfsuid): Likewise.
25705         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
25706         (setfsuid): Likewise.
25707         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
25708         Likewise.
25709         (setfsuid): Likewise.
25711 2014-10-27  Andreas Schwab  <schwab@suse.de>
25713         [BZ #17501]
25714         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
25715         check for Slow_SSE4_2 feature bit.
25716         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
25717         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25718         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
25719         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
25721 2014-10-24  Roland McGrath  <roland@hack.frob.com>
25723         * configure.ac: Validate compiler version with a empirical test of
25724         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
25725         $CC -v output.
25726         * configure: Regenerated.
25728         * inet/htons.c (htons): Prototypify.
25729         * inet/htonl.c (htonl): Likewise.
25731 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25733         * string/strncat.c (strncat): Improve performance by using strlen.
25735 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25737         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
25739 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25741         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
25742         Call libc_fetestexcept_aarch64.
25744 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25746         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
25747         Call libc_feholdexcept_aarch64.
25749 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25751         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
25752         Call get_rounding_mode.
25754 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25756         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25757         Simplify logic.
25759 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25761         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
25762         Simplify logic.
25764 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
25766         [BZ #14138]
25767         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
25768         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
25769         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
25770         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
25771         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
25772         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
25773         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
25774         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
25775         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
25776         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
25777         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25778         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
25779         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
25780         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
25781         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
25782         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
25783         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
25784         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
25785         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
25786         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
25787         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
25788         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
25789         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
25790         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
25791         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
25792         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
25793         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
25794         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
25795         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
25796         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
25797         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
25798         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
25799         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
25800         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
25801         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
25802         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
25803         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
25804         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
25805         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
25806         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
25807         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
25808         syscall.
25809         (geteuid): Likewise.
25810         (getgid): Likewise.
25811         (getuid): Likewise.
25812         (getresgid): Likewise.
25813         (getresuid): Likewise.
25814         (getgroups): Likewise.
25815         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
25816         (geteuid): Likewise.
25817         (getgid): Likewise.
25818         (getuid): Likewise.
25819         (getresgid): Likewise.
25820         (getresuid): Likewise.
25821         (getgroups): Likewise.
25822         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
25823         (geteuid): Likewise.
25824         (getgid): Likewise.
25825         (getuid): Likewise.
25826         (getresgid): Likewise.
25827         (getresuid): Likewise.
25828         (getgroups): Likewise.
25829         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
25830         Likewise.
25831         (geteuid): Likewise.
25832         (getgid): Likewise.
25833         (getuid): Likewise.
25834         (getresgid): Likewise.
25835         (getresuid): Likewise.
25836         (getgroups): Likewise.
25837         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
25838         (geteuid): Likewise.
25839         (getgid): Likewise.
25840         (getuid): Likewise.
25841         (getresgid): Likewise.
25842         (getresuid): Likewise.
25843         (getgroups): Likewise.
25844         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
25845         Likewise.
25846         (geteuid): Likewise.
25847         (getgid): Likewise.
25848         (getuid): Likewise.
25849         (getgroups): Likewise.
25851         [BZ #14138]
25852         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
25853         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
25854         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
25855         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25856         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
25857         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
25858         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
25859         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
25860         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
25861         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
25862         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
25863         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
25864         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
25865         __chown.
25866         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
25867         (lchown): Likewise.
25868         (fchown): Likewise.
25869         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
25870         Likewise.
25871         (lchown): Likewise.
25872         (fchown): Likewise.
25873         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
25874         (lchown): Likewise.
25875         (fchown): Likewise.
25876         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
25877         Likewise.
25878         (lchown): Likewise.
25879         (fchown): Likewise.
25881 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25883         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
25884         Simplify logic.
25886 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25888         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25889         Cleanup logic.
25891 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25893         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25894         Remove unused include.
25896 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25898         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
25899         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
25900         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
25901         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
25903 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
25904             Helge Deller <deller@gmx.de>
25906         [BZ #17508]
25907         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
25908         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
25909         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
25911 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
25913         [BZ #14132]
25914         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
25915         Remove macro definition.
25916         (__ashrdi3_v_glibc20): Likewise.
25917         (__lshrdi3_v_glibc20): Likewise.
25918         (__cmpdi2_v_glibc20): Likewise.
25919         (__ucmpdi2_v_glibc20): Likewise.
25920         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
25921         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25922         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25923         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25924         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25925         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
25927 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25929         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
25930         old GNU extension [0] syntax.
25931         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
25932         alloca rather than an array member with variable length.
25933         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
25934         * nscd/nscd.c (invalidate_db): New function, broken out of ...
25935         (parse_opt): ... here.  Likewise use alloca there.
25936         Validate the -i argument before checking for rootness.
25937         (send_shutdown): New function, broken out of ...
25938         (parse_opt): ... here.
25940 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25942         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
25943         macro to get at the _rt_local_ro field.
25944         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
25945         ([PIC] case) or _dl_hwcap ([!PIC] case).
25946         * sysdeps/arm/setjmp.S: Likewise.
25948         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
25949         * sysdeps/arm/configure.ac: New check to define it.
25950         * sysdeps/arm/configure: Regenerated.
25951         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
25952         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
25953         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
25954         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
25955         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
25956         Use move/movt pair instead of a load.
25957         (LDST_GLOBAL): Macro removed.
25958         (LDR_GLOBAL): New macro replaces it.
25959         (LDR_HIDDEN): New macro.
25960         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
25961         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
25963         * setjmp/tst-setjmp-static.c: New file.
25964         * setjmp/Makefile (tests): Add it.
25965         (tests-static): New variable.
25967 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
25969         [BZ #17485]
25970         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
25972 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
25974         [BZ #14132]
25975         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
25977 2014-10-21  Roland McGrath  <roland@hack.frob.com>
25979         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
25981 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25983         * io/fts.c (dirent_not_directory): New function.
25984         (fts_build): Call it.
25986 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25988         * nptl/version.c (__nptl_main): Use normal __write rather than
25989         INTERNAL_SYSCALL.
25990         (banner): Update copyright years.
25992         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
25993         gettimeofday.
25994         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25995         * nptl/pthread_cond_timedwait.c: Likewise.
25996         * nptl/pthread_mutex_timedlock.c: Likewise.
25997         * nptl/sem_timedwait.c: Likewise.
25999         * sysdeps/nptl/bits/libc-lock.h
26000         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26001         (__libc_lock_init_recursive): Return void, not 0.
26002         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
26003         (__libc_rwlock_init): Likewise.
26004         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
26006 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26008         [BZ #15215]
26009         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
26010         (__pthread_once_slow): ... here.
26011         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
26012         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
26014 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26016         [BZ #15215]
26017         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
26018         __PTHREAD_ONCE_FORK_GEN_INCR): New.
26019         * sysdeps/nptl/fork.c (__libc_fork): Use them.
26020         * nptl/pthread_once.c (__pthread_once): Likewise.
26021         Update comments.
26023 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
26025         [BZ #14138]
26026         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
26027         name.
26028         (writev): Use __libc_writev as strong name.
26029         * sysdeps/unix/sysv/linux/readv.c: Remove file.
26030         * sysdeps/unix/sysv/linux/writev.c: Likewise.
26032 2014-10-17  Roland McGrath  <roland@hack.frob.com>
26034         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
26036         * sysdeps/i386/nptl/tls.h
26037         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
26038         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
26039         New macros.
26040         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
26041         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
26042         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
26043         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
26044         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
26045         Call CHECK_THREAD_SYSINFO instead of doing an assert.
26047         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26048         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
26049         on [__NR_futex].
26050         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
26051         broken out of ...
26052         (__pthread_mutex_init): ... here.  Call it.
26053         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
26054         Conditionalize PI cases on [__NR_futex].
26055         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
26056         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
26057         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
26059         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
26060         conditional on [SIGSETXID].
26061         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
26062         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
26063         is defined.  Likewise for SIGSETXID.
26064         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
26065         Conditionalize definitions on [SIGSETXID].
26066         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
26067         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
26068         unblocking on [SIGCANCEL].
26070         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
26071         [__NR_set_robust_list].
26073 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26075         * string/strcoll_l.c (get_next_seq): Fix up formatting.
26076         (do_compare): Likewise.
26078 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
26080         [BZ #15884]
26081         * string/strcoll_l.c: Don't include stdio.h.
26082         (coll_seq): Remove members idxarr and rulearr.
26083         (get_next_seq_cached): Remove function.
26084         (get_next_seq): Likewise.
26085         (get_next_seq_nocache): Rename to get_next_seq.
26086         (do_compare): Remove function.
26087         (do_compare_nocache): Rename to do_compare.
26088         (STRCOLL): Remove weight and rules cache.
26090 2014-10-16  Roland McGrath  <roland@hack.frob.com>
26092         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
26093         * sysdeps/arm/sfp-machine.h: ... to here.
26094         * sysdeps/arm/Implies: Remove arm/soft-fp.
26096 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
26098         * conform/data/sys/utsname.h-data (*_t): Allow.
26099         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
26100         [POSIX] (WEXITED): Do not expect constant.
26101         [POSIX] (WSTOPPED): Likewise.
26102         [POSIX] (WNOHANG): Likewise.
26103         [POSIX] (WNOWAIT): Likewise.
26104         [POSIX] (siginfo_t): Do not expect type or elements.
26105         [POSIX] (pid_t): Do not expect type.
26106         [POSIX] (signal.h): Do not allow header.
26107         [POSIX] (sys/resource.h): Likewise.
26108         [POSIX] (si_*): Do not allow pattern.
26109         [POSIX] (W*): Likewise.
26110         [POSIX] (P_*): Likewise.
26111         [POSIX] (BUS_*): Likewise.
26112         [POSIX] (CLD_*): Likewise.
26113         [POSIX] (FPE_*): Likewise.
26114         [POSIX] (ILL_*): Likewise.
26115         [POSIX] (POLL_*): Likewise.
26116         [POSIX] (SEGV_*): Likewise.
26117         [POSIX] (SI_*): Likewise.
26118         [POSIX] (TRAP_*): Likewise.
26119         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
26120         variable.
26122 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26124         [BZ #12926]
26125         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
26126         infinite loop when __recvmsg returns 0.
26128 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
26130         * CANCEL-FCT-WAIVE: Remove file.
26131         * CANCEL-FILE-WAIVE: Likewise.
26133         [BZ #14132]
26134         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
26135         instead of INTVARDEF.
26136         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26137         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
26138         rtld_hidden_data_def instead of INTVARDEF.
26139         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26140         * elf/dl-deps.c (expand_dst): Likewise.
26141         * elf/dl-load.c (_dl_dst_count): Likewise.
26142         (_dl_dst_substitute): Likewise.
26143         (decompose_rpath): Likewise.
26144         (_dl_init_paths): Likewise.
26145         (open_path): Likewise.
26146         (_dl_map_object): Likewise.
26147         * elf/rtld.c (dl_main): Likewise.
26148         (process_dl_audit): Likewise.
26149         (process_envvars): Likewise.
26150         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
26151         Remove declaration.
26152         (__libc_enable_secure): Use rtld_hidden_proto.
26154 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26156         * elf/dl-load.c
26157         (add_path): New function broken out of _dl_rtld_di_serinfo.
26158         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
26160 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26162         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
26163         parentheses around macro arguments.
26164         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
26165         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
26166         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
26167         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
26168         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
26169         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26170         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26171         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
26172         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
26173         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
26174         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
26175         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
26176         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
26177         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
26178         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
26179         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
26180         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
26181         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
26182         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
26183         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
26184         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
26185         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
26186         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
26187         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26188         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26189         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
26190         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
26191         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
26192         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
26193         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
26194         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
26195         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
26196         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
26197         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
26198         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
26199         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
26200         Likewise.
26201         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
26202         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26203         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26204         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
26205         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
26206         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
26207         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
26208         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
26209         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
26210         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
26211         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
26212         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
26213         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
26214         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
26215         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
26216         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26217         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26218         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
26219         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
26220         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
26221         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
26222         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
26223         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
26224         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
26225         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
26226         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
26227         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
26228         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
26229         (_FP_FRAC_SRS_1): Likewise.
26230         (_FP_FRAC_CLZ_1): Likewise.
26231         (_FP_MUL_MEAT_1_imm): Likewise.
26232         (_FP_MUL_MEAT_1_wide): Likewise.
26233         (_FP_MUL_MEAT_1_hard): Likewise.
26234         (_FP_SQRT_MEAT_1): Likewise.
26235         (_FP_FRAC_ASSEMBLE_1): Likewise.
26236         (_FP_FRAC_DISASSEMBLE_1): Likewise.
26237         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
26238         (__FP_CLZ_2): Likewise.
26239         (_FP_MUL_MEAT_2_wide): Likewise.
26240         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26241         (_FP_MUL_MEAT_2_gmp): Likewise.
26242         (_FP_MUL_MEAT_2_120_240_double): Likewise.
26243         (_FP_SQRT_MEAT_2): Likewise.
26244         (_FP_FRAC_ASSEMBLE_2): Likewise.
26245         (_FP_FRAC_DISASSEMBLE_2): Likewise.
26246         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
26247         (_FP_FRAC_CLZ_4): Likewise.
26248         (_FP_MUL_MEAT_4_wide): Likewise.
26249         (_FP_MUL_MEAT_4_gmp): Likewise.
26250         (_FP_SQRT_MEAT_4): Likewise.
26251         (_FP_FRAC_ASSEMBLE_4): Likewise.
26252         (_FP_FRAC_DISASSEMBLE_4): Likewise.
26253         * soft-fp/op-common.h (_FP_CMP): Likewise.
26254         (_FP_CMP_EQ): Likewise.
26255         (_FP_CMP_UNORD): Likewise.
26256         (_FP_TO_INT): Likewise.
26257         (_FP_FROM_INT): Likewise.
26258         [!__FP_CLZ] (__FP_CLZ): Likewise.
26259         (_FP_DIV_HELP_imm): Likewise.
26260         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
26261         Likewise.
26262         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
26263         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
26264         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
26265         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
26266         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
26267         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26268         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26269         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
26270         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
26271         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
26272         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
26273         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
26274         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
26275         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
26276         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
26277         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
26278         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
26279         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
26280         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
26281         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
26282         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
26283         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
26284         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
26285         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26286         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26287         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
26288         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
26289         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
26290         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
26291         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
26292         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
26293         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
26294         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
26295         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
26296         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
26297         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
26298         (FP_UNPACK_RAW_SP): Likewise.
26299         (FP_PACK_RAW_S): Likewise.
26300         (FP_PACK_RAW_SP): Likewise.
26301         (FP_UNPACK_S): Likewise.
26302         (FP_UNPACK_SP): Likewise.
26303         (FP_UNPACK_SEMIRAW_S): Likewise.
26304         (FP_UNPACK_SEMIRAW_SP): Likewise.
26305         (FP_PACK_S): Likewise.
26306         (FP_PACK_SP): Likewise.
26307         (FP_PACK_SEMIRAW_S): Likewise.
26308         (FP_PACK_SEMIRAW_SP): Likewise.
26309         (_FP_SQRT_MEAT_S): Likewise.
26310         (FP_CMP_S): Likewise.
26311         (FP_CMP_EQ_S): Likewise.
26312         (FP_CMP_UNORD_S): Likewise.
26313         (FP_TO_INT_S): Likewise.
26314         (FP_FROM_INT_S): Likewise.
26316         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
26318         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
26319         (FP_EX_INVALID_IMZ): Likewise.
26320         (FP_EX_INVALID_IMZ_FMA): Likewise.
26321         (FP_EX_INVALID_ISI): Likewise.
26322         (FP_EX_INVALID_ZDZ): Likewise.
26323         (FP_EX_INVALID_IDI): Likewise.
26324         (FP_EX_INVALID_SQRT): Likewise.
26325         (FP_EX_INVALID_CVI): Likewise.
26326         (FP_EX_INVALID_VC): Likewise.
26327         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
26328         "invalid" exceptions.
26329         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
26330         (_FP_ADD_INTERNAL): Likewise.
26331         (_FP_MUL): Likewise.
26332         (_FP_FMA): Likewise.
26333         (_FP_DIV): Likewise.
26334         (_FP_CMP_CHECK_NAN): Likewise.
26335         (_FP_SQRT): Likewise.
26336         (_FP_TO_INT): Likewise.
26337         (FP_EXTEND): Likewise.
26339 2014-10-09  Allan McRae  <allan@archlinux.org>
26341         * po/fr.po: Update French translation from translation project.
26343 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26345         [BZ #14132]
26346         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
26347         of INTDEF.
26348         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
26349         (__cxa_atexit): Use libc_hidden_proto.
26350         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
26352         [BZ #14132]
26353         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
26354         declaration.
26355         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
26356         [!_ISOMAC] (__iswspace_l_internal): Likewise.
26357         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
26358         [!_ISOMAC] (__iswctype_internal): Likewise.
26359         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
26360         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
26361         alias.
26362         (fcntl): Remove __fcntl_internal alias.
26363         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
26364         __connect_internal alias.
26365         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
26366         Likewise.
26368         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
26369         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
26370         FP_DENORM_ZERO.
26371         (_FP_CHECK_FLUSH_ZERO): New macro.
26372         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
26373         (_FP_CMP): Likewise.
26374         (_FP_CMP_EQ): Likewise.
26375         (_FP_TO_INT): Do not set inexact for subnormal arguments if
26376         FP_DENORM_ZERO.
26377         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
26378         (FP_TRUNC): Likewise.
26380         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
26381         treated as invalid conversion, not as normal exponent.
26383         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
26384         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
26385         (_FP_CMP_EQ): Likewise.
26386         (_FP_CMP_UNORD): Likewise.
26387         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
26388         (FP_CMP_EQ_D): Likewise.
26389         (FP_CMP_UNORD_D): Likewise.
26390         * soft-fp/extended.h (FP_CMP_E): Likewise.
26391         (FP_CMP_EQ_E): Likewise.
26392         (FP_CMP_UNORD_E): Likewise.
26393         * soft-fp/quad.h (FP_CMP_Q): Likewise.
26394         (FP_CMP_EQ_Q): Likewise.
26395         (FP_CMP_UNORD_Q): Likewise.
26396         * soft-fp/single.h (FP_CMP_S): Likewise.
26397         (FP_CMP_EQ_S): Likewise.
26398         (FP_CMP_UNORD_S): Likewise.
26399         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
26400         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
26401         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
26402         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
26403         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
26404         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
26405         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
26406         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
26407         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
26408         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
26409         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
26410         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
26411         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
26412         to FP_CMP_Q.
26413         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
26414         FP_CMP_Q.
26415         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
26416         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
26417         FP_CMP_EQ_Q.
26418         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
26419         FP_CMP_Q.
26420         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
26421         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
26422         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
26423         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
26424         FP_CMP_EQ_Q.
26425         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
26426         FP_CMP_Q.
26427         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
26428         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
26429         FP_CMP_EQ_Q.
26430         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
26431         FP_CMP_Q.
26432         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
26433         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
26434         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
26435         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
26436         FP_CMP_EQ_Q.
26438         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
26439         a subnormal result, set the underflow exception if trapping on
26440         underflow is enabled.
26441         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
26442         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
26443         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
26444         redefine to 0.
26445         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
26446         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26447         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26448         * soft-fp/extendxftf2.c (__extendxftf2): Use
26449         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
26451         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
26452         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
26453         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26454         FP_HANDLE_EXCEPTIONS.
26455         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
26456         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26457         FP_HANDLE_EXCEPTIONS.
26458         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
26459         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26460         FP_HANDLE_EXCEPTIONS.
26461         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
26462         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26463         FP_HANDLE_EXCEPTIONS.
26465 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
26467         [BZ #14132]
26468         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
26469         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
26470         use INTUSE.
26471         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
26472         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
26473         Remove alias.
26474         (__adjtimex): Define using libc_hidden_ver.
26475         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
26476         Remove declaration.
26477         (ntp_gettime): Call __adjtimex directly.
26478         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
26479         Remove declaration.
26480         (ntp_gettimex): Call __adjtimex directly.
26481         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
26482         __adjtimex_internal alias.
26484 2014-10-08  Roland McGrath  <roland@hack.frob.com>
26486         [BZ #17460]
26487         * nscd/nscd.c (more_help): Rewrite list of tables collection
26488         using xstrdup and asprintf.
26490         * nscd/nscd_conf.c: Remove local xstrdup declaration.
26492 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26493             Roland McGrath  <roland@hack.frob.com>
26495         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
26496         (do_lookup_unique): ... local function 'enter' here; update callers.
26498 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
26500         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
26501         compat_symbol calls on [SHARED].
26502         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
26503         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
26504         Remove.
26505         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26506         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
26507         (oldsetrlimit): Remove.
26508         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26510         (lchown): New syscall entry.
26511         (oldsetrlimit): Remove.
26512         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26513         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
26514         (oldsetrlimit): Remove.
26515         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26517         [BZ #14138]
26518         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
26519         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
26520         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
26521         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
26522         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
26523         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
26524         (fchown): Likewise.
26525         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
26526         (fchown): Likewise.
26527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
26528         Likewise.
26530 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26532         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
26533         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
26534         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
26535         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
26536         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
26537         Likewise.
26538         (__old_sem_post): Likewise.
26540 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
26542         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
26543         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
26544         HAVE_CLOCK_GETTIME_VSYSCALL macros.
26545         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
26546         Use INLINE_VSYSCALL macro.
26547         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
26548         __vdso_clock_gettime.
26549         * sysdeps/unix/sysv/linux/tile/init-first.c
26550         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
26551         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
26552         __vdso_clock_gettime.
26554         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
26555         to set up frame more cleanly.
26557         * sysdeps/tile/memcmp.c: New file.
26559         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
26561         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
26562         * sysdeps/tile/tilegx/strcasestr.c: New file.
26563         * sysdeps/tile/tilegx/strnlen.c: New file.
26564         * sysdeps/tile/tilegx/strstr.c: New file.
26566         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
26568 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
26570         * nptl/tst-setuid3.c: Write errors to stdout.
26572 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26574         * elf/dl-deps.c
26575         (preload): New functions broken out of _dl_map_object_deps.
26576         (_dl_map_object_deps):  Remove a nested function. Update call sites.
26578 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
26580         [BZ #14138]
26581         * sysdeps/unix/sysv/linux/execve.c: Remove file.
26582         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
26584 2014-10-01  Steve Ellcey  <sellcey@mips.com>
26586         * sysdeps/mips/strcmp.S: New.
26588 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
26590         [BZ #14138]
26591         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
26592         (linkat): Likewise.
26593         (mkdirat): Likewise.
26594         (readlinkat): Likewise.
26595         (renameat): Likewise.
26596         (symlinkat): Likewise.
26597         (unlinkat): Likewise.
26598         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
26599         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
26600         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
26601         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
26602         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
26603         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
26604         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
26606 2014-09-30  Will Newton  <will.newton@linaro.org>
26608         * math/math.h: Define long double math functions if
26609         _LIBC_TEST is defined.
26610         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
26612         * localedata/Makefile: Move assignment to tests-special
26613         into an ifdef testing run-built-tests.
26614         * timezone/Makefile: Likewise.
26616 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
26618         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
26619         with $(BASH) not $(SHELL).
26621 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
26622             Matthew LeGendre  <legendre1@llnl.gov>
26624         [BZ #17411]
26625         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
26626         l_reloc_result.
26628 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26630         * stdio-common/printf_fp.c
26631         (hack_digit): New function, broken out of ...
26632         (__printf_fp): ... local function here.  Update call sites.
26633         hack_digit now takes an additional parameter that is a pointer
26634         to a struct of the referenced locals.  Those locals moved inside
26635         the struct and references updated.
26637 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
26639         * aclocal.m4: Require autoconf 2.69.
26640         * configure: Regenerated.
26641         * sysdeps/aarch64/configure: Likewise.
26642         * sysdeps/alpha/configure: Likewise.
26643         * sysdeps/arm/armv7/configure: Likewise.
26644         * sysdeps/arm/configure: Likewise.
26645         * sysdeps/ia64/configure: Likewise.
26646         * sysdeps/mach/configure: Likewise.
26647         * sysdeps/mips/configure: Likewise.
26648         * sysdeps/s390/configure: Likewise.
26649         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
26650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
26652         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
26653         file.
26654         * sysdeps/ia64/configure.ac: Likewise.
26656 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
26658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
26659         specify symbol version for ld.so.  Do not include entry for
26660         libpthread.
26661         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26662         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26663         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26665         [BZ #14171]
26666         * Makeconfig [$(build-shared) = yes]
26667         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
26668         makefiles.
26669         [$(build-shared) = yes && $(soversions.mk-done) = t]
26670         ($(common-objpfx)gnu/lib-names.h): Remove rule.
26671         [$(build-shared) = yes && $(soversions.mk-done) = t]
26672         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
26673         to Makerules.
26674         [$(build-shared) = yes && $(soversions.mk-done) = t]
26675         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
26676         here.
26677         [$(build-shared) = yes && $(soversions.mk-done) = t]
26678         (common-generated): Don't append gnu/lib-names.h and
26679         gnu/lib-names.stmp here.
26680         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
26681         (lib-names-h-abi): New variable.
26682         [$(build-shared) = yes && $(soversions.mk-done) = t]
26683         (lib-names-stmp-abi): Likewise.
26684         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26685         abi-variants] (before-compile): Append
26686         $(common-objpfx)$(lib-names-h-abi).
26687         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26688         abi-variants] (common-generated): Append gnu/lib-names.h.
26689         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26690         abi-variants] (install-others-nosubdir): Depend on
26691         $(inst_includedir)/$(lib-names-h-abi).
26692         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26693         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
26694         [$(build-shared) = yes && $(soversions.mk-done) = t]
26695         ($(common-objpfx)$(lib-names-h-abi)): New rule.
26696         [$(build-shared) = yes && $(soversions.mk-done) = t]
26697         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
26698         [$(build-shared) = yes && $(soversions.mk-done) = t]
26699         (common-generated): Append $(lib-names-h-abi) and
26700         $(lib-names-stmp-abi).
26701         * scripts/lib-names.awk: Do not handle multi being set.
26702         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
26703         Remove variable.
26704         (abi-lp64_be-ld-soname): Likewise.
26705         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
26706         Likewise.
26707         (abi-hard-ld-soname): Likewise.
26708         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
26709         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
26710         Remove variable.
26711         (abi-o32_hard-ld-soname): Likewise.
26712         (abi-o32_soft_2008-ld-soname): Likewise.
26713         (abi-o32_hard_2008-ld-soname): Likewise.
26714         (abi-n32_soft-ld-soname): Likewise.
26715         (abi-n32_hard-ld-soname): Likewise.
26716         (abi-n32_soft_2008-ld-soname): Likewise.
26717         (abi-n32_hard_2008-ld-soname): Likewise.
26718         (abi-n64_soft-ld-soname): Likewise.
26719         (abi-n64_hard-ld-soname): Likewise.
26720         (abi-n64_soft_2008-ld-soname): Likewise.
26721         (abi-n64_hard_2008-ld-soname): Likewise.
26722         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
26723         Likewise.
26724         (abi-64-v2-ld-soname): Likewise.
26725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
26726         ld.so entries.
26727         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
26728         variable.
26729         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
26730         entry.
26731         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
26732         variable.
26733         (abi-64-ld-soname): Likewise.
26734         (abi-x32-ld-soname): Likewise.
26735         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
26736         entry.
26737         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26739 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
26741         [BZ #14138]
26742         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
26743         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
26744         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
26745         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
26746         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
26747         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
26748         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
26749         syscall entry for GLIBC_2.2 symbol version.
26750         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
26751         Likewise.
26752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26753         (setrlimit): Likewise.
26754         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
26755         Likewise.
26757 2014-09-23  Will Newton  <will.newton@linaro.org>
26759         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
26760         _LINUX_ARM_SYSDEP_H include guard too.
26761         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
26762         define.
26764 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26766         * sysdeps/unix/sysv/linux/eventfd.c:
26767         Make first argument unsigned.
26768         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
26769         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
26771 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
26773         [BZ #16852]
26774         * socket/recvmmsg.c (recvmmsg): Drop const argument.
26775         * socket/sys/socket.h: Likewise.
26776         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
26778 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26780         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
26782 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
26784         * time/tst-ftime.c: New test.
26785         * time/Makefile (tests): Add tst-ftime.
26787 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
26789         * soft-fp/extended.h: Fix comment formatting.
26790         * soft-fp/op-1.h: Likewise.
26791         * soft-fp/op-2.h: Likewise.
26792         * soft-fp/op-4.h: Likewise.
26793         * soft-fp/op-8.h: Likewise.
26794         * soft-fp/op-common.h: Likewise.
26795         * soft-fp/soft-fp.h: Likewise.
26797         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
26799 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
26801         [BZ #6652]
26802         * Makeconfig (soversions-default-setname): Remove variable.
26803         ($(common-objpfx)soversions.i): Don't pass default_setname to
26804         soversions.awk.
26805         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
26806         oldest_abi to abi-versions.awk.
26807         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
26808         * config.make.in (oldest-abi): Remove variable.
26809         * configure.ac (--enable-oldest-abi): Remove configure option.
26810         * configure: Regenerated.
26811         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
26812         text.
26813         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
26814         * scripts/soversions.awk: Do not handle default_setname variable.
26815         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
26816         variable.
26817         * sysdeps/mach/hurd/configure: Regenerated.
26818         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
26819         variable.
26820         * sysdeps/unix/sysv/linux/configure: Regenerated.
26822 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26824         * elf/Makefile (CFLAGS-interp.c): Remove.
26825         ($(elf-objpfx)runtime-linker.h): Generate header with linker
26826         path string.
26827         * elf/interp.c: Include generated runtime-linker.h
26829         * Makerules (lib%.so): Don't include $(+interp) in
26830         prerequisites.
26831         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
26832         * dlfcn/eval.c: Remove file.
26834         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
26835         macros.
26837         [BZ #17266]
26838         * misc/sys/cdefs.h: Define __extern_always_inline for clang
26839         4.2 and newer.
26841         [BZ #17370]
26842         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
26844 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26845             Jakub Jelinek  <jakub@redhat.com>
26847         [BZ #17266]
26848         * libio/stdio.h: Check definition of __fortify_function
26849         instead of __extern_always_inline to include bits/stdio2.h.
26850         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
26851         check if __extern_always_inline is defined.
26852         [__USE_MISC || __USE_XOPEN]: Likewise.
26853         [__USE_ISOC99] Likewise.
26854         * misc/sys/cdefs.h (__fortify_function): Define only if
26855         __extern_always_inline is defined.
26856         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
26857         __extern_always_inline and __extern_inline only for g++-4.3
26858         and newer or a compatible gcc.
26860 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
26862         [BZ #17371]
26863         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26864         last change to handle zero prefix length.
26866 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26868         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
26869         _SC_REGEX_VERSION.
26871         * posix/getconf.c (vars): Add _POSIX_IPV6 and
26872         _POSIX_RAW_SOCKETS.
26874 2014-09-13  Allan McRae  <allan@archlinux.org>
26876         * po/ru.po: Update Russian translation from translation project.
26878 2014-09-12  Roland McGrath  <roland@hack.frob.com>
26880         * locale/programs/locale.c (show_locale_vars): Inline local function
26881         into its sole call site.  Clean up some style nits.
26882         (print_item): New function, broken out of ...
26883         (show_info): ... local function here.  Clean up style nits.
26885         * locale/programs/ld-ctype.c (set_one_default): New function, broken
26886         out of ...
26887         (set_class_defaults): ... local function set_default here.
26888         Define set_default as a macro locally to pass constant parameters.
26889         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
26890         rather than a shared local.
26892         * stdlib/rpmatch.c (try): New function, broken out of ...
26893         (rpmatch): ... local function here.  Also, prototypify definition.
26895 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
26897         * scripts/soversions.awk: Do not handle configuration names.
26898         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
26899         vendor and os variables to soversions.awk.
26900         * configure.ac: Do not modify gnu-* host_os.
26901         * configure: Regenerated
26902         * shlib-versions: Remove first column with configuration names.
26903         * nptl/shlib-versions: Likewise.
26904         * nptl_db/shlib-versions: Likewise.
26905         * sysdeps/hppa/shlib-versions: Likewise.
26906         * sysdeps/m68k/shlib-versions: Likewise.
26907         * sysdeps/mach/hurd/shlib-versions: Likewise.
26908         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
26909         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
26910         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
26911         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
26912         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
26913         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
26914         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
26915         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
26916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26917         Likewise.
26918         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26919         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26920         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26921         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26922         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26923         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
26924         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26925         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
26928         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
26929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26930         Regenerated.
26931         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
26932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26933         Condition symbol version definitions on [HAVE_ELFV2_ABI].
26935         * shlib-versions: Remove OS-specific entries.  Moved to files in
26936         sysdeps.
26937         * sysdeps/mach/hurd/shlib-versions: New file.
26938         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26940         * nptl/shlib-versions: Remove architecture-specific entries.
26941         Moved to files in sysdeps.
26942         * shlib-versions: Likewise.
26943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
26944         file.
26945         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26946         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26947         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26948         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26950         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
26951         (UDP_NO_CHECK6_RX): Likewise.
26953 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26955         * sysdeps/posix/sysconf.c (__sysconf): Spell
26956         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
26958 2014-08-12  Florian Weimer  <fweimer@redhat.com>
26960         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
26961         loading.
26962         * iconv/Versions (__gconv_transliterate): Export for use from
26963         gconv modules.
26964         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
26965         (struct __gconv_trans_data, __gconv_trans_fct,
26966         __gconv_trans_context_fct, __gconv_trans_query_fct,
26967         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
26968         definitions.
26969         (struct __gconv_step_data): Remove __trans member.
26970         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
26971         longer hidden.  Remove unused trans_data argument.
26972         * iconv/gconv_int.h (struct trans_struct): Remove definition.
26973         (__gconv_translit_find): Remove declaration.
26974         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
26975         prototype.
26976         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
26977         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
26978         trans_data argument.  Add hidden definition.
26979         (__gconv_translit_find): Remove.
26980         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
26981         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
26982         * iconv/skeleton.c: Remove transliteration initialization.
26983         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
26984         __gconv_step_data initialization.
26985         * libio/iofwide.c (__libio_translit_): Remove.
26986         (_IO_fwide): Adjust struct __gconv_step_data initialization.
26987         * wcsmbs/btowc.c (__btowc): Likewise.
26988         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26989         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26990         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
26991         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
26992         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
26993         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
26994         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
26995         * wcsmbs/wctob.c (wctob): Likewise.
26997 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26999         [BZ #16194]
27000         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
27001         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
27002         register usage.
27003         * sysdeps/x86/Makefile: Adjust.
27005 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27006             Roland McGrath  <roland@hack.frob.com>
27008         * locale/weight.h: Add include guard.
27009         (findidx): Make static rather than auto; take new parameters
27010         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
27011         * locale/weightwc.h: Likewise.
27012         * posix/fnmatch_loop.c
27013         (FCT): Change type of EXTRA from int32_t to wint_t.
27014         Don't include either header inside the function.
27015         Call FINDIDX rather than findidx, and pass new arguments.
27016         #undef FINDIDX at the end of the file.
27017         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
27018         FINDIDX before including fnmatch_loop.c for the non-wide version.
27019         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
27020         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
27021         for the wide version.
27022         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
27023         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
27024         Pass new arguments to findidx.
27025         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
27026         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
27027         Don't #include it inside the function.  Pass new arguments to findidx.
27028         * posix/regex_internal.h
27029         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
27030         (re_string_elem_size_at): Don't #include it inside the function.
27031         Pass new arguments to findidx.
27032         * string/strcoll_l.c: #include WEIGHT_H at top level.
27033         (get_next_seq): Don't #include it inside the function.
27034         Pass new arguments to findidx.
27035         (get_next_seq_nocache): Likewise.
27036         * string/strxfrm_l.c: #include WEIGHT_H at top level.
27037         (STRXFRM): Don't #include it inside the function.
27038         Pass new arguments to findidx.
27040 2014-09-11  Florian Weimer  <fweimer@redhat.com>
27042         [BZ #17344]
27043         * malloc/malloc.c (unlink): Turn asserts into a call to
27044         malloc_printerr.
27046 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
27048         [BZ #17370]
27049         * libio/wfileops (do_ftell_wide): Free OUT.
27051 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
27053         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
27055 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27057         [BZ #17363]
27058         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
27059         group if the current group is empty.
27061 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27063         * benchtests/bench-memset.c (test_main): Add more test from size
27064         from 32 to 512 bytes.
27065         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27066         Add POWER8 memset object.
27067         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27068         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
27069         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
27070         implementation.
27071         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
27072         Likewise.
27073         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
27074         multiarch POWER8 memset optimization.
27075         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
27076         POWER8 memset optimization.
27078         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27079         Remove bzero multiarch objects.
27080         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
27081         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
27082         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
27083         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
27084         Remove define.
27085         [__bzero]: Redefine to specific name.
27086         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27087         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27088         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
27089         define.
27090         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27091         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27093 2014-09-10  Florian Weimer  <fweimer@redhat.com>
27095         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
27096         warnings into errors.
27098         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
27099         __cxa_thread_atexit_impl prototype.
27101 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27103         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
27104         Fix capitalization of error message.
27106 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27108         * sysdeps/mips/preconfigure: Modify ABI tests.
27110 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
27112         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
27114 2014-09-07  Roland McGrath  <roland@hack.frob.com>
27115             Carlos O'Donell  <carlos@systemhalted.org>
27117         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
27118         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
27119         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
27120         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
27121         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
27122         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
27123         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
27124         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
27125         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
27126         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
27127         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
27128         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
27129         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
27130         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
27131         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
27132         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
27133         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
27134         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
27135         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
27136         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
27137         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
27138         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
27139         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
27140         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
27141         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
27142         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
27143         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
27144         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
27145         Deconditionalize the code that was previously under [RESET_PID].
27146         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
27147         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
27148         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
27149         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
27150         include sysdep.h.
27152 2014-09-08  Allan McRae  <allan@archlinux.org>
27154         * version.h (RELEASE): Set to "development".
27155         (VERSION): Set to "2.20.90"
27157 2014-09-07  Allan McRae  <allan@archlinux.org
27159         * version.h (RELEASE): Set to "stable".
27160         (VERSION): Set to "2.20"
27161         * include/features.h (__GLIBC_MINOR__): Set to 20.
27163         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
27164         Liebler.
27166         * po/ko.po: Update Korean translation from translation project.
27168 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
27170         [BZ #17354]
27171         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
27172         macro for handling signed relocations.
27174 2014-09-03  Florian Weimer  <fweimer@redhat.com>
27176         [BZ #17325]
27177         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
27178         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
27179         assert.
27180         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
27181         * iconvdata/ibm935.c (BODY): Likewise.
27182         * iconvdata/ibm937.c (BODY): Likewise.
27183         * iconvdata/ibm939.c (BODY): Likewise.
27184         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
27185         assert.
27186         * iconvdata/Makefile (iconv-test.out): Pass module list to test
27187         script.
27188         * iconvdata/run-iconv-test.sh: New test loop for checking for
27189         decoder crashers.
27191 2014-09-02  Khem Raj  <raj.khem@gmail.com>
27193         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
27194         libm_hidden_ver.
27196 2014-09-01  Allan McRae  <allan@archlinux.org>
27198         * po/eo.po: Update Esperanto translation from translation project.
27200         * po/ca.po: Update Catalan translation from translation project.
27202 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27204         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
27205         __proc_dostop call.
27207 2014-08-27  Mark Wielaard  <mjw@redhat.com>
27209         [BZ #17319]
27210         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
27211         to call set_thread_area instead of hand written asm.
27212         (__NR_set_thread_area): Removed define.
27213         (TLS_FLAG_WRITABLE): Likewise.
27214         (__ASSUME_SET_THREAD_AREA): Remove check.
27215         (TLS_EBX_ARG): Remove define.
27216         (TLS_LOAD_EBX): Likewise.
27218 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27220         Simplify atomicity of socket creation in bind.
27222         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
27223         looking up the name after linking the file.
27225 2014-08-27  Allan McRae  <allan@archlinux.org>
27227         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27229 2014-08-26  Florian Weimer  <fweimer@redhat.com>
27231         [BZ #17187]
27232         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
27233         trans_compare, open_translit, __gconv_translit_find):
27234         Remove module loading code.
27236 2014-08-26  Allan McRae  <allan@archlinux.org>
27238         * po/vi.po: Update Vietnamese translation from translation project.
27240         * po/uk.po: Update Ukrainian translation from translation project.
27242         * po/fr.po: Update French translation from translation project.
27244         * po/ru.po: Update Russian translation from translation project.
27246         * po/pl.po: Update Polish translation from translation project.
27248         * po/cs.po: Update Czech translation from translation project.
27250         * po/de.po: Update German translation from translation project.
27252         * po/bg.po: Update Bulgarian translation from translation project.
27254         * po/sv.po: Update Sweedish translation from translation project.
27256         * po/nl.po: Update Dutch translation from translation project.
27258         * po/es.po: Update Spanish translation from translation project.
27260 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27262         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
27264         * catgets/Makefile (CPPFLAGS-gencat): Remove.
27265         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
27266         (CPPFLAGS-iconvconfig): Likewise.
27267         * timezone/Makefile (CPPFLAGS-zic): Likewise.
27269         * include/libc-symbols.h: Remove unnecessary check for
27270         NOT_IN_libc.
27271         * nptl/pthreadP.h: Likewise.
27272         * sysdeps/aarch64/setjmp.S: Likewise.
27273         * sysdeps/alpha/setjmp.S: Likewise.
27274         * sysdeps/arm/sysdep.h: Likewise.
27275         * sysdeps/i386/setjmp.S: Likewise.
27276         * sysdeps/m68k/setjmp.c: Likewise.
27277         * sysdeps/posix/getcwd.c: Likewise.
27278         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27279         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27280         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27281         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27282         * sysdeps/sh/sh3/setjmp.S: Likewise.
27283         * sysdeps/sh/sh4/setjmp.S: Likewise.
27284         * sysdeps/unix/alpha/sysdep.h: Likewise.
27285         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27286         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27287         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27288         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27291         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27292         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27293         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27294         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27295         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27296         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27297         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27298         * sysdeps/x86_64/setjmp.S: Likewise.
27300 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
27302         [BZ #17263]
27303         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
27304         <stdint.h>.
27305         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
27306         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
27308 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27310         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
27312         [BZ #17262]
27313         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
27314         and __x86_64__ when disabling x87 inline functions.
27316 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27318         [BZ #17259]
27319         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
27320         asm statement with __cpuid_count.
27322 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
27324         * configure.ac: Change __ehdr_start code to dereference the struct.
27325         Run readelf on the output to look for relocations.
27326         * configure: Regenerated.
27328 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
27330         [BZ #17261]
27331         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
27332         value to 0.
27333         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
27335 2014-08-12  Roland McGrath  <roland@hack.frob.com>
27337         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
27339 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
27341         [BZ #16892]
27342         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
27343         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
27345 2014-08-12  Sean Anderson  <seanga2@gmail.com>
27347         * malloc/malloc.c: Fix typo in comment.
27349 2014-08-09  Allan McRae  <allan@archlinux.org>
27351         * Regenerate libc.po.
27353 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
27355         * intl/tst-gettext2.sh: Check every lang file for creation.
27357 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27359         * sysdeps/aarch64/fpu/math_private.h
27360         (libc_feholdsetround_noex_aarch64_ctx): New function.
27362 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27364         * sysdeps/arm/armv6/strcpy.S (strcpy):
27365         Fix performance issue in misaligned cases.
27367 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27369         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
27370         Move definition from termios.h.
27371         (struct termio): Likewise.
27372         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27373         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27374         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27375         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27376         Likewise.
27377         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
27378         Move definition to ioctl-types.h
27379         (struct termio): Likewise.
27380         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27381         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27382         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27383         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27384         Likewise.
27386 2014-08-05  Richard Henderson  <rth@redhat.com>
27388         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
27389         exceptions.
27390         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
27391         Add fraiseexcpt.
27392         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
27393         Use __feraiseexcept.
27394         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
27395         Protect libm symbols with IS_IN_libm.
27397         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
27399 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
27401         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
27403 2014-08-04  Will Newton  <will.newton@linaro.org>
27405         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
27406         file.
27408 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
27410         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
27411         variants for each function.
27413 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27415         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
27416         appended ...
27417         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
27418         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
27419         appended ...
27420         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
27421         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
27422         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
27423         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
27424         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
27425         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
27426         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
27427         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
27428         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
27429         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
27430         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
27431         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
27432         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
27433         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
27434         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
27435         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
27436         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
27437         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
27438         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
27439         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
27440         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
27441         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
27442         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
27443         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
27444         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
27445         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
27446         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
27447         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
27448         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
27449         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
27450         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
27451         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
27452         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
27453         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
27454         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
27455         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
27456         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
27457         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
27458         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
27459         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
27460         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
27461         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
27462         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
27463         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
27464         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
27465         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
27466         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
27467         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
27468         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
27469         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
27470         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
27471         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
27472         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
27473         Update #include.
27474         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
27475         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
27477 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27479         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
27480         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
27481         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
27482         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
27483         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
27484         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
27486 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27488         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
27489         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
27490         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27491         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
27493 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27495         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
27496         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
27497         (__libc_vfork): Define function under this name.
27498         (__vfork): Define as an alias.
27499         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
27500         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
27502 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27504         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
27505         that was previously under [RESET_PID].
27506         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
27508 2014-08-04  Andreas Schwab  <schwab@suse.de>
27510         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
27512 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
27514         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
27515         (main): Likewise.
27517 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27519         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
27521 2014-08-01  Richard Henderon  <rth@redhat.com>
27523         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
27524         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
27525         typo in exact zero test.
27526         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27527         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27528         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27530 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27532         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
27533         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
27534         * sysdeps/arm/sysdep.h: ... here.
27535         [!__ASSEMBLER__]: Include <stdint.h>.
27537 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27539         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
27540         (HAVE_WCTYPE_H): Likewise.
27541         (HAVE_ISWCTYPE): Likewise.
27542         (ENABLE_NLS): Likewise.
27543         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
27544         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
27546         * posix/regex_internal.c: Check if DEBUG is defined and is
27547         set.
27549         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
27550         (HAVE_MBSRTOWCS): Likewise.
27551         * posix/fnmatch.c: Include string.h unconditionally.
27553 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27555         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
27556         reversal.
27558 2014-07-31  Roland McGrath  <roland@hack.frob.com>
27560         * sysdeps/generic/safe-fatal.h: New file.
27561         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
27562         * nptl/forward.c: Include it.
27563         (__pthread_unwind): Use __safe_fatal as default action, rather
27564         than a bogus use of INTERNAL_SYSCALL that could never work.
27566         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
27567         * configure.ac (libc_cv_builtin_trap): New test.
27568         * configure: Regenerated.
27569         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
27570         (ABORT_INSTRUCTION): Define using __builtin_trap.
27572         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
27573         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
27574         * sysdeps/nptl/nptl-signals.h: New file.
27575         * nptl/pthreadP.h: Include <nptl-signals.h>.
27577 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27579         * sysdeps/s390/s390-64/utf16-utf32-z9.c
27580         (ONE_DIRECTION): Define.
27581         * sysdeps/s390/s390-64/utf8-utf16-z9.c
27582         (ONE_DIRECTION): Define.
27583         * sysdeps/s390/s390-64/utf8-utf32-z9.c
27584         (ONE_DIRECTION): Define.
27586 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27588         * sysdeps/s390/Makefile: Delete file.
27589         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
27590         * sysdeps/s390/__longjmp.c: Delete file.
27591         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
27592         Remove fields __flags and __reserved.
27593         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
27594         and add versioning.
27595         * sysdeps/s390/rtld-__longjmp.c: Delete file.
27596         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
27597         * sysdeps/s390/rtld-setjmp.S: Likewise.
27598         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
27599         * sysdeps/s390/s390-32/__longjmp.c: ... here.
27600         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
27601         * sysdeps/s390/s390-32/setjmp.S: ... here.
27602         Add versioning.
27603         (__sigsetjmp): Remove setting __flags field.
27604         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
27605         * sysdeps/s390/s390-64/__longjmp.c: ... here.
27606         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
27607         * sysdeps/s390/s390-64/setjmp.S: ... here.
27608         Add versioning.
27609         (__sigsetjmp): Remove setting __flags field.
27610         * sysdeps/s390/setjmp.S: Delete file.
27611         * sysdeps/s390/sigjmp.c: Likewise.
27612         * sysdeps/s390/v1-longjmp.c: Likewise.
27613         * sysdeps/s390/v1-setjmp.h: Likewise.
27614         * sysdeps/s390/v1-sigjmp.c: Likewise.
27615         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
27616         Remove v1-longjmp_chk.
27617         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
27618         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
27619         Include debug/longjmp_chk.c and add versioning.
27620         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
27621         Include nptl/pt-longjmp.c and add versioning.
27622         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
27623         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
27624         Include __longjmp.c.
27625         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27626         Move to ...
27627         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
27628         (__getcontext): Remove setting __flags field.
27629         Add versioning.
27630         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27631         Don't restore upper high grps.
27632         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
27633         Likewise.
27634         (__swapcontext): Remove setting uc_flags field.
27635         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
27636         Delete file.
27637         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27638         Include __longjmp.c.
27639         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27640         Move to ...
27641         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
27642         (__getcontext): Remove setting __flags field.
27643         Add versioning.
27644         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
27645         (__swapcontext): Remove setting uc_flags field.
27646         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
27647         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
27648         Remove fields uc_high_gprs and __reserved.
27649         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
27650         New file with reverted content.
27651         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
27652         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
27653         Regenerated.
27654         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
27655         Regenerated.
27657 2014-07-31  Andreas Schwab  <schwab@suse.de>
27659         * config.h.in (HAVE_IFUNC): Define to 0.
27660         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
27661         definedness.
27663 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
27665         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27666         memmove-avx-unaligned, memcpy-avx-unaligned and
27667         mempcpy-avx-unaligned.
27668         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27669         Add tests for AVX memcpy functions.
27670         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
27671         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
27672         memcpy_chk.
27673         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
27674         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
27675         memmove_chk.
27676         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
27677         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
27678         mempcpy_chk.
27679         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
27680         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
27681         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
27683 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27685         [BZ #17213]
27686         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
27687         powerpc64le.
27689 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
27691         [BZ #16839]
27692         * manual/llio.texi: Add section about open file description locks.
27693         * manual/examples/ofdlocks.c: Example of open file description
27694         lock usage.
27695         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
27696         F_OFD_SETLK, and F_OFD_SETLKW.
27698 2014-07-23  Allan McRae  <allan@archlinux.org>
27700         * po/es.po: Update Spanish translation from translation project.
27702 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
27704         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
27706 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
27708         [BZ #17078]
27709         * sysdeps/arm/dl-machine.h (elf_machine_rela)
27710         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
27711         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
27713 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
27715         [BZ #17088]
27716         * math/fesetenv.c (__fesetenv)
27717         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
27718         * math/feupdateenv.c (__feupdateenv)
27719         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
27721         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
27722         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
27723         (__ASSUME_SOCKETCALL): Do not define.
27725         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
27726         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
27727         (__ASSUME_SOCKETCALL): Do not define.
27728         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
27729         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27730         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27731         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27732         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27733         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
27734         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27735         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27737         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
27738         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
27739         (__ASSUME_SOCKETCALL): Do not define.
27740         (__ASSUME_IPC64): Define unconditionally.
27741         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27742         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27743         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27744         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27745         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
27746         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27747         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
27748         Likewise.
27750         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
27751         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
27752         (__ASSUME_SOCKETCALL): Do not define.
27753         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
27754         (__ASSUME_FUTEX_LOCK_PI): Likewise.
27755         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27756         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
27757         (__ASSUME_REQUEUE_PI): Define unconditionally.
27758         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
27759         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
27760         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27761         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
27762         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27763         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27765         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
27766         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
27767         (__ASSUME_SOCKETCALL): Do not define.
27768         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
27769         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27770         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27771         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
27772         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27773         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27775         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
27776         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
27777         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27778         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
27779         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27780         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
27781         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27782         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
27783         (__ASSUME_GETCPU_SYSCALL): Likewise.
27785         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
27786         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
27787         cases for individual architectures.
27788         * sysdeps/gnu/configure: Regenerated.
27789         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
27790         LIBC_SLIBDIR_RTLDDIR.
27791         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
27792         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
27793         LIBC_SLIBDIR_RTLDDIR.
27794         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
27795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
27796         LIBC_SLIBDIR_RTLDDIR.
27797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27798         Regenerated.
27799         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
27800         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
27801         file.
27802         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
27803         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
27804         file.
27805         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
27806         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
27807         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
27808         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
27810         * sysdeps/aarch64/shlib-versions: Move to ...
27811         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
27812         * sysdeps/alpha/shlib-versions: Move to ...
27813         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
27814         * sysdeps/arm/shlib-versions: Move to ...
27815         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
27816         * sysdeps/hppa/shlib-versions: Move all contents except for
27817         libgcc_s entry to ...
27818         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
27819         entry from ...
27820         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
27821         * sysdeps/ia64/shlib-versions: Move to ...
27822         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
27823         entry from ...
27824         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
27825         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
27826         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
27827         * sysdeps/microblaze/shlib-versions: Move to ...
27828         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
27829         * sysdeps/mips/shlib-versions: Move to ...
27830         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
27831         entry from ...
27832         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
27833         * sysdeps/tile/shlib-versions: Move to ...
27834         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
27835         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
27836         from ...
27837         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
27838         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
27839         entry from ...
27840         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
27842 2014-07-17  Will Newton  <will.newton@linaro.org>
27844         * sysdeps/arm/bits/atomic.h
27845         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
27846         (__arch_compare_and_exchange_bool_16_int): Likewise.
27847         (__arch_compare_and_exchange_bool_64_int): Likewise.
27849         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
27850         into an #else block.
27852 2014-07-16  Roland McGrath  <roland@hack.frob.com>
27854         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
27855         just Linux configurations.  Test empirically that the compiler sets
27856         __ARM_EABI__, rather than using the tuple to decide.
27857         * sysdeps/arm/preconfigure: Regenerated.
27858         * sysdeps/unix/sysv/linux/arm/configure: File removed.
27859         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
27860         contents appended ...
27861         * sysdeps/arm/configure.ac: ... here.
27862         * sysdeps/arm/configure: Regenerated.
27864 2014-07-15  Roland McGrath  <roland@hack.frob.com>
27866         * nptl/pthread_kill.c: New file.
27867         * nptl/pthread_sigmask.c: New file.
27868         * nptl/pthread_sigqueue.c: New file.
27870         * sysdeps/nptl/lowlevellock.h: New file.
27871         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
27872         * sysdeps/nptl/lowlevellock-futex.h: New file.
27874         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
27875         Remove dead declarations.
27877 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
27879         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
27880         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
27881         config-cflags-avx2.
27882         * sysdeps/x86_64/configure.ac: Likewise.
27883         * sysdeps/i386/configure: Regenerated.
27884         * sysdeps/x86_64/configure: Likewise.
27885         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27886         memset-avx2 only if config-cflags-avx2 is yes.
27887         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27888         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
27889         defined.
27890         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
27891         only if HAVE_AVX2_SUPPORT is defined.
27892         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27894 2014-07-14  Alan Modra  <amodra@gmail.com>
27896         [BZ #17153]
27897         * elf/elf.h (DT_PPC64_NUM): Correct value.
27898         * NEWS: Add to fixed bug list.
27900 2014-07-13  Jim Meyering  <meyering@fb.com>
27902         [BZ 17150]
27903         regex: don't deref NULL upon heap allocation failure
27904         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
27905         failure in one more place.
27906         To trigger the segfault, configure grep -with-included-regex,
27907         build it, and run these commands:
27908         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
27910 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
27912         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27914 2014-07-11  Richard Henderson  <rth@redhat.com>
27916         * sysdeps/aarch64/libm-test-ulps: Update.
27918 2014-07-10  Florian Weimer  <fweimer@redhat.com>
27920         [BZ #17135]
27921         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
27922         * nptl/allocatestack.c (__nptl_setxid_error): New function.
27923         (__nptl_setxid): Initialize error member.  Call
27924         __nptl_setxid_error.
27925         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
27926         * nptl/descr.h (struct xid_command): Add error member.
27927         * nptl/tst-setuid3.c: New file.
27928         * nptl/Makefile (tests): Add it.
27930 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27932         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
27933         New define.
27934         (__lll_trylock): Use __lll_base_trylock.
27935         (__lll_cond_trylock): Likewise.
27937 2014-07-10  Roland McGrath  <roland@hack.frob.com>
27939         * nptl/pthread_create.c (start_thread): Use atomic_or and
27940         lll_futex_wake directly rather than lll_robust_dead.
27941         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27942         (lll_robust_dead): Macro removed.
27943         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
27944         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27945         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27946         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27947         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27948         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27949         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27950         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27951         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27952         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27953         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27954         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27955         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27956         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27957         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27959         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27960         Use atomic_compare_and_exchange_val_acq directly rather than
27961         lll_robust_trylock.
27962         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27963         (__lll_robust_trylock, lll_robust_trylock): Removed.
27964         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27965         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27966         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27967         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27968         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27969         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27970         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27971         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27972         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27973         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27974         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27975         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27976         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27977         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27979 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27981         * manual/locale.texi (Locale Names): New section documenting
27982         locale name syntax.  Adjust menu and node chaining accordingly.
27983         (Choosing Locale): Reference Locale Names, Locale Categories.
27984         Mention setting LC_ALL=C.  Reflect that name syntax is now
27985         documented.
27986         (Locale Categories): New section title.  Reference Locale Names.
27987         LC_ALL is an environment variable, but not a category.
27988         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
27989         description, now in Locale Name.  Reference that section.  Locale
27990         name syntax is now documented.
27992 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27994         [BZ #17137]
27995         * locale/findlocale.c (name_present, valid_locale_name): New
27996         functions.
27997         (_nl_find_locale): Use the loc_name variable to store name
27998         candidates.  Call name_present and valid_locale_name to check and
27999         validate locale names.  Return an error if the locale is invalid.
28001 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28003         * locale/setlocale.c (setlocale): Use strdup for allocating
28004         composite name copy.
28006 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28008         Sync up with gnulib.
28009         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
28010         [!_LIBC && ENABLE_NLS]: Include gettext.h.
28011         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
28012         and _GL_ARG_NONNULL.
28013         [USE_UNLOCKED_IO]: Include unlocked-io.h.
28014         [!_LIBC]: Include code for Windows and Cygwin.
28015         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
28016         Include prototype for int strerror_r.
28017         [!_LIBC] (is_open): New function.
28018         (flush_stdout): New function.
28019         (print_errno_message): Use it.
28020         (error): Likewise.
28021         (error_at_line): Likewise.
28022         (error_tail) Add function attribute macros.  Use
28023         __builtin_expect.
28025         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
28027         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
28029         * io/ftw.c: Include sys/param.h unconditionally.
28031         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
28033         [BZ #17125]
28034         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
28035         libc_freeres_ptr.
28036         (freecache): New function to free CACHE on exit.
28038         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
28039         initialization.
28041 2014-07-09  David S. Miller  <davem@davemloft.net>
28043         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28045         * sysdeps/sparc/nptl/internaltypes.h: Delete.
28046         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
28047         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
28048         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
28049         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
28050         * sysdeps/sparc/nptl/sem_init.c: Likewise.
28051         * sysdeps/sparc/nptl/sem_post.c: Likewise.
28052         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
28053         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
28054         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
28055         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
28056         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
28057         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
28059 2014-07-09  Andreas Schwab  <schwab@suse.de>
28061         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
28062         output.
28063         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
28064         (do_test): Likewise.
28066         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28068 2014-07-09  Will Newton  <will.newton@linaro.org>
28070         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
28071         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
28072         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28073         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28074         * sysdeps/hppa/start.S (_start): Likewise.
28076 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28078         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
28080         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
28081         defined.
28083 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28085         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
28086         after checking that it is non-NULL.
28088         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
28090 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28092         * sysdeps/powerpc/memmove.c: Remove file.
28093         * sysdeps/powerpc/powerpc32/power4/memcopy.h
28094         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
28095         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28096         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
28097         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
28098         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
28099         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
28100         string memmove instead of removed powerpc one.
28102         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28103         [weak_alias]: Fix compiler warning due trailing data.
28104         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
28105         [weak_alias]: Likewise.
28106         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
28107         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
28109         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28110         (__libc_ifunc_impl_list): Add memmove functions.
28112 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28114         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
28115         Remove code.
28116         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
28117         Likewise.
28118         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
28119         Likewise.
28120         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
28121         Likewise.
28122         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
28123         Likewise.
28124         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
28125         Likewise.
28126         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
28127         Likewise.
28128         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
28129         Likewise.
28130         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
28131         Likewise.
28132         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
28133         Likewise.
28134         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
28135         Likewise.
28136         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
28137         Likewise.
28138         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
28139         Likewise.
28140         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
28141         Likewise.
28142         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
28143         Likewise.
28144         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
28145         Likewise.
28146         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
28147         Likewise.
28149 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28151         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
28152         to avoid alignment traps in non-cacheable memory.
28153         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28155         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
28156         multiarch objects.
28157         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
28158         file: multiarch power7 memmove.
28159         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
28160         multiarch default memmove.
28161         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
28162         multiarch memove for powerpc32/power4.
28164         * string/bcopy.c: Use full path to include memmove.c.
28165         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
28166         multiarch objects.
28167         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
28168         bcopy for powerpc64.
28169         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
28170         bcopy for powerpc64.
28171         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
28172         and memmove implementations.
28173         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
28174         optimized multiarch memmove for POWER7/powerpc64.
28175         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
28176         default multiarch memmove for powerpc64.
28177         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
28178         multiarch for powerpc64.
28179         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
28180         for POWER7/powerpc64.
28181         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
28182         memmove for POWER7/powerpc64.
28184         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
28185         glibc default one.
28187         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
28188         __ELF_NATIVE_CLASS equal to 64.
28190 2014-07-07  Roland McGrath  <roland@hack.frob.com>
28192         * sysdeps/nptl/lowlevellock.h: File removed.
28194         * NEWS: NPTL is no longer an add-on!
28195         * nptl/internaltypes.h: Moved ...
28196         * sysdeps/nptl/internaltypes.h: ... here.
28197         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
28198         * sysdeps/nptl/fork.c: Likewise.
28199         * sysdeps/nptl/gai_misc.h: Likewise.
28200         * sysdeps/nptl/librt-cancellation.c: Likewise.
28201         * sysdeps/nptl/jmp-unwind.c: Likewise.
28202         * sysdeps/nptl/setxid.h: Likewise.
28203         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
28204         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
28205         * sysdeps/unix/sysv/linux/arm/Implies: New file.
28206         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
28207         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
28208         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
28209         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
28210         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
28211         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
28212         * sysdeps/unix/sysv/linux/mips/Implies: New file.
28213         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
28214         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
28215         * sysdeps/unix/sysv/linux/sh/Implies: New file.
28216         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
28217         * sysdeps/unix/sysv/linux/tile/Implies: New file.
28218         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
28219         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
28220         * nptl/Makeconfig: Moved ...
28221         * sysdeps/nptl/Makeconfig: ... here.
28222         * nptl/configure: File removed.
28223         * nptl/ANNOUNCE: File removed.
28224         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
28225         * sysdeps/unix/sysv/linux/configure: Regenerated.
28227         * nptl/Makefile (routines): Add libc_pthread_init,
28228         libc_multiple_threads, register-atfork and unregister-atfork.
28229         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
28230         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
28231         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
28232         pthread-pi-defines.sym, structsem.sym.
28233         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
28234         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
28235         [$(subdir) = nptl] (tests): Add tst-setgetname.
28236         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
28237         * sysdeps/unix/sysv/linux/sigaction.c: Just include
28238         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
28239         [!LIBC_SIGACTION]: Remove aliases.
28240         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28241         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28242         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28243         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
28244         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28245         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
28246         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28247         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28248         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28249         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
28250         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
28251         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
28252         __libc_allocate_rtsig_private.
28253         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
28254         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
28255         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28256         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28257         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
28258         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
28259         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
28260         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
28261         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
28262         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
28263         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
28264         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
28265         * nptl/internaltypes.h: ... here.
28266         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
28267         * sysdeps/nptl/jmp-unwind.c: ... here.
28268         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
28269         * nptl/libc-lowlevellock.c: ... here.
28270         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
28271         * nptl/libc_multiple_threads.c: ... here.
28272         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
28273         * nptl/libc_pthread_init.c: ... here.
28274         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
28275         * nptl/lowlevelbarrier.sym: ... here.
28276         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
28277         * nptl/lowlevelcond.sym: ... here.
28278         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
28279         * nptl/lowlevellock.c: ... here.
28280         * nptl/lowlevellock.h: Moved ...
28281         * sysdeps/nptl/lowlevellock.h: ... here.
28282         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
28283         * nptl/lowlevelrobustlock.c: ... here.
28284         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
28285         * nptl/lowlevelrobustlock.sym: ... here.
28286         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
28287         * nptl/lowlevelrwlock.sym: ... here.
28288         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
28289         * nptl/pt-fork.c: ... here.
28290         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
28291         * nptl/pthread-pi-defines.sym: ... here.
28292         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
28293         * nptl/pthread_attr_getaffinity.c: ... here.
28294         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
28295         * nptl/pthread_attr_setaffinity.c: ... here.
28296         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
28297         * nptl/pthread_mutex_cond_lock.c: ... here.
28298         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28299         Update #include.
28300         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
28301         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
28302         * nptl/pthread_once.c: ... here, replacing old file.
28303         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
28304         * nptl/pthread_yield.c: ... here.
28305         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
28306         * nptl/register-atfork.c: ... here.
28307         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
28308         * nptl/sem_post.c: ... here.
28309         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
28310         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
28311         * nptl/sem_timedwait.c: ... here.
28312         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
28313         * nptl/sem_trywait.c: ... here.
28314         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
28315         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
28316         * nptl/sem_wait.c: ... here.
28317         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
28318         * nptl/structsem.sym: ... here.
28319         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
28320         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
28321         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
28322         * nptl/unregister-atfork.c: ... here.
28323         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
28324         * nptl/unwindbuf.sym: ... here.
28325         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
28326         * sysdeps/nptl/fork.c: ... here.
28327         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
28328         * sysdeps/nptl/fork.h: ... here.
28329         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
28330         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
28331         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
28332         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
28333         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
28334         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
28335         * sysdeps/unix/sysv/linux/getpid.c: ... here.
28336         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
28337         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
28338         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
28339         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
28340         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
28341         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
28342         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
28343         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
28344         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
28345         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
28346         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
28347         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
28348         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
28349         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
28350         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
28351         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
28352         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
28353         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
28354         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
28355         * sysdeps/unix/sysv/linux/raise.c: ... here.
28356         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
28357         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
28358         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
28359         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
28360         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
28361         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
28362         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
28363         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
28364         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
28365         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
28366         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
28367         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
28368         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
28369         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
28370         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
28372 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28374         * sysdeps/generic/memcopy.h: Add comment for
28375         MEMCPY_OK_FOR_FWD_MEMMOVE.
28377 2014-07-04  Will Newton  <will.newton@linaro.org>
28379         * string/memchr.c: Merge from gnulib.
28380         [_LIBC]: Remove conditionals.
28381         (__ptr_t): Remove define.
28382         (LONG_MAX_32_BITS): Likewise.
28383         (LONG_MAX): Likewise.
28384         (MEMCHR): Use ANSI prototype and optimize algorithm.
28386         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
28388 2014-07-03  Roland McGrath  <roland@hack.frob.com>
28390         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
28391         (lll_futex_timed_wait_bitset): Fix syscall argument count.
28393         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
28394         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
28395         in a bare environment with no <stdlib.h> installed.
28396         * sysdeps/nptl/configure: Regenerated.
28398         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
28400         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
28401         AC_EGREP_CPP for kernel header checks, so they only succeed if
28402         including <linux/version.h> actually works right.
28403         * sysdeps/unix/sysv/linux/configure: Regenerated.
28405         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
28406         value so it's not diagnosed as unused.
28408         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
28409         thing) with "ifeq ($(subdir),rt)".
28411 2014-07-03  Richard Henderson  <rth@redhat.com>
28413         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
28414         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
28415         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
28417         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
28418         (math_force_eval): New.
28420         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
28421         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
28423         * sysdeps/alpha/fpu/s_round.c: Remove file.
28424         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
28426         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
28427         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
28428         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
28429         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
28430         (_dl_start, print_statistics): Likewise.
28431         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
28432         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
28434         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28435         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28436         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28437         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28438         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28439         (HP_SMALL_TIMING_AVAIL): Define.
28440         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28441         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28442         (HP_SMALL_TIMING_AVAIL): Define.
28443         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28444         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28446         * sysdeps/aarch64/hp-timing.h: New file.
28448         * sysdeps/generic/hp-timing.h: Remove dead comment.
28449         * sysdeps/generic/hp-timing-common.h: New file.
28450         * sysdeps/alpha/hp-timing.h: Include it.
28451         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
28452         * sysdeps/i386/i686/hp-timing.h: Likewise.
28453         * sysdeps/ia64/hp-timing.h: Likewise.
28454         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28455         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28456         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28457         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28458         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
28459         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
28460         (hp_timing_t): New.
28462         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
28463         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
28464         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
28465         * elf/rtld.c (_dl_start_final): Likewise.
28466         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
28467         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28468         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28469         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28470         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28471         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28472         (HP_TIMING_DIFF_INIT): Remove.
28473         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28474         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28475         (HP_TIMING_DIFF_INIT): Remove.
28476         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28477         * sysdeps/i386/i686/hp-timing.c: Remove file.
28478         * sysdeps/x86_64/hp-timing.c: Remove file.
28479         * sysdeps/ia64/hp-timing.c: Remove file.
28480         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
28481         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
28482         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
28483         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
28485         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
28486         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
28487         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
28488         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28489         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28490         (HP_TIMING_ACCUM): Remove.
28491         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28492         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
28493         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28495         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
28496         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
28497         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
28498         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
28499         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
28500         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28501         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
28502         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28504         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
28506 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
28508         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
28510 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28512         Sync up with gettext.
28513         * intl/loadmsgcat.c: Define O_BINARY if not defined.
28514         [_MSC_VER]: Include malloc.h
28515         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
28516         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
28517         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
28518         TEMP_FAILURE_RETRY.  Cast return of alloca.
28519         [!_LIBC] Call gl_rwlock_init.
28520         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
28522 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28524         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
28525         before checking its value.
28527 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28529         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
28531         * debug/memcpy_chk.c: Don't include pagecopy.h.
28532         * debug/mempcpy_chk.c: Likewise.
28533         * string/memcpy.c: Likewise.
28534         * string/memmove.c: Likewise.
28535         * sysdeps/powerpc/memmove.c: Likewise.
28536         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
28537         definition of PAGE_COPY_FWD_MAYBE here...
28538         * sysdeps/generic/pagecopy.h: ... from here.
28539         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
28541 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28542             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28544         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
28545         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
28546         optimizations.
28547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28548         (__libc_ifunc_impl_list): Likewise.
28549         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
28550         multiarch strcat for PPC64.
28551         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
28552         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
28554 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28556         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
28558 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28560         * intl/loadmsgcat.c: Remove declaration of
28561         get_sysdep_segment_value.
28562         (get_sysdep_segment_value): Use ISO C style.
28563         (_nl_load_domain): Use ISO C style.  Get rid of redundant
28564         semicolon.  Fix typo and formatting in comment.
28565         (_nl_unload_domain): Use ISO C style.
28567         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
28569 2014-07-02  Will Newton  <will.newton@linaro.org>
28571         * malloc/obstack.c: Merge from gnulib master.
28572         [HAVE_CONFIG_H]: Remove conditional code.
28573         [!_LIBC]: Include config.h.
28574         [!ELIDE_CODE]: Don't include inttypes.h, include
28575         stdint.h unconditionally.
28576         (print_and_abort): Mark as _Noreturn.
28577         (_obstack_allocated_p): Mark as __attribute_pure__.
28578         (obstack_free): Rename to __obstack_free.
28579         [!__attribute__]: Remove conditional code.
28580         * malloc/obstack.h: Merge from gnulib master.
28581         [__cplusplus]: Move conditional down.
28582         [!__attribute_pure__]: Define __attribute_pure__ here
28583         if it is not already defined.
28584         (_obstack_memory_used): Mark as __attribute_pure__.
28585         [!__obstack_free]: Define as obstack_free.
28586         [__GNUC__]: Remove check for ancient NeXT gcc.
28588 2014-07-02  Will Newton  <will.newton@linaro.org>
28589             Paul Eggert  <eggert@cs.ucla.edu>
28591         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
28593 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28595         * resolv/gethnamaddr.c: Add comment warning that the file is
28596         not maintained.
28598 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
28600         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
28601         entries.
28603         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
28604         entry for aio_cancel and aio_cancel64.
28605         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
28606         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
28607         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
28608         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
28609         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
28610         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
28611         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
28612         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
28613         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
28614         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
28615         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
28616         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
28617         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
28619 2014-07-01  Roland McGrath  <roland@hack.frob.com>
28621         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
28622         * nptl/pthread_mutex_lock.c: Likewise.
28623         * nptl/pthread_mutex_timedlock.c: Likewise.
28624         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
28626 2014-07-01  Richard henderson  <rth@redhat.com>
28628         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
28629         (__isnan, __isnanl): Remove.
28630         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
28632         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28634 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28636         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28638 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28640         * resolv/nss_dns/dns-host.c (getanswer_r)
28641         [MULTI_PTRS_ARE_ALIASES]: Remove code.
28643 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
28645         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28646         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
28647         undefine.
28648         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
28649         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
28651 2014-07-01  Roland McGrath <roland@hack.frob.com>
28653         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
28654         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
28656         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
28657         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
28659         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
28660         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
28661         ... here.
28662         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
28663         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
28665         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
28666         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
28667         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
28668         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
28670         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
28671         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
28672         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
28673         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
28674         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
28675         Moved ...
28676         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
28677         ... here.
28678         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
28679         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
28680         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
28681         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
28682         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
28683         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
28684         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
28685         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
28686         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
28687         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
28688         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
28689         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
28690         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
28691         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
28692         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
28693         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
28694         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
28695         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
28696         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
28697         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
28698         ... here.
28699         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
28700         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
28701         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
28702         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
28703         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
28704         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
28705         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
28706         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
28708 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
28710         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
28711         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
28712         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
28713         Add sysdep.
28715 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28719 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28721         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28722         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28724         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28726         * sysdeps/arm/libm-test-ulps: Regenerated.
28728 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28729             Roland McGrath <roland@hack.frob.com>
28731         * test-skeleton.c (signal_handler): Kill the whole process group
28732         before killing the child individually.
28733         (main): Report any failure on `setpgid'.
28735 2014-06-30  Roland McGrath  <roland@hack.frob.com>
28737         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
28738         from _TLS_H to _ARM_NPTL_TLS_H.
28739         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
28740         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
28742 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28744         [BZ #16539]
28745         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
28746         (__expm1l): Return argument unchanged when small but not
28747         subnormal.
28749         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
28750         include macro name.
28751         (_FP_UNPACK_RAW_1_P): Likewise.
28752         (_FP_PACK_RAW_1): Likewise.
28753         (_FP_PACK_RAW_1_P): Likewise.
28754         (_FP_MUL_MEAT_1_wide): Likewise.
28755         (_FP_MUL_MEAT_DW_1_hard): Likewise.
28756         (_FP_MUL_MEAT_1_hard): Likewise.
28757         (_FP_DIV_MEAT_1_imm): Likewise.
28758         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
28759         (_FP_DIV_MEAT_1_udiv): Likewise.
28760         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
28761         (_FP_UNPACK_RAW_2): Likewise.
28762         (_FP_UNPACK_RAW_2_P): Likewise.
28763         (_FP_PACK_RAW_2): Likewise.
28764         (_FP_PACK_RAW_2_P): Likewise.
28765         (_FP_MUL_MEAT_DW_2_wide): Likewise.
28766         (_FP_MUL_MEAT_2_wide): Likewise.
28767         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
28768         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28769         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
28770         (_FP_MUL_MEAT_2_gmp): Likewise.
28771         (_FP_DIV_MEAT_2_udiv): Likewise.
28772         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
28773         (_FP_FRAC_SRL_4): Likewise.
28774         (_FP_FRAC_SRST_4): Likewise.
28775         (_FP_FRAC_SRS_4): Likewise.
28776         (_FP_UNPACK_RAW_4): Likewise.
28777         (_FP_UNPACK_RAW_4_P): Likewise.
28778         (_FP_PACK_RAW_4): Likewise.
28779         (_FP_PACK_RAW_4_P): Likewise.
28780         (_FP_MUL_MEAT_DW_4_wide): Likewise.
28781         (_FP_MUL_MEAT_4_wide): Likewise.
28782         (_FP_MUL_MEAT_4_gmp): Likewise.
28783         (umul_ppppmnnn): Likewise.
28784         (_FP_DIV_MEAT_4_udiv): Likewise.
28785         (__FP_FRAC_ADD_4): Likewise.
28786         (__FP_FRAC_SUB_3): Likewise.
28787         (__FP_FRAC_SUB_4): Likewise.
28788         (__FP_FRAC_DEC_3): Likewise.
28789         (__FP_FRAC_DEC_4): Likewise.
28790         (__FP_FRAC_ADDI_4): Likewise.
28791         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
28792         (_FP_FRAC_SRL_8): Likewise.
28793         (_FP_FRAC_SRS_8): Likewise.
28795         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
28796         include macro name.
28797         (FP_UNPACK_RAW_EP): Likewise.
28798         (FP_PACK_RAW_E): Likewise.
28799         (FP_PACK_RAW_EP): Likewise.
28800         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
28801         (_FP_ISSIGNAN): Likewise.
28802         (_FP_ADD_INTERNAL): Likewise.
28803         (_FP_FMA): Likewise.
28804         (_FP_CMP): Likewise.
28805         (_FP_SQRT): Likewise.
28806         (_FP_TO_INT): Likewise.
28807         (_FP_FROM_INT): Likewise.
28808         (FP_EXTEND): Likewise.
28809         (_FP_DIV_MEAT_N_loop): Likewise.
28811 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28813         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
28814         throughout.
28816 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
28818         [BZ #17097]
28819         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
28820         result with correct sign in case of exponents that produce
28821         overflow except for X very close to 1.
28823 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
28825         mktime: merge #if/#ifdef usage from glibc
28826         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
28827         as that works with both Glibc's and Gnulib's style.
28828         See thread starting at Siddhesh Poyarekar's bug report at:
28829         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
28831 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28833         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
28834         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
28835         * sysdeps/tile/tilegx/memmove.c: Remove file.
28837 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28839         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
28840         abi-name definition.
28841         * scripts/soversions.awk: Do not handle or generate ABI lines.
28842         * shlib-versions: Remove ABI entries.
28843         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
28844         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
28846 2014-06-27  Roland McGrath  <roland@hack.frob.com>
28848         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
28849         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
28850         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
28851         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
28852         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
28853         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
28854         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
28855         Moved ...
28856         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
28857         ... here.
28858         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
28859         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
28860         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
28861         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
28862         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
28863         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
28864         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
28865         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
28866         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
28867         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
28868         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
28869         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
28870         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
28871         Moved ...
28872         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
28873         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
28874         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
28875         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
28876         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
28877         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
28878         Moved ...
28879         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
28880         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
28881         Moved ...
28882         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
28883         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
28884         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
28885         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
28886         Moved ...
28887         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
28888         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
28889         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
28890         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
28891         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
28892         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
28893         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
28894         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
28895         Moved ...
28896         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
28897         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
28898         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
28899         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
28900         Moved ...
28901         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
28902         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
28903         Moved ...
28904         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
28905         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
28906         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
28907         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
28908         Moved ...
28909         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
28910         ... here.
28911         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
28912         Identical file removed.
28913         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
28914         Moved ...
28915         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
28916         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
28917         Identical file removed.
28918         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
28919         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
28920         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
28921         Moved ...
28922         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
28923         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
28924         Identical file removed.
28925         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
28926         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
28927         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
28928         Identical file removed.
28929         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
28930         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
28931         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
28932         Identical file removed.
28933         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
28934         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
28935         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
28936         Identical file removed.
28937         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
28938         Moved ...
28939         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
28940         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
28941         Identical file removed.
28942         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
28943         Moved ...
28944         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
28945         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
28946         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
28947         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
28948         Identical file removed.
28949         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
28950         Moved ...
28951         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
28952         ... here.
28953         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
28954         Identical file removed.
28955         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
28956         Moved ...
28957         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
28958         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
28959         Identical file removed.
28960         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
28961         Moved ...
28962         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
28963         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
28964         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
28965         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
28966         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
28967         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
28968         Moved ...
28969         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
28970         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
28971         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
28973         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
28974         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
28975         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
28976         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
28977         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
28979 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
28981         [BZ #17092]
28982         * nscd/nscd.c (monitor_child): Return exit status of child
28983         instead of return value from wait syscall.
28985 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28987         * configure.ac (libc_commonpagesize): Remove variable.
28988         (libc_relro_required): Likewise.
28989         (libc_cv_z_relro): Remove configure test.
28990         * configure: Regenerated.
28991         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
28992         variable.
28993         (libc_relro_required): Likewise.
28994         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
28995         (libc_relro_required): Likewise.
28996         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
28997         (libc_relro_required): Likewise.
28998         * sysdeps/arm/preconfigure: Regenerated.
28999         * sysdeps/ia64/preconfigure: Remove file.
29000         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
29001         variable.
29002         (libc_relro_required): Likewise.
29004         [BZ #16561]
29005         [BZ #16562]
29006         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
29007         (__ieee754_yn): Set FE_TONEAREST mode internally and then
29008         recompute overflowing results in original rounding mode.
29009         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
29010         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
29011         recompute overflowing results in original rounding mode.
29012         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
29013         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29014         recompute overflowing results in original rounding mode.
29015         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
29016         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29017         recompute overflowing results in original rounding mode.
29018         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
29019         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29020         recompute overflowing results in original rounding mode.
29021         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
29022         (libc_feholdsetround_ctx): New macro.
29023         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
29024         * sysdeps/i386/fpu/libm-test-ulps: Update.
29025         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
29027 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29029         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
29030         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
29031         corresponding .cpsetup call.
29033 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29035         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
29036         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
29037         * sysdeps/arm/Makefile [$(subdir) = csu]
29038         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
29039         (static-only-routines): Add aeabi_read_tp here.
29040         (shared-only-routines): Add libc-aeabi_read_tp here.
29041         (CFLAGS-libc-start.c): Add -fexceptions here.
29042         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
29043         (sysdep_routines, static-only-routines, shared-only-routines):
29044         Don't add to these here.
29045         (CFLAGS-libc-start.c): Likewise.
29047         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
29048         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29049         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
29050         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29051         * sysdeps/arm/Makefile [$(subdir) = rt]
29052         (librt-sysdep_routines, librt-shared-only-routines):
29053         Append rt-aeabi_unwind_cpp_pr1 here.
29054         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
29055         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
29056         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
29057         (libpthread-sysdep_routines, libpthread-shared-only-routines):
29058         Append nptl-aeabi_unwind_cpp_pr1 here.
29059         (tests): Filter out tst-cleanupx4 here.
29060         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
29061         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
29062         Don't do those here.
29064 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29066         * scripts/list-sources.sh: Do not handle ports specially.
29068 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29070         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
29071         * sysdeps/arm/feupdateenv.c: Likewise.
29073         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
29075 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29077         * manual/texinfo.tex: Update to version 2014-05-05.10 with
29078         trailing whitespace removed.
29079         * scripts/config.guess: Update to version 2014-03-23.
29080         * scripts/config.sub: Update to version 2014-05-01
29081         * scripts/install-sh: Update to version 2013-12-25.23.
29082         * scripts/move-if-change: Update from gnulib.
29084 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29086         * debug/memmove_chk.c: Remove pagecopy.h include.
29088 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
29090         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
29091         identical to gnulib mktime.
29093 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29095         * configure.ac: Do not test for machine being rs6000.  Do not test
29096         for powerpc*-*soft.
29097         * configure: Regenerated.
29099         [BZ #11505]
29100         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
29101         test.
29102         * configure: Regenerated.
29103         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
29104         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
29105         Remove configure test.
29106         * sysdeps/arm/configure: Regenerated.
29107         * sysdeps/nptl/configure.ac: Do not check
29108         libc_cv_asm_cfi_directives.
29109         * sysdeps/nptl/configure: Regenerated.
29110         * sysdeps/x86_64/nptl/configure.ac: Remove file.
29111         * sysdeps/x86_64/nptl/configure: Remove generated file.
29112         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
29113         unconditional.
29114         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
29116 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29118         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
29119         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
29120         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
29121         it is defined.
29123         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
29124         instead of whether it is defined.
29125         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
29126         * sysdeps/hppa/dl-machine.h: Likewise.
29127         * sysdeps/ia64/dl-machine.h: Likewise.
29128         * sysdeps/m68k/dl-machine.h: Likewise.
29129         * sysdeps/microblaze/dl-machine.h: Likewise.
29130         * sysdeps/mips/dl-machine.: Likewise.
29131         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29132         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29133         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29134         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29135         * sysdeps/sh/dl-machine.h: Likewise.
29136         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29137         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29138         * sysdeps/tile/dl-machine.h: Likewise.
29139         * sysdeps/x86_64/dl-machine.h: Likewise.
29141         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
29142         code.
29143         (verify_persistent_db): Likewise.
29145 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29147         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
29148         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
29149         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
29150         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
29151         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29152         Moved ...
29153         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
29154         ... here.
29155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
29156         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
29157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
29158         Identical file removed.
29159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
29160         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
29161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
29162         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
29163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
29164         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
29165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
29166         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
29167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
29168         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
29169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29170         Moved ...
29171         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
29172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
29173         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
29174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
29175         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
29176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29177         Moved ...
29178         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
29179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
29180         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
29181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
29182         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
29183         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29184         Identical file removed.
29185         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
29186         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
29187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
29188         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
29189         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29190         Moved ...
29191         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
29192         ... here.
29193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
29194         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
29195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
29196         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
29197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
29198         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
29199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
29200         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
29201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
29202         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
29203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29204         Moved ...
29205         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
29206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
29207         Moved ...
29208         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
29209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
29210         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
29211         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29212         Moved ...
29213         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
29214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
29215         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
29217         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
29218         folded into ...
29219         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
29220         * sysdeps/unix/sysv/linux/s390/Versions
29221         (libpthread: GLIBC_2.19): New version set.
29222         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
29223         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
29224         (librt: GLIBC_2.3.3): New version set.
29225         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
29226         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
29227         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
29228         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
29229         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
29230         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
29231         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
29232         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
29233         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
29234         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
29235         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
29236         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
29237         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
29238         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
29239         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
29240         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
29241         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
29242         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
29243         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
29244         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
29245         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
29246         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
29247         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
29248         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
29249         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
29250         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
29251         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
29252         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
29253         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
29254         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
29255         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
29256         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
29257         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
29258         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
29259         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
29260         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
29261         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
29262         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
29263         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
29264         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
29265         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
29266         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
29267         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
29268         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
29269         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
29271         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
29272         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
29273         (__libc_vfork): Define the function under this name.
29274         [!NOT_IN_libc] (__vfork): Make this an alias.
29275         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29276         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
29277         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
29278         (__libc_vfork): Define the function under this name.
29279         [!NOT_IN_libc] (__vfork): Make this an alias.
29280         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29281         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
29282         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
29283         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
29284         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
29285         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29287         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
29288         code that was previously under [RESET_PID].
29289         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
29290         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
29291         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
29293         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
29294         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
29295         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
29296         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
29297         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
29298         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
29299         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
29300         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
29301         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
29302         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
29303         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
29304         Moved ...
29305         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
29306         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
29307         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
29308         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
29309         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
29310         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
29311         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
29312         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
29313         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
29314         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
29315         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
29316         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
29317         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
29318         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
29319         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
29320         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
29321         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
29322         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
29323         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
29324         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
29325         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
29326         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
29327         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
29328         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
29329         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
29330         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
29331         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
29332         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
29333         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
29335 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29337         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
29338         that was previously under [RESET_PID].
29339         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
29341 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29343         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
29344         not undefine and redefine.
29345         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
29346         [O_CLOEXEC]: Make code unconditional.
29347         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
29348         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
29349         <kernel-features.h>.
29350         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
29351         conditional variable definition.
29352         (shm_open) [O_CLOEXEC]: Make code unconditional.
29353         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
29354         code.
29356         * configure.ac (USE_REGPARMS): Don't define here.
29357         * configure: Regenerated.
29358         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
29359         * sysdeps/i386/configure: Regenerated.
29361         * nptl/createthread.c: Don't include kernel-features.h.
29362         * nptl/pthread_cancel.c: Likewise.
29363         * nptl/pthread_condattr_setclock.c: Likewise.
29364         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
29365         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
29366         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
29367         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
29368         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
29369         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
29370         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29371         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
29372         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29373         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
29374         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
29375         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
29376         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
29377         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
29378         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
29379         * nscd/gai.c: Likewise.
29380         * nss/nss_db/db-open.c: Likewise.
29381         * sysdeps/generic/ldsodefs.h: Likewise.
29382         * sysdeps/sh/nptl/tls.h: Likewise.
29383         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29384         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
29385         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
29386         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
29387         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
29388         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29389         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
29390         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29391         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29392         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29393         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29394         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29395         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
29396         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
29397         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
29398         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
29399         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
29400         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
29401         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
29402         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
29403         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
29404         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
29405         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
29406         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
29407         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
29408         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
29409         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
29410         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
29411         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29412         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
29413         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
29414         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
29415         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
29416         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29417         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29418         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29419         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29420         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
29421         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
29422         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29423         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29424         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
29425         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
29426         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29427         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
29428         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
29429         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
29430         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
29431         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
29432         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
29433         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
29434         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
29435         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
29436         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29437         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
29438         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29439         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29440         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
29441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
29443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
29444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
29445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
29446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
29447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
29448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
29449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
29452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
29453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
29454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
29455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
29461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
29462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
29463         * sysdeps/unix/sysv/linux/pread.c: Likewise.
29464         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
29465         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
29466         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
29467         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
29468         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
29469         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
29470         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
29471         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
29472         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
29473         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
29474         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
29475         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
29476         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
29477         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
29478         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
29479         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29480         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
29481         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
29482         * sysdeps/unix/sysv/linux/system.c: Likewise.
29483         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
29484         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
29485         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29486         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29487         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29488         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29489         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29491         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
29492         * configure: Regenerated.
29493         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
29495         * configure.ac (base_machine): Do not set specially for particular
29496         machines here.
29497         * configure: Regenerated.
29498         * sysdeps/powerpc/preconfigure: Move machine and base_machine
29499         settings from configure.ac.
29500         * sysdeps/i386/preconfigure: New file.
29501         * sysdeps/s390/preconfigure: Likewise.
29502         * sysdeps/sh/preconfigure: Likewise.
29503         * sysdeps/sparc/preconfigure: Likewise.
29505 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29507         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
29508         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
29509         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
29510         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
29511         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
29512         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
29513         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
29514         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
29515         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
29516         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
29517         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
29518         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
29519         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
29520         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
29521         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
29522         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
29523         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
29524         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
29525         * sysdeps/sparc/sparc64/Makefile: ... appended here.
29527         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
29528         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
29529         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
29530         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
29531         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
29532         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
29533         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
29534         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
29535         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
29536         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
29537         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
29538         * sysdeps/sparc/sparc32/sem_post.c: ... here.
29539         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
29540         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
29541         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
29542         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
29543         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
29544         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
29545         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
29546         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
29547         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
29548         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
29549         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
29550         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
29551         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
29552         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
29553         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
29554         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
29555         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
29556         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
29557         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
29558         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
29559         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
29560         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
29561         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
29562         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
29563         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
29564         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
29566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
29567         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
29568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
29569         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
29570         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29571         Moved ...
29572         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
29573         ... here.
29574         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
29575         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
29576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
29577         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
29578         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
29579         Moved ...
29580         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
29581         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
29582         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
29583         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
29584         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
29585         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
29586         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
29587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29588         Moved ...
29589         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
29590         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29591         Moved ...
29592         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
29593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
29594         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
29595         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29596         Moved ...
29597         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
29598         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
29599         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
29600         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
29601         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
29602         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
29603         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
29604         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
29605         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
29606         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29607         Moved ...
29608         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
29609         ... here.
29610         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
29611         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
29612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
29613         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
29614         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
29615         Moved ...
29616         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
29617         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
29618         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
29619         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
29620         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
29621         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
29622         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
29623         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29624         Moved ...
29625         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
29626         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29627         Moved ...
29628         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
29629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
29630         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
29631         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29632         Moved ...
29633         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
29634         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
29635         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
29636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
29637         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
29639 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29641         * timezone/checktab.awk: Update from tzcode 2014e.
29642         * timezone/private.h: Likewise.
29643         * timezone/tzfile.h: Likewise.
29644         * timezone/zdump.c: Likewise.
29645         * timezone/zic.c: Likewise.
29647         * sysdeps/unix/sysv/linux/kernel-features.h
29648         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
29649         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
29650         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
29651         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29652         Remove conditional code.
29654 2014-06-25  Will Newton  <will.newton@linaro.org>
29656         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
29657         (_dl_arm_cap_flags): Add HWCAP2 values.
29658         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
29659         (_DL_HWCAP_COUNT): Increase to 37.
29660         (_DL_HWCAP_LAST): New define.
29661         (_DL_HWCAP2_LAST): New define.
29662         (_dl_procinfo): Add support for printing
29663         AT_HWCAP2 entries.
29664         (_dl_string_hwcap): Use _dl_hwcap_string.
29666 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29670 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29672         * README: Do not mention ports directory.
29674         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
29675         Remove macro.
29676         * sysdeps/unix/sysv/linux/futimes.c: Do not include
29677         <kernel-features.h>.
29678         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
29679         conditional variable definition.
29680         (__futimes): Update comment.
29681         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
29682         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
29684         [BZ #16560]
29685         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
29686         arguments close to 0.
29687         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
29688         Likewise.
29689         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
29690         Likewise.
29691         * math/auto-libm-test-in: Add more tests of exp10.
29692         * math/auto-libm-test-out: Regenerated.
29693         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29695         * sysdeps/unix/sysv/linux/kernel-features.h
29696         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
29697         * sysdeps/unix/sysv/linux/readv.c: Do not include
29698         <kernel-features.h>.
29699         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29700         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29701         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29702         unconditional.
29703         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29704         conditional code.
29705         * sysdeps/unix/sysv/linux/writev.c: Do not include
29706         <kernel-features.h>.
29707         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29708         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29709         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29710         unconditional.
29711         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29712         conditional code.
29714 2014-06-25  Will Newton  <will.newton@linaro.org>
29716         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
29717         comment changes throughout the file.  Remove checks
29718         for HAVE_*_H definitions that are not required.
29719         (__gen_tempname): Call abort if an unknown kind value is
29720         passed.
29722 2014-06-25  Andreas Schwab  <schwab@suse.de>
29724         [BZ #17086]
29725         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
29726         scalbln, scalblnf, scalblnl in libc.
29728 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29730         [BZ #17086]
29731         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
29732         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29733         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29735 2014-06-24  Roland McGrath  <roland@hack.frob.com>
29737         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
29738         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
29739         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
29740         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
29741         Update #include.
29742         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
29743         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
29744         Update #include.
29745         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
29746         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
29747         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
29748         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
29749         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
29750         * sysdeps/x86/bits/pthreadtypes.h: ... here.
29751         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
29752         * sysdeps/x86/bits/semaphore.h: ... here.
29753         * sysdeps/x86/nptl/elide.h: Moved ...
29754         * sysdeps/x86/elide.h: ... here.
29755         * sysdeps/x86_64/nptl/Implies: File removed.
29756         * sysdeps/i386/nptl/Implies: File removed.
29758 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
29760         [BZ #16539]
29761         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
29762         return the argument for normal arguments with exponent below -64.
29763         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29764         Likewise.
29765         * math/auto-libm-test-in: Add another test of expm1.
29766         * math/auto-libm-test-out: Regenerated.
29768         [BZ #16287]
29769         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
29770         calling __erfcl for arguments at least 16.
29771         * math/auto-libm-test-in: Add more tests of erf.
29772         * math/auto-libm-test-out: Regenerated.
29774         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
29775         individual architectures.
29776         * sysdeps/unix/sysv/linux/configure: Regenerated.
29777         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
29778         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
29779         * sysdeps/unix/sysv/linux/powerpc/configure.ac
29780         (ldd_rewrite_script): Define variable.
29781         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
29783         file.
29784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
29785         generated file.
29786         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
29787         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
29788         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
29789         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
29790         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
29791         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
29792         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
29793         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
29795 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29797         [BZ #17084]
29798         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
29799         Rename member __data.d to __data.__elision_data.
29801 2014-06-24  Wilco  <wdijkstr@arm.com>
29803         * NEWS: Add 16918 to fixed bug list.
29805 2014-06-24  Wilco  <wdijkstr@arm.com>
29807         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
29809 2014-06-24  Wilco  <wdijkstr@arm.com>
29811         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
29812         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
29813         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
29814         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
29815         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
29816         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
29817         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
29818         Use _FPU_MASK_RM.
29820 2014-06-24  Wilco  <wdijkstr@arm.com>
29822         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
29824 2014-06-24  Wilco  <wdijkstr@arm.com>
29826         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
29827         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
29828         * sysdeps/arm/fesetround.c (fesetround): Remove space.
29829         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
29831 2014-06-24  Wilco  <wdijkstr@arm.com>
29833         [BZ #16918]
29834         * sysdeps/arm/feupdateenv.c (feupdateenv):
29835         Rewrite to reduce FPSCR accesses and fix return value.
29837 2014-06-24  Wilco  <wdijkstr@arm.com>
29839         * sysdeps/arm/fclrexcpt.c (feclearexcept):
29840         Optimize to avoid unnecessary FPSCR writes.
29841         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
29842         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
29843         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
29844         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
29846 2014-06-24  Wilco  <wdijkstr@arm.com>
29848         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
29849         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
29850         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
29851         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
29852         Call libc_fetestexcept_vfp.
29853         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
29854         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
29855         __SOFTFP__ ifdef so that they can be built for softfp.
29857 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29859         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
29860         argument type signed char.
29862         * Makerules (check-abi): Dump diff of symlist if the test
29863         fails.
29865 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29867         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
29868         using abort.
29870         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
29871         Remove unused variable ST.
29873 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29875         [BZ #16354]
29876         [BZ #17061]
29877         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
29878         small arguments before calling __expm1.
29879         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
29880         small arguments before calling __expm1f.
29881         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
29882         small arguments before calling __expm1l.
29883         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
29884         Likewise.
29885         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
29886         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
29887         spurious underflow for some cosh tests.
29888         * math/auto-libm-test-out: Regenerated.
29889         * sysdeps/i386/fpu/libm-test-ulps: Update.
29891         [BZ #17050]
29892         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
29893         (__ieee754_y1): Set errno if return value overflows.
29894         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
29895         (__ieee754_y1f): Set errno if return value overflows.
29896         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
29897         (__ieee754_y1l): Set errno if return value overflows.
29898         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
29899         (__ieee754_y1l): Set errno if return value overflows.
29900         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
29901         * math/auto-libm-test-out: Regenerated.
29903         * math/gen-auto-libm-tests.c: Document use of
29904         ignore-zero-inf-sign.
29905         (input_flag_type): Add value flag_ignore_zero_inf_sign.
29906         (input_flags): Add ignore-zero-inf-sign.
29907         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
29908         * math/gen-libm-test.pl (generate_testfile): Handle
29909         ignore-zero-inf-sign.
29910         * math/auto-libm-test-in: Mark some cpow tests with
29911         ignore-zero-inf-sign and some with xfail-rounding.
29912         * math/auto-libm-test-out: Regenerated.
29913         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
29914         * sysdeps/i386/fpu/libm-test-ulps: Update.
29915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29917         [BZ #16315]
29918         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
29919         overflowing or underflowing operations take place with sign of
29920         result.
29921         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29922         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29923         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
29924         (__ieee754_pow): Recompute overflowing and underflowing results in
29925         original rounding mode.
29926         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
29927         (__powl_helper): Allow negative argument X and scale negated value
29928         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
29929         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
29930         overflowing or underflowing operations take place with sign of
29931         result.
29932         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
29933         Include <math.h>.
29934         * math/auto-libm-test-in: Add more tests of pow.
29935         * math/auto-libm-test-out: Regenerated.
29936         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
29937         (pow_tonearest_test_data): Remove.
29938         (pow_test_tonearest): Likewise.
29939         (pow_towardzero_test_data): Likewise.
29940         (pow_test_towardzero): Likewise.
29941         (pow_downward_test_data): Likewise.
29942         (pow_test_downward): Likewise.
29943         (pow_upward_test_data): Likewise.
29944         (pow_test_upward): Likewise.
29945         (main): Don't call removed functions.
29946         * sysdeps/i386/fpu/libm-test-ulps: Update.
29947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29949 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
29952         Moved ...
29953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
29954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29955         Moved ...
29956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
29957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29958         Moved ...
29959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
29960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29961         Moved ...
29962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
29963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29964         File removed.
29965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29966         File removed.
29967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
29968         File removed.
29969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
29970         File removed.
29971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
29972         File removed.
29973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
29974         File removed.
29975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
29976         File removed.
29977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29978         File removed.
29979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
29980         File removed.
29981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29982         File removed.
29983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
29984         File removed.
29985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
29986         File removed.
29987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
29988         Moved ...
29989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
29990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
29991         Moved ...
29992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
29993         ... here.
29994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
29995         Moved ...
29996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
29997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
29998         Moved ...
29999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
30000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
30001         Moved ...
30002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
30003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
30004         Moved ...
30005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
30006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
30007         Moved ...
30008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
30009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
30010         Moved ...
30011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
30012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
30013         Moved ...
30014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
30015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
30016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
30017         ... here.
30018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
30019         Moved ...
30020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
30021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30022         Moved ...
30023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
30024         ... here.
30025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
30026         Moved ...
30027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30028         ... here.
30029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30030         Moved ...
30031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30032         ... here.
30033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30034         Moved ...
30035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
30036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30037         Moved ...
30038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
30039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
30040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
30041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30042         Moved ...
30043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
30044         ... here.
30045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30046         Moved ...
30047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
30048         ... here.
30049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30050         Moved ...
30051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
30052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30053         Moved ...
30054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
30055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30056         Moved ...
30057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
30058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30059         Moved ...
30060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
30061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30062         Moved ...
30063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
30064         ... here.
30065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30066         Moved ...
30067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
30068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30069         Moved ...
30070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
30071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30072         Moved ...
30073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
30074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30075         Moved ...
30076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
30077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
30078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
30079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30080         Moved ...
30081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
30082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30083         Moved ...
30084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
30085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30086         Moved ...
30087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
30088         ... here.
30089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30090         Moved ...
30091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
30092         ... here.
30093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30094         Moved ...
30095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
30096         ... here.
30097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30098         Moved ...
30099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
30100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30101         Moved ...
30102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
30103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30104         Moved ...
30105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
30106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30107         Moved ...
30108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
30109         ... here.
30110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30111         Moved ...
30112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
30113         ... here.
30114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30115         Moved ...
30116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
30117         ... here.
30118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30119         Moved ...
30120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
30121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30122         Moved ...
30123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
30125 2014-06-23  Will Newton  <will.newton@linaro.org>
30126             Wilco  <wdijkstr@arm.com>
30128         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
30129         implementation.  Include get-rounding-mode.h.
30130         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
30131         [!libc_feholdsetround_noex_ctx]: Define
30132         libc_feholdsetround_noex_ctx.
30133         [!libc_feholdsetround_noexf_ctx]: Define
30134         libc_feholdsetround_noexf_ctx.
30135         [!libc_feholdsetround_noexl_ctx]: Define
30136         libc_feholdsetround_noexl_ctx.
30137         (libc_feholdsetround_ctx): New function.
30138         (libc_feresetround_ctx): New function.
30139         (libc_feholdsetround_noex_ctx): New function.
30140         (libc_feresetround_noex_ctx): New function.
30142 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30144         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
30145         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
30146         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
30147         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
30148         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
30149         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
30151         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
30152         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
30153         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
30154         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
30155         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
30156         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
30157         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
30158         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
30159         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
30160         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
30161         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
30162         Moved ...
30163         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
30164         ... here.
30165         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
30166         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
30167         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
30168         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
30169         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
30170         Moved ...
30171         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
30172         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
30173         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
30174         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
30175         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
30176         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
30177         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
30178         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
30179         Moved ...
30180         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
30181         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
30182         Moved ...
30183         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
30184         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
30185         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
30186         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
30187         Moved ...
30188         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
30189         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
30190         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
30191         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
30192         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
30193         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
30194         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
30195         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
30196         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
30197         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
30198         Moved ...
30199         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
30200         ... here.
30201         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
30202         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
30203         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
30204         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
30205         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
30206         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
30207         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
30208         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
30209         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
30210         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
30211         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
30212         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
30213         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
30214         Moved ...
30215         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
30216         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
30217         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
30218         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
30219         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
30220         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
30221         Moved ...
30222         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
30223         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
30224         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
30225         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
30226         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
30228         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
30229         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
30230         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
30231         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
30232         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
30233         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
30234         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
30235         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
30236         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
30237         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
30238         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
30239         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
30240         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
30241         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
30242         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
30243         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
30244         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
30245         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
30246         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
30247         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
30248         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
30249         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
30250         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
30251         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
30252         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
30253         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
30254         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
30255         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
30257 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30259         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30260         (FALLOC_FL_COLLAPSE_RANGE): New macro.
30261         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
30262         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
30263         (IPV6_PMTUDISC_INTERFACE): Likewise.
30264         (IPV6_PMTUDISC_OMIT): Likewise.
30266 2014-06-23  Andreas Schwab  <schwab@suse.de>
30268         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
30269         Remove unused errout label.
30271 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30273         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
30274         macro: hardware supports Vector Crypto instructions.
30276 2014-06-23  Will Newton  <will.newton@linaro.org>
30278         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
30279         rather than __builtin_expect.
30281         * elf/dl-lookup.c (undefined_msg): Remove variable.
30282         (_dl_lookup_symbol_x): Replace undefined_msg with string
30283         literal.
30285         * elf/dl-lookup.c (do_lookup_unique): New function.
30286         (do_lookup_x): Move STB_GNU_UNIQUE handling code
30287         to a separate function.
30289 2014-06-23  Andreas Schwab  <schwab@suse.de>
30291         [BZ #17079]
30292         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
30293         before reading the next line.
30295 2014-06-23  Will Newton  <will.newton@linaro.org>
30297         * test-skeleton.c (signal_handler): Use printf and %m
30298         rather than perror.  Use printf rather than fprintf to
30299         stderr.  Use puts rather than fputs to stderr.
30300         (main): Likewise.
30302 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
30304         * nscd/nscd.c (thread_info_t): Remove typedef.
30305         (thread_info): Remove variable.
30307 2014-06-21  Allan McRae  <allan@archlinux.org>
30309         * NEWS: Mention CVE-2014-4043.
30311 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30313         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
30314         * nptl/smp.h: ... here.
30316         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
30318         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
30319         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
30320         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
30321         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
30323         * nptl/allocatestack.c: Include <stack-aliasing.h>.
30324         * nptl/stack-aliasing.h: New file.
30325         * sysdeps/i386/i686/stack-aliasing.h: New file.
30326         * sysdeps/i386/i686/nptl/Makefile: File removed.
30327         * sysdeps/x86_64/stack-aliasing.h: New file.
30328         * sysdeps/x86_64/nptl/Makefile
30329         (CFLAGS-pthread_create.c): Variable removed.
30331         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
30332         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
30333         old file.
30334         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
30335         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
30336         old file.
30338 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
30340         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30341         (__ASSUME_SIGFRAME_V2): Remove macro.
30342         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
30343         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
30344         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
30345         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
30346         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
30347         Declare as function.  Remove conditional macro definitions.
30348         (__default_rt_sa_restorer): Likewise.
30349         (__default_sa_restorer_v1): Remove declaration.
30350         (__default_sa_restorer_v2): Likewise.
30351         (__default_rt_sa_restorer_v1): Likewise.
30352         (__default_rt_sa_restorer_v2): Likewise.
30353         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
30354         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
30355         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
30357 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30359         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
30360         (libpthread-routines): Add sysdep.
30361         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
30362         * sysdeps/unix/sysv/linux/sparc/Versions
30363         (libpthread: GLIBC_2.3.3): New version set.
30364         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
30365         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
30366         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
30367         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
30368         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
30369         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
30370         Moved ...
30371         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
30372         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
30373         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
30374         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
30375         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
30376         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
30377         * sysdeps/sparc/nptl/sem_init.c: ... here.
30378         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
30379         * sysdeps/sparc/nptl/sem_post.c: ... here.
30380         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
30381         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
30382         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
30383         * sysdeps/sparc/nptl/sem_wait.c: ... here.
30384         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
30385         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
30386         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
30387         (libpthread-routines): Add cpu_relax.
30388         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
30389         File removed.
30390         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
30391         (librt: GLIBC_2.3.3): New version set.
30392         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
30393         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
30394         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
30395         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
30396         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
30397         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
30398         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
30399         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
30400         Moved ...
30401         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
30402         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
30403         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
30404         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
30405         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
30406         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
30407         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
30408         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
30409         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
30410         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
30411         Moved ...
30412         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
30413         Update #include.
30414         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
30415         Moved ...
30416         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
30417         Update #include.
30418         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
30419         Moved ...
30420         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
30421         Update #include.
30422         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
30423         Moved ...
30424         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
30425         Update #include.
30426         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
30427         Moved ...
30428         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
30429         Update #include.
30430         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
30431         Moved ...
30432         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
30433         Update #include.
30434         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
30435         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
30436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
30437         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
30438         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
30439         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
30440         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
30441         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
30442         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
30443         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
30444         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30445         Moved ...
30446         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
30447         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
30448         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
30449         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
30450         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
30452 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30454         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
30455         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
30456         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30457         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
30458         * nscd/nscd.c: Likewise.
30459         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
30460         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
30461         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
30462         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
30464         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
30465         <kernel-features.h>.
30466         (init_mq_netlink): Remove conditional have_sock_cloexec
30467         definitions.  Remove code conditional on have_sock_cloexec < 0.
30468         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
30469         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
30470         * sysdeps/unix/sysv/linux/opensock.c: Do not include
30471         <kernel-features.h>.
30472         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
30473         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
30475 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30477         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30478         Add tests for memset_chk and memset.
30480         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
30481         with AVX2_Usable.
30483 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30485         [BZ #16046]
30486         * elf/tst-dl-iter-static.c: New file.
30487         * elf/Makefile (tests-static): Add tst-dl-iter-static.
30489         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
30490         error.
30492 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30494         * sysdeps/unix/sysv/linux/kernel-features.h
30495         (__ASSUME_F_GETOWN_EX): Remove macro.
30496         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
30497         <kernel-features.h>.
30498         (miss_F_GETOWN_EX): Remove variable or macro.
30499         (do_fcntl): Do not check miss_F_GETOWN_EX.
30500         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
30502         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
30503         Remove macro.
30504         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
30505         [!__ASSUME_AT_RANDOM]: Remove conditional code.
30506         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
30508         * sysdeps/unix/sysv/linux/kernel-features.h
30509         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
30510         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
30511         [ADJ_OFFSET_SS_READ]: Make code unconditional.
30512         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
30514 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30516         [BZ #17075]
30517         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
30518         Fix calculation of the symbol's value.
30519         * sysdeps/arm/tst-armtlsdescloc.c: New file.
30520         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
30521         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
30522         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
30523         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
30524         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
30525         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
30526         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
30527         (modules-names): Add `tst-armtlsdescmod',
30528         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
30529         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
30530         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30531         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
30532         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
30533         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30534         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
30535         ($(objpfx)tst-armtlsdescloc): New dependency.
30536         ($(objpfx)tst-armtlsdescextnow): Likewise.
30537         ($(objpfx)tst-armtlsdescextlazy): Likewise.
30538         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
30539         TLS scheme support.
30540         * sysdeps/arm/configure: Regenerate.
30542 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30544         * include/fcntl.h (__atfct_seterrno): Remove prototype.
30545         (__atfct_seterrno_2): Likewise.
30546         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
30547         <kernel-features.h>.
30548         (__ASSUME_ATFCTS): Do not undefine and redefine.
30549         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
30550         (__have_atfcts): Remove conditional definition.
30551         (__fxstatat([__NR_fstatat64]: Make code unconditional.
30552         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
30553         unreachable if [__ASSUME_ATFCTS].
30554         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
30555         not undefine and redefine.
30556         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
30557         <kernel-features.h>.
30558         (faccessat) [__NR_faccessat]: Make code unconditional.
30559         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
30560         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
30561         <kernel-features.h>.
30562         (fchmodat) [__NR_fchmodat]: Make code unconditional.
30563         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30564         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
30565         <kernel-features.h>.
30566         (fchownat) [__NR_fchownat]: Make code unconditional.
30567         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
30568         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
30569         <kernel-features.h>.
30570         (futimesat) [__NR_futimesat]: Make code unconditional.
30571         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
30572         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30573         <kernel-features.h>.
30574         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30575         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30576         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30577         <kernel-features.h>.
30578         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
30579         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30580         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
30581         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30582         <kernel-features.h>.
30583         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
30584         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30585         * sysdeps/unix/sysv/linux/linkat.c: Do not include
30586         <kernel-features.h>.
30587         (linkat) [__NR_linkat]: Make code unconditional.
30588         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30589         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
30590         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
30591         <kernel-features.h>.
30592         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
30593         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30594         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
30595         <kernel-features.h>.
30596         (mkdirat) [__NR_mkdirat]: Make code unconditional.
30597         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
30598         * sysdeps/unix/sysv/linux/openat.c: Do not include
30599         <kernel-features.h>.
30600         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
30601         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
30602         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
30603         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
30604         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
30605         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
30606         <kernel-features.h>.
30607         (readlinkat) [__NR_readlinkat]: Make code unconditional.
30608         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
30609         result of INLINE_SYSCALL directly, not via int variable.
30610         * sysdeps/unix/sysv/linux/renameat.c: Do not include
30611         <kernel-features.h>.
30612         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
30613         (renameat) [__NR_renameat]: Make code unconditional.
30614         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
30615         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
30616         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
30617         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
30618         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
30619         (__ASSUME_ATFCTS): Do not undefine and redefine.
30620         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
30621         <kernel-features.h>.
30622         (symlinkat) [__NR_symlinkat]: Make code unconditional.
30623         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30624         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
30625         <kernel-features.h>.
30626         (unlinkat) [__NR_unlinkat]: Make code unconditional.
30627         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30628         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
30629         (__ASSUME_ATFCTS): Do not undefine and redefine.
30630         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30631         <kernel-features.h>.
30632         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30633         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30634         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30635         <kernel-features.h>.
30636         (__xmknodat) [__NR_mknodat]: Make code unconditional.
30637         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30639 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30641         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
30643 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
30645         [BZ #17069]
30646         * posix/regcomp.c (parse_reg_exp): Deallocate partially
30647         constructed tree before returning error.
30648         * posix/bug-regexp36.c: Expand test case.
30650 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30652         [BZ #6803]
30653         * math/libm-test.inc (scalbln_test_date):
30654         Add errno expectations.
30655         * math/w_scalblnf.c: New File.
30656         Add wrapper which checks for setting errno to ERANGE.
30657         Add weak_alias for corresponding scalbln function.
30658         * math/w_scalbln.c: Likewise.
30659         * math/w_scalblnl.c: Likewise.
30660         * math/Makefile (libm-calls): Add w_scalbln.
30661         * sysdeps/ieee754/flt-32/s_scalblnf.c:
30662         Remove weak_alias for corresponding scalbln function.
30663         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30664         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30665         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30666         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30667         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
30668         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30669         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
30670         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30671         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
30672         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
30673         Remove long_double_symbol for scalblnl function in libm, libc.
30674         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
30675         Add wrapper which checks for setting errno to ERANGE.
30676         Add long_double_symbol for scalblnl function in libm, libc.
30677         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
30678         Remove long_double_symbol for scalblnl in libm.
30679         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
30680         Add wrapper which checks for setting errno to ERANGE.
30681         Add long_double_symbol for scalblnl function in libm.
30682         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
30683         Do not use wrapper because of own implementation.
30685 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
30687         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
30688         3 bytes for __pad1 for x32.
30689         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
30691 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
30692             H.J. Lu  <hongjiu.lu@intel.com>
30694         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
30695         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
30696         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30697         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30698         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
30700 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
30702         [BZ #17069]
30703         * posix/regcomp.c (parse_expression): Deallocate partially
30704         constructed tree before returning error.
30705         * posix/Makefile.c (tests): Add bug-regex36.
30706         (generated): Add bug-regex36.mtrace.
30707         (tests-special): Add $(objpfx)bug-regex36-mem.out
30708         (bug-regex36-ENV): New variable.
30709         ($(objpfx)bug-regex36-mem.out): New rule.
30710         * posix/bug-regex36.c: New file.
30712 2014-06-19  Will Newton  <will.newton@linaro.org>
30714         * malloc/malloc.c (systrim): If extra is zero then return
30715         early.
30717 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30719         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
30721 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
30723         * sysdeps/aarch64/strchr.S: New file.
30725 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30727         [BZ #17022]
30728         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
30729         from arguments -2 or below.
30730         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30731         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
30733 2014-06-18  Andreas Schwab  <schwab@suse.de>
30735         [BZ #17062]
30736         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
30737         of a bracket expr not to run off the end of the string.
30738         * posix/Makefile (tests): Add tst-fnmatch3.
30739         * posix/tst-fnmatch3.c: New file.
30741 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30743         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
30744         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30745         [$(cross-compiling) = no]: Likewise.
30746         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30747         [$(cross-compiling) = no]: Likewise.
30749 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30751         [BZ #17031]
30752         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
30753         double, adjusted for any remainder from the high double.
30754         * math/libm-test.inc (nearbyint): Add tests.
30755         (rint): Likewise.
30757 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30759         * nptl/sysdeps/powerpc/Makefile: Moved ...
30760         * sysdeps/powerpc/nptl/Makefile: ... here.
30761         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
30762         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
30763         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
30764         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
30765         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
30766         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
30767         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
30768         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
30769         * nptl/sysdeps/powerpc/tls.h: Moved ...
30770         * sysdeps/powerpc/nptl/tls.h: ... here.
30772 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
30774         [BZ #16681]
30775         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
30776         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
30777         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
30778         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
30779         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
30780         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
30781         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
30782         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
30783         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
30785 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
30787         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30789 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
30791         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
30792         defined operator.
30794         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
30795         $TIMEOUTFACTOR.
30797 2014-06-16  Florian Weimer  <fweimer@redhat.com>
30799         [BZ #17058]
30800         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
30801         non-executed part of the test.
30803 2014-06-16  Andreas Schwab  <schwab@suse.de>
30805         * string/bits/string2.h (strdup, strndup): Update feature guard.
30807 2014-06-14  David S. Miller  <davem@davemloft.net>
30809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30811 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
30813         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
30814         that was previously under [RESET_PID].
30815         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
30817         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
30818         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
30819         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
30820         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30821         (__libc_vfork): New strong alias.
30822         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
30824 2014-06-14 Andi Kleen  <ak@linux.intel.com>
30826         * sysdeps/generic/elide.h: New file.
30828 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30830         * Makefile (installed-headers): Adjust path of pthread.h header.
30832 2014-06-13  Roland McGrath  <roland@hack.frob.com>
30834         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
30835         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
30836         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
30837         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
30839         * nptl/sysdeps/s390/Makefile: Moved ...
30840         * sysdeps/s390/nptl/Makefile: ... here.
30841         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
30842         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
30843         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
30844         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
30845         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
30846         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
30847         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
30848         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
30849         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
30850         * sysdeps/s390/nptl/pthreaddef.h: ... here.
30851         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
30852         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
30853         * nptl/sysdeps/s390/tls.h: Moved ...
30854         * sysdeps/s390/nptl/tls.h: ... here.
30856         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
30857         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
30859 2014-06-13  David S. Miller  <davem@davemloft.net>
30861         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
30862         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
30863         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
30864         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
30865         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
30866         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
30867         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
30868         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
30869         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
30870         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
30871         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
30872         Remove RESET_PID cpp guards.
30873         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
30874         Remove RESET_PID cpp guards.
30875         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
30877 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
30879         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
30880         __sp to uintptr_t.
30882 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30884         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
30885         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
30886         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
30887         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
30888         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
30889         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
30890         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
30891         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
30892         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
30893         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
30894         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
30895         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
30896         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
30897         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
30898         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
30899         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
30900         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
30901         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
30902         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
30903         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
30905         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
30906         (pthread_rwlock_rdlock): Add elision.
30907         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
30908         (pthread_rwlock_wrlock): Add elision.
30909         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
30910         (pthread_rwlock_trywrlock): Add elision.
30911         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
30912         (pthread_rwlock_tryrdlock): Add elision.
30913         * nptl/pthread_rwlock_unlock.c: Include elide.h.
30914         (pthread_rwlock_tryrdlock): Add elision unlock.
30915         * nptl/sysdeps/pthread/pthread.h:
30916         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
30917         (PTHREAD_RWLOCK_INITIALIZER,
30918         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
30919         Handle new elision field.
30920         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
30921         * sysdeps/arm/nptl/bits/pthreadtypes.h
30922         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30923         * sysdeps/sh/nptl/bits/pthreadtypes.h
30924         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30925         * sysdeps/tile/nptl/bits/pthreadtypes.h
30926         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30927         * sysdeps/a/nptl/bits/pthreadtypes.h
30928         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30929         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30930         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30931         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30932         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30933         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
30934         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30935         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30936         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30937         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30938         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30939         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30940         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30941         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30942         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30943         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
30944         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30945         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
30946         (elision_init): Set try_xbegin to zero when no RTM.
30947         * sysdeps/x86/nptl/bits/pthreadtypes.h
30948         (pthread_rwlock_t): Change __pad1 to __rwelision.
30949         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30951 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30953         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
30954         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
30955         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
30956         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
30958 2014-06-13  Meador Inge  <meadori@codesourcery.com>
30960         [BZ #16996]
30961         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
30962         that the cached result has been set before returning it.
30964 2014-06-12  Roland McGrath  <roland@hack.frob.com>
30966         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
30967         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
30968         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
30969         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
30970         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
30971         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
30973         * nptl/sysdeps/sparc/Makefile: Moved ...
30974         * sysdeps/sparc/nptl/Makefile: ... here.
30975         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
30976         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
30977         * nptl/sysdeps/sparc/tls.h: Moved ...
30978         * sysdeps/sparc/nptl/tls.h: ... here.
30979         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
30980         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
30981         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
30982         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
30983         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
30984         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
30985         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
30986         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
30987         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
30988         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
30989         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
30990         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
30991         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
30992         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
30993         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
30994         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
30995         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
30996         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
30997         Update #include.
30998         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
30999         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
31000         Update #include.
31001         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
31002         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
31003         Update #include.
31004         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
31005         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
31006         Update #include.
31008         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31010         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
31011         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
31013         * sysdeps/pthread/posix-timer.h: Include <list.h>.
31014         (struct list_links): Type removed.
31015         (struct thread_node, struct timer_node): Replace struct list_links
31016         with struct list_head.
31017         (list_unlink_ip): Likewise.
31018         * sysdeps/pthread/timer_routines.c
31019         (timer_free_list, thread_free_list, thread_active_list): Likewise.
31020         (list_append, list_insbefore): Likewise.
31021         (list_init): Function removed.
31022         (thread_init, init_module): Use INIT_LIST_HEAD instead.
31023         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
31024         * sysdeps/pthread/Makefile: ... here, new file.
31026         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
31027         * sysdeps/nptl/Implies: ... here.
31028         * sysdeps/unix/sysv/linux/Implies: Add nptl.
31029         * nptl/sysdeps/pthread/list.h: Moved ...
31030         * include/list.h: ... here.
31031         * nptl/sysdeps/pthread/createthread.c: Moved ...
31032         * nptl/createthread.c: ... here.
31033         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
31034         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
31035         * nptl/pt-longjmp.c: ... here.
31036         * nptl/sysdeps/pthread/Makefile: Moved ...
31037         * sysdeps/nptl/Makefile: ... here.
31038         * nptl/sysdeps/pthread/Subdirs: Moved ...
31039         * sysdeps/nptl/Subdirs: ... here.
31040         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
31041         * sysdeps/nptl/aio_misc.h: ... here.
31042         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
31043         * sysdeps/nptl/bits/libc-lock.h: ... here.
31044         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
31045         * sysdeps/nptl/bits/libc-lockP.h: ... here.
31046         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
31047         * sysdeps/nptl/bits/stdio-lock.h: ... here.
31048         * nptl/sysdeps/pthread/configure: Moved ...
31049         * sysdeps/nptl/configure: ... here.
31050         * nptl/sysdeps/pthread/configure.ac: Moved ...
31051         * sysdeps/nptl/configure.ac: ... here.
31052         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
31053         * sysdeps/nptl/gai_misc.h: ... here.
31054         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
31055         * sysdeps/nptl/librt-cancellation.c: ... here.
31056         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
31057         * sysdeps/nptl/malloc-machine.h: ... here.
31058         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
31059         * sysdeps/nptl/pthread-functions.h: ... here.
31060         * nptl/sysdeps/pthread/pthread.h: Moved ...
31061         * sysdeps/nptl/pthread.h: ... here.
31062         * nptl/sysdeps/pthread/setxid.h: Moved ...
31063         * sysdeps/nptl/setxid.h: ... here.
31064         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
31065         * sysdeps/nptl/sigfillset.c: ... here.
31066         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
31067         * sysdeps/nptl/tcb-offsets.h: ... here.
31068         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
31069         * sysdeps/nptl/tst-mqueue8x.c: ... here.
31070         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
31071         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
31072         * nptl/sysdeps/pthread/allocalim.h: Moved ...
31073         * sysdeps/pthread/allocalim.h: ... here.
31074         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
31075         * sysdeps/pthread/bits/sigthread.h: ... here.
31076         * nptl/sysdeps/pthread/flockfile.c: Moved ...
31077         * sysdeps/pthread/flockfile.c: ... here.
31078         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
31079         * sysdeps/pthread/ftrylockfile.c: ... here.
31080         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
31081         * sysdeps/pthread/funlockfile.c: ... here.
31082         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
31083         * sysdeps/pthread/posix-timer.h: ... here.
31084         * nptl/sysdeps/pthread/timer_create.c: Moved ...
31085         * sysdeps/pthread/timer_create.c: ... here.
31086         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
31087         * sysdeps/pthread/timer_delete.c: ... here.
31088         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
31089         * sysdeps/pthread/timer_getoverr.c: ... here.
31090         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
31091         * sysdeps/pthread/timer_gettime.c: ... here.
31092         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
31093         * sysdeps/pthread/timer_routines.c: ... here.
31094         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
31095         * sysdeps/pthread/timer_settime.c: ... here.
31096         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
31097         * sysdeps/pthread/tst-timer.c: ... here.
31098         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
31099         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
31101         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
31102         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
31104         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
31105         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
31106         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
31107         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
31108         Update #include target.
31109         * nptl/sysdeps/i386/i686/Makefile: Moved ...
31110         * sysdeps/i386/i686/nptl/Makefile: ... here.
31111         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
31112         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
31113         Update #include target.
31114         * nptl/sysdeps/i386/i686/tls.h: Moved ...
31115         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
31116         * nptl/sysdeps/i386/Makefile: Moved ...
31117         * sysdeps/i386/nptl/Makefile: ... here.
31118         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
31119         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
31120         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
31121         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
31122         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
31123         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
31124         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
31125         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
31126         * sysdeps/i386/nptl/pthreaddef.h: ... here.
31127         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
31128         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
31129         * nptl/sysdeps/i386/tls.h: Moved ...
31130         * sysdeps/i386/nptl/tls.h: ... here.
31132         * sysdeps/sh/Makefile [$(subdir) = csu]
31133         (gen-as-const-headers): Add tcb-offsets.sym.
31134         * nptl/sysdeps/sh/Makefile: File removed.
31135         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
31136         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
31137         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
31138         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
31139         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
31140         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
31141         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
31142         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
31143         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
31144         * sysdeps/sh/nptl/pthreaddef.h: ... here.
31145         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
31146         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
31147         * nptl/sysdeps/sh/tls.h: Moved ...
31148         * sysdeps/sh/nptl/tls.h: ... here.
31149         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
31150         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
31151         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
31152         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
31153         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
31154         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
31155         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
31156         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
31157         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
31158         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
31159         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
31160         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
31161         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
31162         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
31163         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
31164         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
31165         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
31166         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
31167         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
31168         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
31169         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
31170         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
31171         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
31172         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
31173         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
31174         Moved ...
31175         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
31176         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
31177         Moved ...
31178         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
31179         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
31180         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
31181         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
31182         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
31183         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
31184         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
31185         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
31186         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
31187         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
31188         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
31189         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
31190         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
31191         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
31192         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
31193         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
31194         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
31195         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
31196         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
31198 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31200         * posix/spawn_faction_addopen.c: Include string.h.
31202 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31204         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
31205         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
31206         * nptl/sysdeps/x86_64/Makefile: Moved ...
31207         * sysdeps/x86_64/nptl/Makefile: ... here.
31208         * nptl/sysdeps/x86_64/configure: Moved ...
31209         * sysdeps/x86_64/nptl/configure: ... here.
31210         * nptl/sysdeps/x86_64/configure.ac: Moved ...
31211         * sysdeps/x86_64/nptl/configure.ac: ... here.
31212         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
31213         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
31214         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
31215         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
31216         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
31217         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
31218         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
31219         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
31220         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
31221         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
31222         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
31223         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
31224         * nptl/sysdeps/x86_64/tls.h: Moved ...
31225         * sysdeps/x86_64/nptl/tls.h: ... here.
31226         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
31227         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
31228         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
31229         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
31231         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
31233 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31235         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31237 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
31239         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
31240         type.
31241         [POSIX] (off_t): Likewise.
31242         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
31243         [POSIX] (S_ISBLK): Require macro.
31244         [POSIX] (S_ISCHR): Likewise.
31245         [POSIX] (S_ISDIR): Likewise.
31246         [POSIX] (S_ISFIFO): Likewise.
31247         [POSIX] (S_ISREG): Likewise.
31248         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
31249         optional-macro.
31250         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
31251         type.
31252         [POSIX] (time_t): Likewise.
31253         [POSIX] (timer_t): Likewise.
31255 2014-06-11  Florian Weimer  <fweimer@redhat.com>
31257         [BZ #17048]
31258         * posix/spawn_int.h (struct __spawn_action): Make the path string
31259         non-const to support deallocation.
31260         * posix/spawn_faction_addopen.c
31261         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
31262         * posix/spawn_faction_destroy.c
31263         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
31264         path in all spawn_do_open actions.
31265         * posix/tst-spawn.c (do_test): Exercise the copy operation in
31266         posix_spawn_file_actions_addopen.
31268 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
31270         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
31271         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
31272         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
31273         conditional code always true.
31274         (__libc_vfork): New alias.
31276 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31278         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31279         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
31281         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
31283         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31284         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
31286         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31287         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
31289         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31290         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
31292 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31294         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
31295         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
31296         multiarch strcmp for PPC64.
31297         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
31298         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
31299         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
31300         multiarch optimizations.
31301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31302         (__libc_ifunc_impl_list): Likewise.
31304 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31306         * benchtests/scripts/validate_benchout.py: New script.
31307         * benchtests/Makefile (bench-func): Call it.
31308         * benchtests/scripts/benchout.schema.json: New file.
31310 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
31312         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
31313         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
31314         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
31315         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
31316         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
31317         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
31318         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
31319         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
31320         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
31321         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
31322         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
31323         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
31324         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
31325         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
31326         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
31327         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
31328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
31329         Moved ...
31330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
31331         ... here.
31332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
31333         Moved ...
31334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
31335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
31336         Moved ...
31337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
31338         ... here.
31339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
31340         Moved ...
31341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
31342         ... here.
31343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
31344         Moved ...
31345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
31346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
31347         Moved ...
31348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
31349         ... here.
31350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
31351         Moved ...
31352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
31353         ... here.
31354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
31355         Moved ...
31356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
31357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
31358         Moved ...
31359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
31360         ... here.
31361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
31362         Moved ...
31363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
31364         ... here.
31365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
31366         Moved ...
31367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
31368         ... here.
31369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
31370         Moved ...
31371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
31372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
31373         Moved ...
31374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
31375         ... here.
31376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
31377         Moved ...
31378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
31379         ... here.
31380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
31381         Moved ...
31382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
31383         ... here.
31384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
31385         Moved ...
31386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
31387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
31388         Moved ...
31389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
31390         ... here.
31391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
31392         Moved ...
31393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
31394         ... here.
31395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
31396         Moved ...
31397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
31398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
31399         Moved ...
31400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
31401         ... here.
31402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
31403         Moved ...
31404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
31405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
31406         Moved ...
31407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
31408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
31409         Moved ...
31410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
31411         ... here.
31412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
31413         Moved ...
31414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
31415         ... here.
31416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
31417         Moved ...
31418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
31419         ... here.
31420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
31421         Moved ...
31422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
31423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
31424         Moved ...
31425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
31426         ... here.
31427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
31428         Moved ...
31429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
31430         ... here.
31431         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
31432         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
31433         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
31434         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
31435         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
31436         Moved ...
31437         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
31438         ... here.
31439         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
31440         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
31441         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
31442         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
31443         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
31444         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
31445         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
31446         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
31447         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
31448         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
31449         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
31450         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
31451         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
31452         Moved ...
31453         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
31454         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
31455         Moved ...
31456         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
31457         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
31458         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
31459         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
31460         Moved ...
31461         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
31462         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
31463         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
31464         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
31465         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
31466         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
31467         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
31469 2014-06-10  Wilco  <wdijkstr@arm.com>
31471         * math/test-fenv-return.c: New file.
31472         * math/Makefile: Add new test test-fenv-return.
31474 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
31476         [BZ #17042]
31477         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
31478         when x - 1 is zero.
31479         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
31480         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
31481         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
31482         0.0L for an argument of 1.0L.
31483         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
31484         Likewise.
31485         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
31486         value when x - 1 is zero.
31487         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
31488         * sysdeps/i386/fpu/libm-test-ulps: Update.
31489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31491 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
31493         [BZ #15119]
31494         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
31496 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31498         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
31499         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
31501 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31503         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31504         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
31506         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31507         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
31509         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31510         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
31512         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31513         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
31515         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
31516         if not already defined.
31517         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
31518         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
31519         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
31520         (TLS_INIT_TP): Use it.
31521         (TLS_DEFINE_INIT_TP): New macro.
31522         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
31524 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
31526         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
31527         constant.
31528         [POSIX] (IXANY): Likewise.
31529         [POSIX] (OLCUC): Likewise.
31530         [POSIX || POSIX2008] (CBAUD): Do not allow.
31531         [POSIX || POSIX2008] (DEFECHO): Likewise.
31532         [POSIX || POSIX2008] (ECHOCTL): Likewise.
31533         [POSIX || POSIX2008] (ECHOKE): Likewise.
31534         [POSIX || POSIX2008] (ECHOPRT): Likewise.
31535         [POSIX || POSIX2008] (EXTA): Likewise.
31536         [POSIX || POSIX2008] (EXTB): Likewise.
31537         [POSIX || POSIX2008] (FLUSHO): Likewise.
31538         [POSIX || POSIX2008] (LOBLK): Likewise.
31539         [POSIX || POSIX2008] (PENDIN): Likewise.
31540         [POSIX || POSIX2008] (SWTCH): Likewise.
31541         [POSIX || POSIX2008] (VDISCARD): Likewise.
31542         [POSIX || POSIX2008] (VDSUSP): Likewise.
31543         [POSIX || POSIX2008] (VLNEXT): Likewise.
31544         [POSIX || POSIX2008] (VREPRINT): Likewise.
31545         [POSIX || POSIX2008] (VSTATUS): Likewise.
31546         [POSIX || POSIX2008] (VWERASE): Likewise.
31547         (B*): Change to B[0123456789]*.
31548         * conform/data/time.h-data [POSIX || UNIX98]
31549         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
31550         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31551         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
31552         [POSIX] (tm_*): Do not allow.
31554 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
31556         * Makefile (install): Don't set LANGUAGE.
31557         * Makefile.in (install): Likewise.
31558         * assert/Makefile (test-assert-ENV): Remove variable.
31559         (test-assert-perr-ENV): Likewise.
31560         * elf/Makefile (neededtest4-ENV): Likewise.
31561         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31562         [$(cross-compiling) = no]: Don't set LANGUAGE.
31563         * io/ftwtest-sh (LANG): Remove variable.
31564         * libio/Makefile (tst-widetext-ENV): Likewise.
31565         * manual/install.texi (Running make install): Don't refer to
31566         environment settings for make install.
31567         * INSTALL: Regenerated.
31568         * nptl/tst-tls6.sh: Don't set LANG.
31569         * posix/globtest.sh (LANG): Remove variable.
31570         * string/Makefile (tester-ENV): Likewise.
31571         (inl-tester-ENV): Likewise.
31572         (noinl-tester-ENV): Likewise.
31573         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31574         [$(cross-compiling) = no]: Don't set LANGUAGE.
31575         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
31576         without explicit environment settings.
31578 2014-06-06  Roland McGrath  <roland@hack.frob.com>
31580         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
31581         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
31582         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
31583         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
31585 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
31587         * crypt/crypt-private.h [DOS]: Add some includes taken from the
31588         other files in the crypt directory.
31589         * crypt/crypt.c: Remove duplicate includes.
31590         * crypt/crypt-entry.c: Likewise.
31591         * crypt/crypt_util.c: Likewise.
31593 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
31595         * Makeconfig (run-program-env): New variable.
31596         (run-program-prefix-before-env): Likewise.
31597         (run-program-prefix-after-env): Likewise.
31598         (run-program-prefix): Define in terms of new variables.
31599         (built-program-cmd-before-env): New variable.
31600         (built-program-cmd-after-env): Likewise.
31601         (built-program-cmd): Define in terms of new variables.
31602         (test-program-prefix-before-env): New variable.
31603         (test-program-prefix-after-env): Likewise.
31604         (test-program-prefix): Define in terms of new variables.
31605         (test-program-cmd-before-env): New variable.
31606         (test-program-cmd-after-env): Likewise.
31607         (test-program-cmd): Define in terms of new variables.
31608         * Rules (make-test-out): Use $(run-program-env).
31609         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
31610         (help): Do not mention environment variables.  Mention
31611         --timeoutfactor option.
31612         (timeoutfactor): New variable.
31613         (blacklist_exports): Remove function.
31614         (exports): Remove variable.
31615         (command): Do not include ${exports}.
31616         * manual/install.texi (Configuring and compiling): Do not mention
31617         test wrappers preserving environment variables.  Mention that last
31618         assignment to a variable must take precedence.
31619         * INSTALL: Regenerated.
31620         * benchtests/Makefile (run-bench): Use $(run-program-env).
31621         * catgets/Makefile ($(objpfx)test1.cat): Use
31622         $(built-program-cmd-before-env), $(run-program-env) and
31623         $(built-program-cmd-after-env).
31624         ($(objpfx)test2.cat): Do not specify environment variables
31625         explicitly.
31626         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
31627         $(run-program-env) and $(built-program-cmd-after-env).
31628         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
31629         $(run-program-env) and $(test-program-cmd-after-env).
31630         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
31631         explicitly.
31632         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
31633         run_program_env and test_program_cmd_after_env arguments.
31634         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
31635         * elf/tst-pathopt.sh: Use run_program_env argument.
31636         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
31637         $(test-wrapper-env) and $(run-program-env).
31638         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
31639         run_program_env arguments.
31640         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
31641         * intl/Makefile ($(objpfx)tst-gettext.out): Use
31642         $(test-program-prefix-before-env), $(run-program-env) and
31643         $(test-program-prefix-after-env).
31644         ($(objpfx)tst-gettext2.out): Likewise.
31645         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
31646         run_program_env and test_program_prefix_after_env arguments.
31647         * intl/tst-gettext2.sh: Likewise.
31648         * intl/tst-gettext4.sh: Do not set environment variables
31649         explicitly.
31650         * intl/tst-gettext6.sh: Likewise.
31651         * intl/tst-translit.sh: Likewise.
31652         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
31653         $(test-program-prefix-before-env), $(run-program-env) and
31654         $(test-program-prefix-after-env).
31655         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
31656         run_program_env and test_program_prefix_after_env arguments.
31657         * math/Makefile (run-regen-ulps): Use $(run-program-env).
31658         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
31659         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
31660         explicitly with each use of ${test_wrapper_env}.
31661         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
31662         $(test-program-prefix-before-env), $(run-program-env) and
31663         $(test-program-prefix-after-env).
31664         * posix/tst-getconf.sh: Do not set environment variables
31665         explicitly.
31666         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
31667         run_program_env and test_program_prefix_after_env arguments.
31668         * stdio-common/tst-printf.sh: Do not set environment variables
31669         explicitly.
31670         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
31671         $(test-program-prefix-before-env), $(run-program-env) and
31672         $(test-program-prefix-after-env).
31673         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
31674         run_program_env and test_program_prefix_after_env arguments.
31675         Split $test calls into $test_pre and $test.
31676         * timezone/Makefile (build-testdata): Use
31677         $(built-program-cmd-before-env), $(run-program-env) and
31678         $(built-program-cmd-after-env).
31680 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31682         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
31683         strlen for non SHARED builds.
31685 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31687         * nptl/allocatestack.c (check_list): Inlined function...
31688         (__reclaim_stacks): ... here.
31690 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31692         [BZ #15698]
31693         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31694         memory overrun.
31696 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
31698         * Rules (make-test-out): Include
31699         LOCPATH=$(common-objpfx)localedata in default environment.
31700         * debug/Makefile (tst-chk1-ENV): Remove variable.
31701         (tst-chk2-ENV): Likewise.
31702         (tst-chk3-ENV): Likewise.
31703         (tst-chk4-ENV): Likewise.
31704         (tst-chk5-ENV): Likewise.
31705         (tst-chk6-ENV): Likewise.
31706         (tst-lfschk1-ENV): Likewise.
31707         (tst-lfschk2-ENV): Likewise.
31708         (tst-lfschk3-ENV): Likewise.
31709         (tst-lfschk4-ENV): Likewise.
31710         (tst-lfschk5-ENV): Likewise.
31711         (tst-lfschk6-ENV): Likewise.
31712         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
31713         (tst-iconv7-ENV): Likewise.
31714         * intl/Makefile (LOCPATH-ENV): Likewise.
31715         (tst-codeset-ENV): Likewise.
31716         (tst-gettext3-ENV): Likewise.
31717         (tst-gettext5-ENV): Likewise.
31718         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
31719         (tst-fopenloc-ENV): Likewise.
31720         (tst-fgetws-ENV): Remove variable.
31721         (tst-ungetwc1-ENV): Likewise.
31722         (tst-ungetwc2-ENV): Likewise.
31723         (bug-ungetwc2-ENV): Likewise.
31724         (tst-swscanf-ENV): Likewise.
31725         (bug-ftell-ENV): Likewise.
31726         (tst-fgetwc-ENV): Likewise.
31727         (tst-fseek-ENV): Likewise.
31728         (tst-ftell-partial-wide-ENV): Likewise.
31729         (tst-ftell-active-handler-ENV): Likewise.
31730         (tst-ftell-append-ENV): Likewise.
31731         * posix/Makefile (tst-fnmatch-ENV): Likewise.
31732         (tst-regexloc-ENV): Likewise.
31733         (bug-regex1-ENV): Likewise.
31734         (tst-regex-ENV): Likewise.
31735         (tst-regex2-ENV): Likewise.
31736         (bug-regex5-ENV): Likewise.
31737         (bug-regex6-ENV): Likewise.
31738         (bug-regex17-ENV): Likewise.
31739         (bug-regex18-ENV): Likewise.
31740         (bug-regex19-ENV): Likewise.
31741         (bug-regex20-ENV): Likewise.
31742         (bug-regex22-ENV): Likewise.
31743         (bug-regex23-ENV): Likewise.
31744         (bug-regex25-ENV): Likewise.
31745         (bug-regex26-ENV): Likewise.
31746         (bug-regex30-ENV): Likewise.
31747         (bug-regex32-ENV): Likewise.
31748         (bug-regex33-ENV): Likewise.
31749         (bug-regex34-ENV): Likewise.
31750         (bug-regex35-ENV): Likewise.
31751         (tst-rxspencer-ENV): Likewise.
31752         (tst-rxspencer-no-utf8-ENV): Likewise.
31753         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
31754         (tst-sscanf-ENV): Likewise.
31755         (tst-swprintf-ENV): Likewise.
31756         (tst-swscanf-ENV): Likewise.
31757         (test-vfprintf-ENV): Likewise.
31758         (scanf13-ENV): Likewise.
31759         (bug14-ENV): Likewise.
31760         (tst-grouping-ENV): Likewise.
31761         * stdlib/Makefile (tst-strtod-ENV): Likewise.
31762         (tst-strtod3-ENV): Likewise.
31763         (tst-strtod4-ENV): Likewise.
31764         (tst-strtod5-ENV): Likewise.
31765         (testmb2-ENV): Likewise./
31766         * string/Makefile (tst-strxfrm-ENV): Likewise.
31767         (tst-strxfrm2-ENV): Likewise.
31768         (bug-strcoll1-ENV): Likewise.
31769         (test-strcasecmp-ENV): Likewise.
31770         (test-strncasecmp-ENV): Likewise.
31771         * time/Makefile (tst-strptime-ENV): Likewise.
31772         (tst-ftime_l-ENV): Likewise.
31773         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
31774         (tst-mbrtowc-ENV): Likewise.
31775         (tst-wcrtomb-ENV): Likewise.
31776         (tst-mbrtowc2-ENV): Likewise.
31777         (tst-c16c32-1-ENV): Likewise.
31778         (tst-mbsnrtowcs-ENV): Likewise.
31780 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31782         * manual/resource.texi (How to get information about the memory
31783         subsystem?): Fix typo.
31784         Reported by Peon de la Parra Ivan <peon@keba.com>
31786 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
31788         [BZ #16882]
31789         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
31790         (pthread_spin_lock): Branch out of spin loop to proper location.
31791         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
31792         (pthread_spin_lock): Likewise.
31794         * nptl/tst-spin4.c: New test.
31795         * nptl/Makefile (tests): Add tst-spin4.
31797 2014-06-03  Andreas Schwab  <schwab@suse.de>
31799         [BZ #15946]
31800         * resolv/res_send.c (send_dg): Reload file descriptor after
31801         calling reopen.
31803 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
31805         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31807 2014-06-03  Richard Henderson  <rth@redhat.com>
31809         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
31810         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
31811         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
31812         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
31813         in the SAVE_PID block.
31814         (__libc_vfork): New alias.
31815         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
31817         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
31818         child in registers, not on the stack.  Remove RESET_PID conditionals.
31819         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
31821 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31823         * sysdeps/aarch64/libm-test-ulps: Regenerate.
31825 2014-06-03  Wilco  <wdijkstr@arm.com>
31827         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
31828         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
31829         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31830         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
31831         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
31832         Likewise.
31834 2014-06-03  Wilco  <wdijkstr@arm.com>
31836         * sysdeps/aarch64/fpu/math_private.h
31837         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
31838         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
31839         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
31840         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31841         Fix declarations.
31843 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31845         * crypt/crypt-private.h: Include ufc-crypt.h.
31846         (__b64_from_24bit): Declare extern.
31847         * crypt/crypt_util.c(__b64_from_24bit): New function.
31848         (b64t): New static const variable.
31849         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
31850         (b64t): Remove variable.
31851         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
31852         * crypt/sha256-crypt.c: Include crypt-private.h.
31853         (b64t): Remove variable.
31854         (__sha256_crypt_r): Remove b64_from_24bit and replace
31855         with __b64_from_24bit.
31856         * crypt/sha512-crypt.c: Likewise.
31858 2014-06-02  Roland McGrath  <roland@hack.frob.com>
31860         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
31861         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
31862         Label the code __libc_vfork rather than __vfork.
31863         [!NOT_IN_libc] (vfork): Define as weak alias.
31864         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
31865         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
31866         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
31868 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31870         * malloc/malloc.c (malloc_info): Fix format specifier for
31871         n_mmaps.
31873 2014-06-02  Wilco  <wdijkstr@arm.com>
31875         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
31876         FPCR write.
31878 2014-06-02  Wilco  <wdijkstr@arm.com>
31880         [BZ #17009]
31881         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
31882         Rewrite to reduce FPCR/FPSR accesses.
31884 2014-06-01  David S. Miller  <davem@davemloft.net>
31886         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31888 2014-05-31  David S. Miller  <davem@davemloft.net>
31890         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
31891         to occur in round to nearest mode when |x| >= 2.0
31893 2014-05-30  Richard Henderson  <rth@twiddle.net>
31895         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
31896         (PSEUDO_RET_NOERRNO): Remove.
31897         (ret): Don't redefine.
31898         (ret_NOERRNO): Define in terms of ret.
31899         (ret_ERRVAL): Likewise.
31901         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
31902         use of PSEUDO_RET; perform the error check directly.
31904 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
31906         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
31907         with __int128_t.
31909 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31911         * malloc/malloc (malloc_info): Fix formatting.
31913 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31914             Roland McGrath  <roland@hack.frob.com>
31916         * malloc/malloc (malloc_info): Also print mmapped statistics.
31918 2014-05-30  Roland McGrath  <roland@hack.frob.com>
31920         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
31921         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
31923 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
31925         * malloc/malloc.c (malloc_info): Inline mi_arena.
31927 2014-05-29  Richard Henderson  <rth@twiddle.net>
31929         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
31930         Remove comma before expanding ASM_ARGS_##nr.
31931         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
31932         Make _x0 a strict output; make _x8 a strict input; adjust expansion
31933         of ASM_ARGS_##nr.
31934         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
31935         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
31936         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
31937         (ASM_ARGS_1): Add leading comma.
31939         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
31940         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
31941         to __errno_location.
31942         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
31943         Remove the expected plt for __errno_location.
31945         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31946         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
31947         call to __read_tp.
31949         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31950         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
31951         it and break it down.
31952         (DOCARGS_0, DOCARGS_1): Do nothing.
31953         (DOCARGS_2): Update to store into the new stack frame.
31954         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
31955         (UNDOCARGS_1): Update to restore from the new stack frame.
31956         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
31957         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
31959         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31960         (SINGLE_THREAD_P): New parameter for result regno.
31961         (PSEUDO): Update to match; use cbz instead of beq.
31963         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31964         Use ENTRY to define the _nocancel entry point.  Share the syscall
31965         and syscall error check paths with the cancel path.
31966         (PSEUDO_END): New.
31968         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
31969         whitespace; tabs before and after asm mnemonics.
31971 2014-05-29  Eric Wong  <normalperson@yhbt.net>
31973         [BZ #15132]
31974         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31975         Call fstat64 or stat64 internally, depending on arguments passed.
31976         Replace stat buffer argument with file descriptor argument.
31977         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
31978         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31979         Pass fd to __internal_statvfs instead of calling fstat64.
31980         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
31981         Pass fd to __internal_statvfs64 instead of calling fstat64.
31982         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
31983         Pass -1 to __internal_statvfs instead of calling stat64.
31984         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
31985         Pass -1 to __internal_statvfs64 instead of calling stat64.
31987 2014-05-28  Roland McGrath  <roland@hack.frob.com>
31989         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
31990         that was previously under [RESET_PID].
31991         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
31993         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
31994         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
31996 2014-05-27  Roland McGrath  <roland@hack.frob.com>
31998         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
32000         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
32001         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
32003 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
32005         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
32007 2014-05-27  Andreas Schwab  <schwab@suse.de>
32009         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
32010         TLS_INIT_TP macro.
32011         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
32012         * elf/rtld.c (init_tls, dl_main): Likewise.
32013         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
32014         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
32015         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
32016         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
32017         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
32018         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
32019         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
32020         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
32021         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
32022         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
32023         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
32024         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
32025         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
32026         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
32027         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
32028         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
32029         * sysdeps/generic/tls.h: Update description.
32031 2014-05-27  Will Newton  <will.newton@linaro.org>
32033         [BZ #16990]
32034         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
32035         and restore r2 rather than just restoring.
32037 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32039         [BZ #16724]
32040         * libio/tst-ftell-append.c: New test case.
32041         * libio/Makefile (tests): Add test case.
32042         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
32043         append mode.
32044         * libio/wfileops.c (do_ftell_wide): Likewise.
32046 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32050         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
32051         ...
32052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
32053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32054         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
32055         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
32056         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
32057         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
32058         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
32059         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
32060         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32061         Moved ...
32062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
32063         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32064         Moved ...
32065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
32066         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
32067         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
32068         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
32069         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
32070         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
32071         ...
32072         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
32073         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
32074         Moved ...
32075         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
32076         here.
32077         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
32078         ...
32079         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
32080         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
32081         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
32083         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
32084         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
32085         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
32086         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
32088         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
32089         merge into ...
32090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
32091         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
32092         ...
32093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
32094         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
32095         ...
32096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
32097         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32098         Moved ...
32099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
32100         here.
32101         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32102         Moved ...
32103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
32104         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32105         Moved ...
32106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
32108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
32109         conditional [RESET_PID].
32110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
32111         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
32112         removed.
32113         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
32114         removed.
32116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
32117         <tcb-offsets.h>.
32118         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32119         (__libc_vfork): New strong alias.
32120         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
32121         removed.
32122         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
32123         Removed.
32125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
32126         <tcb-offsets.h>.
32127         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
32128         (__libc_vfork): New strong alias.
32129         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
32130         removed.
32131         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
32132         removed.
32134 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
32136         * malloc/malloc.c (mi_arena): New function.
32137         (malloc_info): Remove nested function mi_arena. Call non-nosted
32138         function mi_arena.
32140 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32142         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
32143         by insrwi.
32144         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32145         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32146         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
32147         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
32148         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
32149         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
32150         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
32152 2014-05-26  Andreas Schwab  <schwab@suse.de>
32154         [BZ #16984]
32155         * locale/programs/repertoire.c (repertoire_read): Add slash
32156         between I18NPATH element and file name.
32157         * locale/programs/locfile.c (locfile_read): Likewise.
32159 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32161         * nptl/pthread_mutexattr_settype.c
32162         (__pthread_mutexattr_settype):
32163         Disable lock elision for PTHREAD_MUTEX_NORMAL.
32165 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32167         * nptl/tst-mutex5 (do_test):
32168         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
32170 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32172         * benchtests/README: Document 'init' directive.
32173         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
32174         BENCH_INIT.
32175         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
32176         (parse_file): Recognize 'init' directive.
32178 2014-05-26  Kyle McMartin  <kyle@redhat.com>
32180         [BZ #16796]
32181         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
32182         alignment of struct pthread.
32184 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32186         [BZ #16878]
32187         * nscd/netgroupcache.c (addgetnetgrentX): Look for
32188         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32189         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
32190         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32192 2014-05-25  Richard Henderson  <rth@twiddle.net>
32194         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32195         (SINGLE_THREAD_P_PIC): Remove.
32196         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
32197         (SINGLE_THREAD_P_PIC): Remove.
32199         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
32200         branch to syscall error ...
32201         (PSEUDO): ... here.
32202         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
32203         from __local_syscall_error to .Lsyscall_error.
32204         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
32205         (SYSCALL_ERROR): Update label name.
32207         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32208         Do not use DOARGS/UNDOARGS.
32209         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
32210         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
32211         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
32212         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
32213         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
32215         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
32216         block comment.
32218         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
32219         define if !NOT_IN_libc.
32220         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
32221         define with non-default symbol versions.
32223 2014-05-23  Richard Henderson  <rth@twiddle.net>
32225         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
32226         (vfork, __vfork): Define via compat_symbol.
32228         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
32229         [!HAVE_IFUNC] (vfork_compat): Remove.
32230         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
32232 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32234         [BZ #16978]
32235         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
32236         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
32237         variable.
32239 2014-05-23  Richard Henderson  <rth@twiddle.net>
32241         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
32242         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
32243         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
32244         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
32246         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
32247         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
32248         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
32249         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
32250         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
32251         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
32252         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
32253         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
32254         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
32255         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
32256         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
32257         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
32258         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
32259         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
32260         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
32261         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
32262         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
32263         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
32264         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
32265         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
32266         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
32267         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
32268         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
32269         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
32270         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
32271         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
32272         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
32273         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
32274         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
32275         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
32276         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
32277         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
32278         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
32279         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
32280         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
32281         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
32282         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
32283         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
32284         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
32285         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
32286         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
32287         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
32288         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
32289         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
32290         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
32291         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
32292         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
32293         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
32294         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
32295         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
32296         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
32297         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
32298         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
32299         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
32300         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
32301         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
32303         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
32304         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
32305         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
32306         before exiting on error.
32307         (__libc_vfork): New strong alias.
32308         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
32309         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
32311         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
32312         that was previously under [RESET_PID].
32313         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
32315         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
32317 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32319         [BZ #16977]
32320         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
32321         value when x - 1 is zero.
32322         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
32323         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
32324         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
32325         0.0L for an argument of 1.0L.
32326         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
32327         Likewise.
32328         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
32329         value when x - 1 is zero.
32330         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
32331         * sysdeps/i386/fpu/libm-test-ulps: Update.
32332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32334 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
32336         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
32337         alphasort and versionsort.
32339 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32341         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
32342         macro.
32343         [copysignf]: Likewise.
32345 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32347         * crypt/md5-crypt.c: Fix formatting.
32349 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32351         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
32352         (b64_from_24bit): New function.
32354 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32356         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
32357         libc_hidden_builtin_def to ifunc.
32358         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32359         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
32361 2014-05-21  Roland McGrath  <roland@hack.frob.com>
32363         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
32364         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
32366 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
32368         * nscd/Depend (linuxthreads): Remove.
32369         (nptl): Add.
32370         * resolv/Depend (linuxthreads): Remove.
32371         * rt/Depend (linuxthreads): Remove.
32373         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
32374         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
32375         $(common-objpfx)elf/.
32376         (link-libc-before-gnulib): Likewise.
32377         (elfobjdir): Remove variable.
32378         * Makefile (install): Use $(elf-objpfx) instead of
32379         $(common-objpfx)elf/.
32380         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
32381         $(elfobjdir)/.
32382         (link-libc-deps): Likewise.
32383         ($(common-objpfx)libc.so): Likewise.
32384         ($(common-objpfx)linkobj/libc.so): Likewise.
32385         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
32386         instead of $(common-objpfx)elf/.
32387         (symbolic-link-list): Likewise.
32388         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32389         [$(cross-compiling) = no]: Likewise.
32390         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
32391         $(elfobjdir)/.
32392         (static-gnulib-arch): Likewise.
32393         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32394         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
32395         $(common-objpfx)elf/.
32397 2014-05-21  Richard Henderson  <rth@redhat.com>
32399         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32400         (SINGLE_THREAD_P): Use the correct width load.  Fold
32401         into the ldr offset.
32403         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
32404         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
32406 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
32408         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
32409         (libgcc_s_resume): Use __attribute_used__.
32410         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
32411         Likewise.
32413 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32415         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
32416         optimization when used with float constants.
32418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32420 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
32422         [BZ #16915]
32423         * locale/nl_langinfo_l.c: Make direct reference to every
32424         _nl_current_CATEGORY symbol.
32425         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
32426         (tests-static): Add tst-langinfo-static.
32427         (tests-special): Add tst-langinfo-static.out.
32428         ($(objpfx)tst-langinfo.out): Redirect output.
32429         ($(objpfx)tst-langinfo-static.out): New.
32430         * localedata/tst-langinfo.sh: Send output to stdout.
32431         * localedata/tst-langinfo-static.c: New file.
32433         [BZ #16965]
32434         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
32435         when the shift amount is modulo the limb size.
32437 2014-05-20  Richard Henderson  <rth@redhat.com>
32439         [BZ #16967]
32440         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
32441         Change type of sa_flags from unsigned int to int.
32443         [BZ #16966]
32444         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
32446         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
32448 2014-05-20  Will Newton  <will.newton@linaro.org>
32450         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32451         Test the return value of the system call in the nocancel case.
32453 2014-05-20  Will Newton  <will.newton@linaro.org>
32454             Yvan Roux  <yvan.roux@linaro.org>
32456         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
32457         #include of asm/ptrace.h.
32458         (PTRACE_GET_THREAD_AREA): Remove #undef.
32459         (PTRACE_GETHBPREGS): Likewise.
32460         (PTRACE_SETHBPREGS): Likewise.
32461         (struct user_regs_struct): New structure.
32462         (struct user_fpsimd_struct): New structure.
32463         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
32464         #include of asm/ptrace.h and second #include of sys/user.h.
32465         (PTRACE_GET_THREAD_AREA): Remove #undef.
32466         (PTRACE_GETHBPREGS): Likewise.
32467         (PTRACE_SETHBPREGS): Likewise.
32468         (ELF_NGREG): Use new struct user_regs_struct.
32469         (elf_fpregset_t): Use new struct user_fpsimd_struct.
32471 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32473         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
32474         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
32476 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
32478         [BZ #16958]
32479         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
32480         membar to avoid block loads/stores to overlap previous stores.
32482 2014-05-17  Richard Henderson  <rth@redhat.com>
32484         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
32485         Create the __##syscall_name##_nocancel entry point.
32486         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
32487         Remove; let the sysdep-cancel.h code create it.
32489 2014-05-17  David S. Miller  <davem@davemloft.net>
32491         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
32492         Protect with __USE_GNU.
32493         (TIOCSET_TEMPT): Likewise.
32494         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32495         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
32496         these are already provided in bits/ioctl-types.h
32498 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32500         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
32501         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
32503         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
32504         Use wait4 regardless of [__NR_waitpid].
32506 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32508         PR libgcc/60166
32509         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32510         (_FP_NANSIGN_Q): Set the quiet bit.
32512 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
32514         * benchtests/Makefile
32515         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
32516         not $(common-objpfx)math/libm.so.
32517         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
32518         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
32519         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
32520         $(common-objpfx)dlfcn/libdl.so.
32521         ($(objpfx)tst-audit8): Depend on $(libm), not
32522         $(common-objpfx)math/libm.so.
32523         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
32524         not $(common-objpfx)dlfcn/libdl.so.
32525         * math/Makefile
32526         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32527         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
32528         [$(build-shared) = yes].
32529         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
32530         $(common-objpfx)nptl/libpthread.so.
32531         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
32532         $(common-objpfx)math/libm.so$(libm.so-version) or
32533         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
32534         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
32535         $(common-objpfx)dlfcn/libdl.so.
32536         * setjmp/Makefile (link-libm): Remove variable.
32537         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
32538         * stdio-common/Makefile (link-libm): Remove variable.
32539         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
32540         * stdlib/Makefile (link-libm): Remove variable.
32541         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
32542         ($(objpfx)tst-strtod-round): Likewise.
32543         ($(objpfx)tst-tininess): Likewise.
32544         ($(objpfx)tst-strtod-underflow): Likewise.
32545         ($(objpfx)tst-strtod6): Likewise.
32546         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
32547         $(libdl), not $(common-objpfx)nptl/libpthread.so and
32548         $(common-objpfx)dlfcn/libdl.so.
32550 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32552         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
32553         BSD terminal modes definitions.
32555 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32557         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
32558         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
32560         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
32561         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
32562         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
32563         Don't do #include_next.
32564         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
32565         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
32566         Don't do #include_next.
32567         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
32568         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
32569         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
32570         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
32572 2014-05-16  Allan McRae  <allan@archlinux.org>
32574         * po/sv.po: Update Swedish translation from translation project.
32576         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
32577         in sed expression.
32579 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
32581         [BZ #16917]
32582         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
32583         errno if the TIOCGPTN ioctl fails with an error different than
32584         EINVAL.
32585         * login/tst-ptsname.c: New file.
32586         * login/Makefile (tests): Add tst-ptsname.
32588         [BZ #16943]
32589         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
32590         and prlimit64.
32592 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32594         [BZ #16849]
32595         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
32596         herrno to return EAI_AGAIN.
32598 2014-05-14  Roland McGrath  <roland@hack.frob.com>
32600         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
32601         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
32602         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
32603         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
32604         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
32605         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
32606         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
32607         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
32608         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
32609         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
32610         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
32611         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
32612         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
32613         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
32614         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
32615         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
32616         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
32617         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
32618         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
32619         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
32620         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
32621         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
32622         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
32623         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
32624         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
32625         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
32626         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
32627         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
32628         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
32629         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
32630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
32631         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
32632         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
32633         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
32634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32635         Moved ...
32636         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
32637         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
32638         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
32639         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
32640         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
32641         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
32642         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
32643         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
32644         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
32645         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
32646         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
32647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
32648         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
32649         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
32650         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
32651         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
32652         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
32653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
32654         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
32655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
32656         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
32657         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
32658         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
32659         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
32660         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
32661         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
32662         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
32663         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32664         Moved ...
32665         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
32666         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
32667         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
32668         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
32669         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
32670         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
32671         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
32672         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
32673         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
32674         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
32675         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
32676         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
32677         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
32678         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
32679         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
32680         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
32681         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
32682         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
32683         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
32684         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32685         Moved ...
32686         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
32687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
32688         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
32690         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
32691         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
32692         (libpthread-sysdep_routines): Add elision-related stuff here instead.
32693         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
32694         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
32695         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
32696         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
32697         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
32698         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
32699         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
32700         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
32701         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
32702         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
32703         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
32704         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
32705         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
32706         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
32707         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
32708         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
32709         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
32710         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
32711         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
32712         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
32713         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
32714         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
32715         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
32716         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
32717         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
32718         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
32719         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
32720         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
32722         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
32723         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
32725         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
32726         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
32727         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
32728         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
32729         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
32730         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
32731         Moved ...
32732         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
32733         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
32734         Moved ...
32735         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
32736         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
32737         Moved ...
32738         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
32739         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
32740         Moved ...
32741         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
32742         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
32743         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
32744         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
32745         Moved ...
32746         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
32747         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
32748         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
32749         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
32750         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
32751         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
32752         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
32753         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
32754         Moved ...
32755         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
32756         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32757         Moved ...
32758         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32759         ... here.
32760         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
32761         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
32762         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
32763         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
32764         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32765         Moved ...
32766         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32767         ... here.
32768         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
32769         Moved ...
32770         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
32771         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
32772         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
32773         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
32774         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
32775         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
32776         Moved ...
32777         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
32778         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
32779         Moved ...
32780         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
32781         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
32782         Moved ...
32783         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
32784         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
32785         Moved ...
32786         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
32787         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
32788         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
32789         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
32790         Moved ...
32791         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
32792         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
32793         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
32794         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
32795         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
32796         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
32797         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
32798         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
32799         Moved ...
32800         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
32801         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32802         Moved ...
32803         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32804         ... here.
32805         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
32806         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
32807         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
32808         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
32809         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32810         Moved ...
32811         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32812         ... here.
32813         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
32814         Moved ...
32815         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
32816         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
32817         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
32818         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
32819         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
32820         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
32821         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
32822         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
32823         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
32824         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
32825         Moved ...
32826         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
32827         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
32828         Moved ...
32829         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
32830         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
32831         Moved ...
32832         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
32833         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
32834         Moved ...
32835         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
32836         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
32837         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
32838         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
32839         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
32840         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
32841         Moved ...
32842         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
32843         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
32844         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
32845         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
32846         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
32847         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
32848         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
32849         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
32850         Moved ...
32851         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
32852         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32853         Moved ...
32854         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32855         ... here.
32856         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
32857         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
32858         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
32859         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
32860         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32861         Moved ...
32862         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32863         ... here.
32864         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
32865         Moved ...
32866         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
32867         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
32868         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
32869         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
32870         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
32871         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
32872         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
32873         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
32874         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
32875         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
32876         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
32878         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
32879         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
32881         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
32882         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
32884         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
32885         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
32886         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
32887         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
32888         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
32889         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
32890         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
32891         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
32892         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
32893         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
32894         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
32895         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
32896         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
32897         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
32898         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
32899         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
32900         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
32901         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
32902         Moved ...
32903         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
32904         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
32905         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
32906         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
32907         Moved ...
32908         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
32909         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
32910         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
32911         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
32912         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
32913         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
32914         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
32915         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
32916         Moved ...
32917         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
32918         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
32919         Moved ...
32920         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
32921         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
32922         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
32923         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
32924         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
32925         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
32926         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
32927         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
32928         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
32929         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
32930         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
32931         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
32932         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
32933         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
32934         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
32935         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
32936         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
32938         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
32939         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
32940         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
32941         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
32942         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
32944         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
32945         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
32946         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
32947         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
32948         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
32949         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
32950         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
32951         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
32952         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
32953         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
32955         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
32956         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
32958         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
32959         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
32960         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
32961         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
32962         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
32963         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
32964         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
32965         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
32966         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
32967         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
32968         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
32969         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
32970         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
32971         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
32972         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
32973         Update #include.
32974         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
32975         Likewise.
32976         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32977         Likewise.
32978         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32979         Likewise.
32980         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32981         Likewise.
32982         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
32983         Likewise.
32984         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
32985         Likewise.
32986         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32987         Likewise.
32988         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
32989         Likewise.
32990         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
32991         Likewise.
32992         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
32993         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
32994         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
32995         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
32996         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
32997         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
32998         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
32999         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
33000         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
33001         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
33002         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
33003         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
33004         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
33005         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
33006         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
33008         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
33009         that was previously under [RESET_PID].
33010         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33011         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
33012         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
33014         * sysdeps/i386/nptl/Implies: New file.
33015         * sysdeps/x86_64/nptl/Implies: New file.
33016         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
33017         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
33018         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
33019         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
33021         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
33022         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33023         (__libc_vfork): New strong alias.
33024         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
33025         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
33027         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
33028         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33029         (__libc_vfork): New strong alias.
33030         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
33031         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
33033         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
33034         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33035         (__libc_vfork): New strong alias.
33036         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
33037         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
33038         * nptl/pt-vfork.c: New file.
33039         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
33040         (libpthread: GLIBC_2.20): New version set (empty).
33042 2014-05-14  Will Newton  <will.newton@linaro.org>
33044         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
33045         rather than #if.
33047 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33049         [BZ #16564]
33050         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
33051         arguments with exponent 65 or above.
33052         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
33053         arguments 0x1p113L or above.
33054         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
33055         to arguments 0x1p107L or above.
33056         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
33057         positive arguments with exponent 65 or above.
33058         * math/auto-libm-test-in: Add more tests of log1p.
33059         * math/auto-libm-test-out: Regenerated.
33061         [BZ #16928]
33062         * math/s_cacos.c (__cacos): Ensure zero real part of result from
33063         non-finite arguments is +0.
33064         * math/s_cacosf.c (__cacosf): Likewise.
33065         * math/s_cacosl.c (__cacosl): Likewise.
33066         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
33067         * sysdeps/i386/fpu/libm-test-ulps: Update.
33068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33070         [BZ #16927]
33071         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
33072         value.
33073         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
33074         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
33075         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
33076         for explicit high bit of mantissa when testing for argument equal
33077         to 1.
33078         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
33079         * sysdeps/i386/fpu/libm-test-ulps: Update.
33080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33082         [BZ #16516]
33083         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
33084         (__erf): Scale by 16 instead of 8 in potentially underflowing
33085         case.  Ensure exception if result actually underflows.
33086         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
33087         (__erff): Scale by 16 instead of 8 in potentially underflowing
33088         case.  Ensure exception if result actually underflows.
33089         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
33090         (efx8): Remove variable.
33091         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33092         case.  Ensure exception if result actually underflows.
33093         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
33094         (efx8): Remove variable.
33095         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33096         case.  Ensure exception if result actually underflows.
33097         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
33098         (efx8): Remove variable.
33099         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33100         case.  Ensure exception if result actually underflows.
33101         * math/auto-libm-test-in: Add more tests of erf.
33102         * math/auto-libm-test-out: Regenerated.
33104 2014-05-14  Andreas Schwab  <schwab@suse.de>
33106         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
33107         Remove code conditionalized on USE___THREAD.
33109         * config.h.in (HAVE_PT_CHOWN): Define as 0.
33110         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
33111         not definedness.
33113 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33115         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
33116         Define unconditionally.
33117         (__ASSUME_O_CLOEXEC): Likewise.
33118         (__ASSUME_SOCK_CLOEXEC): Likewise.
33119         (__ASSUME_IN_NONBLOCK): Likewise.
33120         (__ASSUME_PIPE2): Likewise.
33121         (__ASSUME_EVENTFD2): Likewise.
33122         (__ASSUME_SIGNALFD4): Likewise.
33123         (__ASSUME_DUP3): Likewise.
33124         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33125         (__ASSUME_DUP3): Do not define.
33126         (__ASSUME_EVENTFD2): Likewise.
33127         (__ASSUME_IN_NONBLOCK): Likewise.
33128         (__ASSUME_O_CLOEXEC): Likewise.
33129         (__ASSUME_PIPE2): Likewise.
33130         (__ASSUME_SIGNALFD4): Likewise.
33131         (__ASSUME_SOCK_CLOEXEC): Likewise.
33132         (__ASSUME_UTIMES): Undefine.
33133         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33134         (__ASSUME_UTIMES): Do not define.
33135         (__ASSUME_O_CLOEXEC): Likewise.
33136         (__ASSUME_SOCK_CLOEXEC): Likewise.
33137         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
33138         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
33139         0x020621].
33140         (__ASSUME_PIPE2): Likewise.
33141         (__ASSUME_EVENTFD2): Likewise.
33142         (__ASSUME_SIGNALFD4): Likewise.
33143         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
33144         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
33145         Do not define.
33146         (__ASSUME_EVENTFD2): Likewise.
33147         (__ASSUME_SIGNALFD4): Likewise.
33148         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33149         (__ASSUME_32BITUIDS): Likewise.
33150         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33151         (__ASSUME_IPC64): Likewise.
33152         (__ASSUME_ST_INO_64_BIT): Likewise.
33153         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
33154         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
33155         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33156         (__ASSUME_UTIMES): Do not define.
33157         (__ASSUME_PSELECT): Likewise.
33158         (__ASSUME_PPOLL): Likewise.
33159         (__ASSUME_O_CLOEXEC): Likewise.
33160         (__ASSUME_SOCK_CLOEXEC): Likewise.
33161         (__ASSUME_IN_NONBLOCK): Likewise.
33162         (__ASSUME_PIPE2): Likewise.
33163         (__ASSUME_EVENTFD2): Likewise.
33164         (__ASSUME_SIGNALFD4): Likewise.
33165         (__ASSUME_DUP3): Likewise.
33166         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33167         (__ASSUME_UTIMES): Likewise.
33168         (__ASSUME_O_CLOEXEC): Likewise.
33169         (__ASSUME_SOCK_CLOEXEC): Likewise.
33170         (__ASSUME_IN_NONBLOCK): Likewise.
33171         (__ASSUME_PIPE2): Likewise.
33172         (__ASSUME_EVENTFD2): Likewise.
33173         (__ASSUME_SIGNALFD4): Likewise.
33174         (__ASSUME_DUP3): Likewise.
33175         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33176         (__ASSUME_UTIMES): Likewise.
33177         (__ASSUME_O_CLOEXEC): Likewise.
33178         (__ASSUME_SOCK_CLOEXEC): Likewise.
33179         (__ASSUME_IN_NONBLOCK): Likewise.
33180         (__ASSUME_PIPE2): Likewise.
33181         (__ASSUME_EVENTFD2): Likewise.
33182         (__ASSUME_SIGNALFD4): Likewise.
33183         (__ASSUME_DUP3): Likewise.
33184         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
33185         Likewise.
33186         (__ASSUME_UTIMES): Likewise.
33187         (__ASSUME_EVENTFD2): Likewise.
33188         (__ASSUME_SIGNALFD4): Likewise.
33189         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33190         (__ASSUME_O_CLOEXEC): Likewise.
33191         (__ASSUME_SOCK_CLOEXEC): Likewise.
33192         (__ASSUME_IN_NONBLOCK): Likewise.
33193         (__ASSUME_PIPE2): Likewise.
33194         (__ASSUME_EVENTFD2): Likewise.
33195         (__ASSUME_SIGNALFD4): Likewise.
33196         (__ASSUME_DUP3): Likewise.
33197         (__ASSUME_UTIMES): Undefine.
33199         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
33200         feclearexcept.  Remove symbol versioning code.
33201         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
33202         symbol versioning code.
33203         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
33204         symbol versioning code.
33205         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
33206         feupdateenv.  Remove symbol versioning code.
33207         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
33208         fegetexceptflag.  Remove symbol versioning code.
33209         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
33210         fesetexceptflag.  Remove symbol versioning code.
33211         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
33212         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
33213         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
33214         (__posix_fadvise64_l32): Remove prototype.
33215         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
33216         code.
33218 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33220         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
33221         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
33222         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
33223         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
33225 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
33227         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
33228         current working directory
33230 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33232         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
33233         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
33234         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
33235         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
33236         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
33237         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
33238         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
33239         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
33240         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
33241         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
33242         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
33243         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
33244         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
33245         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
33246         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
33247         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
33248         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
33249         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
33250         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
33251         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
33252         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
33253         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
33254         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
33255         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
33256         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
33257         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
33258         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
33259         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
33260         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
33261         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
33262         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
33263         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
33264         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
33265         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
33266         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
33267         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
33268         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
33269         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
33270         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
33271         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
33272         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
33273         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
33275         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
33276         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
33278         * sysdeps/unix/sysv/linux/arm/Makefile
33279         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33280         Add rt-aeabi_unwind_cpp_pr1.
33281         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
33282         Add nptl-aeabi_unwind_cpp_pr1.
33283         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
33284         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
33285         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
33286         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33287         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
33288         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33290         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
33291         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
33292         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
33293         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
33295         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
33296         Deconditionalize the code that was previously under [RESET_PID].
33297         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
33299         * sysdeps/generic/exit-thread.h: New file.
33300         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
33301         * include/unistd.h (__exit_thread): Remove declaration.
33302         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
33303         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
33304         * csu/libc-start.c: Include <exit-thread.h>.
33305         (LIBC_START_MAIN): Pass no argument to __exit_thread.
33306         * nptl/pthread_create.c: Include <exit-thread.h>.
33307         (start_thread): Call __exit_thread in place of __exit_thread_inline.
33308         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
33309         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
33310         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
33311         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
33312         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
33313         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
33314         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
33315         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
33316         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
33317         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
33318         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
33319         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
33320         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
33321         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
33322         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
33323         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
33325 2014-05-13  Andreas Schwab  <schwab@suse.de>
33327         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
33329 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
33331         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33332         (__ASSUME_UTIMES): Do not condition on kernel version.
33333         (__ASSUME_PSELECT): Define unconditionally.
33334         (__ASSUME_PPOLL): Likewise.
33335         (__ASSUME_ATFCTS): Likewise.
33336         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
33337         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
33338         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
33339         (__ASSUME_UTIMENSAT): Define unconditionally.
33340         (__ASSUME_PRIVATE_FUTEX): Likewise.
33341         (__ASSUME_FALLOCATE): Likewise.
33342         (__ASSUME_O_CLOEXEC): Likewise.
33343         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
33344         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
33345         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
33346         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
33347         (__ASSUME_IN_NONBLOCK): Likewise.
33348         (__ASSUME_PIPE2): Likewise.
33349         (__ASSUME_EVENTFD2): Likewise.
33350         (__ASSUME_SIGNALFD4): Likewise.
33351         (__ASSUME_DUP3): Likewise.
33352         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33353         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
33354         (__ASSUME_AT_RANDOM): Likewise.
33355         (__ASSUME_PREADV): Likewise.
33356         (__ASSUME_PWRITEV): Likewise.
33357         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
33358         (__ASSUME_F_GETOWN_EX): Define unconditionally.
33359         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
33360         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33361         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
33362         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33363         (__ASSUME_O_CLOEXEC): Define unconditionally.
33364         (__ASSUME_PSELECT): Do not undefine conditionally.
33365         (__ASSUME_PPOLL): Likewise.
33366         (__ASSUME_ATFCTS): Likewise.
33367         (__ASSUME_SET_ROBUST_LIST): Likewise.
33368         (__ASSUME_UTIMENSAT): Likewise.
33369         (__ASSUME_FDATASYNC): Define unconditionally.
33370         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33371         (__ASSUME_SIGFRAME_V2): Likewise.
33372         )__ASSUME_EVENTFD2): Likewise.
33373         (__ASSUME_SIGNALFD4): Likewise.
33374         (__ASSUME_PSELECT): Do not undefine conditionally.
33375         (__ASSUME_PPOLL): Likewise.
33376         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33377         (__ASSUME_PSELECT): Define unconditionally.
33378         (__ASSUME_PPOLL): Likewise.
33379         (__ASSUME_O_CLOEXEC): Likewise.
33380         (__ASSUME_SOCK_CLOEXEC): Likewise.
33381         (__ASSUME_IN_NONBLOCK): Likewise.
33382         (__ASSUME_PIPE2): Likewise.
33383         (__ASSUME_EVENTFD2): Likewise.
33384         (__ASSUME_SIGNALFD4): Likewise.
33385         (__ASSUME_DUP3): Likewise.
33386         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33387         (__ASSUME_O_CLOEXEC): Likewise.
33388         (__ASSUME_SOCK_CLOEXEC): Likewise.
33389         (__ASSUME_IN_NONBLOCK): Likewise.
33390         (__ASSUME_PIPE2): Likewise.
33391         (__ASSUME_EVENTFD2): Likewise.
33392         (__ASSUME_SIGNALFD4): Likewise.
33393         (__ASSUME_DUP3): Likewise.
33394         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33395         (__ASSUME_EVENTFD2): Likewise.
33396         (__ASSUME_SIGNALFD4): Likewise.
33397         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33399 2014-05-12  Andreas Schwab  <schwab@suse.de>
33401         [BZ #16932]
33402         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
33403         (_nss_nis_gethostbyname4_r): Return error if item length is larger
33404         than maximum RPC packet size.
33405         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
33406         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
33407         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
33408         (_nss_nis_getservbyport_r): Likewise.
33410 2014-05-12  Will Newton  <will.newton@linaro.org>
33412         * malloc/Makefile (tests): Add tst-mallopt.
33413         * malloc/tst-mallopt.c: New file.
33415 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33417         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
33418         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
33420 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33422         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
33423         (tst-tlsmod6.so): Likewise.
33425 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33427         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
33429 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
33431         [BZ #16064]
33432         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
33433         and <dl-procinfo.h>.
33434         (__fegetenv): Save SSE state in envp->__eip if supported.
33435         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
33436         envp->__eip if supported.
33437         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
33438         and <dl-procinfo.h>.
33439         (__fesetenv): Always set __eip, __cs_selector, __opcode,
33440         __data_offset and __data_selector in environment to 0.  Set SSE
33441         state if supported.
33442         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
33443         test-fenv-sse.
33444         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
33445         -mfpmath=sse.
33446         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
33448 2014-05-09  Will Newton  <will.newton@linaro.org>
33450         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
33451         and libc_relro_required for ARM.
33452         * sysdeps/arm/preconfigure: Regenerate.
33454 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
33455             Stefan Liebler  <stli@linux.vnet.ibm.com>
33457         * config.make.in (enable-lock-elision): New Makefile variable.
33458         * configure.ac: Likewise.
33459         * configure: Regenerate.
33460         * sysdeps/s390/configure.ac:
33461         Add check for gcc transactions support.
33462         * sysdeps/s390/configure: Regenerate.
33463         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
33464         Build elision files if enabled.
33465         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
33466         Add lock elision support for s390.
33467         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
33468         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
33469         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
33470         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
33471         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
33472         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
33473         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33474         Likewise.
33475         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
33476         Likewise.
33477         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
33478         Likewise.
33479         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
33480         Likewise.
33481         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
33482         (__lll_timedlock_elision, __lll_lock_elision)
33483         (__lll_unlock_elision, __lll_trylock_elision)
33484         (lll_timedlock_elision, lll_lock_elision)
33485         (lll_unlock_elision, lll_trylock_elision): Add.
33486         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33487         (pthread_mutex_t): Add lock elision support for s390.
33489 2014-05-14  Wilco  <wdijkstr@arm.com>
33491         * sysdeps/arm/fclrexcpt.c: Cleanup.
33492         * sysdeps/arm/fedisblxcpt.c: Cleanup.
33493         * sysdeps/arm/feenablxcpt.c: Cleanup.
33494         * sysdeps/arm/fegetenv.c: Cleanup.
33495         * sysdeps/arm/fegetexcept.c: Cleanup.
33496         * sysdeps/arm/fegetround.c: Cleanup.
33497         * sysdeps/arm/feholdexcpt.c: Cleanup.
33498         * sysdeps/arm/fesetenv.c: Cleanup.
33499         * sysdeps/arm/fesetround.c: Cleanup.
33500         * sysdeps/arm/feupdateenv.c: Cleanup.
33501         * sysdeps/arm/fgetexcptflg.c: Cleanup.
33502         * sysdeps/arm/fraiseexcpt.c: Cleanup.
33503         * sysdeps/arm/fsetexcptflg.c: Cleanup.
33504         * sysdeps/arm/ftestexcept.c: Cleanup.
33505         * sysdeps/arm/get-rounding-mode.h: Cleanup.
33506         * sysdeps/arm/setfpucw.c: Cleanup.
33508 2014-05-09  Will Newton  <will.newton@linaro.org>
33510         * sysdeps/arm/armv7/strcmp.S: New file.
33511         * NEWS: Mention addition of ARMv7 optimized strcmp.
33513 2014-05-08  Roland McGrath  <roland@hack.frob.com>
33515         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
33516         look for %.ac rather than %.in.
33518         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
33519         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
33520         * sysdeps/mach/hurd/configure: Regenerated.
33521         * sysdeps/unix/sysv/linux/configure: Regenerated.
33523         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
33525 2014-05-07  Steve Ellcey  <sellcey@mips.com>
33527         [BZ# 16922]
33528         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
33529         (LONG_SUB): Ditto.
33530         (PTR_SUB): Ditto.
33532 2014-05-07  Andreas Schwab  <schwab@suse.de>
33534         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
33535         when skipping over non-matching result from nscd.
33537 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
33539         [BZ #16876]
33540         * nptl/sockperf.c (client): Check socket return value.
33542         [BZ #16877]
33543         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
33544         nscd security class.
33546 2014-05-06  Roland McGrath  <roland@hack.frob.com>
33548         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
33549         * sysdeps/arm/unwind.h: ... here.
33551 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
33553         [BZ# 16916]
33554         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
33555         Define.
33557 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33559         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
33560         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
33561         multiarch strncpy for PPC64.
33562         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
33563         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
33564         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
33565         multiarch optimizations.
33566         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33567         (__libc_ifunc_impl_list): Likewise.
33568         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
33569         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
33570         multiarch stpncpy for PPC64.
33571         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
33572         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
33574 2014-05-06  Andreas Schwab  <schwab@suse.de>
33576         [BZ #16912]
33577         * gmon/mcount.c (_MCOUNT_DECL): Use
33578         atomic_compare_and_exchange_bool_acq instead of
33579         catomic_compare_and_exchange_bool_acq.
33581 2014-05-05  Roland McGrath  <roland@hack.frob.com>
33583         * elf/Makefile (others, install-bin): Remove pldd.
33584         (pldd-modules): Variable removed.
33585         ($(objpfx)pldd): Target removed.
33586         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
33587         (others, install-bin): Append pldd here.
33588         ($(objpfx)pldd): New target.
33590         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
33591         to 0, so the first #if test emitted later doesn't see it undefined.
33592         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
33593         * sysdeps/gnu/errlist.c: Regenerated.
33595 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33597         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33598         [libc_hidden_builtin_def]: Define to empty value.
33599         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
33600         [libc_hidden_builtin_def]: Likewise.
33601         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
33602         [libc_hidden_builtin_def]: Likewise.
33603         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
33604         [libc_hidden_builtin_def]: Likewise.
33605         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
33606         __redirect_memcpy and define ifunc as default hidden symbol.
33607         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
33608         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
33610 2014-05-04  Adam Conrad  <adconrad@0c3.net>
33612         * locale/iso-4217.def: Reintroduce XDR currency.
33614 2014-05-04  Allan McRae  <allan@archlinux.org>
33616         * po/eo.po: Update Esperanto translation from translation project.
33618 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
33620         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
33621         and FEATURE_INDEX_MAX to 1.
33622         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
33624 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33626         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
33627         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
33628         * iconvdata/big5.c (ONE_DIRECTION): Define.
33629         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
33630         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
33631         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
33632         * iconvdata/cp932.c (ONE_DIRECTION): Define.
33633         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
33634         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
33635         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
33636         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
33637         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
33638         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
33639         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
33640         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
33641         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
33642         * iconvdata/gbk.c (ONE_DIRECTION): Define.
33643         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
33644         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
33645         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
33646         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
33647         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
33648         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
33649         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
33650         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
33651         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
33652         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
33653         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
33654         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
33655         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
33656         * iconvdata/iso646.c (ONE_DIRECTION): Define.
33657         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
33658         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
33659         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
33660         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
33661         * iconvdata/johab.c (ONE_DIRECTION): Define.
33662         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
33663         * iconvdata/sjis.c (ONE_DIRECTION): Define.
33664         * iconvdata/t.61.c (ONE_DIRECTION): Define.
33665         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
33666         * iconvdata/tscii.c (ONE_DIRECTION): Define.
33667         * iconvdata/uhc.c (ONE_DIRECTION): Define.
33668         * iconvdata/unicode.c (ONE_DIRECTION): Define.
33669         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
33670         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
33671         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
33673 2014-05-01  Roland McGrath  <roland@hack.frob.com>
33675         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
33676         (_IO_JUMPS_OFFSET): Define to 0.
33678         * nptl/sysdeps/pthread/bits/libc-lock.h
33679         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
33680         (__libc_lock_define_initialized_recursive): Always define using
33681         initializer.  Modern compilers treat uninitialized (implicit zero) and
33682         explicit zero initializers the same (i.e. put the datum in bss).
33684 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33686         * nscd/nscd-client.h: Include <string.h>.
33688 2014-05-01  David S. Miller  <davem@davemloft.net>
33690         [BZ #16885]
33691         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
33692         multiple zero bytes exist at the end of a string.
33693         Reported by Aurelien Jarno <aurelien@aurel32.net>
33695         * string/test-strcmp.c (check): Add explicit test for situations where
33696         there are multiple zero bytes after the first.
33698 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33700         [BZ #16890]
33701         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
33702         when compiling wprintf.
33703         * stdio-common/tstdiomisc.c (t3): New function.
33704         (main): Call it.
33706 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33708         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
33709         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
33710         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
33711         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
33713 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33715         * stdlib/longlong.h: Updated from GCC.
33717 2014-05-01  Will Newton  <will.newton@linaro.org>
33718             Bernard Ogden  <bernie.ogden@linaro.org>
33720         * NEWS: Update fixed bug list.
33722         [BZ #15119]
33723         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
33725 2014-04-30  David S. Miller  <davem@davemloft.net>
33727         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
33728         (libc_feholdexcept_setround_sparc_ctx): New function.
33729         (libc_fesetenv_sparc_ctx): Likewise.
33730         (libc_feupdateenv_sparc_ctx): Likewise.
33731         (libc_feholdsetround_sparc_ctx): Likewise.
33732         (libc_feholdexcept_setround_ctx): Define.
33733         (libc_feholdexcept_setroundf_ctx): Likewise.
33734         (libc_feholdexcept_setroundl_ctx): Likewise.
33735         (libc_fesetenv_ctx): Likewise.
33736         (libc_fesetenvf_ctx): Likewise.
33737         (libc_fesetenvl_ctx): Likewise.
33738         (libc_feupdateenv_ctx): Likewise.
33739         (libc_feupdateenvf_ctx): Likewise.
33740         (libc_feupdateenvl_ctx): Likewise.
33741         (libc_feresetround_ctx): Likewise.
33742         (libc_feresetroundf_ctx): Likewise.
33743         (libc_feresetroundl_ctx): Likewise.
33744         (libc_feholdsetround_ctx): Likewise.
33745         (libc_feholdsetroundf_ctx): Likewise.
33746         (libc_feholdsetroundl_ctx): Likewise.
33748         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33749         with __USE_GNU instead of XOPEN cpp guards.
33751         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
33752         0.
33754         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33755         with XOPEN cpp guards.
33757 2014-04-30  Julian Brown  <julian@codesourcery.com>
33759         [BZ #16888]
33760         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
33761         handling.
33763 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
33765         [BZ #9894]
33766         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
33767         Change to 2.6.32.
33768         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
33769         * sysdeps/unix/sysv/linux/configure: Regenerated.
33770         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
33771         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
33772         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
33773         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
33774         * README: Update reference to required Linux kernel version.
33775         * manual/install.texi (Linux): Update reference to required Linux
33776         kernel headers version.
33777         * INSTALL: Regenerated.
33779         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
33780         header inclusion.
33781         [POSIX] (limits.h): Likewise.
33782         [POSIX] (math.h): Likewise.
33783         [POSIX] (sys/wait.h): Likewise.
33784         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
33785         function.
33786         [POSIX] (stddef.h): Do not allow header inclusion.
33788 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33790         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
33792 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
33794         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
33795         Return immediately after lll_futex_wake.
33797 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33799         [BZ #16791]
33800         * nscd/nscd-client.h (datahead_init_common): Initialize entire
33801         structure.
33802         (datahead_init_pos): Call datahead_init_common early.
33803         (datahead_init_neg): Likewise.
33805         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
33806         datahead_init_neg): New functions.
33807         * nscd/aicache.c (addhstaiX): Use them.
33808         * nscd/grpcache.c (cache_addgr): Likewise.
33809         * nscd/hstcache.c (cache_addhst): Likewise.
33810         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33811         * nscd/netgroupcache.c (do_notfound): Likewise.
33812         (addgetnetgrentX): Likewise.
33813         (addinnetgrX): Likewise.
33814         * nscd/pwdcache.c (cache_addpw): Likewise.
33815         * nscd/servicescache.c (cache_addserv): Likewise.
33817 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33818             Atsushi Onoe  <atsushi@onoe.org>
33820         [BZ #14308]
33821         [BZ #12994]
33822         [BZ #13651]
33823         * resolv/res_query.c (__libc_res_nsearch): Return if at least
33824         one response is valid.
33825         * resolv/res_send.c (send_dg): Check for validity of other
33826         response if the current response is a referral.
33828 2014-04-29  Steve Ellcey  <sellcey@mips.com>
33830         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
33832 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
33834         [BZ #16823]
33835         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
33836         Always divide by positive zero when computing -Inf result.
33837         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33838         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
33840 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33842         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
33843         FPSCR if value do not change.
33844         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33845         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
33846         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33847         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
33848         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
33849         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
33850         function.
33852 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
33854         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
33855         * sysdeps/unix/sysv/linux/hppa: Move directory from
33856         ports/systeps/unix/sysv/linux/hppa.
33857         * README: Update listing for hppa-*-linux-gnu.
33859 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
33861         [BZ #16754]
33862         * manual/stdio.texi (Hook functions): Fix types of stream hook
33863         functions.
33864         [BZ #16854]
33865         * socket/sys/socket.h: Fix typo in comment.
33867 2014-04-28  Wilco  <wdijkstr@arm.com>
33869         * sysdeps/arm/fenv_private.h: New file.
33870         * sysdeps/arm/math_private.h: New file.
33871         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
33873 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
33875         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
33876         with __int128_t.
33877         (La_x86_64_retval): Likewise.
33879 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
33881         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
33882         fpsr if value didn't change.
33883         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
33884         to fpcr if value didn't change.
33885         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
33886         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
33887         fpsr or fpcr if value didn't change.
33888         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
33889         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
33890         fpcr if value didn't change.
33891         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
33892         to fpsr if value didn't change.
33894 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33896         * nptl/tst-sem3.c: Use test-skeleton.c
33897         (main): Rename to do_test.  Use return instead of
33898         exit.
33899         * nptl/tst-sem4.c: Use test-skeleton.c
33900         (main): Rename to do_test.
33902 2014-04-22  David S. Miller  <davem@davemloft.net>
33904         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33905         (struct sigaction): New struct member __glibc_reserved0, change
33906         type of sa_flags to int.
33908 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
33910         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
33911         (COUNT_LEADING_ZEROS_0): Define for AArch64.
33913 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33915         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
33916         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
33918 2014-04-22  Will Newton  <will.newton@linaro.org>
33919             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
33921         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
33922         (__longjmp): Add longjmp and longjmp_target SystemTap
33923         probes.
33924         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
33925         (__sigsetjmp): Add setjmp SystemTap probe.
33927 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
33929         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
33930         match manual order.
33932 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33934         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
33936         * sysdeps/powerpc/fpu/fenv_private.h
33937         (libc_feholdexcept_setroundl_ctx): Define to
33938         libc_feholdexcept_setround_ppc_ctx.
33939         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
33940         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
33941         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
33942         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
33944 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33946         * sysdeps/aarch64/math-tests.h: New file.
33948 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
33950         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
33951         New.
33952         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33953         Check and set bit_AVX2_Usable.
33954         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
33955         macro.
33956         (bit_AVX2): Likewise.
33957         (index_AVX2_Usable): Likewise.
33958         (CPUID_AVX2): Likewise.
33959         (HAS_AVX2): Likewise.
33961 2014-04-17  Will Newton  <will.newton@linaro.org>
33963         * manual/setjmp.texi (System V contexts): Add note that
33964         calling setcontext on a context created by a call to a
33965         signal handler is undefined.  Update text to note that
33966         setcontext from a signal handler is possible but not
33967         recommended.
33969         [BZ #16629]
33970         * stdlib/tst-setcontext.c: Include signal.h.
33971         (main): Check that the signal stack before and
33972         after swapcontext is the same.
33974         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
33975         Re-implement to restore registers in user code and avoid
33976         rt_sigreturn system call.
33978 2014-04-17  Wilco  <wdijkstr@arm.com>
33980         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
33981         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
33982         * math/test-fenv.c: Skip exception trap tests on targets which only
33983         support non-stop mode.
33985 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33986             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33988         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
33989         (libc_feholdsetround_aarch64_ctx)
33990         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
33991         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
33992         (libc_feresetround_ctx, libc_feresetroundf_ctx)
33993         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
33994         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
33995         (libc_feresetround_noexl_ctx): Define.
33997 2014-04-16  Richard Henderson  <rth@redhat.com>
33999         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
34001         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
34002         unwind tables.
34004         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
34005         const from the non-libc, non-ldso copy.
34007         * sysdeps/alpha/libm-test-ulps: Regenerate.
34009 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
34010             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34012         * sysdeps/aarch64/fpu/math_private.h: New file.
34014 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34016         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34018 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
34020         [BZ #16275]
34021         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
34022         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
34023         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
34024         Intel MPX bound registers before _dl_profile_fixup.
34025         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
34026         registers after _dl_profile_fixup.  Save and restore bound
34027         registers bnd0/bnd1 when calling _dl_call_pltexit.
34028         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
34029         (LR_BND_OFFSET): Likewise.
34030         (LRV_BND0_OFFSET): Likewise.
34031         (LRV_BND1_OFFSET): Likewise.
34033 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34035         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
34036         to...
34037         * sysdeps/mach/hurd/i386/tls.h: ... here.
34038         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
34039         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
34040         fields.
34042 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34044         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
34046 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34048         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34050 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34052         [BZ #14770]
34053         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
34054         * sysdeps/s390/configure: Regenerate.
34056         [BZ #16824]
34057         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
34058         Set round-to-nearest internally to reduce error accumulation.
34060 2014-04-16  Alan Modra  <amodra@gmail.com>
34062         [BZ #16740]
34063         [BZ #16619]
34064         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
34065         * math/libm-test.inc (frexp_test_data): Add tests.
34066         * NEWS: Update fixed bug list.
34068 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34070         * benchtests/Makefile: Depend on libraries in build directory.
34071         (bench-math): Separate out math tests.
34072         (bench-pthread): Separate out pthread tests.
34073         (bench): Include math and pthread tests.
34075 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
34077         [BZ #16831]
34078         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
34079         _dl_debug_initialize.
34081         * configure.ac: Remove SELinux header check.
34082         * configure: Regenerate.
34083         * nscd/selinux.c (perms): Array of const char* to permission names.
34084         (nscd_request_avc_has_perm): Call security_deny_unknown to find
34085         default policy. Call string_to_security_class and string_to_av_perm to
34086         translate strings. Enforce default policy and call avs_has_perm with
34087         results of translated strings.
34089 2014-04-13  David S. Miller  <davem@davemloft.net>
34091         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34093 2014-04-12  Allan McRae  <allan@archlinux.org>
34095         [BZ #16838]
34096         * manual/string.texi (Collation Functions): Fix qsort argument
34097         order in example.
34098         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34100 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
34102         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
34103         Make the test a no-op if there are no exceptions defined.
34105 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
34107         * elf/Makefile (tests): make tst-dlopen-aout conditional on
34108         enable-hardcoded-path-in-tests
34110 2014-04-11  Will Newton  <will.newton@linaro.org>
34112         * benchtests/Makefile (extra-objs): Add json-lib.o.
34113         (bench-func): Tidy up JSON output.
34114         * benchtests/bench-skeleton.c: Include json-lib.h.
34115         (main): Use JSON library functions to do output of
34116         benchmark results.
34117         * benchtests/bench-timing-type.c (main): Output the
34118         timing type simply, leaving formatting to the user.
34119         * benchtests/json-lib.c: New file.
34120         * benchtests/json-lib.h: Likewise.
34122 2014-04-11  Torvald Riegel  <triegel@redhat.com>
34124         [BZ #15215]
34125         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
34126         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
34127         memory barriers.  Add comments.
34128         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
34129         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
34130         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
34131         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
34132         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
34133         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
34135 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34137         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
34138         * sysdeps/s390/s390-64/configure.ac: ... this ...
34139         * sysdeps/s390/configure.ac: ... to here.
34140         * sysdeps/s390/s390-32/configure: Delete file.
34141         * sysdeps/s390/s390-64/configure: Delete file.
34142         * sysdeps/s390/configure: Regenerate.
34144 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
34146         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
34148 2014-04-11  Will Newton  <will.newton@linaro.org>
34150         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
34151         to zero if it is not defined elsewhere.  (mtrim): Test
34152         the value of MALLOC_DEBUG with #if rather than #ifdef.
34154 2014-04-10 Torvald Riegel  <triegel@redhat.com>
34156         * benchtests/pthread_once-inputs: New file.
34157         * benchtests/pthread_once-source.c: New file.
34158         * benchtests/README: Update documentation.
34160 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34161             H.J. Lu  <hongjiu.lu@intel.com>
34163         [BZ #16275]
34164         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
34165         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
34166         * sysdeps/x86_64/configure: Regenerated.
34167         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
34168         macro.
34169         (REGISTER_SAVE_RAX): Likewise.
34170         (REGISTER_SAVE_RCX): Likewise.
34171         (REGISTER_SAVE_RDX): Likewise.
34172         (REGISTER_SAVE_RSI): Likewise.
34173         (REGISTER_SAVE_RDI): Likewise.
34174         (REGISTER_SAVE_R8): Likewise.
34175         (REGISTER_SAVE_R9): Likewise.
34176         (REGISTER_SAVE_BND0): Likewise.
34177         (REGISTER_SAVE_BND1): Likewise.
34178         (REGISTER_SAVE_BND2): Likewise.
34179         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
34180         bound registers when calling _dl_fixup.
34182 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34184         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
34185         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
34186         of its definition.
34187         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
34188         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
34189         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
34190         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
34191         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
34192         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
34193         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
34195 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
34197         [BZ #15514]
34198         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
34199         pathconf(_PC_NAME_MAX).
34201 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34203         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
34204         Remove macro usage.
34205         (__PTHREAD_SPINS): Move definition to ...
34206         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34207         (__PTHREAD_SPINS): ... here.
34208         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34209         (__PTHREAD_SPIN): Likewise.
34210         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
34211         (__PTHREAD_SPIN): Likewise.
34212         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
34213         (__PTHREAD_SPIN): Likewise.
34214         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
34215         (__PTHREAD_SPIN): Likewise.
34216         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34217         (__PTHREAD_SPIN): Likewise.
34218         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34219         (__PTHREAD_SPIN): Likewise.
34220         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
34221         (__PTHREAD_SPIN): Likewise.
34222         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34223         (__PTHREAD_SPIN): Likewise.
34224         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34225         (__PTHREAD_SPIN): Likewise.
34226         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34227         (__PTHREAD_SPIN): Likewise.
34228         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34229         (__PTHREAD_SPIN): Likewise.
34230         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
34231         (__PTHREAD_SPIN): Likewise.
34233         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
34234         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
34235         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
34236         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
34237         imply folder.
34238         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
34239         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
34240         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
34241         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
34242         correct imply path.
34243         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
34244         strlen symbol for non multi-arch builds.
34245         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
34246         missing hidden_def and weak_alias.
34248 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
34250         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
34252 2014-04-07  Will Newton  <will.newton@linaro.org>
34254         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
34255         and contents.  [!_LIBC] Remove #ifndef and contents.
34256         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
34257         * string/memccpy.c (__memccpy): Use ANSI prototype.
34258         * string/memfrob.c (memfrob): Likewise.
34259         * string/strcoll.c (STRCOLL): Likewise.
34260         * string/strlen.c (strlen): Likewise.
34261         * string/strtok.c (STRTOK): Likewise.
34262         * string/strcat.c: Remove unused #include of memcopy.h.
34263         (strcat): Use ANSI prototype.
34264         * string/strchr.c: Remove unused #include of memcopy.h.
34265         (strchr): Use ANSI prototype.
34266         * string/strcmp.c: Remove unused #include of memcopy.h.
34267         (strcmp): Use ANSI prototype.
34268         * string/strcpy.c: Remove unused #include of memcopy.h.
34269         (strcpy): Use ANSI prototype.
34271 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34273         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
34274         * config.make.in (config-extra-cppflags): Set it from
34275         libc_extra_cppflags.
34276         * configure.ac (libc_extra_cflags): Make it accumulate over
34277         configure fragments.
34278         (libc_extra_cppflags): New flag.
34279         * configure. Regenerate.
34280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
34281         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
34282         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
34283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
34285         [BZ #16815]
34286         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
34287         result for FE_DOWNWARD rounding mode.
34288         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
34289         Likewise.
34290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34292 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
34294         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
34295         in function argument name.
34297 2014-04-03  David Svoboda  <svoboda@cert.org>
34299         [BZ #5666]
34300         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
34301         explicitly.
34303 2014-04-03  Roland McGrath  <roland@hack.frob.com>
34305         * elf/dl-unmap-segments.h: New file.
34306         * sysdeps/generic/ldsodefs.h
34307         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
34308         * elf/dl-close.c: Include <dl-unmap-segments.h>.
34309         * elf/dl-fptr.c: Likewise.
34310         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
34311         * sysdeps/aarch64/tlsdesc.c: Likewise.
34312         * sysdeps/arm/tlsdesc.c: Likewise.
34313         * sysdeps/i386/tlsdesc.c: Likewise.
34314         * sysdeps/tile/dl-runtime.c: Likewise.
34315         * sysdeps/x86_64/tlsdesc.c: Likewise.
34316         * elf/dl-load.h: New file.
34317         * elf/dl-load.c: Include it.
34318         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
34319         Macros moved to dl-load.h.
34320         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
34321         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
34322         Use _dl_unmap_segments in place of __munmap.
34323         Break out segment-mapping loop into ...
34324         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
34326 2014-04-03  Will Newton  <will.newton@linaro.org>
34328         * elf/dl-lookup.c (do_lookup_x): Remove comment
34329         referring to nested function and move variable
34330         declarations down to before first use.
34332 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
34334         [BZ #16799]
34335         [BZ #16800]
34336         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
34337         with 0 numerator.
34338         * math/s_catanf.c (__catanf): Likewise.
34339         * math/s_catanh.c (__catanh): Likewise.
34340         * math/s_catanhf.c (__catanhf): Likewise.
34341         * math/s_catanhl.c (__catanhl): Likewise.
34342         * math/s_catanl.c (__catanl): Likewise.
34343         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
34344         by positive zero when computing -Inf result.
34345         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
34346         (catanh_test): Likewise.
34347         * sysdeps/i386/fpu/libm-test-ulps: Update.
34348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34350         [BZ #16789]
34351         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
34352         instead of using underflowing value in computing result.
34353         * math/s_clog10.c (__clog10): Likewise.
34354         * math/s_clog10f.c (__clog10f): Likewise.
34355         * math/s_clog10l.c (__clog10l): Likewise.
34356         * math/s_clogf.c (__clogf): Likewise.
34357         * math/s_clogl.c (__clogl): Likewise.
34358         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
34359         (clog10_test): Likewise.
34360         * sysdeps/i386/fpu/libm-test-ulps: Update.
34361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34363 2014-04-02  Alan Modra  <amodra@gmail.com>
34365         [BZ #16739]
34366         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
34367         output when value is near a power of two.  Use int64_t for lx and
34368         remove casts.  Use decimal rather than hex exponent constants.
34369         Don't use long double multiplication when double will suffice.
34370         * math/libm-test.inc (nextafter_test_data): Add tests.
34371         * NEWS: Add 16739 and 16786 to bug list.
34373         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
34375         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
34377 2014-04-01  Will Newton  <will.newton@linaro.org>
34379         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
34380         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
34382 2014-04-01  Florian Weimer  <fweimer@redhat.com>
34384         [BZ #13347]
34385         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
34386         * nptl/tst-setuid2.c: New file.
34387         * nptl/Makefile (xtests): Add tst-setuid2.
34389 2014-04-01  Alan Modra  <amodra@gmail.com>
34391         [BZ #16786]
34392         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
34394 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34396         [BZ #6803]
34397         [BZ #6804]
34398         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
34399         set errno as appropriate.
34400         * math/w_scalbf.c (__scalbf): Likewise.
34401         * math/w_scalbl.c (__scalbl): Likewise.
34402         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
34403         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
34404         * math/libm-test.inc (scalb_test_data): Add errno expectations.
34405         Add more NaN tests.
34407         [BZ #16349]
34408         * math/w_atan2.c: Include <errno.h>.
34409         (__atan2): Set errno for result underflowing to zero.
34410         * math/w_atan2f.c: Include <errno.h>.
34411         (__atan2f): Set errno for result underflowing to zero.
34412         * math/w_atan2l.c: Include <errno.h>.
34413         (__atan2l): Set errno for result underflowing to zero.
34414         * math/auto-libm-test-in: Don't allow missing errno for some atan2
34415         tests.
34416         * math/auto-libm-test-out: Regenerated.
34418 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34420         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34421         Encode instruction correctly in little endian.
34422         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34423         Likewise.
34424         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34425         Likewise.
34426         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34427         Likewise.
34428         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34429         Likewise.
34431 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34433         [BZ #9894]
34434         * sysdeps/unix/sysv/linux/kernel-features.h
34435         [__sparc__ && !__arch64__ && !__sparc_v9__]
34436         (__ASSUME_SET_ROBUST_LIST): Do not define.
34437         [__sparc__ && !__arch64__ && !__sparc_v9__]
34438         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34439         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
34440         Likewise.
34441         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34442         (__ASSUME_FUTEX_LOCK_PI): Undefine.
34443         (__ASSUME_REQUEUE_PI): Likewise.
34444         (__ASSUME_SET_ROBUST_LIST): Likewise.
34445         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34446         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
34447         Undefine.
34448         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34449         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
34450         Likewise.
34451         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
34452         Likewise.
34453         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
34454         Likewise.
34455         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34456         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
34457         Undefine.
34458         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
34459         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
34460         Likewise.
34462         [BZ #16648]
34463         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34464         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
34465         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
34467 2014-03-31  Will Newton  <will.newton@linaro.org>
34469         * benchtests/Makefile (bench): Add ffs and ffsll to list
34470         of tests.
34471         * benchtests/ffs-inputs: New file.
34472         * benchtests/ffsll-inputs: Likewise.
34474 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
34476         [BZ #16770]
34477         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
34478         too large before casting to int.
34479         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
34480         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
34481         * math/libm-test.inc (scalb_test_data): Add more tests.
34483 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34485         * benchtests/Makefile (DETAILED_OPT): New make option.
34486         (bench-func): Run benchmark program with -d if DETAILED_OPT is
34487         set.
34488         * benchtests/bench-skeleton.c: Include stdbool.h.
34489         (main): Store and print timings per input.
34490         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
34491         member to each argument value.
34492         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
34493         (_print_arg_data): Initialize per-input timing to 0.
34495         * benchtests/Makefile (timing-type): New binary.
34496         (bench-clean): Also remove bench-timing-type.
34497         (bench): New target for timing-type.
34498         (bench-func): Print output in JSON format.
34499         * benchtests/bench-skeleton.c (main): Print output in JSON
34500         format.
34501         * benchtests/bench-timing-type.c: New file.
34502         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
34503         (TIMING_PRINT_STATS): Remove.
34504         * benchtests/scripts/bench.py (_print_arg_data): Store variant
34505         name separately.
34507         * benchtests/bench-modf.c: Remove.
34508         * benchtests/modf-inputs: New inputs file.
34510 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
34512         [BZ #16362]
34513         * math/s_clog10.c (M_PI_LOG10E): New macro.
34514         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
34515         imaginary parts are 0.
34516         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
34517         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
34518         imaginary parts are 0.
34519         * math/s_clog10l.c (M_PI_LOG10El): New macro.
34520         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
34521         imaginary parts are 0.
34522         * math/libm-test.inc (clog10_test_data): Update expected results
34523         for when real and imaginary parts are 0.
34525 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
34527         * elf/dl-load.c: Finish conversion of __builtin_expect into
34528         __glibc_{un}likely.
34530 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
34532         [BZ #16348]
34533         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
34534         1+x for argument with exponent below -67.
34535         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
34536         Likewise.
34537         * math/auto-libm-test-in: Add more tests of exp.
34538         * math/auto-libm-test-out: Regenerated.
34540 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34542         [BZ #16759]
34543         * inet/getnetgrent_r.c (get_nonempty_val): New function.
34544         (nscd_getnetgrent): Use it.
34546         [BZ #16760]
34547         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
34548         of stpcpy.
34550 2014-03-27  Andi Kleen  <ak@linux.intel.com>
34552         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
34553         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34554         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34555         (lll_robust_unlock): Remove out of line section. Use cfi
34556         intrinsics.
34557         (LLL_STUB_UNWIND_INFO*): Remove.
34558         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
34559         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34560         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34561         (lll_robust_unlock): Remove out of line section. Use cfi
34562         intrinsics.
34563         (LLL_STUB_UNWIND_INFO*): Remove.
34565 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34567         [BZ #16758]
34568         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
34569         blank values.
34571 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
34573         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
34575 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
34577         [BZ #16198]
34578         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
34579         fnstenv.
34580         * math/test-fenv-preserve.c: New file.
34581         * math/Makefile (tests): Add test-fenv-preserve.
34583 2014-03-26  Will Newton <will.newton@linaro.org>
34585         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
34587 2014-03-25  Roland McGrath  <roland@hack.frob.com>
34589         * scripts/versionlist.awk: Partition the version sets and emit all
34590         GLIBC_* (sorted) before all others (sorted).
34592 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34594         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
34595         GLIBC_2.2.5 version.
34597 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34599         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
34600         calls.
34602         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
34603         previous change.
34605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34607 2014-03-25  Andreas Schwab  <schwab@suse.de>
34609         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
34610         label to be used after in6ailist is initialized.
34612 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34614         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34615         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34617 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34619         [BZ #16357]
34620         [BZ #16599]
34621         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
34622         min_plus_half.
34623         (fp_formats): Update initializers.
34624         (init_fp_formats): Initialize new field.
34625         (output_for_one_input_case): Allow underflow for results up to
34626         min_plus_half.
34627         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
34628         * math/auto-libm-test-in: Don't mark some underflows from asin and
34629         atanh as spurious.
34630         * math/auto-libm-test-out: Regenerated.
34631         * sysdeps/i386/fpu/libm-test-ulps: Update.
34632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34634 2014-03-25  Andreas Schwab  <schwab@suse.de>
34636         * libio/Makefile (tst-ftell-partial-wide-ENV)
34637         (tst-ftell-active-handler-ENV): Define.
34639 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
34641         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
34643 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34645         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
34647 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34649         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
34650         * sysdeps/x86_64/fpu/multiarch/e_exp.c
34651         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
34653 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34655         [BZ #16634]
34656         * elf/dl-load.c (open_verify): Add mode parameter.
34657         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
34658         (open_path): Change from boolean 'secure' to complete flag 'mode'
34659         (_dl_map_object): Adjust.
34660         * elf/Makefile (tests): Add tst-dlopen-aout.
34661         * elf/tst-dlopen-aout.c: New test.
34663 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
34665         [BZ #16714]
34666         * sysdeps/unix/sysv/linux/s390/bits/stat.h
34667         (struct stat): Rename member pad0 to __glibc_reserved0.
34669         [BZ #16712]
34670         * sysdeps/s390/s390-32/bits/wordsize.h
34671         (__WORDSIZE32_SIZE_ULONG): New define.
34672         * sysdeps/s390/s390-64/bits/wordsize.h
34673         (__WORDSIZE32_SIZE_ULONG): Likewise.
34674         * sysdeps/generic/stdint.h (SIZE_MAX):
34675         Define as UL if __WORDSIZE32_SIZE_ULONG.
34677         [BZ #16713]
34678         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34679         (__glibc_reserved0): New variable.
34680         (sa_flags): Change type to int.
34682         * posix/Makefile (before-compile): Use += before-compile instead
34683         of a :=.
34685         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34686         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34688 2014-03-20  Andreas Schwab  <schwab@suse.de>
34690         [BZ #16743]
34691         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
34692         non-matching result from nscd.
34694 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34696         * scripts/bench.py: Moved to ...
34697         * benchtests/scripts/bench.py: ... here.
34698         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
34700 2014-03-24  Andreas Schwab  <schwab@suse.de>
34702         [BZ #16002]
34703         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
34704         alloca_account and account alloca use for struct in6ailist.
34706 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34708         [BZ #16284]
34709         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
34710         rounding mode to recompute results that overflow to infinity or
34711         underflow to zero.
34712         * math/auto-libm-test-in: Don't mark tests as expected to fail for
34713         bug 16284.
34714         * math/auto-libm-test-out: Regenerated.
34715         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
34716         (ccosh_test): Likewise.
34717         (csin_test_data): Use plus_oflow.
34718         (csin_test): Use ALL_RM_TEST.
34719         (csinh_test_data): Use plus_oflow.
34720         (csinh_test): Use ALL_RM_TEST.
34721         * sysdeps/i386/fpu/libm-test-ulps: Update.
34722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34724 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
34726         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
34727         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
34728         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
34730         [BZ #16731]
34731         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
34732         when x - 1 is zero.
34733         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
34734         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
34735         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34736         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
34737         argument is 1.
34738         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
34739         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
34740         zero.
34741         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
34742         * sysdeps/i386/fpu/libm-test-ulps: Update.
34743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34745 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34747         * scripts/bench.pl: Remove file.
34748         * scripts/bench.py: New benchmark script.
34749         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
34750         * benchtests/README: Mention python dependency.
34751         * scripts/pylintrc: New file.
34752         * scripts/pylint: New file.
34754         * bits/mathdef.h: Use #ifdef instead of #if.
34755         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
34756         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34757         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
34758         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34759         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
34760         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34762 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34763             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34765         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
34766         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
34767         and strpbrk-ppc64 objects.
34768         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34769         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
34770         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
34771         multiarch strpbrk for POWER7.
34772         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
34773         multiarch strpbrk for PPC64.
34774         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
34775         ifunc selector.
34776         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
34777         strpbrk for POWER7.
34779 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34781         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
34782         (atan_test): Likewise.
34783         (atanh_test_data): Use NO_TEST_INLINE for two tests.
34784         (atanh_test): Use ALL_RM_TEST.
34785         (atan2_test_data): Likewise.
34786         (cabs_test): Likewise.
34787         (cacosh_test): Likewise.
34788         (carg_test): Likewise.
34789         (casin_test): Likewise.
34790         (casinh_test): Likewise.
34791         (cbrt_test): Likewise.
34792         (csqrt_test): Likewise.
34793         (erf_test): Likewise.
34794         (erfc_test): Likewise.
34795         (pow10_test): Likewise.
34796         (exp2_test): Likewise.
34797         (hypot_test): Likewise.
34798         (j0_test): Likewise.
34799         (j1_test): Likewise.
34800         (lgamma_test): Likewise.
34801         (gamma_test): Likewise.
34802         (sincos_test): Likewise.
34803         (tanh_test): Likewise.
34804         (y0_test): Likewise.
34805         (y1_test): Likewise.
34806         * sysdeps/i386/fpu/libm-test-ulps: Update.
34807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34809 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34811         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
34812         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
34813         and strcspn-ppc64 objects.
34814         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34815         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
34816         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
34817         multiarch strcspn for POWER7.
34818         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
34819         multiarch strcspn for PPC64.
34820         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
34821         ifunc selector.
34822         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
34823         strcspn for POWER7.
34825 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34827         * math/gen-libm-test.pl (generate_testfile): Expect only function
34828         name as argument to AUTO_TESTS_* and pass results for all rounding
34829         modes to parse_args.
34830         (parse_auto_input): Separate inputs of automatic tests from
34831         outputs before storing in %auto_tests.
34832         * math/libm-test.inc (acos_test_data): Update call to
34833         AUTO_TESTS_f_f.
34834         (acos_test): Use ALL_RM_TEST.
34835         (acos_tonearest_test_data): Remove.
34836         (acos_test_tonearest): Likewise.
34837         (acos_towardzero_test_data): Likewise.
34838         (acos_test_towardzero): Likewise.
34839         (acos_downward_test_data): Likewise.
34840         (acos_test_downward): Likewise.
34841         (acos_upward_test_data): Likewise.
34842         (acos_test_upward): Likewise.
34843         (acosh_test_data): Update call to AUTO_TESTS_f_f.
34844         (asin_test_data): Likewise.
34845         (asin_test): Use ALL_RM_TEST.
34846         (asin_tonearest_test_data): Remove.
34847         (asin_test_tonearest): Likewise.
34848         (asin_towardzero_test_data): Likewise.
34849         (asin_test_towardzero): Likewise.
34850         (asin_downward_test_data): Likewise.
34851         (asin_test_downward): Likewise.
34852         (asin_upward_test_data): Likewise.
34853         (asin_test_upward): Likewise.
34854         (asinh_test_data): Update call to AUTO_TESTS_f_f.
34855         (atan_test_data): Likewise.
34856         (atanh_test_data): Likewise.
34857         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
34858         (cabs_test_data): Update call to AUTO_TESTS_c_f.
34859         (carg_test_data): Likewise.
34860         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
34861         (ccos_test_data): Update call to AUTO_TESTS_c_c.
34862         (ccosh_test_data): Likewise.
34863         (cexp_test_data): Likewise.
34864         (clog_test_data): Likewise.
34865         (clog10_test_data): Likewise.
34866         (cos_test_data): Update call to AUTO_TESTS_f_f.
34867         (cos_test): Use ALL_RM_TEST.
34868         (cos_tonearest_test_data): Remove.
34869         (cos_test_tonearest): Likewise.
34870         (cos_towardzero_test_data): Likewise.
34871         (cos_test_towardzero): Likewise.
34872         (cos_downward_test_data): Likewise.
34873         (cos_test_downward): Likewise.
34874         (cos_upward_test_data): Likewise.
34875         (cos_test_upward): Likewise.
34876         (cosh_test_data): Update call to AUTO_TESTS_f_f.
34877         (cosh_test): Use ALL_RM_TEST.
34878         (cosh_tonearest_test_data): Remove.
34879         (cosh_test_tonearest): Likewise.
34880         (cosh_towardzero_test_data): Likewise.
34881         (cosh_test_towardzero): Likewise.
34882         (cosh_downward_test_data): Likewise.
34883         (cosh_test_downward): Likewise.
34884         (cosh_upward_test_data): Likewise.
34885         (cosh_test_upward): Likewise.
34886         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
34887         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
34888         (ctan_test_data): Likewise.
34889         (ctan_test): Use ALL_RM_TEST.
34890         (ctan_tonearest_test_data): Remove.
34891         (ctan_test_tonearest): Likewise.
34892         (ctan_towardzero_test_data): Likewise.
34893         (ctan_test_towardzero): Likewise.
34894         (ctan_downward_test_data): Likewise.
34895         (ctan_test_downward): Likewise.
34896         (ctan_upward_test_data): Likewise.
34897         (ctan_test_upward): Likewise.
34898         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
34899         (ctanh_test): Use ALL_RM_TEST.
34900         (ctanh_tonearest_test_data): Remove.
34901         (ctanh_test_tonearest): Likewise.
34902         (ctanh_towardzero_test_data): Likewise.
34903         (ctanh_test_towardzero): Likewise.
34904         (ctanh_downward_test_data): Likewise.
34905         (ctanh_test_downward): Likewise.
34906         (ctanh_upward_test_data): Likewise.
34907         (ctanh_test_upward): Likewise.
34908         (erf_test_data): Update call to AUTO_TESTS_f_f.
34909         (erfc_test_data): Likewise.
34910         (exp_test_data): Likewise.
34911         (exp_test): Use ALL_RM_TEST.
34912         (exp_tonearest_test_data): Remove.
34913         (exp_test_tonearest): Likewise.
34914         (exp_towardzero_test_data): Likewise.
34915         (exp_test_towardzero): Likewise.
34916         (exp_downward_test_data): Likewise.
34917         (exp_test_downward): Likewise.
34918         (exp_upward_test_data): Likewise.
34919         (exp_test_upward): Likewise.
34920         (exp10_test_data): Update call to AUTO_TESTS_f_f.
34921         (exp10_test): Use ALL_RM_TEST.
34922         (exp10_tonearest_test_data): Remove.
34923         (exp10_test_tonearest): Likewise.
34924         (exp10_towardzero_test_data): Likewise.
34925         (exp10_test_towardzero): Likewise.
34926         (exp10_downward_test_data): Likewise.
34927         (exp10_test_downward): Likewise.
34928         (exp10_upward_test_data): Likewise.
34929         (exp10_test_upward): Likewise.
34930         (exp2_test_data): Update call to AUTO_TESTS_f_f.
34931         (expm1_test_data): Likewise.
34932         (expm1_test): Use ALL_RM_TEST.
34933         (expm1_tonearest_test_data): Remove.
34934         (expm1_test_tonearest): Likewise.
34935         (expm1_towardzero_test_data): Likewise.
34936         (expm1_test_towardzero): Likewise.
34937         (expm1_downward_test_data): Likewise.
34938         (expm1_test_downward): Likewise.
34939         (expm1_upward_test_data): Likewise.
34940         (expm1_test_upward): Likewise.
34941         (fma_test_data): Update call to AUTO_TESTS_fff_f.
34942         (fma_test): Use ALL_RM_TEST.
34943         (fma_towardzero_test_data): Remove.
34944         (fma_test_towardzero): Likewise.
34945         (fma_downward_test_data): Likewise.
34946         (fma_test_downward): Likewise.
34947         (fma_upward_test_data): Likewise.
34948         (fma_test_upward): Likewise.
34949         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
34950         (j0_test_data): Update call to AUTO_TESTS_f_f.
34951         (j1_test_data): Likewise.
34952         (jn_test_data): Update call to AUTO_TESTS_if_f.
34953         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
34954         (log_test_data): Update call to AUTO_TESTS_f_f.
34955         (log10_test_data): Likewise.
34956         (log1p_test_data): Likewise.
34957         (log2_test_data): Likewise.
34958         (pow_test_data): Update call to AUTO_TESTS_ff_f.
34959         (pow_tonearest_test_data): Likewise.
34960         (sin_test_data): Update call to AUTO_TESTS_f_f.
34961         (sin_test): Use ALL_RM_TEST.
34962         (sin_tonearest_test_data): Remove.
34963         (sin_test_tonearest): Likewise.
34964         (sin_towardzero_test_data): Likewise.
34965         (sin_test_towardzero): Likewise.
34966         (sin_downward_test_data): Likewise.
34967         (sin_test_downward): Likewise.
34968         (sin_upward_test_data): Likewise.
34969         (sin_test_upward): Likewise.
34970         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
34971         (sinh_test_data): Update call to AUTO_TESTS_f_f.
34972         (sinh_test): Use ALL_RM_TEST.
34973         (sinh_tonearest_test_data): Remove.
34974         (sinh_test_tonearest): Likewise.
34975         (sinh_towardzero_test_data): Likewise.
34976         (sinh_test_towardzero): Likewise.
34977         (sinh_downward_test_data): Likewise.
34978         (sinh_test_downward): Likewise.
34979         (sinh_upward_test_data): Likewise.
34980         (sinh_test_upward): Likewise.
34981         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
34982         (sqrt_test): Use ALL_RM_TEST.
34983         (sqrt_tonearest_test_data): Remove.
34984         (sqrt_test_tonearest): Likewise.
34985         (sqrt_towardzero_test_data): Likewise.
34986         (sqrt_test_towardzero): Likewise.
34987         (sqrt_downward_test_data): Likewise.
34988         (sqrt_test_downward): Likewise.
34989         (sqrt_upward_test_data): Likewise.
34990         (sqrt_test_upward): Likewise.
34991         (tan_test_data): Update call to AUTO_TESTS_f_f.
34992         (tan_test): Use ALL_RM_TEST.
34993         (tan_tonearest_test_data): Remove.
34994         (tan_test_tonearest): Likewise.
34995         (tan_towardzero_test_data): Likewise.
34996         (tan_test_towardzero): Likewise.
34997         (tan_downward_test_data): Likewise.
34998         (tan_test_downward): Likewise.
34999         (tan_upward_test_data): Likewise.
35000         (tan_test_upward): Likewise.
35001         (tanh_test_data): Update call to AUTO_TESTS_f_f.
35002         (tgamma_test_data): Likewise.
35003         (y0_test_data): Likewise.
35004         (y1_test_data): Likewise.
35005         (yn_test_data): Update call to AUTO_TESTS_if_f.
35006         (main): Do not call removed functions.
35008 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35010         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
35011         (ldexp_test_data): Remove.
35012         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
35013         scalbn_test_data.
35014         (scalb_test): Use ALL_RM_TEST.
35016 2014-03-19  Andreas Schwab  <schwab@suse.de>
35018         * nscd/nscd.service: Also invalidate netgroup cache on reload.
35020 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35022         [BZ #16649]
35023         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35024         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
35025         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
35026         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35027         (__ASSUME_PREADV): Undefine.
35028         (__ASSUME_PWRITEV): Likewise.
35030 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35032         * bits/mman-linux.h: Add comment about non-Linux use.
35033         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
35034         bits/mman-linux.h resting place.
35036         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
35037         * bits/mman-linux.h: ... here.
35039 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35041         * conform/conformtest.pl: Add standard definition when calling C
35042         preprocessor on data files.
35043         (checknamespace): Remove unused variable.
35045 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35047         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
35048         minus_oflow, plus_uflow and minus_uflow in expected results.
35049         * math/libm-test.inc (scalbn_test_data): Add more tests of
35050         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
35051         minus_uflow.
35052         (scalbn_test): Use ALL_RM_TEST.
35053         (scalbln_test_data): Add more tests of negative arguments.  Use
35054         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
35055         (scalbln_test): Use ALL_RM_TEST.
35057 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35059         * scripts/abilist.awk: Ignore symbols marked with .hidden.
35061 2014-03-18  Will Newton  <will.newton@linaro.org>
35063         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
35064         inaccurate comment.
35066 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35068         * Makerules [!subdir] (check-abi): Exit with error status if a
35069         test failed.
35071 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35073         * math/libm-test.inc (nearbyint_test_data): Include all tests used
35074         for rint.  Include results for all rounding modes.
35075         (nearbyint_test): Use ALL_RM_TEST.
35076         (rint_test_data): Include all tests used for nearbyint.
35078 2014-03-17  Will Newton  <will.newton@linaro.org>
35080         * nptl/sysdeps/pthread/pthread.h: Revert previous
35081         change.
35083         * sysdeps/generic/ldsodefs.h: Revert previous
35084         change.
35086         * libio/genops.c: Revert previous change.
35087         * libio/libioP.h: Likewise.
35088         * stdio-common/vfprintf.c: Likewise.
35090         * sysdeps/generic/math_private.h: Revert previous
35091         change.
35093         * sysdeps/generic/math_private.h: Check whether
35094         HAVE_RM_CTX is defined with #ifdef rather
35095         than #if.
35097         * argp/argp-fmtstream.h: Check whether
35098         __STRICT_ANSI__ is defined with #ifdef rather
35099         than #if.
35100         * argp/argp.h: Likewise.
35102         * libio/genops.c: Check whether
35103         _IO_JUMPS_OFFSET is defined with #ifdef rather
35104         than #if.
35105         * libio/libioP.h: Likewise.
35106         * stdio-common/vfprintf.c: Likewise.
35108         * sysdeps/generic/ldsodefs.h: Check whether
35109         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
35110         than #if.
35112         * nptl/sysdeps/pthread/pthread.h: Check
35113         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
35114         its value.
35116 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35118         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
35119         setting O_APPEND.
35120         * libio/tst-ftell-active-handler.c (do_append_test): Add a
35121         test case.
35123         [BZ #16680]
35124         * libio/fileops.c (_IO_file_open): Seek to end of file but
35125         don't cache the offset.
35126         (get_file_offset): Remove function.
35127         (do_ftell): Use cached offset when available.
35128         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
35129         don't cache the offset.
35130         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
35131         case.
35132         (do_one_test): Call it.
35133         (do_ftell_test): Fix up expected old offset for a+ mode.
35134         * libio/wfileops.c (do_ftell_wide): Used cached offset when
35135         available.
35137         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
35138         up test status with function return status.
35139         (do_write_test): Likewise.
35140         (do_append_test): Likewise.
35142         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
35143         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
35144         Remove.
35146 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35148         * math/gen-libm-test.pl (parse_args): Handle results specified for
35149         each rounding mode separately.
35150         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
35151         tests and results from lrint_tonearest_test_data,
35152         lrint_towardzero_test_data, lrint_downward_test_data and
35153         lrint_upward_test_data.
35154         (lrint_test): Use ALL_RM_TEST.
35155         (lrint_tonearest_test_data): Remove.
35156         (lrint_test_tonearest): Likewise.
35157         (lrint_towardzero_test_data): Likewise.
35158         (lrint_test_towardzero): Likewise.
35159         (lrint_downward_test_data): Likewise.
35160         (lrint_test_downward): Likewise.
35161         (lrint_upward_test_data): Likewise.
35162         (lrint_test_upward): Likewise.
35163         (llrint_test_data): Merge in per-rounding-mode tests and results
35164         from llrint_tonearest_test_data, llrint_towardzero_test_data,
35165         llrint_downward_test_data and llrint_upward_test_data.
35166         (llrint_test): Use ALL_RM_TEST.
35167         (llrint_tonearest_test_data): Remove.
35168         (llrint_test_tonearest): Likewise.
35169         (llrint_towardzero_test_data): Likewise.
35170         (llrint_test_towardzero): Likewise.
35171         (llrint_downward_test_data): Likewise.
35172         (llrint_test_downward): Likewise.
35173         (llrint_upward_test_data): Likewise.
35174         (llrint_test_upward): Likewise.
35175         (rint_test_data): Merge in per-rounding-mode tests and results
35176         from rint_tonearest_test_data, rint_towardzero_test_data,
35177         rint_downward_test_data and rint_upward_test_data.  Add
35178         per-rounding-mode results for tests not in those arrays.
35179         (rint_test): Use ALL_RM_TEST.
35180         (rint_tonearest_test_data): Remove.
35181         (rint_test_tonearest): Likewise.
35182         (rint_towardzero_test_data): Likewise.
35183         (rint_test_towardzero): Likewise.
35184         (rint_downward_test_data): Likewise.
35185         (rint_test_downward): Likewise.
35186         (rint_upward_test_data): Likewise.
35187         (rint_test_upward): Likewise.
35188         (main): Don't call removed functions.
35190 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35192         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
35193         "Compiled on ..." crapola.  It is anti-useful.
35195 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
35197         * scripts/evaluate-test.sh: Handle fourth argument to determine
35198         whether test run should stop on failure.
35199         * Makeconfig (stop-on-test-failure): New variable.
35200         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
35201         $(stop-on-test-failure).
35202         * Makefile (tests): Give a summary of results from testing and
35203         exit with failure status if they include an ERROR or FAIL.
35204         (xtests): Likewise.
35205         * manual/install.texi (Configuring and compiling): Mention
35206         stop-on-test-failure=y.
35207         * INSTALL: Regenerated.
35209 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35211         * scripts/versionlist.awk: New file.
35212         * Makerules [$(build-shared) = yes]
35213         (postclean-generated): Add Versions.def, not Versions.def.v and
35214         Versions.def.v.i.
35215         ($(common-objpfx)Versions.def.v.i): Target removed.
35216         ($(common-objpfx)Versions.def): New target.
35217         ($(common-objpfx)Versions.all): Depend on that rather that
35218         $(common-objpfx)Versions.def.v.
35219         * Versions.def: File removed.
35221         * Makeconfig (+gccwarn): Add -Wundef.
35222         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
35223         a dl-sysdep.h breaking its contract.
35224         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
35225         * include/stackinfo.h: New file.
35226         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
35227         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
35228         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
35229         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
35230         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
35231         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
35232         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35233         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35234         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35235         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35236         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35237         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
35238         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35239         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35240         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35242 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35244         [BZ #16707]
35245         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
35246         implementation.
35247         * math/libm-test.inc (round_test_data): Add more tests.
35249         [BZ #16706]
35250         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
35251         implementation.
35252         * math/libm-test.inc (nearbyint_test_data): Add more tests.
35254         [BZ #16701]
35255         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
35256         implementation.
35257         * math/libm-test.inc (ceil_test_data): Add more tests.
35259         * math/libm-test.inc (trunc_test_data): Add more tests related to
35260         BZ#16414.
35262 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35264         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
35265         with #if rather than #ifdef.
35266         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
35268 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
35270         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
35271         first.  Disable AVX-512 GCC support if assembler doesn't support
35272         it.
35273         * sysdeps/x86_64/configure: Regenerated.
35275 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
35277         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
35278         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
35279         (__old_pthread_attr_setstack): Likewise.
35280         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
35281         [!_STACK_GROWS_DOWN]: Likewise.
35283 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
35285         * config.make.in (have-bash2): Delete.
35286         * configure.ac (libc_cv_have_bash2): Delete.
35287         * configure: Regenerate.
35288         * elf/Makefile (common-ldd-rewrite): Rename to ...
35289         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
35290         (sh-ldd-rewrite): Delete.
35291         (bash-ldd-rewrite): Delete.
35292         (have-bash2): Delete checks.
35293         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
35294         ldd-rewrite.
35296         * config.make.in (have-ksh): Delete.
35297         (KSH): Delete.
35298         * configure.ac (libc_cv_have_ksh): Delete.
35299         * configure: Regenerate.
35301         * elf/Makefile: Delete $(have-ksh) check.
35302         ($(objpfx)sotruss): Change KSH to BASH.
35303         * elf/sotruss.ksh: Rename to ...
35304         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
35305         function style to match POSIX.  Drop ksh vim mode setting.
35307         * manual/time.texi (Specifying the Time Zone with TZ): Change
35308         Tuesday to Thursday.
35310         * debug/tst-longjmp_chk2.c: Update header comment.
35311         (stackoverflow_handler): Add comment.  Call assert on pass value.
35313 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
35315         [BZ #16194]
35316         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
35317         (HAVE_AVX512_ASM_SUPPORT): Likewise.
35318         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
35319         (La_x86_64_vector): Add zmm.
35320         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
35321         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
35322         ($(objpfx)tst-audit10): New target.
35323         ($(objpfx)tst-audit10.out): Likewise.
35324         (tst-audit10-ENV): New.
35325         (AVX512-CFLAGS): Likewise.
35326         (CFLAGS-tst-audit10.c): Likewise.
35327         (CFLAGS-tst-auditmod10a.c): Likewise.
35328         (CFLAGS-tst-auditmod10b.c): Likewise.
35329         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
35330         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
35331         * sysdeps/x86_64/configure: Regenerated.
35332         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
35333         AVX-512 zmm register support.
35334         (_dl_x86_64_save_sse): Likewise.
35335         (_dl_x86_64_restore_sse): Likewise.
35336         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
35337         size vector registers.
35338         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
35339         (ZMM_SIZE): Likewise.
35340         * sysdeps/x86_64/tst-audit10.c: New file.
35341         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
35342         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
35344 2014-03-13  Roland McGrath  <roland@hack.frob.com>
35346         * configure.ac (HAVE_EHDR_START): New check.
35347         * configure: Regenerated.
35348         * config.h.in (HAVE_EHDR_START): New #undef.
35349         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
35350         assuming the lowest-addressed segment maps the start of the file.
35352 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
35354         * INSTALL: Regenerated.
35356 2014-03-13  Will Newton  <will.newton@linaro.org>
35358         * manual/setjmp.texi (System V contexts): Improve
35359         clarity and grammar of documentation.
35361 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
35363         [BZ #16381]
35364         * elf/Makefile (tests): Add tst-pie2.
35365         (tests-pie): Add tst-pie2.
35366         * elf/tst-pie2.c: New file.
35367         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
35368         for ET_EXEC.
35369         * elf/rtld.c (map_doit): Load executable as lt_executable.
35370         (dl_main): Likewise.
35372 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
35374         [BZ #16642]
35375         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35376         (__ASSUME_PSELECT): Undefine.
35378 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35380         [BZ #16689]
35381         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
35382         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
35383         static build.
35384         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
35385         selector for static builds.
35387 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35389         [BZ #16695]
35390         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
35391         key in the buffer.
35393 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35395         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
35396         IFUNC selector for static builds.
35398 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
35400         * sysdeps/mips/math_private.h [__mips_hard_float]
35401         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
35402         libc_feresetround_mips_ctx.
35403         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
35404         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
35405         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
35407         [BZ #16677]
35408         * math/s_nextafter.c (__nextafter): Do not return value from
35409         overflowing computation.
35410         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35411         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
35412         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35413         Likewise.
35414         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
35415         Likewise.
35416         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35417         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
35419 2014-03-11  Roland McGrath  <roland@hack.frob.com>
35421         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
35422         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
35423         Move sfi_sp use from the load-multiple (that no longer sets sp) to
35424         the new mov targetting sp.
35426 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35428         [BZ #16683]
35429         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
35430         Define it for static builds as well.
35431         (NO_BZERO_IMPL): Likewise.
35433 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35435         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
35436         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
35437         multiarch strspn for PPC64.
35438         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
35439         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
35440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35441         (__libc_ifunc_impl_list): Likewise.
35442         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
35443         multiarch optimizations
35444         * string/strspn.c (strspn): Using macro to redefine symbol name.
35446 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35447             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35449         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
35450         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
35451         multiarch strncat for PPC64.
35452         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
35453         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
35454         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35455         (__libc_ifunc_impl_list): Likewise.
35456         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
35457         multiarch optimizations
35459 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35461         [BZ #16639]
35462         * nscd/nscd.service: Make service type forking.
35464 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35466         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
35467         sign in non default rounding modes.
35468         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
35470 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
35472         * math/libm-test.inc (ALL_RM_TEST): New macro.
35473         (ceil_test): Use ALL_RM_TEST.
35474         (cimag_test): Likewise.
35475         (conj_test): Likewise.
35476         (copysign_test): Likewise.
35477         (cproj_test): Likewise.
35478         (creal_test): Likewise.
35479         (fabs_test): Likewise.
35480         (floor_test): Likewise.
35481         (fmax_test): Likewise.
35482         (fmin_test): Likewise.
35483         (fmod_test): Likewise.
35484         (fpclassify_test): Likewise.
35485         (frexp_test): Likewise.
35486         (ilogb_test): Likewise.
35487         (isfinite_test): Likewise.
35488         (finite_test): Likewise.
35489         (isgreater_test): Likewise.
35490         (isgreaterequal_test): Likewise.
35491         (isinf_test): Likewise.
35492         (isless_test): Likewise.
35493         (islessequal_test): Likewise.
35494         (islessgreater_test): Likewise.
35495         (isnan_test): Likewise.
35496         (isnormal_test): Likewise.
35497         (issignaling_test): Likewise.
35498         (isunordered_test): Likewise.
35499         (logb_test): Likewise.
35500         (logb_downward_test_data): Remove.
35501         (logb_test_downward): Likewise.
35502         (lround_test): Use ALL_RM_TEST.
35503         (llround_test): Likewise.
35504         (modf_test): Likewise.
35505         (nexttoward_test): Likewise.
35506         (remainder_test): Likewise.
35507         (drem_test): Likewise.
35508         (remainder_tonearest_test_data): Likewise.
35509         (remainder_test_tonearest): Likewise.
35510         (drem_test_tonearest): Likewise.
35511         (remainder_towardzero_test_data): Likewise.
35512         (remainder_test_towardzero): Likewise.
35513         (drem_test_towardzero): Likewise.
35514         (remainder_downward_test_data): Likewise.
35515         (remainder_test_downward): Likewise.
35516         (drem_test_downward): Likewise.
35517         (remainder_upward_test_data): Likewise.
35518         (remainder_test_upward): Likewise.
35519         (drem_test_upward): Likewise.
35520         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
35521         (round_test): Use ALL_RM_TEST.
35522         (signbit_test): Likewise.
35523         (trunc_test): Likewise.
35524         (significand_test): Likewise.
35525         (main): Don't call removed functions.
35527 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35529         [BZ #16674]
35530         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
35531         || __USE_XOPEN2K8].
35532         (ILL_ILLOPN): Likewise.
35533         (ILL_ILLADR): Likewise.
35534         (ILL_ILLTRP): Likewise.
35535         (ILL_PRVOPC): Likewise.
35536         (ILL_PRVREG): Likewise.
35537         (ILL_COPROC): Likewise.
35538         (ILL_BADSTK): Likewise.
35539         (FPE_INTDIV): Likewise.
35540         (FPE_INTOVF): Likewise.
35541         (FPE_FLTDIV): Likewise.
35542         (FPE_FLTOVF): Likewise.
35543         (FPE_FLTUND): Likewise.
35544         (FPE_FLTRES): Likewise.
35545         (FPE_FLTINV): Likewise.
35546         (FPE_FLTSUB): Likewise.
35547         (SEGV_MAPERR): Likewise.
35548         (SEGV_ACCERR): Likewise.
35549         (BUS_ADRALN): Likewise.
35550         (BUS_ADRERR): Likewise.
35551         (BUS_OBJERR): Likewise.
35552         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35553         (TRAP_TRACE): Likewise.
35554         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35555         __USE_XOPEN2K8].
35556         (CLD_KILLED): Likewise.
35557         (CLD_DUMPED): Likewise.
35558         (CLD_TRAPPED): Likewise.
35559         (CLD_STOPPED): Likewise.
35560         (CLD_CONTINUED): Likewise.
35561         (POLL_IN): Likewise.
35562         (POLL_OUT): Likewise.
35563         (POLL_MSG): Likewise.
35564         (POLL_ERR): Likewise.
35565         (POLL_PRI): Likewise.
35566         (POLL_HUP): Likewise.
35567         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
35568         Likewise.
35569         (ILL_ILLOPN): Likewise.
35570         (ILL_ILLADR): Likewise.
35571         (ILL_ILLTRP): Likewise.
35572         (ILL_PRVOPC): Likewise.
35573         (ILL_PRVREG): Likewise.
35574         (ILL_COPROC): Likewise.
35575         (ILL_BADSTK): Likewise.
35576         (FPE_INTDIV): Likewise.
35577         (FPE_INTOVF): Likewise.
35578         (FPE_FLTDIV): Likewise.
35579         (FPE_FLTOVF): Likewise.
35580         (FPE_FLTUND): Likewise.
35581         (FPE_FLTRES): Likewise.
35582         (FPE_FLTINV): Likewise.
35583         (FPE_FLTSUB): Likewise.
35584         (SEGV_MAPERR): Likewise.
35585         (SEGV_ACCERR): Likewise.
35586         (BUS_ADRALN): Likewise.
35587         (BUS_ADRERR): Likewise.
35588         (BUS_OBJERR): Likewise.
35589         (BUS_MCEERR_AR): Likewise.
35590         (BUS_MCEERR_AO): Likewise.
35591         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35592         (TRAP_TRACE): Likewise.
35593         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35594         __USE_XOPEN2K8].
35595         (CLD_KILLED): Likewise.
35596         (CLD_DUMPED): Likewise.
35597         (CLD_TRAPPED): Likewise.
35598         (CLD_STOPPED): Likewise.
35599         (CLD_CONTINUED): Likewise.
35600         (POLL_IN): Likewise.
35601         (POLL_OUT): Likewise.
35602         (POLL_MSG): Likewise.
35603         (POLL_ERR): Likewise.
35604         (POLL_PRI): Likewise.
35605         (POLL_HUP): Likewise.
35606         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
35607         (ILL_ILLOPN): Likewise.
35608         (ILL_ILLADR): Likewise.
35609         (ILL_ILLTRP): Likewise.
35610         (ILL_PRVOPC): Likewise.
35611         (ILL_PRVREG): Likewise.
35612         (ILL_COPROC): Likewise.
35613         (ILL_BADSTK): Likewise.
35614         (FPE_INTDIV): Likewise.
35615         (FPE_INTOVF): Likewise.
35616         (FPE_FLTDIV): Likewise.
35617         (FPE_FLTOVF): Likewise.
35618         (FPE_FLTUND): Likewise.
35619         (FPE_FLTRES): Likewise.
35620         (FPE_FLTINV): Likewise.
35621         (FPE_FLTSUB): Likewise.
35622         (SEGV_MAPERR): Likewise.
35623         (SEGV_ACCERR): Likewise.
35624         (BUS_ADRALN): Likewise.
35625         (BUS_ADRERR): Likewise.
35626         (BUS_OBJERR): Likewise.
35627         (BUS_MCEERR_AR): Likewise.
35628         (BUS_MCEERR_AO): Likewise.
35629         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35630         (TRAP_TRACE): Likewise.
35631         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35632         __USE_XOPEN2K8].
35633         (CLD_KILLED): Likewise.
35634         (CLD_DUMPED): Likewise.
35635         (CLD_TRAPPED): Likewise.
35636         (CLD_STOPPED): Likewise.
35637         (CLD_CONTINUED): Likewise.
35638         (POLL_IN): Likewise.
35639         (POLL_OUT): Likewise.
35640         (POLL_MSG): Likewise.
35641         (POLL_ERR): Likewise.
35642         (POLL_PRI): Likewise.
35643         (POLL_HUP): Likewise.
35644         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
35645         Likewise.
35646         (ILL_ILLOPN): Likewise.
35647         (ILL_ILLADR): Likewise.
35648         (ILL_ILLTRP): Likewise.
35649         (ILL_PRVOPC): Likewise.
35650         (ILL_PRVREG): Likewise.
35651         (ILL_COPROC): Likewise.
35652         (ILL_BADSTK): Likewise.
35653         (ILL_BADIADDR): Likewise.
35654         (ILL_BREAK): Likewise.
35655         (FPE_INTDIV): Likewise.
35656         (FPE_INTOVF): Likewise.
35657         (FPE_FLTDIV): Likewise.
35658         (FPE_FLTOVF): Likewise.
35659         (FPE_FLTUND): Likewise.
35660         (FPE_FLTRES): Likewise.
35661         (FPE_FLTINV): Likewise.
35662         (FPE_FLTSUB): Likewise.
35663         (FPE_DECOVF): Likewise.
35664         (FPE_DECDIV): Likewise.
35665         (FPE_DECERR): Likewise.
35666         (FPE_INVASC): Likewise.
35667         (FPE_INVDEC): Likewise.
35668         (SEGV_MAPERR): Likewise.
35669         (SEGV_ACCERR): Likewise.
35670         (SEGV_PSTKOVF): Likewise.
35671         (BUS_ADRALN): Likewise.
35672         (BUS_ADRERR): Likewise.
35673         (BUS_OBJERR): Likewise.
35674         (BUS_MCEERR_AR): Likewise.
35675         (BUS_MCEERR_AO): Likewise.
35676         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35677         (TRAP_TRACE): Likewise.
35678         (TRAP_BRANCH): Likewise.
35679         (TRAP_HWBKPT): Likewise.
35680         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35681         __USE_XOPEN2K8].
35682         (CLD_KILLED): Likewise.
35683         (CLD_DUMPED): Likewise.
35684         (CLD_TRAPPED): Likewise.
35685         (CLD_STOPPED): Likewise.
35686         (CLD_CONTINUED): Likewise.
35687         (POLL_IN): Likewise.
35688         (POLL_OUT): Likewise.
35689         (POLL_MSG): Likewise.
35690         (POLL_ERR): Likewise.
35691         (POLL_PRI): Likewise.
35692         (POLL_HUP): Likewise.
35693         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
35694         (ILL_ILLOPN): Likewise.
35695         (ILL_ILLADR): Likewise.
35696         (ILL_ILLTRP): Likewise.
35697         (ILL_PRVOPC): Likewise.
35698         (ILL_PRVREG): Likewise.
35699         (ILL_COPROC): Likewise.
35700         (ILL_BADSTK): Likewise.
35701         (FPE_INTDIV): Likewise.
35702         (FPE_INTOVF): Likewise.
35703         (FPE_FLTDIV): Likewise.
35704         (FPE_FLTOVF): Likewise.
35705         (FPE_FLTUND): Likewise.
35706         (FPE_FLTRES): Likewise.
35707         (FPE_FLTINV): Likewise.
35708         (FPE_FLTSUB): Likewise.
35709         (SEGV_MAPERR): Likewise.
35710         (SEGV_ACCERR): Likewise.
35711         (BUS_ADRALN): Likewise.
35712         (BUS_ADRERR): Likewise.
35713         (BUS_OBJERR): Likewise.
35714         (BUS_MCEERR_AR): Likewise.
35715         (BUS_MCEERR_AO): Likewise.
35716         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35717         (TRAP_TRACE): Likewise.
35718         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35719         __USE_XOPEN2K8].
35720         (CLD_KILLED): Likewise.
35721         (CLD_DUMPED): Likewise.
35722         (CLD_TRAPPED): Likewise.
35723         (CLD_STOPPED): Likewise.
35724         (CLD_CONTINUED): Likewise.
35725         (POLL_IN): Likewise.
35726         (POLL_OUT): Likewise.
35727         (POLL_MSG): Likewise.
35728         (POLL_ERR): Likewise.
35729         (POLL_PRI): Likewise.
35730         (POLL_HUP): Likewise.
35731         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
35732         (ILL_ILLOPN): Likewise.
35733         (ILL_ILLADR): Likewise.
35734         (ILL_ILLTRP): Likewise.
35735         (ILL_PRVOPC): Likewise.
35736         (ILL_PRVREG): Likewise.
35737         (ILL_COPROC): Likewise.
35738         (ILL_BADSTK): Likewise.
35739         (FPE_INTDIV): Likewise.
35740         (FPE_INTOVF): Likewise.
35741         (FPE_FLTDIV): Likewise.
35742         (FPE_FLTOVF): Likewise.
35743         (FPE_FLTUND): Likewise.
35744         (FPE_FLTRES): Likewise.
35745         (FPE_FLTINV): Likewise.
35746         (FPE_FLTSUB): Likewise.
35747         (SEGV_MAPERR): Likewise.
35748         (SEGV_ACCERR): Likewise.
35749         (BUS_ADRALN): Likewise.
35750         (BUS_ADRERR): Likewise.
35751         (BUS_OBJERR): Likewise.
35752         (BUS_MCEERR_AR): Likewise.
35753         (BUS_MCEERR_AO): Likewise.
35754         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35755         (TRAP_TRACE): Likewise.
35756         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35757         __USE_XOPEN2K8].
35758         (CLD_KILLED): Likewise.
35759         (CLD_DUMPED): Likewise.
35760         (CLD_TRAPPED): Likewise.
35761         (CLD_STOPPED): Likewise.
35762         (CLD_CONTINUED): Likewise.
35763         (POLL_IN): Likewise.
35764         (POLL_OUT): Likewise.
35765         (POLL_MSG): Likewise.
35766         (POLL_ERR): Likewise.
35767         (POLL_PRI): Likewise.
35768         (POLL_HUP): Likewise.
35769         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
35770         (ILL_ILLOPN): Likewise.
35771         (ILL_ILLADR): Likewise.
35772         (ILL_ILLTRP): Likewise.
35773         (ILL_PRVOPC): Likewise.
35774         (ILL_PRVREG): Likewise.
35775         (ILL_COPROC): Likewise.
35776         (ILL_BADSTK): Likewise.
35777         (FPE_INTDIV): Likewise.
35778         (FPE_INTOVF): Likewise.
35779         (FPE_FLTDIV): Likewise.
35780         (FPE_FLTOVF): Likewise.
35781         (FPE_FLTUND): Likewise.
35782         (FPE_FLTRES): Likewise.
35783         (FPE_FLTINV): Likewise.
35784         (FPE_FLTSUB): Likewise.
35785         (SEGV_MAPERR): Likewise.
35786         (SEGV_ACCERR): Likewise.
35787         (BUS_ADRALN): Likewise.
35788         (BUS_ADRERR): Likewise.
35789         (BUS_OBJERR): Likewise.
35790         (BUS_MCEERR_AR): Likewise.
35791         (BUS_MCEERR_AO): Likewise.
35792         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35793         (TRAP_TRACE): Likewise.
35794         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35795         __USE_XOPEN2K8].
35796         (CLD_KILLED): Likewise.
35797         (CLD_DUMPED): Likewise.
35798         (CLD_TRAPPED): Likewise.
35799         (CLD_STOPPED): Likewise.
35800         (CLD_CONTINUED): Likewise.
35801         (POLL_IN): Likewise.
35802         (POLL_OUT): Likewise.
35803         (POLL_MSG): Likewise.
35804         (POLL_ERR): Likewise.
35805         (POLL_PRI): Likewise.
35806         (POLL_HUP): Likewise.
35807         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
35808         (ILL_ILLOPN): Likewise.
35809         (ILL_ILLADR): Likewise.
35810         (ILL_ILLTRP): Likewise.
35811         (ILL_PRVOPC): Likewise.
35812         (ILL_PRVREG): Likewise.
35813         (ILL_COPROC): Likewise.
35814         (ILL_BADSTK): Likewise.
35815         (ILL_DBLFLT): Likewise.
35816         (ILL_HARDWALL): Likewise.
35817         (FPE_INTDIV): Likewise.
35818         (FPE_INTOVF): Likewise.
35819         (FPE_FLTDIV): Likewise.
35820         (FPE_FLTOVF): Likewise.
35821         (FPE_FLTUND): Likewise.
35822         (FPE_FLTRES): Likewise.
35823         (FPE_FLTINV): Likewise.
35824         (FPE_FLTSUB): Likewise.
35825         (SEGV_MAPERR): Likewise.
35826         (SEGV_ACCERR): Likewise.
35827         (BUS_ADRALN): Likewise.
35828         (BUS_ADRERR): Likewise.
35829         (BUS_OBJERR): Likewise.
35830         (BUS_MCEERR_AR): Likewise.
35831         (BUS_MCEERR_AO): Likewise.
35832         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35833         (TRAP_TRACE): Likewise.
35834         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35835         __USE_XOPEN2K8].
35836         (CLD_KILLED): Likewise.
35837         (CLD_DUMPED): Likewise.
35838         (CLD_TRAPPED): Likewise.
35839         (CLD_STOPPED): Likewise.
35840         (CLD_CONTINUED): Likewise.
35841         (POLL_IN): Likewise.
35842         (POLL_OUT): Likewise.
35843         (POLL_MSG): Likewise.
35844         (POLL_ERR): Likewise.
35845         (POLL_PRI): Likewise.
35846         (POLL_HUP): Likewise.
35847         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
35848         (ILL_ILLOPN): Likewise.
35849         (ILL_ILLADR): Likewise.
35850         (ILL_ILLTRP): Likewise.
35851         (ILL_PRVOPC): Likewise.
35852         (ILL_PRVREG): Likewise.
35853         (ILL_COPROC): Likewise.
35854         (ILL_BADSTK): Likewise.
35855         (FPE_INTDIV): Likewise.
35856         (FPE_INTOVF): Likewise.
35857         (FPE_FLTDIV): Likewise.
35858         (FPE_FLTOVF): Likewise.
35859         (FPE_FLTUND): Likewise.
35860         (FPE_FLTRES): Likewise.
35861         (FPE_FLTINV): Likewise.
35862         (FPE_FLTSUB): Likewise.
35863         (SEGV_MAPERR): Likewise.
35864         (SEGV_ACCERR): Likewise.
35865         (BUS_ADRALN): Likewise.
35866         (BUS_ADRERR): Likewise.
35867         (BUS_OBJERR): Likewise.
35868         (BUS_MCEERR_AR): Likewise.
35869         (BUS_MCEERR_AO): Likewise.
35870         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35871         (TRAP_TRACE): Likewise.
35872         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35873         __USE_XOPEN2K8].
35874         (CLD_KILLED): Likewise.
35875         (CLD_DUMPED): Likewise.
35876         (CLD_TRAPPED): Likewise.
35877         (CLD_STOPPED): Likewise.
35878         (CLD_CONTINUED): Likewise.
35879         (POLL_IN): Likewise.
35880         (POLL_OUT): Likewise.
35881         (POLL_MSG): Likewise.
35882         (POLL_ERR): Likewise.
35883         (POLL_PRI): Likewise.
35884         (POLL_HUP): Likewise.
35885         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
35886         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35888         [BZ #16670]
35889         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
35890         before #include of <time.h>.
35891         [!__USE_XOPEN2K] (__need_timespec): Likewise.
35892         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
35893         (test-xfail-UNIX98/sched.h/conform): Likewise.
35895 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35897         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
35898         error absence of trapping exception support.
35899         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35901 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35903         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
35904         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
35905         * timezone/Makefile (testdata): Move definition above include of
35906         Rules.
35907         (test-zones): New variable.
35908         (tests-special): Add zone files.
35909         (build-testdata): Use $(evaluate-test).
35911         * elf/Makefile (tests-special): Rename tests to end with .out.
35912         ($(objpfx)noload-mem): Likewise.
35913         ($(objpfx)tst-leaks1-mem): Likewise.
35914         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
35915         * iconv/Makefile (xtests-special): Change test-iconvconfig to
35916         $(objpfx)test-iconvconfig.out.
35917         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
35918         set -e inside subshell and redirect output to file.
35919         * iconvdata/Makefile (generated): Rename tests to end with .out.
35920         Correct type.
35921         (tests-special): Rename tests to end with .out.
35922         ($(objpfx)mtrace-tst-loading): Likewise.
35923         * intl/Makefile (generated): Likewise.
35924         (tests-special): Likewise.
35925         ($(objpfx)mtrace-tst-gettext): Likewise.
35926         * misc/Makefile (generated): Likewise.
35927         (tests-special): Likewise.
35928         ($(objpfx)tst-error1-mem): Likewise.
35929         * nptl/Makefile (tests-special): Likewise.
35930         ($(objpfx)tst-stack3-mem): Likewise.
35931         (generated): Likewise.
35932         * posix/Makefile (generated): Likewise.
35933         (tests-special): Likewise.
35934         (xtests-special): Likewise.
35935         ($(objpfx)tst-fnmatch-mem): Likewise.
35936         ($(objpfx)bug-regex2-mem): Likewise.
35937         ($(objpfx)bug-regex14-mem): Likewise.
35938         ($(objpfx)bug-regex21-mem): Likewise.
35939         ($(objpfx)bug-regex31-mem): Likewise.
35940         ($(objpfx)tst-vfork3-mem): Likewise.
35941         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35942         ($(objpfx)tst-pcre-mem): Likewise.
35943         ($(objpfx)tst-boost-mem): Likewise.
35944         ($(objpfx)bug-ga2-mem): Likewise.
35945         ($(objpfx)bug-glob2-mem): Likewise.
35946         * resolv/Makefile (generate): Likewise.
35947         (tests-special): Likewise.
35948         (xtests-special): Likewise.
35949         (generated): Likewise.
35950         ($(objpfx)mtrace-tst-leaks): Likewise.
35951         ($(objpfx)mtrace-tst-leaks2): Likewise.
35953         * scripts/merge-test-results.sh: New file.
35954         * Makefile (tests-special-notdir): New variable.
35955         (tests): Run merge-test-results.sh.
35956         (xtests): Likewise.
35957         * Rules (tests-special-notdir): New variable.
35958         (xtests-special-notdir): Likewise.
35959         (tests): Run merge-test-results.sh
35960         (xtests): Likewise.
35962         * Makeconfig (test-xfail-name): New variable.
35963         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
35964         compute variable name for expected failures.
35965         * conform/Makefile (conformtest-headers-data): New variable.
35966         (conformtest-standards): Likewise.
35967         (conformtest-headers-ISO): Likewise.
35968         (conformtest-headers-ISO99): Likewise.
35969         (conformtest-headers-ISO11): Likewise.
35970         (conformtest-headers-POSIX): Likewise.
35971         (conformtest-headers-XPG3): Likewise.
35972         (conformtest-headers-XPG4): Likewise.
35973         (conformtest-headers-UNIX98): Likewise.
35974         (conformtest-headers-XOPEN2K): Likewise.
35975         (conformtest-headers-POSIX2008): Likewise.
35976         (conformtest-headers-XOPEN2K8): Likewise.
35977         (conformtest-header-list-base): Likewise.
35978         (conformtest-header-list-tests): Likewise.
35979         (conformtest-header-base): Likewise.
35980         (conformtest-header-tests): Likewise.
35981         (tests-special): Add $(conformtest-header-list-tests).  If
35982         [$(fast-check) && !$(cross-compiling)], add
35983         $(conformtest-header-tests) instead of
35984         $(objpfx)run-conformtest.out.
35985         (generated): Add $(conformtest-header-list-base).  If
35986         [$(fast-check) && !$(cross-compiling)], add
35987         $(conformtest-header-base).  Remove previous setting.
35988         ($(conformtest-header-list-tests)): New target.
35989         (test-xfail-run-conformtest): Remove variable.
35990         ($(objpfx)run-conformtest.out): Remove target.
35991         (test-xfail-ISO11/complex.h/conform): New variable.
35992         (test-xfail-ISO11/stdalign.h/conform): Likewise.
35993         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
35994         (test-xfail-XPG3/varargs.h/conform): Likewise.
35995         (test-xfail-XPG4/varargs.h/conform): Likewise.
35996         (test-xfail-UNIX98/varargs.h/conform): Likewise.
35997         (test-xfail-XPG4/ndbm.h/conform): Likewise.
35998         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
35999         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
36000         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
36001         (test-xfail-XPG3/fcntl.h/conform): Likewise.
36002         (test-xfail-XPG3/ftw.h/conform): Likewise.
36003         (test-xfail-XPG3/grp.h/conform): Likewise.
36004         (test-xfail-XPG3/langinfo.h/conform): Likewise.
36005         (test-xfail-XPG3/limits.h/conform): Likewise.
36006         (test-xfail-XPG3/pwd.h/conform): Likewise.
36007         (test-xfail-XPG3/search.h/conform): Likewise.
36008         (test-xfail-XPG3/signal.h/conform): Likewise.
36009         (test-xfail-XPG3/stdio.h/conform): Likewise.
36010         (test-xfail-XPG3/stdlib.h/conform): Likewise.
36011         (test-xfail-XPG3/string.h/conform): Likewise.
36012         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
36013         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
36014         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
36015         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
36016         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
36017         (test-xfail-XPG3/sys/types.h/conform): Likewise.
36018         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
36019         (test-xfail-XPG3/termios.h/conform): Likewise.
36020         (test-xfail-XPG3/time.h/conform): Likewise.
36021         (test-xfail-XPG3/unistd.h/conform): Likewise.
36022         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
36023         (test-xfail-XPG4/fcntl.h/conform): Likewise.
36024         (test-xfail-XPG4/langinfo.h/conform): Likewise.
36025         (test-xfail-XPG4/netdb.h/conform): Likewise.
36026         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
36027         (test-xfail-XPG4/signal.h/conform): Likewise.
36028         (test-xfail-XPG4/stdio.h/conform): Likewise.
36029         (test-xfail-XPG4/stdlib.h/conform): Likewise.
36030         (test-xfail-XPG4/stropts.h/conform): Likewise.
36031         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
36032         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
36033         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
36034         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
36035         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
36036         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
36037         (test-xfail-XPG4/sys/time.h/conform): Likewise.
36038         (test-xfail-XPG4/sys/types.h/conform): Likewise.
36039         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
36040         (test-xfail-XPG4/termios.h/conform): Likewise.
36041         (test-xfail-XPG4/ucontext.h/conform): Likewise.
36042         (test-xfail-XPG4/unistd.h/conform): Likewise.
36043         (test-xfail-XPG4/utmpx.h/conform): Likewise.
36044         (test-xfail-POSIX/sched.h/conform): Likewise.
36045         (test-xfail-POSIX/signal.h/conform): Likewise.
36046         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36047         (test-xfail-POSIX/tar.h/conform): Likewise.
36048         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
36049         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
36050         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
36051         (test-xfail-UNIX98/netdb.h/conform): Likewise.
36052         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
36053         (test-xfail-UNIX98/sched.h/conform): Likewise.
36054         (test-xfail-UNIX98/signal.h/conform): Likewise.
36055         (test-xfail-UNIX98/stdio.h/conform): Likewise.
36056         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
36057         (test-xfail-UNIX98/stropts.h/conform): Likewise.
36058         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
36059         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
36060         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
36061         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
36062         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
36063         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
36064         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
36065         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
36066         (test-xfail-UNIX98/unistd.h/conform): Likewise.
36067         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
36068         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
36069         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
36070         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
36071         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
36072         (test-xfail-XOPEN2K/math.h/conform): Likewise.
36073         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
36074         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
36075         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
36076         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
36077         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
36078         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
36079         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
36080         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
36081         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
36082         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
36083         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
36084         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
36085         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
36086         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
36087         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
36088         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
36089         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
36090         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
36091         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
36092         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
36093         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
36094         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
36095         (test-xfail-POSIX2008/signal.h/conform): Likewise.
36096         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
36097         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
36098         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
36099         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
36100         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
36101         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
36102         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
36103         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
36104         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
36105         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
36106         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
36107         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
36108         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
36109         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
36110         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
36111         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
36112         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
36113         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
36114         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
36115         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
36116         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
36117         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
36118         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
36119         (conformtest-cc-flags): Likewise.
36120         ($(conformtest-header-tests): New target.
36121         * conform/check-header-lists.sh: New file.
36122         * conform/run-conformtest.sh: Remove.
36124         * conform/conformtest.pl: Allow ' and \ in values given for
36125         constants.
36126         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
36127         inclusion.
36128         [POSIX] (sys/types.h): Likewise.
36129         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
36130         inclusion.
36131         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
36132         inclusion.
36133         * conform/data/signal.h-data (SIGIO): Remove expectation.
36134         [XPG3] (SIGBUS): Do not expect.
36135         [POSIX || XPG3] (SIGPOLL): Likewise.
36136         [POSIX || XPG3] (SIGPROF): Likewise.
36137         [POSIX || XPG3] (SIGSYS): Likewise.
36138         [XPG3] (SIGTRAP): Likewise.
36139         [POSIX || XPG3] (SIGURG): Likewise.
36140         [POSIX || XPG3] (SIGVTALRM): Likewise.
36141         [POSIX || XPG3] (SIGXCPU): Likewise.
36142         [POSIX || XPG3] (SIGXFSZ): Likewise.
36143         [POSIX] (SA_SIGINFO): Expect.
36144         [XPG3] (siginfo_t): Do not expect type or contents.
36145         [POSIX] (si_pid): Do not expect element.
36146         [POSIX] (si_uid): Likewise.
36147         [POSIX] (si_addr): Likewise.
36148         [POSIX] (si_status): Likewise.
36149         [POSIX] (si_band): Likewise.
36150         [XPG4] (si_value): Likewise.
36151         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
36152         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
36153         [POSIX || XPG3] (ILL_ILLADR): Likewise.
36154         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
36155         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
36156         [POSIX || XPG3] (ILL_PRVREG): Likewise.
36157         [POSIX || XPG3] (ILL_COPROC): Likewise.
36158         [POSIX || XPG3] (ILL_BADSTK): Likewise.
36159         [POSIX || XPG3] (FPE_INTDIV): Likewise.
36160         [POSIX || XPG3] (FPE_INTOVF): Likewise.
36161         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
36162         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
36163         [POSIX || XPG3] (FPE_FLTUND): Likewise.
36164         [POSIX || XPG3] (FPE_FLTRES): Likewise.
36165         [POSIX || XPG3] (FPE_FLTINV): Likewise.
36166         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
36167         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
36168         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
36169         [POSIX || XPG3] (BUS_ADRALN): Likewise.
36170         [POSIX || XPG3] (BUS_ADRERR): Likewise.
36171         [POSIX || XPG3] (BUS_OBJERR): Likewise.
36172         [POSIX || XPG3] (CLD_EXITED): Likewise.
36173         [POSIX || XPG3] (CLD_KILLED): Likewise.
36174         [POSIX || XPG3] (CLD_DUMPED): Likewise.
36175         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
36176         [POSIX || XPG3] (CLD_STOPPED): Likewise.
36177         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
36178         [POSIX || XPG3] (POLL_IN): Likewise.
36179         [POSIX || XPG3] (POLL_OUT): Likewise.
36180         [POSIX || XPG3] (POLL_MSG): Likewise.
36181         [POSIX || XPG3] (POLL_ERR): Likewise.
36182         [POSIX || XPG3] (POLL_PRI): Likewise.
36183         [POSIX || XPG3] (POLL_HUP): Likewise.
36184         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
36185         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
36186         (SIG*): Do not allow.
36187         [XPG3] (si_*): Likewise.
36188         [XPG3] (SI_*): Likewise.
36189         [XPG3 || XPG4] (sigev_*): Likewise.
36190         [XPG3 || XPG4] (SIGEV_*): Likewise.
36191         [XPG3 || XPG4] (sival_*): Likewise.
36192         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
36193         [POSIX || XPG3] (BUS_*): Likewise.
36194         [POSIX || XPG3] (CLD_*): Likewise.
36195         [POSIX || XPG3] (FPE_*): Likewise.
36196         [POSIX || XPG3] (ILL_*): Likewise.
36197         [POSIX || XPG3] (POLL_*): Likewise.
36198         [POSIX || XPG3] (SEGV_*): Likewise.
36199         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
36200         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
36201         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
36202         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
36203         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
36204         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
36205         Specify type and value.
36206         (TVERSLEN): Likewise.
36207         (REGTYPE): Likewise.
36208         (AREGTYPE): Likewise.
36209         (LNKTYPE): Likewise.
36210         (SYMTYPE): Likewise.
36211         (CHRTYPE): Likewise.
36212         (BLKTYPE): Likewise.
36213         (DIRTYPE): Likewise.
36214         (FIFOTYPE): Likewise.
36215         (CONTTYPE): Likewise.
36216         (TSUID): Likewise.
36217         (TSGID): Likewise.
36218         (TSVTX): Likewise.
36219         (TUREAD): Likewise.
36220         (TUWRITE): Likewise.
36221         (TUEXEC): Likewise.
36222         (TGREAD): Likewise.
36223         (TGWRITE): Likewise.
36224         (TGEXEC): Likewise.
36225         (TOREAD): Likewise.
36226         (TOWRITE): Likewise.
36227         (TOEXEC): Likewise.
36228         [POSIX] (TSVTX): Expect constant.
36230 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
36232         * Makefile (tests): Change dependencies to ....
36233         (tests-special): ... additions to this variable.
36234         (tests): Depend on $(tests-special).
36235         * Makerules (check-abi-list): New variable.
36236         (check-abi): Depend on $(check-abi-list).
36237         [$(subdir) = elf] (tests-special): Add
36238         $(objpfx)check-abi-libc.out.
36239         [$(build-shared) = yes && subdir] (tests-special): Add
36240         $(check-abi-list).
36241         [$(build-shared) = yes && subdir] (tests): Do not depend on
36242         check-abi.
36243         * Rules (tests): Depend on $(tests-special).
36244         (xtests): Depend on $(xtests-special).
36245         * catgets/Makefile (tests): Change dependencies to ....
36246         (tests-special): ... additions to this variable.
36247         * conform/Makefile (tests): Change dependencies to ....
36248         (tests-special): ... additions to this variable.
36249         * elf/Makefile (tests): Change dependencies to ....
36250         (tests-special): ... additions to this variable.
36251         * grp/Makefile (tests): Change dependencies to ....
36252         (tests-special): ... additions to this variable.
36253         * iconv/Makefile (xtests): Change dependencies to ....
36254         (xtests-special): ... additions to this variable.
36255         * iconvdata/Makefile (tests): Change dependencies to ....
36256         (tests-special): ... additions to this variable.
36257         * intl/Makefile (tests): Change dependencies to ....
36258         (tests-special): ... additions to this variable.  Also add
36259         $(objpfx)tst-gettext.out.
36260         * io/Makefile (tests): Change dependencies to ....
36261         (tests-special): ... additions to this variable.
36262         * libio/Makefile (tests): Change dependencies to ....
36263         (tests-special): ... additions to this variable.
36264         * malloc/Makefile (tests): Change dependencies to ....
36265         (tests-special): ... additions to this variable.
36266         * misc/Makefile (tests): Change dependencies to ....
36267         (tests-special): ... additions to this variable.
36268         * nptl/Makefile (tests): Change dependencies to ....
36269         (tests-special): ... additions to this variable.
36270         * nptl_db/Makefile (tests): Change dependencies to ....
36271         (tests-special): ... additions to this variable.
36272         * posix/Makefile (tests): Change dependencies to ....
36273         (tests-special): ... additions to this variable.
36274         (xtests): Change dependencies to ....
36275         (xtests-special): ... additions to this variable.
36276         * resolv/Makefile (tests): Change dependencies to ....
36277         (tests-special): ... additions to this variable.
36278         (xtests): Change dependencies to ....
36279         (xtests-special): ... additions to this variable.
36280         * stdio-common/Makefile (tests): Change dependencies to ....
36281         (tests-special): ... additions to this variable.
36282         (do-tst-unbputc): Remove target.
36283         (do-tst-printf): Likewise.
36284         * stdlib/Makefile (tests): Change dependencies to ....
36285         (tests-special): ... additions to this variable.
36286         * string/Makefile (tests): Change dependencies to ....
36287         (tests-special): ... additions to this variable.
36288         * sysdeps/x86/Makefile (tests): Change dependencies to ....
36289         (tests-special): ... additions to this variable.
36291         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
36292         whole file.
36293         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
36294         whole file.
36295         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
36296         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
36298         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
36299         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
36300         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
36301         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
36302         * conform/data/libgen.h-data [XPG3]: Likewise.
36303         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
36304         * conform/data/ndbm.h-data [XPG3]: Likewise.
36305         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36306         * conform/data/netdb.h-data [XPG3]: Likewise.
36307         * conform/data/netinet/in.h-data [XPG3]: Likewise.
36308         * conform/data/poll.h-data [XPG3]: Likewise.
36309         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36310         * conform/data/strings.h-data [XPG3]: Likewise.
36311         * conform/data/stropts.h-data [XPG3]: Likewise.
36312         * conform/data/sys/mman.h-data [XPG3]: Likewise.
36313         * conform/data/sys/resource.h-data [XPG3]: Likewise.
36314         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
36315         Likewise.
36316         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
36317         * conform/data/sys/time.h-data [XPG3]: Likewise.
36318         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
36319         * conform/data/sys/uio.h-data [XPG3]: Likewise.
36320         * conform/data/sys/un.h-data [XPG3]: Likewise.
36321         * conform/data/syslog.h-data [XPG3]: Likewise.
36322         * conform/data/ucontext.h-data [XPG3]: Likewise.
36323         * conform/data/utmpx.h-data [XPG3]: Likewise.
36324         * conform/data/varargs.h-data [UNIX98]: Enable file.
36326         * manual/Makefile (INSTALL_INFO): Remove variable setting.
36328         * math/libm-test.inc (struct test_f_f_data): Move expected results
36329         into structure for each rounding mode.
36330         (struct test_ff_f_data): Likewise.
36331         (struct test_ff_f_data_nexttoward): Likewise.
36332         (struct test_fi_f_data): Likewise.
36333         (struct test_fl_f_data): Likewise.
36334         (struct test_if_f_data): Likewise.
36335         (struct test_fff_f_data): Likewise.
36336         (struct test_c_f_data): Likewise.
36337         (struct test_f_f1_data): Likewise.
36338         (struct test_fF_f1_data): Likewise.
36339         (struct test_ffI_f1_data): Likewise.
36340         (struct test_c_c_data): Likewise.
36341         (struct test_cc_c_data): Likewise.
36342         (struct test_f_i_data): Likewise.
36343         (struct test_ff_i_data): Likewise.
36344         (struct test_f_l_data): Likewise.
36345         (struct test_f_L_data): Likewise.
36346         (struct test_fFF_11_data): Likewise.
36347         (RM_): New macro.
36348         (RM_FE_DOWNWARD): Likewise.
36349         (RM_FE_TONEAREST): Likewise.
36350         (RM_FE_TOWARDZERO): Likewise.
36351         (RM_FE_UPWARD): Likewise.
36352         (RUN_TEST_LOOP_f_f): Update references to expected results.
36353         (RUN_TEST_LOOP_2_f): Likewise.
36354         (RUN_TEST_LOOP_fff_f): Likewise.
36355         (RUN_TEST_LOOP_c_f): Likewise.
36356         (RUN_TEST_LOOP_f_f1): Likewise.
36357         (RUN_TEST_LOOP_fF_f1): Likewise.
36358         (RUN_TEST_LOOP_fI_f1): Likewise.
36359         (RUN_TEST_LOOP_ffI_f1): Likewise.
36360         (RUN_TEST_LOOP_c_c): Likewise.
36361         (RUN_TEST_LOOP_cc_c): Likewise.
36362         (RUN_TEST_LOOP_f_i): Likewise.
36363         (RUN_TEST_LOOP_f_i_tg): Likewise.
36364         (RUN_TEST_LOOP_ff_i_tg): Likewise.
36365         (RUN_TEST_LOOP_f_b): Likewise.
36366         (RUN_TEST_LOOP_f_b_tg): Likewise.
36367         (RUN_TEST_LOOP_f_l): Likewise.
36368         (RUN_TEST_LOOP_f_L): Likewise.
36369         (RUN_TEST_LOOP_fFF_11): Likewise.
36370         * math/gen-libm-test.pl (parse_args): Output four copies of
36371         expected results for each test.
36373         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36374         (__ASSUME_UTIMES): Remove.
36375         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36376         (__ASSUME_UTIMES): Likewise.
36378         * math/gen-auto-libm-tests.c: Update comment on output format.
36379         (output_for_one_input_case): Generate before-rounding and
36380         after-rounding information as conditions on output flags not
36381         floating-point format.
36382         * math/auto-libm-test-out: Regenerated.
36383         * math/gen-libm-test.pl (cond_value): New function.
36384         (or_cond_value): Use cond_value.
36385         (generate_testfile): Handle conditional exceptions.
36387 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
36389         * math/libm-test.inc (max_valid_error): New variable.
36390         (init_max_error): Take new argument specifying whether function
36391         results are exactly determined.  Set max_valid_error and bound
36392         other variables for errors based on this argument.
36393         (set_max_error): Do not record results above max_valid_error.
36394         (check_float_internal): Only accept errors of up to 0.5ulps if
36395         also at most max_valid_error.
36396         (START): Take new argument EXACT and pass it to init_max_error.
36397         (acos_test): Update call to START.
36398         (acos_test_tonearest): Likewise.
36399         (acos_test_towardzero): Likewise.
36400         (acos_test_downward): Likewise.
36401         (acos_test_upward): Likewise.
36402         (acosh_test): Likewise.
36403         (asin_test): Likewise.
36404         (asin_test_tonearest): Likewise.
36405         (asin_test_towardzero): Likewise.
36406         (asin_test_downward): Likewise.
36407         (asin_test_upward): Likewise.
36408         (asinh_test): Likewise.
36409         (atan_test): Likewise.
36410         (atanh_test): Likewise.
36411         (atan2_test): Likewise.
36412         (cabs_test): Likewise.
36413         (cacos_test): Likewise.
36414         (cacosh_test): Likewise.
36415         (carg_test): Likewise.
36416         (casin_test): Likewise.
36417         (casinh_test): Likewise.
36418         (catan_test): Likewise.
36419         (catanh_test): Likewise.
36420         (cbrt_test): Likewise.
36421         (ccos_test): Likewise.
36422         (ccosh_test): Likewise.
36423         (ceil_test): Likewise.
36424         (cexp_test): Likewise.
36425         (cimag_test): Likewise.
36426         (clog_test): Likewise.
36427         (clog10_test): Likewise.
36428         (conj_test): Likewise.
36429         (copysign_test): Likewise.
36430         (cos_test): Likewise.
36431         (cos_test_tonearest): Likewise.
36432         (cos_test_towardzero): Likewise.
36433         (cos_test_downward): Likewise.
36434         (cos_test_upward): Likewise.
36435         (cosh_test): Likewise.
36436         (cosh_test_tonearest): Likewise.
36437         (cosh_test_towardzero): Likewise.
36438         (cosh_test_downward): Likewise.
36439         (cosh_test_upward): Likewise.
36440         (cpow_test): Likewise.
36441         (cproj_test): Likewise.
36442         (creal_test): Likewise.
36443         (csin_test): Likewise.
36444         (csinh_test): Likewise.
36445         (csqrt_test): Likewise.
36446         (ctan_test): Likewise.
36447         (ctan_test_tonearest): Likewise.
36448         (ctan_test_towardzero): Likewise.
36449         (ctan_test_downward): Likewise.
36450         (ctan_test_upward): Likewise.
36451         (ctanh_test): Likewise.
36452         (ctanh_test_tonearest): Likewise.
36453         (ctanh_test_towardzero): Likewise.
36454         (ctanh_test_downward): Likewise.
36455         (ctanh_test_upward): Likewise.
36456         (erf_test): Likewise.
36457         (erfc_test): Likewise.
36458         (exp_test): Likewise.
36459         (exp_test_tonearest): Likewise.
36460         (exp_test_towardzero): Likewise.
36461         (exp_test_downward): Likewise.
36462         (exp_test_upward): Likewise.
36463         (exp10_test): Likewise.
36464         (exp10_test_tonearest): Likewise.
36465         (exp10_test_towardzero): Likewise.
36466         (exp10_test_downward): Likewise.
36467         (exp10_test_upward): Likewise.
36468         (pow10_test): Likewise.
36469         (exp2_test): Likewise.
36470         (expm1_test): Likewise.
36471         (expm1_test_tonearest): Likewise.
36472         (expm1_test_towardzero): Likewise.
36473         (expm1_test_downward): Likewise.
36474         (expm1_test_upward): Likewise.
36475         (fabs_test): Likewise.
36476         (fdim_test): Likewise.
36477         (floor_test): Likewise.
36478         (fma_test): Likewise.
36479         (fma_test_towardzero): Likewise.
36480         (fma_test_downward): Likewise.
36481         (fma_test_upward): Likewise.
36482         (fmax_test): Likewise.
36483         (fmin_test): Likewise.
36484         (fmod_test): Likewise.
36485         (fpclassify_test): Likewise.
36486         (frexp_test): Likewise.
36487         (hypot_test): Likewise.
36488         (ilogb_test): Likewise.
36489         (isfinite_test): Likewise.
36490         (finite_test): Likewise.
36491         (isgreater_test): Likewise.
36492         (isgreaterequal_test): Likewise.
36493         (isinf_test): Likewise.
36494         (isless_test): Likewise.
36495         (islessequal_test): Likewise.
36496         (islessgreater_test): Likewise.
36497         (isnan_test): Likewise.
36498         (isnormal_test): Likewise.
36499         (issignaling_test): Likewise.
36500         (isunordered_test): Likewise.
36501         (j0_test): Likewise.
36502         (j1_test): Likewise.
36503         (jn_test): Likewise.
36504         (ldexp_test): Likewise.
36505         (lgamma_test): Likewise.
36506         (gamma_test): Likewise.
36507         (lrint_test): Likewise.
36508         (lrint_test_tonearest): Likewise.
36509         (lrint_test_towardzero): Likewise.
36510         (lrint_test_downward): Likewise.
36511         (lrint_test_upward): Likewise.
36512         (llrint_test): Likewise.
36513         (llrint_test_tonearest): Likewise.
36514         (llrint_test_towardzero): Likewise.
36515         (llrint_test_downward): Likewise.
36516         (llrint_test_upward): Likewise.
36517         (log_test): Likewise.
36518         (log10_test): Likewise.
36519         (log1p_test): Likewise.
36520         (log2_test): Likewise.
36521         (logb_test): Likewise.
36522         (logb_test_downward): Likewise.
36523         (lround_test): Likewise.
36524         (llround_test): Likewise.
36525         (modf_test): Likewise.
36526         (nearbyint_test): Likewise.
36527         (nextafter_test): Likewise.
36528         (nexttoward_test): Likewise.
36529         (pow_test): Likewise.
36530         (pow_test_tonearest): Likewise.
36531         (pow_test_towardzero): Likewise.
36532         (pow_test_downward): Likewise.
36533         (pow_test_upward): Likewise.
36534         (remainder_test): Likewise.
36535         (drem_test): Likewise.
36536         (remainder_test_tonearest): Likewise.
36537         (drem_test_tonearest): Likewise.
36538         (remainder_test_towardzero): Likewise.
36539         (drem_test_towardzero): Likewise.
36540         (remainder_test_downward): Likewise.
36541         (drem_test_downward): Likewise.
36542         (remainder_test_upward): Likewise.
36543         (drem_test_upward): Likewise.
36544         (remquo_test): Likewise.
36545         (rint_test): Likewise.
36546         (rint_test_tonearest): Likewise.
36547         (rint_test_towardzero): Likewise.
36548         (rint_test_downward): Likewise.
36549         (rint_test_upward): Likewise.
36550         (round_test): Likewise.
36551         (scalb_test): Likewise.
36552         (scalbn_test): Likewise.
36553         (scalbln_test): Likewise.
36554         (signbit_test): Likewise.
36555         (sin_test): Likewise.
36556         (sin_test_tonearest): Likewise.
36557         (sin_test_towardzero): Likewise.
36558         (sin_test_downward): Likewise.
36559         (sin_test_upward): Likewise.
36560         (sincos_test): Likewise.
36561         (sinh_test): Likewise.
36562         (sinh_test_tonearest): Likewise.
36563         (sinh_test_towardzero): Likewise.
36564         (sinh_test_downward): Likewise.
36565         (sinh_test_upward): Likewise.
36566         (sqrt_test): Likewise.
36567         (sqrt_test_tonearest): Likewise.
36568         (sqrt_test_towardzero): Likewise.
36569         (sqrt_test_downward): Likewise.
36570         (sqrt_test_upward): Likewise.
36571         (tan_test): Likewise.
36572         (tan_test_tonearest): Likewise.
36573         (tan_test_towardzero): Likewise.
36574         (tan_test_downward): Likewise.
36575         (tan_test_upward): Likewise.
36576         (tanh_test): Likewise.
36577         (tgamma_test): Likewise.
36578         (trunc_test): Likewise.
36579         (y0_test): Likewise.
36580         (y1_test): Likewise.
36581         (yn_test): Likewise.
36582         (significand_test): Likewise.
36584         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
36585         individual tests in comment.
36586         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
36587         (prev_max_error): New variable.
36588         (prev_real_max_error): Likewise.
36589         (prev_imag_max_error): Likewise.
36590         (compare_ulp_data): Don't refer to test names in comment.
36591         (find_test_ulps): Remove function.
36592         (find_function_ulps): Likewise.
36593         (find_complex_function_ulps): Likewise.
36594         (init_max_error): Take function name as argument.  Look up ulps
36595         for that function.
36596         (print_ulps): Remove function.
36597         (print_max_error): Use prev_max_error instead of calling
36598         find_function_ulps.
36599         (print_complex_max_error): Use prev_real_max_error and
36600         prev_imag_max_error instead of calling find_complex_function_ulps.
36601         (check_float_internal): Take max_ulp parameter instead of calling
36602         find_test_ulps.  Don't call print_ulps.
36603         (check_float): Update call to check_float_internal.
36604         (check_complex): Update calls to check_float_internal.
36605         (START): Pass argument to init_max_error.
36606         * math/gen-libm-test.pl (%results): Don't include "kind"
36607         information.
36608         (parse_ulps): Don't handle ulps of individual tests.
36609         (print_ulps_file): Likewise.
36610         (output_ulps): Likewise.
36611         * math/README.libm-test: Update.
36612         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
36613         individual tests.
36614         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
36615         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
36616         * sysdeps/arm/libm-test-ulps: Likewise.
36617         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
36618         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
36619         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
36620         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
36621         * sysdeps/microblaze/libm-test-ulps: Likewise.
36622         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
36623         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36624         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36625         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
36626         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36627         * sysdeps/sh/libm-test-ulps: Likewise.
36628         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36629         * sysdeps/tile/libm-test-ulps: Likewise.
36630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36632 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
36634         * math/libm-test.inc (print_complex_max_error): Check separately
36635         whether real and imaginary errors are within allowed range and
36636         pass 0 to print_complex_function_ulps instead of value within
36637         allowed range.
36639 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36641         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
36642         formatting.
36643         (get_handles_fopen): Likewise.
36644         (do_write_test): Likewise.
36646         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
36648         * libio/fileops.c (do_ftell): Use cached offset when
36649         available.
36650         * libio/iofwide.c (do_ftell_wide): Likewise.
36651         * libio/iofdopen.c (_IO_new_fdopen): Don't use
36652         _IO_file_attach.
36653         * libio/wfileops.c (_IO_fwide): Don't cache offset.
36655         [BZ #16532]
36656         * libio/libioP.h (get_file_offset): New function.
36657         * libio/fileops.c (get_file_offset): Likewise.
36658         (do_ftell): Likewise.
36659         (_IO_new_file_seekoff): Split out ftell logic.
36660         * libio/wfileops.c (do_ftell_wide): Likewise.
36661         (_IO_wfile_seekoff): Split out ftell logic.
36662         * libio/tst-ftell-active-handler.c: New test case.
36663         * libio/Makefile (tests): Add it.
36665 2014-03-03  Roland McGrath  <roland@hack.frob.com>
36667         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
36668         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
36670 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36672         [BZ #16639]
36673         * nscd/connections.c (nscd_init): Call do_exit.
36674         (start_threads): Call do_exit and notify_parent.
36675         (begin_drop_privileges): Call do_exit.
36676         (finish_drop_privileges): Likewise.
36677         * nscd/selinux.c (preserve_capabilities): Likewise.
36678         (install_real_capabilities): Likewise.
36679         (nscd_selinux_enabled): Likewise.
36680         (avc_create_thread): Likewise.
36681         (avc_alloc_lock): Likewise.
36682         (nscd_avc_init): Likewise.
36683         * nscd/nscd.c (parent_fd): New static variable.
36684         (main): Create a pipe between parent and child processes.
36685         Skip closing parent_fd.
36686         (monitor_child): New function.
36687         (do_exit): Likewise.
36688         (notify_parent): Likewise.
36689         * nscd/nscd.h (notify_parent): Likewise.
36690         (do_exit): Likewise.
36692 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
36694         * malloc/malloc.c (__libc_calloc): Revert last change.
36696 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36700 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36702         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
36703         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
36704         implementation.
36705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36706         (__libc_ifunc_impl_list): Likewise.
36707         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
36708         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
36709         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
36710         * string/strrchr.c: Define STRRCHR.
36712 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
36714         * benchtest/bench-strtok.c (simple_strtok): Delete.
36715         (strtok_string): Use as benchmark.
36716         * string/strtok (STRTOK): New macro.
36718 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
36720         * manual/threads.texi: Add header and standard comments to all
36721         functions.
36723         * elf/dl-lookup.c (check_match): New function.
36724         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
36725         (do_lookup_x): Remove nested function check_match. Use non-nested
36726         function check_match.
36728 2014-02-28  Roland McGrath  <roland@hack.frob.com>
36730         * csu/Makefile (generated, before-compile): Use += rather than =.
36731         * catgets/Makefile (generated, generated-dirs): Likewise.
36732         * debug/Makefile (generated): Likewise.
36733         * dlfcn/Makefile (generated): Likewise.
36734         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
36735         * iconvdata/Makefile (before-compile, generated): Likewise.
36736         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
36737         * libio/Makefile (generated): Likewise.
36738         * malloc/Makefile (generated): Likewise.
36739         * manual/Makefile (generated, generated-dirs): Likewise.
36740         * misc/Makefile (generated): Likewise.
36741         * posix/Makefile (generated): Likewise.
36742         * resolv/Makefile (generated): Likewise.
36743         * sunrpc/Makefile (generated, generated-dirs): Likewise.
36744         * timezone/Makefile (generated, generated-dirs): Likewise.
36746         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
36748 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36750         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36751         power8 implementation.
36752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
36753         file: POWER8 llround ifunc implementation.
36754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
36755         (__lllround): Add POWER8 implementation.
36756         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
36757         POWER8 llround implementation.
36759         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
36760         power8 implementation.
36761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
36762         file: POWER8 llrint ifunc implementation.
36763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
36764         Add POWER8 implementation.
36765         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
36766         POWER8 llrint implementation.
36768         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
36769         power8 implementation.
36770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
36771         file: POWER8 finite ifunc implementation.
36772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
36773         Add POWER8 implementation.
36774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
36775         Likewise.
36776         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
36777         POWER8 finite implementation.
36778         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
36780         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
36781         power8 implementation.
36782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
36783         file: POWER8 isinf ifunc implementation.
36784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
36785         POWER8 implementation.
36786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
36787         Likewise.
36788         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
36789         isinf implementation.
36790         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
36792         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
36793         (INIT_ARCH): Add hwcap2 initialization.
36794         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36795         power8 implementation.
36796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
36797         file: POWER8 isnan ifunc implementation.
36798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
36799         POWER8 implementation.
36800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
36801         Likewise.
36802         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
36803         isnan implementation.
36804         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
36806 2014-02-27  Joey Ye  <joey.ye@arm.com>
36808         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36809         (_FP_NANFRAC_Q): Set to zero.
36811 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36813         [BZ #16623]
36814         * math/auto-libm-test-in: New test inputs.
36815         * math/auto-libm-test-out: Regenerate.
36816         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
36817         and DA.
36818         (__cos): Likewise.
36819         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36821 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
36823         * scripts/evaluate-test.sh: Take new argument indicating whether
36824         failure is expected.
36825         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
36826         indicating whether failure is expected.
36827         * conform/Makefile (test-xfail-run-conformtest): New variable.
36828         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
36829         level.
36830         * posix/Makefile (test-xfail-annexc): New variable.
36831         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
36833 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
36835         * argp/Makefile: Include Makeconfig immediately after defining
36836         subdir.
36837         * assert/Makefile: Likewise.
36838         * benchtests/Makefile: Likewise.
36839         * catgets/Makefile: Likewise.
36840         * conform/Makefile: Likewise.
36841         * crypt/Makefile: Likewise.
36842         * csu/Makefile: Likewise.
36843         (all): Remove target.
36844         * ctype/Makefile: Include Makeconfig immediately after defining
36845         subdir.
36846         * debug/Makefile: Likewise.
36847         * dirent/Makefile: Likewise.
36848         * dlfcn/Makefile: Likewise.
36849         * gmon/Makefile: Likewise.
36850         * gnulib/Makefile: Likewise.
36851         * grp/Makefile: Likewise.
36852         * gshadow/Makefile: Likewise.
36853         * hesiod/Makefile: Likewise.
36854         * hurd/Makefile: Likewise.
36855         (all): Remove target.
36856         * iconvdata/Makefile: Include Makeconfig immediately after
36857         defining subdir.
36858         * inet/Makefile: Likewise.
36859         * intl/Makefile: Likewise.
36860         * io/Makefile: Likewise.
36861         * libio/Makefile: Likewise.
36862         (all): Remove target.
36863         * locale/Makefile: Include Makeconfig immediately after defining
36864         subdir.
36865         * login/Makefile: Likewise.
36866         * mach/Makefile: Likewise.
36867         (all): Remove target.
36868         * malloc/Makefile: Include Makeconfig immediately after defining
36869         subdir.
36870         (all): Remove target.
36871         * manual/Makefile: Include Makeconfig immediately after defining
36872         subdir.
36873         * math/Makefile: Likewise.
36874         * misc/Makefile: Likewise.
36875         * nis/Makefile: Likewise.
36876         * nss/Makefile: Likewise.
36877         * po/Makefile: Likewise.
36878         (all): Remove target.
36879         * posix/Makefile: Include Makeconfig immediately after defining
36880         subdir.
36881         * pwd/Makefile: Likewise.
36882         * resolv/Makefile: Likewise.
36883         * resource/Makefile: Likewise.
36884         * rt/Makefile: Likewise.
36885         * setjmp/Makefile: Likewise.
36886         * shadow/Makefile: Likewise.
36887         * signal/Makefile: Likewise.
36888         * socket/Makefile: Likewise.
36889         * soft-fp/Makefile: Likewise.
36890         * stdio-common/Makefile: Likewise.
36891         * stdlib/Makefile: Likewise.
36892         * streams/Makefile: Likewise.
36893         * string/Makefile: Likewise.
36894         * sunrpc/Makefile: Likewise.
36895         (all): Remove target.
36896         * sysvipc/Makefile: Include Makeconfig immediately after defining
36897         subdir.
36898         * termios/Makefile: Likewise.
36899         * time/Makefile: Likewise.
36900         * timezone/Makefile: Likewise.
36901         (all): Remove target.
36902         * wcsmbs/Makefile: Include Makeconfig immediately after defining
36903         subdir.
36904         * wctype/Makefile: Likewise.
36906 2014-02-26  Steve Ellcey  <sellcey@mips.com>
36908         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
36909         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
36910         (libc_feholdexcept_setround_mips): Ditto.
36911         (libc_feholdsetround): New.
36912         (libc_feholdsetroundf): New.
36913         (libc_feholdsetroundl): New.
36914         (libc_feupdateenv_test_mips): New.
36915         (libc_feupdateenv_test): New.
36916         (libc_feupdateenv_testf): New.
36917         (libc_feupdateenv_testl): New.
36918         (libc_feresetround): New.
36919         (libc_feresetroundf): New.
36920         (libc_feresetroundl): New.
36921         (libc_fetestexcept_mips): New.
36922         (libc_fetestexcept): New.
36923         (libc_fetestexceptf): New.
36924         (libc_fetestexceptl): New.
36925         (HAVE_RM_CTX): New.
36926         (libc_feholdexcept_setround_mips_ctx): New.
36927         (libc_feholdexcept_setround_ctx): New.
36928         (libc_feholdexcept_setroundf_ctx): New.
36929         (libc_feholdexcept_setroundl_ctx): New.
36930         (libc_fesetenv_mips_ctx): New.
36931         (libc_fesetenv_ctx): New.
36932         (libc_fesetenv_ctxf): New.
36933         (libc_fesetenv_ctxl): New.
36934         (libc_feupdateenv_mips_ctx): New.
36935         (libc_feupdateenv_ctx): New.
36936         (libc_feupdateenvf_ctx): New.
36937         (libc_feupdateenvl_ctx): New.
36938         (libc_feholdsetround_mips_ctx): New.
36939         (libc_feholdsetround_ctx): New.
36940         (libc_feholdsetroundf_ctx): New.
36941         (libc_feholdsetroundl_ctx): New.
36942         (libc_feresetround_mips_ctx): New.
36943         (libc_feresetround_ctx): New.
36944         (libc_feresetroundf_ctx): New.
36945         (libc_feresetroundl_ctx): New.
36947 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
36949         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
36951         * manual/ipc.texi: New file.
36952         * manual/Makefile (chapters): Add ipc.
36953         * manual/job.texi: Add "Inter-Process Communication" to next.
36954         * manual/process.texi: Add "Inter-Process Communication" to prev.
36956 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36960 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
36962         * malloc/malloc.c (__libc_calloc): Simplify implementation.
36964         * manual/arith.texi: Fix spaces after sentences.
36965         * manual/charset.texi: Likewise.
36966         * manual/errno.texi: Likewise.
36967         * manual/install.texi: Likewise.
36968         * manual/llio.texi: Likewise.
36969         * manual/locale.texi: Likewise.
36970         * manual/maint.texi: Likewise.
36971         * manual/math.texi: Likewise.
36972         * manual/memory.texi: Likewise.
36973         * manual/message.texi: Likewise.
36974         * manual/probes.texi: Likewise.
36975         * manual/resource.texi: Likewise.
36976         * manual/signal.texi: Likewise.
36977         * manual/socket.texi: Likewise.
36978         * manual/stdio.texi: Likewise.
36979         * manual/string.texi: Likewise.
36980         * manual/time.texi: Likewise.
36981         * manual/users.texi: Likewise.
36983 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
36985         [BZ #16632]
36986         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
36987         _DEFAULT_SOURCE is defined.
36989 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
36990             Carlos O'Donell  <carlos@redhat.com>
36992         [BZ #16613]
36993         * elf/dl-tls.c (_dl_count_modids): New function.
36994         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
36995         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
36996         audit library and increment generation counter.
36997         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
36998         * elf/tst-audit9.c: New file.
36999         * elf/tst-auditmod9a.c: New file.
37000         * elf/tst-auditmod9b.c: New file.
37001         * elf/Makefile: Add rules to build and run tst-audit9.
37003 2014-02-25  Florian Weimer  <fweimer@redhat.com>
37005         [BZ #15347]
37006         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
37008 2014-02-25  Will Newton  <will.newton@linaro.org>
37010         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
37011         (__longjmp): Restore sp and lr before restoring callee
37012         saved registers.  Add longjmp and longjmp_target
37013         SystemTap probe point.
37014         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
37015         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
37016         Define to zero to match jmpbuf layout.
37017         * sysdeps/arm/setjmp.S: Include stap-probe.h.
37018         (__sigsetjmp): Save sp and lr before saving callee
37019         saved registers.  Add setjmp SystemTap probe point.
37021 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37023         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37025 2014-02-24  Andreas Schwab  <schwab@suse.de>
37027         [BZ #15804]
37028         * elf/pldd.c (wait_for_ptrace_stop): New function.
37029         (main): Call it after attaching.
37031 2014-02-22  Roland McGrath  <roland@hack.frob.com>
37033         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
37034         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
37035         Versions files is now verboten.
37036         * hurd/Versions (libc: GLIBC_2.0):
37037         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
37038         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
37039         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
37040         * mach/Versions: Likewise.
37042         * csu/Versions: Remove unused %include.
37043         * resolv/Versions: Likewise.
37045 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
37047         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
37048         ($(objpfx)check-local-headers.out): Likewise.
37049         ($(objpfx)begin-end-check.out): Likewise.
37050         * Makerules (check-abi-%.out): Likewise.
37051         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
37052         ($(objpfx)test2.cat): Likewise.
37053         ($(objpfx)de/libc.cat): Likewise.
37054         ($(objpfx)test-gencat.out): Likewise.
37055         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
37056         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
37057         ($(objpfx)noload-mem): Likewise.
37058         ($(objpfx)tst-pathopt.out): Likewise.
37059         ($(objpfx)tst-rtld-load-self.out): Likewise.
37060         ($(objpfx)tst-array1-cmp.out): Likewise.
37061         ($(objpfx)tst-array1-static-cmp.out): Likewise.
37062         ($(objpfx)tst-array2-cmp.out): Likewise.
37063         ($(objpfx)tst-array3-cmp.out): Likewise.
37064         ($(objpfx)tst-array4-cmp.out): Likewise.
37065         ($(objpfx)tst-array5-cmp.out): Likewise.
37066         ($(objpfx)tst-array5-static-cmp.out): Likewise.
37067         ($(objpfx)check-textrel.out): Likewise.
37068         ($(objpfx)check-execstack.out): Likewise.
37069         ($(objpfx)check-localplt.out): Likewise.
37070         ($(objpfx)order2-cmp.out): Likewise.
37071         ($(objpfx)tst-leaks1-mem): Likewise.
37072         ($(objpfx)tst-leaks1-static-mem): Likewise.
37073         ($(objpfx)tst-initorder-cmp.out): Likewise.
37074         ($(objpfx)tst-initorder2-cmp.out): Likewise.
37075         ($(objpfx)tst-unused-dep.out): Likewise.
37076         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
37077         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37078         * iconv/Makefile (test-iconvconfig): Likewise.
37079         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
37080         ($(objpfx)iconv-test.out): Likewise.
37081         ($(objpfx)tst-tables.out): Likewise.
37082         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
37083         ($(objpfx)tst-gettext.out): Likewise.
37084         ($(objpfx)tst-translit.out): Likewise.
37085         ($(objpfx)tst-gettext2.out): Likewise.
37086         ($(objpfx)tst-gettext4.out): Likewise.
37087         ($(objpfx)tst-gettext6.out): Likewise.
37088         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
37089         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37090         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
37091         ($(objpfx)tst-fopenloc-mem.out): Likewise.
37092         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37093         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
37094         * posix/Makefile ($(objpfx)globtest.out): Likewise.
37095         ($(objpfx)wordexp-tst.out): Likewise.
37096         ($(objpfx)annexc.out): Likewise.
37097         ($(objpfx)tst-fnmatch-mem): Likewise.
37098         ($(objpfx)bug-regex2-mem): Likewise.
37099         ($(objpfx)bug-regex14-mem): Likewise.
37100         ($(objpfx)bug-regex21-mem): Likewise.
37101         ($(objpfx)bug-regex31-mem): Likewise.
37102         ($(objpfx)tst-vfork3-mem): Likewise.
37103         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37104         ($(objpfx)tst-pcre-mem): Likewise.
37105         ($(objpfx)tst-boost-mem): Likewise.
37106         ($(objpfx)tst-getconf.out): Likewise.
37107         ($(objpfx)bug-ga2-mem): Likewise.
37108         ($(objpfx)bug-glob2-mem): Likewise.
37109         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
37110         ($(objpfx)mtrace-tst-leaks2): Likewise.
37111         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
37112         ($(objpfx)tst-printf.out): Likewise.
37113         ($(objpfx)tst-setvbuf1.out): Likewise.
37114         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
37115         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
37116         ($(objpfx)tst-fmtmsg.out): Likewise.
37117         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
37118         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
37120         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
37121         * bits/sigaction.h [__USE_MISC]: Likewise.
37122         * bits/waitstatus.h: Update #endif comments.
37123         * ctype/ctype.h: Likewise.
37124         * dirent/dirent.h: Likewise.
37125         [__USE_MISC]: Remove redundant conditionals.
37126         * grp/grp.h: Update #endif comments.
37127         [__USE_GNU]: Remove redundant conditionals.
37128         [__USE_MISC]: Likewise.
37129         * inet/netinet/in.h [__USE_GNU]: Likewise.
37130         * io/sys/stat.h [__USE_MISC]: Likewise.
37131         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
37132         * libio/bits/stdio.h: Update #endif comments.
37133         [__USE_MISC]: Remove redundant conditionals.
37134         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
37135         * libio/stdio.h: Update #endif comments.
37136         [__USE_MISC]: Remove redundant conditionals.
37137         * math/bits/math-finite.h [__USE_MISC]: Likewise.
37138         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
37139         * math/math.h: Update #else and #endif comments.
37140         [__USE_MISC]: Remove redundant conditionals.
37141         * misc/sys/uio.h: Update #endif comments.
37142         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
37143         * posix/glob.h [__USE_MISC]: Likewise.
37144         * posix/sys/types.h: Update #endif comments.
37145         [__USE_MISC]: Remove redundant conditionals.
37146         * posix/sys/wait.h: Update #endif comments.
37147         [__USE_MISC]: Remove redundant conditionals.
37148         * posix/unistd.h: Update #endif comments.
37149         [__USE_MISC]: Remove redundant conditionals.
37150         * pwd/pwd.h [__USE_GNU]: Likewise.
37151         [__USE_MISC]: Likewise.
37152         * resolv/netdb.h [__USE_GNU]: Likewise.
37153         * signal/signal.h: Update #endif comments.
37154         [__USE_MISC]: Remove redundant conditionals.
37155         * stdlib/stdlib.h: Update #else and #endif comments.
37156         [__USE_MISC]: Remove redundant conditionals.
37157         [__USE_GNU]: Likewise.
37158         * string/bits/string2.h [__USE_MISC]: Likewise.
37159         * string/string.h: Update #endif comments.
37160         [__USE_MISC]: Remove redundant conditionals.
37161         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
37162         Likewise.
37163         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
37164         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
37165         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
37166         Likewise.
37167         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
37168         Likewise.
37169         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
37170         comments.
37171         [__USE_MISC]: Remove redundant conditionals.
37172         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
37173         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
37174         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
37175         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
37176         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
37177         Likewise.
37178         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
37179         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
37180         Likewise.
37181         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
37182         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
37183         Likewise.
37184         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
37185         Likewise.
37186         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
37187         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
37188         Likewise.
37189         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
37190         Likewise.
37191         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
37192         * sysdeps/x86/bits/string.h: Update #endif comments.
37193         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
37194         conditionals.
37195         * time/sys/time.h: Update #endif comments.
37196         * time/time.h: Likewise.
37197         [__USE_MISC]: Remove redundant conditionals.
37199 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
37201         [BZ #16600]
37202         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
37204 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
37206         * Versions.def (librt): Add GLIBC_2.17.
37208 2014-02-21  Adam Conrad  <adconrad@0c3.net>
37210         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
37211         synonym for _SYS_AUXV_H to allow direct inclusion.
37212         * sysdeps/sparc/bits/hwcap.h: Likewise.
37213         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
37214         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
37215         * sysdeps/sparc/sysdep.h: Likewise.
37217 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37219         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
37221 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37223         * benchtests/bench-strrchr.c: Print length instead of position.
37225 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
37227         [BZ #16611]
37228         * sysdeps/unix/sysv/linux/kernel-features.h
37229         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
37230         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
37231         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
37232         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
37233         Likewise.
37234         [__i386__ || __powerpc__ || __sh__ || __sparc__]
37235         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37236         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
37237         (__ASSUME_SENDMMSG): Define instead of using previous
37238         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
37239         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37240         (__ASSUME_SENDMMSG_SYSCALL): Define.
37241         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37242         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
37243         Likewise.
37244         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37245         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37246         Likewise.
37247         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37248         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37249         Likewise.
37250         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
37251         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37252         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37253         [__ASSUME_SENDMMSG]: Change conditionals to
37254         [__ASSUME_SENDMMSG_SOCKETCALL].
37255         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37256         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
37257         Define.
37258         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37259         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
37260         Likewise.
37261         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
37262         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37263         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37264         [!__ASSUME_SENDMMSG]: Change conditional to
37265         [!__ASSUME_SENDMMSG_SOCKETCALL].
37266         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37267         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37268         Define.
37270         [BZ #16610]
37271         * sysdeps/unix/sysv/linux/kernel-features.h
37272         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
37273         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
37274         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
37275         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
37276         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37277         [__i386__ || __sparc__]
37278         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37279         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
37280         (__ASSUME_RECVMMSG): Define instead of using previous
37281         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
37282         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37283         (__ASSUME_RECVMMSG_SYSCALL): Define.
37284         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37285         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37286         Likewise.
37287         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37288         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37289         Likewise.
37290         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37291         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37292         Likewise.
37293         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
37294         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37295         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37296         [__ASSUME_RECVMMSG]: Change condition to
37297         [__ASSUME_RECVMMSG_SOCKETCALL].
37298         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37299         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37300         Define.
37301         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37302         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37303         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37304         Likewise.
37305         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
37306         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37307         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37308         [!__ASSUME_RECVMMSG]: Change condition to
37309         [!__ASSUME_RECVMMSG_SOCKETCALL].
37310         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37311         (__ASSUME_RECVMMSG_SYSCALL): Define.
37313         [BZ #16609]
37314         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
37315         __powerpc__ || __s390__ || __sh__ || __sparc__]
37316         (__ASSUME_SOCKETCALL): Define.
37317         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
37318         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
37319         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
37320         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
37321         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37322         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
37323         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
37324         (__ASSUME_ACCEPT4): Define instead of using previous
37325         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
37326         __powerpc__ || __sparc__ || __s390__)] condition.
37327         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37328         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37329         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
37330         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37331         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37332         [!__ASSUME_ACCEPT4]: Change condition to
37333         [!__ASSUME_ACCEPT4_SOCKETCALL].
37334         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37335         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
37336         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
37337         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37338         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
37339         __ASSUME_ACCEPT4_SYSCALL.
37340         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
37341         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
37342         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37343         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
37344         __ASSUME_ACCEPT4_SYSCALL.
37345         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
37346         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37347         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37348         [__ASSUME_ACCEPT4]: Change condition to
37349         [__ASSUME_ACCEPT4_SOCKETCALL].
37350         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37351         (__ASSUME_SOCKETCALL): Define.
37352         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
37353         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37354         (__ASSUME_SOCKETCALL): Define.
37355         (__ASSUME_ACCEPT4): Remove.
37356         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
37357         Define.
37358         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37359         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
37360         Likewise.
37361         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37362         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37364         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
37365         macro.
37366         (HWCAP_ARM_LPAE): Likewise.
37367         (HWCAP_ARM_EVTSTRM): Likewise.
37368         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
37369         Add vpfd32, lpae and evtstrm.
37370         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
37371         Increase to 22.
37373 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
37375         * math/auto-libm-test-in: Add tests of clog10.
37376         * math/auto-libm-test-out: Regenerated.
37377         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
37378         * sysdeps/i386/fpu/libm-test-ulps: Update.
37379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37381 2014-02-18  Andreas Schwab  <schwab@suse.de>
37383         [BZ #16574]
37384         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
37385         Store non-zero if the second buffer was newly allocated.
37386         (send_dg): Likewise.
37387         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
37388         to send_vc and send_dg.
37389         (res_nsend): Pass NULL for ansp2_malloced.
37390         * resolv/res_query.c (__libc_res_nquery): Add parameter
37391         answerp2_malloced and pass it down to __libc_res_nsend.
37392         (res_nquery): Pass additional NULL to __libc_res_nquery.
37393         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
37394         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
37395         second answer buffer if answerp2_malloced was set.
37396         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
37397         (__libc_res_nquerydomain): Add parameter
37398         answerp2_malloced and pass it down to __libc_res_nquery.
37399         (res_nquerydomain): Pass additional NULL to
37400         __libc_res_nquerydomain.
37401         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
37402         additional NULL to __libc_res_nsend and __libc_res_nquery.
37403         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
37404         additional NULL to __libc_res_nsearch.
37405         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
37406         parameter of __libc_res_nsearch to check for separately allocated
37407         second buffer.
37408         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
37409         __libc_res_nquery.
37410         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
37411         additional NULL to __libc_res_nquery.
37412         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
37413         __libc_res_nsearch.
37414         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
37415         * include/resolv.h: Update prototypes of __libc_res_nquery,
37416         __libc_res_nsearch, __libc_res_nsend.
37418 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
37420         * math/auto-libm-test-in: Add tests of fma.
37421         * math/auto-libm-test-out: Regenerated.
37422         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
37423         (fma_towardzero_test_data): Likewise.
37424         (fma_downward_test_data): Likewise.
37425         (fma_upward_test_data): Likewise.
37426         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
37427         mpc_mode.
37428         (rounding_modes): Add values for new field.
37429         (func_calc_method): Add value mpfr_fff_f.
37430         (func_calc_desc): Add mpfr_fff_f union field.
37431         (test_function): Add field exact_args.
37432         (FUNC): Add macro argument EXACT_ARGS.
37433         (FUNC_mpfr_f_f): Update call to FUNC.
37434         (FUNC_mpfr_f_f): Likewise.
37435         (FUNC_mpfr_ff_f): Likewise.
37436         (FUNC_mpfr_if_f): Likewise.
37437         (FUNC_mpc_c_f): Likewise.
37438         (FUNC_mpc_c_c): Likewise.
37439         (test_functions): Add fma.  Update calls to FUNC.
37440         (handle_input_arg): Add argument exact_args.
37441         (add_test): Update call to handle_input_arg.
37442         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
37443         (output_for_one_input_case): Update call to calc_generic_results.
37444         Recalculate exact zero results in each rounding mode.
37446         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
37447         non-negative before setting low bit.
37448         * math/auto-libm-test-in: Mark one asin test possibly having
37449         spurious underflow.
37450         * math/auto-libm-test-out: Regenerated.
37451         * sysdeps/i386/fpu/libm-test-ulps: Update.
37452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37454 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
37456         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
37457         * sysdeps/unix/sysv/linux/microblaze: Move directory from
37458         ports/sysdeps/unix/sysv/linux/microblaze.
37459         * README: Add missing listing for microblaze*-*-linux-gnu.
37461 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
37463         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
37464         duplicate code
37466 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
37468         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
37469         * sysdeps/unix/sysv/linux/ia64: Move directory from
37470         ports/sysdeps/unix/sysv/linux/ia64.
37471         * README: Update listing for ia64-*-linux-gnu.
37473 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
37474             Joseph Myers  <joseph@codesourcery.com>
37476         * Makeconfig (test-name): New variable.
37477         (evaluate-test): Likewise.
37478         * Makerules (do-test-clean): Remove .test-result files.
37479         (common-mostlyclean): Likewise.
37480         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
37481         * scripts/evaluate-test.sh: New file.
37483 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
37485         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
37486         separate $(objpfx)tst-fopenloc-cmp.out and
37487         $(objpfx)tst-fopenloc-mem.out targets.
37488         (tests): Update dependencies.
37489         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
37490         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
37491         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
37492         (tst-rxspencer-no-utf8-ARGS): New variable.
37493         (tst-rxspencer-no-utf8-ENV): Likewise.
37494         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
37495         instead of $(objpfx)tst-rxspencer-mem.
37496         ($(objpfx)tst-rxspencer-mem): Change target to
37497         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
37498         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
37499         * posix/tst-rxspencer-no-utf8.c: New file.
37501         * elf/Makefile ($(objpfx)order.out): Remove rule.
37502         [$(run-built-tests) = yes] (tests): Depend on
37503         $(objpfx)order-cmp.out.
37504         ($(objpfx)order-cmp.out): New rule.
37505         [$(run-built-tests) = yes] (tests): Depend on
37506         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
37507         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
37508         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
37509         $(objpfx)tst-array5-static-cmp.out.
37510         ($(objpfx)tst-array1.out): Remove rule.
37511         ($(objpfx)tst-array1-cmp.out): New rule.
37512         ($(objpfx)tst-array1-static.out): Remove rule.
37513         ($(objpfx)tst-array1-static-cmp.out): New rule.
37514         ($(objpfx)tst-array2.out): Remove rule.
37515         ($(objpfx)tst-array2-cmp.out): New rule.
37516         ($(objpfx)tst-array3.out): Remove rule.
37517         ($(objpfx)tst-array3-cmp.out): New rule.
37518         ($(objpfx)tst-array4.out): Remove rule.
37519         ($(objpfx)tst-array4-cmp.out): New rule.
37520         ($(objpfx)tst-array5.out): Remove rule.
37521         ($(objpfx)tst-array5-cmp.out): New rule.
37522         ($(objpfx)tst-array5-static.out): Remove rule.
37523         ($(objpfx)tst-array5-static-cmp.out): New rule.
37524         [$(run-built-tests) = yes] (tests): Depend on
37525         $(objpfx)order2-cmp.out.
37526         ($(objpfx)order2.out): Remove rule.
37527         ($(objpfx)order2-cmp.out): New rule.
37528         ($(objpfx)tst-initorder.out): Remove rule.
37529         [$(run-built-tests) = yes] (tests): Depend on
37530         $(objpfx)tst-initorder-cmp.out.
37531         ($(objpfx)tst-initorder-cmp.out): New rule.
37532         ($(objpfx)tst-initorder2.out): Remove rule.
37533         [$(run-built-tests) = yes] (tests): Depend on
37534         $(objpfx)tst-initorder2-cmp.out.
37535         ($(objpfx)tst-initorder2-cmp.out): New rule.
37536         [$(run-built-tests) = yes] (tests): Depend on
37537         $(objpfx)tst-unused-dep-cmp.out.
37538         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
37539         ($(objpfx)tst-unused-dep-cmp.out): New rule.
37540         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
37541         on $(objpfx)tst-setvbuf1-cmp.out.
37542         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
37543         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
37544         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
37545         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
37546         ($(objpfx)tst-svc.out): Remove rule.
37547         ($(objpfx)tst-svc-cmp.out): New rule.
37549 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
37551         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
37552         * ctype/ctype.h [__USE_MISC]: Likewise.
37553         * dirent/dirent.h [__USE_MISC]: Likewise.
37554         * grp/grp.h [__USE_MISC]: Likewise.
37555         * io/fcntl.h [__USE_MISC]: Likewise.
37556         * io/sys/stat.h [__USE_MISC]: Likewise.
37557         * libio/stdio.h [__USE_MISC]: Likewise.
37558         * posix/unistd.h [__USE_MISC]: Likewise.
37559         * pwd/pwd.h [__USE_MISC]: Likewise.
37560         * stdlib.h [__USE_MISC]: Likewise.
37561         * string/bits/string2.h [__USE_MISC]: Likewise.
37562         * string/string.h [__USE_MISC]: Likewise.
37563         * time/time.h [__USE_MISC]: Likewise.
37565 2014-02-13  Andreas Schwab  <schwab@suse.de>
37567         [BZ #16574]
37568         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
37569         second answer buffer if it was separately allocated.
37571 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
37573         * sysdeps/mips/math-tests.h: Include <features.h>.
37574         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37575         (ROUNDING_TESTS_long_double): Do not define.
37576         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37577         (EXCEPTION_TESTS_long_double): Likewise.
37578         * sysdeps/mips/mips64/libm-test-ulps: Update.
37580         * include/features.h (__USE_BSD): Remove macro definitions.
37581         (__USE_SVID): Likewise.
37582         (_BSD_SOURCE): Likewise.
37583         (_SVID_SOURCE): Likewise.
37584         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
37585         from definition of _DEFAULT_SOURCE.
37586         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
37587         [_DEFAULT_SOURCE].
37588         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
37589         * bits/mman.h [__USE_BSD]: Likewise.
37590         * bits/termios.h [__USE_BSD]: Likewise.
37591         * bits/waitstatus.h [__USE_BSD]: Likewise.
37592         * ctype/ctype.h [__USE_SVID]: Likewise.
37593         * dirent/dirent.h [__USE_BSD]: Likewise.
37594         * grp/grp.h [__USE_SVID]: Likewise.
37595         [__USE_BSD]: Likewise.
37596         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
37597         * io/fcntl.h [__USE_BSD]: Likewise.
37598         * io/ftw.h [__USE_BSD]: Likewise.
37599         * io/sys/stat.h [__USE_BSD]: Likewise.
37600         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
37601         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
37602         * libio/stdio.h [__USE_SVID]: Likewise.
37603         [__USE_BSD]: Likewise.
37604         * math/math.h [__USE_SVID]: Likewise.
37605         [__USE_BSD]: Likewise.
37606         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
37607         * misc/bits/syslog.h [__USE_BSD]: Likewise.
37608         * misc/search.h [__USE_SVID]: Likewise.
37609         * misc/sys/mman.h [__USE_BSD]: Likewise.
37610         * misc/sys/syslog.h [__USE_BSD]: Likewise.
37611         * misc/sys/uio.h [__USE_BSD]: Likewise.
37612         * posix/bits/unistd.h [__USE_BSD]: Likewise.
37613         * posix/glob.h [__USE_BSD]: Likewise.
37614         * posix/regex.h [__USE_BSD]: Likewise.
37615         * posix/sys/types.h [__USE_BSD]: Likewise.
37616         [__USE_SVID]: Likewise.
37617         * posix/sys/utsname.h [__USE_SVID]: Likewise.
37618         * posix/sys/wait.h [__USE_BSD]: Likewise.
37619         [__USE_SVID]: Likewise.
37620         * posix/unistd.h [__USE_BSD]: Likewise.
37621         [__USE_SVID]: Likewise.
37622         * pwd/pwd.h [__USE_SVID]: Likewise.
37623         * resolv/netdb.h [__USE_BSD]: Likewise.
37624         * setjmp/setjmp.h [__USE_BSD]: Likewise.
37625         * signal/signal.h [__USE_BSD]: Likewise.
37626         [__USE_SVID]: Likewise.
37627         * socket/sys/socket.h [__USE_BSD]: Likewise.
37628         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
37629         * stdlib/stdlib.h [__USE_BSD]: Likewise.
37630         [__USE_SVID]: Likewise.
37631         * string/bits/string2.h [__USE_BSD]: Likewise.
37632         [__USE_SVID]: Likewise.
37633         * string/bits/string3.h [__USE_BSD]: Likewise.
37634         * string/endian.h [__USE_BSD]: Likewise.
37635         * string/string.h [__USE_SVID]: Likewise.
37636         [__USE_BSD]: Likewise.
37637         * string/strings.h [__USE_BSD]: Likewise.
37638         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
37639         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
37640         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
37641         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
37642         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
37643         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
37644         Likewise.
37645         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
37646         Likewise.
37647         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
37648         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
37649         Likewise.
37650         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
37651         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
37652         Likewise.
37653         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
37654         Likewise.
37655         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
37656         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
37657         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
37658         Likewise.
37659         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
37660         Likewise.
37661         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
37662         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
37663         * termios/termios.h [__USE_BSD]: Likewise.
37664         * time/sys/time.h [__USE_BSD]: Likewise.
37665         * time/time.h [__USE_BSD]: Likewise.
37666         [__USE_SVID]: Likewise.
37668         * Makefile (subdir_targets): Remove subdir_lint.out.
37670         * stdio-common/Makefile (do-tst-unbputc): Remove target.
37671         (do-tst-printf): Likewise.
37672         (tests): Depend directly on $(objpfx)tst-unbputc.out and
37673         $(objpfx)tst-printf.out.
37675         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
37677         * Makerules (check-abi-%): Change target to
37678         $(objpfx)check-abi-%.out.
37679         (check-abi target): Update dependencies.
37680         (check-abi-pattern variable): Redirect output of diff to $@.
37681         (check-abi variable): Likewise.
37682         * elf/Makefile (check-abi): Update dependencies.
37684         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
37685         unused.
37686         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
37687         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
37688         subnormal range.
37689         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
37690         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
37691         value has largest subnormal exponent.
37692         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
37693         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
37694         * sysdeps/aarch64/soft-fp/sfp-machine.h
37695         (_FP_TININESS_AFTER_ROUNDING): New macro.
37696         * sysdeps/alpha/soft-fp/sfp-machine.h
37697         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37698         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37699         Likewise.
37700         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
37701         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37702         * sysdeps/mips/soft-fp/sfp-machine.h
37703         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37704         * sysdeps/powerpc/soft-fp/sfp-machine.h
37705         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37706         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37707         Likewise.
37708         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37709         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37710         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37711         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37712         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37713         Likewise.
37715 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
37717         [BZ #16545]
37718         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
37719         model 1.
37721 2014-02-12  Richard Henderson  <rth@redhat.com>
37723         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
37724         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
37725         * sysdeps/unix/sysv/linux/alpha: Move directory from
37726         ports/sysdeps/unix/sysv/linux/alpha.
37727         * README: Update listing for alpha-*-linux-gnu.
37729 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
37731         * include/features.h: Update comment documenting feature test
37732         macros.
37733         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
37734         _DEFAULT_SOURCE.
37735         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
37736         (_SVID_SOURCE): Likewise.
37737         (_DEFAULT_SOURCE): Update description of default features.
37738         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
37739         with _GNU_SOURCE.
37740         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
37741         (S_ISVTX): Likewise.
37742         * manual/math.texi (Mathematical Constants): Likewise.
37743         * manual/signal.texi (Interrupted Primitives): Likewise.
37744         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
37745         * math/test-matherr.c (_SVID_SOURCE): Do not define.
37746         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
37747         Don't refer to _SVID_SOURCE in warning text.
37749         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37751         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
37752         already defined.
37753         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
37754         * sysdeps/mips/dl-lookup.c: Remove.
37755         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
37757 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37759         [BZ #16447]
37760         * math/auto-libm-test-in: Add testcase for expl.
37761         * math/auto-libm-test-out: Regenerate.
37762         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
37763         calculation of unsafe.
37764         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
37766 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37768         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
37769         * sysdeps/unix/sysv/linux/aarch64: Move directory from
37770         ports/sysdeps/unix/sysv/linux/aarch64.
37771         * README: Update listing for aarch64*-*-linux-gnu.
37773 2014-02-11  Will Newton  <will.newton@linaro.org>
37775         * manual/probes.texi (Mathematical Function Probes): Use
37776         "triggered" instead of "hit".
37778         * manual/probes.texi (Internal Probes): Add documentation
37779         of setjmp, longjmp and longjmp_target probes.
37781         * include/stap-probe.h: Add comment about probe argument
37782         format.
37784         * malloc/mtrace.c (attribute_hidden): Remove unused macro
37785         definition.  (tr_where, tr_freehook, tr_mallochook,
37786         tr_reallochook, tr_memalignhook): Use ANSI protoype.
37788 2014-02-11  David S. Miller  <davem@davemloft.net>
37790         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
37791         processing int_tests.
37793 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
37795         * sysdeps/mips: Move directory from ports/sysdeps/mips.
37796         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
37797         * sysdeps/unix/sysv/linux/mips: Move directory from
37798         ports/sysdeps/unix/sysv/linux/mips.
37799         * README: Update listing for mips-*-linux-gnu and
37800         mips64-*-linux-gnu.
37802 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
37804         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
37805         * sysdeps/unix/sysv/linux/m68k: Move directory from
37806         ports/sysdeps/unix/sysv/linux/m68k.
37807         * README: Update listing for m68k-*-linux-gnu.
37809 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
37811         * sysdeps/tile: Move directory from ports/sysdeps/tile.
37812         * sysdeps/unix/sysv/linux/generic: Move directory from
37813         ports/sysdeps/unix/sysv/linux/generic.
37814         * sysdeps/unix/sysv/linux/tile: Move directory from
37815         ports/sysdeps/unix/sysv/linux/tile.
37816         * README: Update listing for tile*-*-linux-gnu.
37818 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
37820         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
37821         __builtin_expect.
37822         * benchtests/bench-memmem.c (simple_memmem): Likewise.
37823         * catgets/open_catalog.c (__open_catalog): Likewise.
37824         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
37825         * debug/confstr_chk.c: Likewise.
37826         * debug/fread_chk.c (__fread_chk): Likewise.
37827         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
37828         * debug/getgroups_chk.c: Likewise.
37829         * debug/mbsnrtowcs_chk.c: Likewise.
37830         * debug/mbsrtowcs_chk.c: Likewise.
37831         * debug/mbstowcs_chk.c: Likewise.
37832         * debug/memcpy_chk.c: Likewise.
37833         * debug/memmove_chk.c: Likewise.
37834         * debug/mempcpy_chk.c: Likewise.
37835         * debug/memset_chk.c: Likewise.
37836         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
37837         * debug/strcat_chk.c (__strcat_chk): Likewise.
37838         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
37839         * debug/strncat_chk.c (__strncat_chk): Likewise.
37840         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
37841         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
37842         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
37843         * debug/wcpncpy_chk.c: Likewise.
37844         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
37845         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
37846         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
37847         * debug/wcsncpy_chk.c: Likewise.
37848         * debug/wcsnrtombs_chk.c: Likewise.
37849         * debug/wcsrtombs_chk.c: Likewise.
37850         * debug/wcstombs_chk.c: Likewise.
37851         * debug/wmemcpy_chk.c: Likewise.
37852         * debug/wmemmove_chk.c: Likewise.
37853         * debug/wmempcpy_chk.c: Likewise.
37854         * debug/wmemset_chk.c: Likewise.
37855         * dirent/scandirat.c (SCANDIRAT): Likewise.
37856         * dlfcn/dladdr1.c (dladdr1): Likewise.
37857         * dlfcn/dladdr.c (dladdr): Likewise.
37858         * dlfcn/dlclose.c (dlclose_doit): Likewise.
37859         * dlfcn/dlerror.c (__dlerror): Likewise.
37860         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
37861         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
37862         * dlfcn/dlopen.c (dlopen_doit): Likewise.
37863         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
37864         * dlfcn/dlsym.c (dlsym_doit): Likewise.
37865         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
37866         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
37867         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
37868         Likewise.
37869         * elf/dl-conflict.c: Likewise.
37870         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
37871         * elf/dl-dst.h: Likewise.
37872         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
37873         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
37874         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
37875         * elf/dl-init.c (call_init, _dl_init): Likewise.
37876         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
37877         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
37878         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
37879         Likewise.
37880         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
37881         Likewise.
37882         * elf/dl-minimal.c (__libc_memalign): Likewise.
37883         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
37884         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
37885         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
37886         * elf/dl-sym.c (do_sym): Likewise.
37887         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
37888         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
37889         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
37890         * elf/dl-writev.h (_dl_writev): Likewise.
37891         * elf/ldconfig.c (search_dir): Likewise.
37892         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
37893         (dl_main): Likewise.
37894         * elf/setup-vdso.h (setup_vdso): Likewise.
37895         * grp/compat-initgroups.c (compat_call): Likewise.
37896         * grp/fgetgrent.c (fgetgrent): Likewise.
37897         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
37898         * grp/putgrent.c (putgrent): Likewise.
37899         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37900         Likewise.
37901         * hurd/hurdinit.c: Likewise.
37902         * iconvdata/8bit-gap.c (struct): Likewise.
37903         * iconvdata/ansi_x3.110.c : Likewise.
37904         * iconvdata/big5.c : Likewise.
37905         * iconvdata/big5hkscs.c : Likewise.
37906         * iconvdata/cp1255.c: Likewise.
37907         * iconvdata/cp1258.c : Likewise.
37908         * iconvdata/cp932.c : Likewise.
37909         * iconvdata/euc-cn.c: Likewise.
37910         * iconvdata/euc-jisx0213.c : Likewise.
37911         * iconvdata/euc-jp.c: Likewise.
37912         * iconvdata/euc-jp-ms.c : Likewise.
37913         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
37914         * iconvdata/gb18030.c : Likewise.
37915         * iconvdata/gbbig5.c (const): Likewise.
37916         * iconvdata/gbgbk.c: Likewise.
37917         * iconvdata/gbk.c : Likewise.
37918         * iconvdata/ibm1364.c : Likewise.
37919         * iconvdata/ibm930.c : Likewise.
37920         * iconvdata/ibm932.c: Likewise.
37921         * iconvdata/ibm933.c : Likewise.
37922         * iconvdata/ibm935.c : Likewise.
37923         * iconvdata/ibm937.c : Likewise.
37924         * iconvdata/ibm939.c : Likewise.
37925         * iconvdata/ibm943.c: Likewise.
37926         * iconvdata/iso_11548-1.c: Likewise.
37927         * iconvdata/iso-2022-cn.c : Likewise.
37928         * iconvdata/iso-2022-cn-ext.c : Likewise.
37929         * iconvdata/iso-2022-jp-3.c: Likewise.
37930         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
37931         * iconvdata/iso-2022-kr.c : Likewise.
37932         * iconvdata/iso646.c (gconv_end): Likewise.
37933         * iconvdata/iso_6937-2.c : Likewise.
37934         * iconvdata/iso_6937.c : Likewise.
37935         * iconvdata/iso8859-1.c: Likewise.
37936         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
37937         * iconvdata/shift_jisx0213.c : Likewise.
37938         * iconvdata/sjis.c : Likewise.
37939         * iconvdata/t.61.c : Likewise.
37940         * iconvdata/tcvn5712-1.c : Likewise.
37941         * iconvdata/tscii.c: Likewise.
37942         * iconvdata/uhc.c : Likewise.
37943         * iconvdata/unicode.c (gconv_end): Likewise.
37944         * iconvdata/utf-16.c (gconv_end): Likewise.
37945         * iconvdata/utf-32.c (gconv_end): Likewise.
37946         * iconvdata/utf-7.c (base64): Likewise.
37947         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
37948         * iconv/gconv_close.c (__gconv_close): Likewise.
37949         * iconv/gconv_open.c (__gconv_open): Likewise.
37950         * iconv/gconv_simple.c (internal_ucs4_loop_single)
37951         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
37952         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
37953         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
37954         (ucs4le_internal_loop_single): Likewise.
37955         * iconv/iconv.c (iconv): Likewise.
37956         * iconv/iconv_close.c: Likewise.
37957         * iconv/loop.c (SINGLE): Likewise.
37958         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
37959         * include/atomic.h: Likewise.
37960         * inet/inet6_option.c (option_alloc): Likewise.
37961         * intl/bindtextdom.c (set_binding_values): Likewise.
37962         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
37963         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
37964         * intl/localealias.c (read_alias_file): Likewise.
37965         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
37966         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
37967         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
37968         * libio/fmemopen.c (fmemopen): Likewise.
37969         * libio/iofgets.c (_IO_fgets): Likewise.
37970         * libio/iofgets_u.c (fgets_unlocked): Likewise.
37971         * libio/iofgetws.c (fgetws): Likewise.
37972         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
37973         * libio/iogetdelim.c (_IO_getdelim): Likewise.
37974         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
37975         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
37976         * locale/findlocale.c (_nl_find_locale): Likewise.
37977         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37978         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
37979         Likewise.
37980         * locale/setlocale.c (setlocale): Likewise.
37981         * login/programs/pt_chown.c (main): Likewise.
37982         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
37983         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
37984         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
37985         (mmap, mmap64, mremap, munmap): Likewise.
37986         * math/e_exp2l.c: Likewise.
37987         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
37988         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
37989         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
37990         * math/s_catan.c (__catan): Likewise.
37991         * math/s_catanf.c (__catanf): Likewise.
37992         * math/s_catanh.c (__catanh): Likewise.
37993         * math/s_catanhf.c (__catanhf): Likewise.
37994         * math/s_catanhl.c (__catanhl): Likewise.
37995         * math/s_catanl.c (__catanl): Likewise.
37996         * math/s_ccosh.c (__ccosh): Likewise.
37997         * math/s_ccoshf.c (__ccoshf): Likewise.
37998         * math/s_ccoshl.c (__ccoshl): Likewise.
37999         * math/s_cexp.c (__cexp): Likewise.
38000         * math/s_cexpf.c (__cexpf): Likewise.
38001         * math/s_cexpl.c (__cexpl): Likewise.
38002         * math/s_clog10.c (__clog10): Likewise.
38003         * math/s_clog10f.c (__clog10f): Likewise.
38004         * math/s_clog10l.c (__clog10l): Likewise.
38005         * math/s_clog.c (__clog): Likewise.
38006         * math/s_clogf.c (__clogf): Likewise.
38007         * math/s_clogl.c (__clogl): Likewise.
38008         * math/s_csin.c (__csin): Likewise.
38009         * math/s_csinf.c (__csinf): Likewise.
38010         * math/s_csinh.c (__csinh): Likewise.
38011         * math/s_csinhf.c (__csinhf): Likewise.
38012         * math/s_csinhl.c (__csinhl): Likewise.
38013         * math/s_csinl.c (__csinl): Likewise.
38014         * math/s_csqrt.c (__csqrt): Likewise.
38015         * math/s_csqrtf.c (__csqrtf): Likewise.
38016         * math/s_csqrtl.c (__csqrtl): Likewise.
38017         * math/s_ctan.c (__ctan): Likewise.
38018         * math/s_ctanf.c (__ctanf): Likewise.
38019         * math/s_ctanh.c (__ctanh): Likewise.
38020         * math/s_ctanhf.c (__ctanhf): Likewise.
38021         * math/s_ctanhl.c (__ctanhl): Likewise.
38022         * math/s_ctanl.c (__ctanl): Likewise.
38023         * math/w_pow.c: Likewise.
38024         * math/w_powf.c: Likewise.
38025         * math/w_powl.c: Likewise.
38026         * math/w_scalb.c (sysv_scalb): Likewise.
38027         * math/w_scalbf.c (sysv_scalbf): Likewise.
38028         * math/w_scalbl.c (sysv_scalbl): Likewise.
38029         * misc/error.c (error_tail): Likewise.
38030         * misc/pselect.c (__pselect): Likewise.
38031         * nis/nis_callback.c (__nis_create_callback): Likewise.
38032         * nis/nis_call.c (__nisfind_server): Likewise.
38033         * nis/nis_creategroup.c (nis_creategroup): Likewise.
38034         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
38035         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
38036         * nis/nis_getservlist.c (nis_getservlist): Likewise.
38037         * nis/nis_lookup.c (nis_lookup): Likewise.
38038         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
38039         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
38040         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
38041         * nis/nis_xdr.c (xdr_endpoint): Likewise.
38042         * nis/nss_compat/compat-grp.c (getgrent_next_file)
38043         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
38044         * nis/nss_compat/compat-initgroups.c (add_group)
38045         (internal_getgrent_r): Likewise.
38046         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
38047         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
38048         * nis/nss_compat/compat-spwd.c (getspent_next_file)
38049         (internal_getspnam_r): Likewise.
38050         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
38051         (_nss_nis_getaliasbyname_r): Likewise.
38052         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
38053         (_nss_nis_getntohost_r): Likewise.
38054         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
38055         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
38056         (_nss_nis_getgrgid_r): Likewise.
38057         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
38058         (internal_nis_gethostent_r, internal_gethostbyname2_r)
38059         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
38060         (_nss_nis_gethostbyname4_r): Likewise.
38061         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
38062         (initgroups_netid): Likewise.
38063         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
38064         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
38065         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
38066         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
38067         (_nss_nis_getprotobynumber_r): Likewise.
38068         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
38069         (_nss_nis_getsecretkey): Likewise.
38070         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
38071         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
38072         (_nss_nis_getpwuid_r): Likewise.
38073         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
38074         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
38075         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
38076         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
38077         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
38078         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
38079         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
38080         Likewise.
38081         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
38082         (_nss_nisplus_getntohost_r): Likewise.
38083         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
38084         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
38085         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
38086         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
38087         Likewise.
38088         * nis/nss_nisplus/nisplus-initgroups.c
38089         (_nss_nisplus_initgroups_dyn): Likewise.
38090         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
38091         (_nss_nisplus_getnetbyaddr_r): Likewise.
38092         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
38093         (_nss_nisplus_getprotobynumber_r): Likewise.
38094         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
38095         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
38096         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
38097         Likewise.
38098         * nis/nss_nisplus/nisplus-service.c
38099         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
38100         (_nss_nisplus_getservbyport_r): Likewise.
38101         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
38102         (_nss_nisplus_getspnam_r): Likewise.
38103         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
38104         Likewise.
38105         * nscd/aicache.c (addhstaiX): Likewise.
38106         * nscd/cache.c (cache_search, prune_cache): Likewise.
38107         * nscd/connections.c (register_traced_file, send_ro_fd)
38108         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
38109         (main_loop_epoll): Likewise.
38110         * nscd/grpcache.c (addgrbyX): Likewise.
38111         * nscd/hstcache.c (addhstbyX): Likewise.
38112         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38113         * nscd/mem.c (gc, mempool_alloc): Likewise.
38114         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
38115         (addinnetgrX): Likewise.
38116         * nscd/nscd-client.h (__nscd_acquire_maplock)
38117         (__nscd_drop_map_ref): Likewise.
38118         * nscd/nscd_getai.c (__nscd_getai): Likewise.
38119         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38120         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
38121         Likewise.
38122         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
38123         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38124         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
38125         (__nscd_get_map_ref): Likewise.
38126         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
38127         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
38128         Likewise.
38129         * nscd/pwdcache.c (addpwbyX): Likewise.
38130         * nscd/selinux.c (preserve_capabilities): Likewise.
38131         * nscd/servicescache.c (addservbyX): Likewise.
38132         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
38133         * posix/fnmatch.c (fnmatch): Likewise.
38134         * posix/getopt.c (_getopt_internal_r): Likewise.
38135         * posix/glob.c (glob, glob_in_dir): Likewise.
38136         * posix/wordexp.c (exec_comm_child): Likewise.
38137         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
38138         (getanswer_r, gaih_getanswer_slice): Likewise.
38139         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
38140         * resolv/res_init.c: Likewise.
38141         * resolv/res_mkquery.c (res_nmkquery): Likewise.
38142         * resolv/res_query.c (__libc_res_nquery): Likewise.
38143         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
38144         Likewise.
38145         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
38146         * stdio-common/perror.c (perror): Likewise.
38147         * stdio-common/printf_fp.c (___printf_fp): Likewise.
38148         * stdio-common/tmpnam.c (tmpnam): Likewise.
38149         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38150         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
38151         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
38152         Likewise.
38153         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
38154         * stdlib/putenv.c (putenv): Likewise.
38155         * stdlib/setenv.c (__add_to_environ): Likewise.
38156         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38157         * stdlib/strtol_l.c (INTERNAL): Likewise.
38158         * string/memmem.c (memmem): Likewise.
38159         * string/strerror.c (strerror): Likewise.
38160         * string/strnlen.c (__strnlen): Likewise.
38161         * string/test-memmem.c (simple_memmem): Likewise.
38162         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
38163         * sunrpc/pm_getport.c (__get_socket): Likewise.
38164         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
38165         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
38166         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
38167         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
38168         Likewise.
38169         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
38170         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38171         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38172         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
38173         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38174         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
38175         Likewise.
38176         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
38177         Likewise.
38178         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38179         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38180         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38181         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38182         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
38183         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
38184         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38185         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
38186         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38187         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
38188         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38189         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
38190         Likewise.
38191         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
38192         Likewise.
38193         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
38194         Likewise.
38195         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
38196         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38197         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
38198         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
38199         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
38200         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
38201         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38202         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
38203         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
38204         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
38205         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
38206         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38207         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38208         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
38209         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38210         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38211         Likewise.
38212         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
38213         Likewise.
38214         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
38215         Likewise.
38216         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
38217         Likewise.
38218         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38219         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38220         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
38221         Likewise.
38222         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
38223         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
38224         * sysdeps/posix/opendir.c (__opendirat): Likewise.
38225         * sysdeps/posix/sleep.c: Likewise.
38226         * sysdeps/posix/tempname.c: Likewise.
38227         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
38228         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38229         Likewise.
38230         * sysdeps/powerpc/powerpc32/dl-machine.h
38231         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
38232         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38233         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38234         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
38235         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
38236         Likewise.
38237         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
38238         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
38239         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38240         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
38241         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38242         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
38243         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
38244         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
38245         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38246         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
38247         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
38248         (elf_machine_lazy_rel): Likewise.
38249         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
38250         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
38251         (elf_machine_lazy_rel): Likewise.
38252         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
38253         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
38254         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
38255         * sysdeps/unix/grantpt.c (grantpt): Likewise.
38256         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
38257         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
38258         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
38259         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38260         Likewise.
38261         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
38262         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
38263         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
38264         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
38265         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38266         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38267         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
38268         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
38269         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
38270         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38271         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38272         Likewise.
38273         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
38274         (__posix_fallocate64_l64): Likewise.
38275         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
38276         (posix_fallocate): Likewise.
38277         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
38278         Likewise.
38279         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38280         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
38281         (getifaddrs_internal): Likewise.
38282         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
38283         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
38284         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
38285         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
38286         * sysdeps/unix/sysv/linux/posix_fallocate64.c
38287         (__posix_fallocate64_l64): Likewise.
38288         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38289         Likewise.
38290         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
38291         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
38292         (__get_clockfreq): Likewise.
38293         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
38294         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
38295         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
38296         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38297         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38298         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
38299         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
38300         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
38301         Likewise.
38302         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
38303         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
38304         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
38305         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
38306         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38307         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
38308         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
38309         Likewise.
38310         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38311         (posix_fallocate): Likewise.
38312         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38313         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
38314         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
38315         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
38316         (elf_machine_rela, elf_machine_rela_relative)
38317         (elf_machine_lazy_rel): Likewise.
38318         * time/asctime.c (asctime_internal): Likewise.
38319         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
38320         * time/tzset.c (__tzset_parse_tz): Likewise.
38321         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38322         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38323         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
38324         * wcsmbs/wcsmbsload.h: Likewise.
38326         [BZ #15894]
38327         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
38329         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
38330         (arena_get2): Remove THREAD_STATS conditionals.
38331         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
38332         (__malloc_stats, int): Likewise.
38334 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
38336         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
38337         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
38339         * manual/setjmp.texi: Fix typos/grammar errors.
38341         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
38342         Only return early when n is <= 0.  Delete unused return statement.
38344         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
38345         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
38346         * debug/tst-longjmp_chk3.c: New file.
38348         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
38349         (test_main): Replace code with set_fortify_handler call.
38350         * debug/test-strcpy_chk.c: Likewise.
38351         * debug/tst-chk1.c: Likewise.
38352         * debug/tst-longjmp_chk.c: Likewise.
38353         * test-skeleton.c: Include fcntl.h & paths.h
38354         (set_fortify_handler): Define.
38356         * debug/tst-longjmp_chk.c: Add header comment and include
38357         ../test-skeleton.c.
38358         (do_test): Mark static.
38359         (TEST_FUNCTION): Define.
38361         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
38362         (IP_PMTUDISC_INTERFACE): Likewise.
38363         (IP_MULTICAST_IF): Likewise.
38364         (IP_MULTICAST_TTL): Likewise.
38365         (IP_MULTICAST_LOOP): Likewise.
38366         (IP_ADD_MEMBERSHIP): Likewise.
38367         (IP_DROP_MEMBERSHIP): Likewise.
38368         (IP_UNBLOCK_SOURCE): Likewise.
38369         (IP_BLOCK_SOURCE): Likewise.
38370         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
38371         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
38372         (IP_MSFILTER): Likewise.
38373         (MCAST_JOIN_GROUP): Likewise.
38374         (MCAST_BLOCK_SOURCE): Likewise.
38375         (MCAST_UNBLOCK_SOURCE): Likewise.
38376         (MCAST_LEAVE_GROUP): Likewise.
38377         (MCAST_JOIN_SOURCE_GROUP): Likewise.
38378         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
38379         (MCAST_MSFILTER): Likewise.
38380         (IP_MULTICAST_ALL): Likewise.
38381         (IP_UNICAST_IF): Likewise.
38383         * timezone/Makefile: Delete $(have-ksh) check.
38384         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
38385         * timezone/tzselect.ksh: Add +x mode bits.
38387         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
38388         (ANON_INODE_FS_MAGIC): Likewise.
38389         (BDEVFS_MAGIC): Likewise.
38390         (BINFMTFS_MAGIC): Likewise.
38391         (BTRFS_TEST_MAGIC): Likewise.
38392         (CRAMFS_MAGIC_WEND): Likewise.
38393         (DEBUGFS_MAGIC): Likewise.
38394         (ECRYPTFS_SUPER_MAGIC): Likewise.
38395         (EXT3_SUPER_MAGIC): Likewise.
38396         (EXT4_SUPER_MAGIC): Likewise.
38397         (FUTEXFS_SUPER_MAGIC): Likewise.
38398         (HOSTFS_SUPER_MAGIC): Likewise.
38399         (HUGETLBFS_MAGIC): Likewise.
38400         (MINIX3_SUPER_MAGIC): Likewise.
38401         (MTD_INODE_FS_MAGIC): Likewise.
38402         (NILFS_SUPER_MAGIC): Likewise.
38403         (OPENPROM_SUPER_MAGIC): Likewise.
38404         (PIPEFS_MAGIC): Likewise.
38405         (PSTOREFS_MAGIC): Likewise.
38406         (QNX6_SUPER_MAGIC): Likewise.
38407         (RAMFS_MAGIC): Likewise.
38408         (REISERFS_SUPER_MAGIC_STRING): Likewise.
38409         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
38410         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
38411         (SECURITYFS_MAGIC): Likewise.
38412         (SELINUX_MAGIC): Likewise.
38413         (SMACK_MAGIC): Likewise.
38414         (SOCKFS_MAGIC): Likewise.
38415         (SQUASHFS_MAGIC): Likewise.
38416         (STACK_END_MAGIC): Likewise.
38417         (TMPFS_MAGIC): Likewise.
38418         (USBDEVICE_SUPER_MAGIC): Likewise.
38419         (V9FS_MAGIC): Likewise.
38420         (XENFS_SUPER_MAGIC): Likewise.
38421         (CRAMFS_MAGIC): Fix typo in comment.
38422         (EXT2_SUPER_MAGIC): Update comment.
38423         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
38425 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
38427         * sysdeps/arm: Move directory from ports/sysdeps/arm.
38428         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
38429         * sysdeps/unix/sysv/linux/arm: Move directory from
38430         ports/sysdeps/unix/sysv/linux/arm.
38431         * README: Update listing for arm-*-linux-gnueabi.
38433         * README: Remove mention of am33.
38435 2014-02-07  Roland McGrath  <roland@hack.frob.com>
38437         * bits/sigset.h (__sigemptyset): Use a statement expression rather
38438         than the comma operator, to avoid "rhs of comma has no effect"
38439         compiler warnings.
38440         (__sigfillset, __sigandset, __sigorset): Likewise.
38441         * include/signal.h (__sigemptyset): Likewise.
38442         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
38444 2014-02-07  Allan McRae  <allan@archlinux.org>
38446         * version.h (RELEASE): Set to "development".
38447         (VERSION): Set to "2.19.90"
38448         * NEWS: Add 2.20 section.
38450 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
38452         [BZ #16529]
38453         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
38455 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38457         * manual/contrib.texi: Update entry for Carlos O'Donell,
38458         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
38460 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
38462         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
38464         * sysdeps/unix/sysv/linux/kernel-features.h
38465         [__LINUX_KERNEL_VERSION >= 0x020621]
38466         (__ASSUME_PROC_PID_TASK_COMM): Define.
38468 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38470         [BZ #16398]
38471         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
38472         conversion when destination buffer does not have enough space.
38473         * libio/tst-ftell-partial-wide.c: New test case.
38474         * libio/Makefile (tests): Add tst-ftell-partial-wide.
38476         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
38477         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
38478         Leonard and Allan McRae.
38480 2014-02-04  David S. Miller  <davem@davemloft.net>
38482         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
38483         32-bit.
38485 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38488         New file
38489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38490         New file
38491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38492         New file.
38493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38494         New file.
38495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38496         New file.
38497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38498         New file.
38499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38500         New file.
38501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38502         New file.
38503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38504         New file.
38505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38506         New file.
38507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38508         New file.
38509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38510         New file.
38511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38512         New file.
38514 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38516         * nptl/shlib-versions: Change powerpc*le start to 2.17.
38517         * shlib-versions: Likewise.
38519 2014-02-04  Roland McGrath  <roland@hack.frob.com>
38520             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38522         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
38523         (abilist-pattern): New variable, set to %-le.abilist.
38525         * Makerules (abilist-pattern): New variable.
38526         (vpath): Use $(abilist-pattern) in place of %.abilist.
38527         (check-abi-% pattern rule): Likewise.
38528         (check-abi, update-abi): Likewise.
38530 2014-02-04  Eric Wong  <normalperson@yhbt.net>
38532         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38534 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
38536         * manual/startup.texi: Add next, previous, and top entries for
38537         the `Program Arguments' and `Environment Variables' nodes.
38539 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
38541         * manual/macros.texi: Add comments before MTASC-safety macros.
38543         * manual/users.texi: Document MTASC-safety properties.
38545         * manual/threads.texi (pthread_key_create, pthread_key_delete)
38546         (pthread_getspecific, pthread_setspecific): Format with
38547         @deftypefun, and add @safety note.
38548         * manual/signal.texi: Move comments that analyze the above
38549         functions to their home place.
38551 2014-02-03  Allan McRae  <allan@archlinux.org>
38553         * po/sl.po: Update Slovenian translation from translation project.
38555 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
38557         * manual/time.texi (timegm): Add missing blank after @c.
38558         Reported by Joseph Myers <joseph@codesourcery.com>.
38560 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
38562         * manual/check-safety.sh: New.
38563         * manual/Makefile ($(objpfx)stamp-summary): Run it.
38565         * manual/terminal.texi: Document MTASC-safety properties.
38567         * manual/filesys.texi: Document MTASC-safety properties.
38569         * manual/errno.texi: Document MTASC-safety properties.
38571         * manual/intro.texi: Document safety identifiers and
38572         conditionals.
38574         * manual/string.texi (wcstok): Fix prototype.
38575         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
38577         * manual/time.texi: Document MTASC-safety properties.
38579         * manual/string.texi: Document MTASC-safety properties.
38581         * manual/threads.texi: Document MTASC-safety properties.
38583         * manual/stdio.texi: Document MTASC-safety properties.
38585         * manual/syslog.texi: Document MTASC-safety properties.
38587         * manual/sysinfo.texi: Document MTASC-safety properties.
38589         * manual/startup.texi: Document MTASC-safety properties.
38591         * manual/socket.texi: Document MTASC-safety properties.
38593         * manual/signal.texi: Document MTASC-safety properties.
38595 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
38597         * manual/setjmp.texi: Document MTASC-safety properties.
38599         * manual/search.texi: Document MTASC-safety properties.
38601         * manual/resource.texi: Document MTASC-safety properties.
38603         * manual/process.texi: Document MTASC-safety properties.
38605         * manual/platform.texi: Document MTASC-safety properties.
38607         * manual/pipe.texi: Document MTASC-safety properties.
38609         * manual/pattern.texi: Document MTASC-safety properties.
38611         * manual/message.texi: Document MTASC-safety properties.
38613         [BZ #12751]
38614         * manual/memory.texi: Document MTASC-safety properties.
38616         * manual/math.texi: Document MTASC-safety properties.
38618         * manual/locale.texi: Document MTASC-safety properties.
38620         * manual/llio.texi: Document MTASC-safety properties.
38622         * manual/libdl.texi: New.
38624         * manual/lang.texi: Document MTASC-safety properties.
38626         * manual/job.texi: Document MTASC-safety properties.
38628         * manual/getopt.texi: Document MTASC-safety properties.
38630         * manual/ctype.texi: Document MTASC-safety properties.
38632 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
38634         [BZ #16046]
38635         * csu/libc-tls.c (static_map): Remove variable.
38636         (__libc_setup_tls): Use main executable's link map for TLS data.
38637         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
38638         casing for LM_ID_BASE and GL(dl_nns).
38639         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
38640         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
38641         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
38642         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
38643         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
38644         member.
38645         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
38646         l_phnum members.
38648 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
38650         * manual/debug.texi: Document MTASC-safety properties.
38652 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
38654         [BZ #16510]
38655         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
38656         of __x86_64__ when disabling x87 inline functions.
38658 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
38660         * manual/charset.texi: Document MTASC-safety properties.
38662         * manual/crypt.texi: Document MTASC-safety properties.
38664         * manual/conf.texi: Document MTASC-safety properties.
38666         * manual/arith.texi: Document MTASC-safety properties.
38668         * manual/argp.texi: Document MTASC-safety properties.
38670         * manual/macros.texi: Introduce macros to document multi
38671         thread, asynchronous signal and asynchronous cancellation
38672         safety properties.
38673         * manual/intro.texi: Introduce the properties themselves.
38675 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38677         * sysdeps/sh/sh4/Makefile: New file.
38679 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
38681         * math/gen-libm-test.pl ($srcdir): New variable.
38682         ($auto_input): Use it.
38684 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38686         [BZ #16506]
38687         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
38688         access beyond array bounds when parsing netgroups file.
38690         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
38691         the old buffer before realloc.
38693 2014-01-27  Allan McRae  <allan@archlinux.org>
38695         * po/fr.po: Update French translation from translation project.
38697 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38699         * sysdeps/sh/libm-test-ulps: Regenerate.
38701 2014-01-24  David S. Miller  <davem@davemloft.net>
38703         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
38705 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38707         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
38708         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
38710 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38712         [BZ #16474]
38713         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
38714         string pointers after reallocation.
38716 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38718         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
38719         __SH4A__ instead of __SH_FPU_ANY__.
38721 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38723         * sysdeps/sh/fpu_control.h: New file.
38724         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
38725         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
38726         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
38727         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
38728         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
38729         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
38730         * sysdeps/sh/sys/ucontext.h: Remove.
38731         * sysdeps/sh/sys: Remove directory.
38733 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38735         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
38736         s390/sys/ucontext.h.
38737         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
38738         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
38740 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
38742         [BZ #15605]
38743         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
38745 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38747         [BZ#16431]
38748         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38749         Adjust the vDSO correctly for internal calls.
38750         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
38752 2014-01-20  Allan McRae  <allan@archlinux.org>
38754         * po/ca.po: Update Catalan translation from translation project.
38756 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
38758         * sysdeps/s390/sotruss-lib.c: New file.
38760 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38762         [BZ#16430]
38763         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
38764         (__GI___gettimeofday): Alias for a different internal symbol to avoid
38765         local calls issues by not having a PLT stub required for IFUNC calls.
38766         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
38768 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
38770         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
38771         * math/test-fpucw-static.c: Likewise.
38773 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38775         [BZ #16453]
38776         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
38778 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38780         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
38781         implementation for powerpc.
38783 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
38785         [BZ #14782]
38786         * sysdeps/posix/system.c (__libc_system): Do not enable
38787         asynchronous cancellation.
38789 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38791         [BZ #16427]
38792         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
38793         handling only for numbers special also in the IEEE case.
38795 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38797         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38799 2014-01-11  Allan McRae  <allan@archlinux.org>
38801         * po/bg.po: Update Bulgarian translation from translation project.
38803         * po/de.po: Update German translation from translation project.
38805 2014-01-10  Roland McGrath  <roland@hack.frob.com>
38807         * sysdeps/generic/gcc-compat.h: New file.
38809 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38811         * benchtests/asin-inputs: Correct slow inputs.
38812         * benchtests/acos-inputs: Likewise.
38814 2014-01-10  Allan McRae  <allan@archlinux.org>
38816         * po:sv.po: Update Swedish translation from translation project.
38818         * po/vi.po: Update Vietnamese translation from translation project.
38820         * po/eo.po: Update Esperanto translation from translation project.
38822         * po/cs.po: Update Czech translation from translation project.
38824         * po/nl.po: Update Dutch translation from translation project.
38826         * po/pl.po: Update Polish translation from translation project.
38828         * po/ru.po: Update Russian translation from translation project.
38830         * po/uk.po: Update Ukrainian translation from translation project.
38832 2014-01-08  Brooks Moses  <bmoses@google.com>
38834         * elf/dl-load.c: Fix comment typo.
38836 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
38838         * po/header.pot: Rename to...
38839         * po/pot.header: ... this.
38840         * po/Makefile: Use pot.header.
38842 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
38843             Maxim Kuvyrkov  <maxim@kugelworks.com>
38845         [BZ #16394]
38846         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
38847         SRC and DEST against LEN.
38849 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38851         [BZ #16414]
38852         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
38853         implementation.
38854         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
38856 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38860 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
38862         [BZ #16408]
38863         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
38864         for large positive arguments.
38866 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
38868         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38870         * math/auto-libm-test-in: Mark various tests with
38871         xfail-rounding:ldbl-128ibm.
38872         * math/auto-libm-test-out: Regenerated.
38874         [BZ #16407]
38875         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38876         Increase overflow threshold.
38878 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
38880         [BZ #14286]
38881         * stdio-common/vfprintf.c: Check for integer overflow.
38883 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38885         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
38886         the first argument and return value of __tls_get_addr_internal.
38888 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38890         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
38891         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
38893 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38895         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
38896         * sysdeps/s390/rtld-global-offsets.sym: New file.
38897         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
38898         GLIBC_2.19 symbol.
38899         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
38900         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
38901         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
38902         ... this.
38903         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
38904         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
38905         ... this.
38906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38907         Regenerate.
38908         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38909         Regenerate.
38910         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
38911         halfs of GPRs for high_gprs contexts.
38912         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
38913         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
38914         field.
38915         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
38916         uc_flags field.
38917         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
38918         64 bit versions:
38919         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
38920         for high GPRs (uc_high_gprs) and for future extensions
38921         (__reserved).
38922         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
38923         for future extensions (__reserved).
38924         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
38925         64 bit versions:
38926         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
38927         SC_HIGHGPRS offset definition.
38928         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
38929         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
38931         * Versions.def: Add GLIBC_2.19 for libpthread.
38932         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
38933         siglongjmp for libpthread with GLIBC_2.19 symver.
38934         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
38935         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
38936         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
38937         * sysdeps/s390/__longjmp.c: New file.
38938         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
38939         * sysdeps/s390/longjmp.c: New file.
38940         * sysdeps/s390/setjmp.S: New file.
38941         * sysdeps/s390/sigjmp.S: New file.
38942         * sysdeps/s390/v1-longjmp.c: New file.
38943         * sysdeps/s390/v1-setjmp.h: New file.
38944         * sysdeps/s390/v1-sigjmp.c: New file.
38945         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
38946         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
38947         GLIBC_2.19 version.
38948         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
38949         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
38950         versioned symbols for ____longjmp_chk.
38951         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
38952         Likewise.
38953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38954         Regenerate.
38955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38956         Regenerate.
38957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38958         Regenerate.
38959         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38960         Regenerate.
38961         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
38962         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
38963         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
38964         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
38965         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
38966         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
38967         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
38968         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
38969         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
38970         * sysdeps/s390/rtld-__longjmp.c: New file.
38971         * sysdeps/s390/rtld-setjmp.S: New file.
38973 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
38975         [BZ #16400]
38976         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38977         Return -__logl (x) for small positive arguments without evaluating
38978         a polynomial.
38980 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
38982         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
38983         Rename to ...
38984         (__ptrace_peeksiginfo_args): ... this.
38985         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38986         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38987         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38989 2014-01-06  Allan McRae  <allan@archlinux.org>
38991         * inet/netinet/in.h: Fix typo in comment.
38993 2014-01-05  Andreas Jaeger  <aj@suse.de>
38995         * sysdeps/i386/fpu/libm-test-ulps: Update.
38997 2014-01-05  Allan McRae  <allan@archlinux.org>
38999         * po/libc.pot: Regenerated.
39001         * malloc/memusagestat.c: Fix gettext call formatting.
39003 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
39005         * nscd/nscd.c: Improve usage() output.
39007 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
39009         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
39010         * sysdeps/unix/sysv/linux/configure: Regenerated.
39011         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
39012         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
39014 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39016         [BZ #16390]
39017         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39018         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
39020 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39022         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
39023         extra tokens at end of #undef directive.
39024         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
39025         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
39026         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39028 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39030         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39032         * math/auto-libm-test-in: Mark various tests with
39033         xfail-rounding:ldbl-128ibm.
39034         * math/auto-libm-test-out: Regenerated.
39036 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
39038         [BZ #16386]
39039         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
39040         numbers with subnormal high part when calculating exponent.
39042         [BZ #16385]
39043         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
39044         fabs.
39046         [BZ #16384]
39047         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
39048         M_LN2l.
39049         (__ieee754_acoshl): Use __log1pl not __log1p.
39051 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
39053         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
39054         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
39055         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
39056         (grow_heap, heap_trim, _int_new_arena, get_free_list)
39057         (reused_arena, arena_get2): Convert to GNU style.
39058         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
39059         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
39060         (memalign_check, __malloc_set_state): Likewise.
39061         * malloc/mallocbug.c (main): Likewise.
39062         * malloc/malloc.c (__malloc_assert, malloc_init_state)
39063         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
39064         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
39065         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
39066         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
39067         (__posix_memalign, malloc_info): Likewise.
39068         * malloc/malloc.h: Likewise.
39069         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
39070         (mallochook, memalignhook, reallochook, mabort): Likewise.
39071         * malloc/mcheck.h: Likewise.
39072         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
39073         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
39074         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
39075         * malloc/morecore.c (__default_morecore): Likewise.
39076         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
39077         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
39078         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
39079         (print_and_abort): Likewise.
39080         * malloc/obstack.h: Likewise.
39081         * malloc/set-freeres.c (__libc_freeres): Likewise.
39082         * malloc/tst-mallocstate.c (main): Likewise.
39083         * malloc/tst-mtrace.c (main): Likewise.
39084         * malloc/tst-realloc.c (do_test): Likewise.
39086 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39088         [BZ #16366]
39089         * nscd/netgroupcache.c (do_notfound): New function.
39090         (addgetnetgrentX): Use it.
39092         [BZ # 16365]
39093         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
39094         NSS_STATUS_NOTFOUND.
39096 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
39098         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39101 2014-01-01  Allan McRae  <allan@archlinux.org>
39103         * scripts/update-copyrights: Update configure input file suffix.
39105         * NEWS: Update copyright year.
39106         * catgets/gencat.c: Likewise.
39107         * csu/version.c: Likewise.
39108         * debug/catchsegv.sh: Likewise.
39109         * debug/pcprofiledump.c: Likewise.
39110         * debug/xtrace.sh: Likewise.
39111         * elf/ldconfig.c: Likewise.
39112         * elf/ldd.bash.in: Likewise.
39113         * elf/pldd.c: Likewise.
39114         * elf/sotruss.ksh: Likewise.
39115         * elf/sprof.c: Likewise.
39116         * iconv/iconv_prog.c: Likewise.
39117         * iconv/iconvconfig.c: Likewise.
39118         * locale/programs/locale.c: Likewise.
39119         * locale/programs/localedef.c: Likewise.
39120         * login/programs/pt_chown.c: Likewise.
39121         * malloc/memusage.sh: Likewise.
39122         * malloc/memusagestat.c: Likewise.
39123         * malloc/mtrace.pl: Likewise.
39124         * manual/libc.texinfo: Likewise.
39125         * nscd/nscd.c: Likewise.
39126         * nss/getent.c: Likewise.
39127         * nss/makedb.c: Likewise.
39128         * posix/getconf.c: Likewise.
39129         * scripts/test-installation.pl: Likewise.
39131         * All files with FSF copyright notices: Update copyright dates
39132         using scripts/update-copyrights.
39133         * intl/plural.c: Regenerated.
39134         * locale/programs/charmap-kw.h: Likewise.
39135         * locale/programs/locfile-kw.h: Likewise.
39137 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
39139         * sysdeps/unix/sysv/linux/configure: Regenerated.
39140         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
39141         the linux/fanotify.h header.
39142         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
39143         HAVE_LINUX_FANOTIFY_H is defined.
39145 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39147         * benchtests/cos-inputs: New inputs.
39148         * benchtests/sin-inputs: Likewise.
39150         * benchtests/atan-inputs: New inputs. Fix name of multiple
39151         precision fallback inputs.
39153         * benchtests/atanh-inputs: New inputs.
39154         * benchtests/tanh-inputs: Likewise.
39156         * benchtests/acosh-inputs: New inputs.
39157         * benchtests/asinh-inputs: Likewise.
39159         * benchtests/cosh-inputs: New inputs.
39160         * benchtests/sinh-inputs: Likewise.
39162         * benchtests/acos-inputs: Add more inputs.
39163         * benchtests/asin-inputs: Likewise.
39165 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
39167         [BZ #16375]
39168         * manual/arith.texi: Fix spelling.
39169         * manual/charset.texi: Likewise.
39170         * manual/errno.texi: Likewise.
39171         * manual/filesys.texi: Likewise.
39172         * manual/lang.texi: Likewise.
39173         * manual/llio.texi: Likewise.
39174         * manual/locale.texi: Likewise.
39175         * manual/message.texi: Likewise.
39176         * manual/resource.texi: Likewise.
39177         * manual/search.texi: Likewise.
39178         * manual/setjmp.texi: Likewise.
39179         * manual/stdio.texi: Likewise.
39180         * manual/string.texi: Likewise.
39181         * manual/sysinfo.texi: Likewise.
39182         * manual/time.texi: Likewise.
39184 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
39186         * po/sl.po: New file.
39188 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
39190         * .gitignore: Add core/.gdbinit/.gdb_history.
39192 2013-12-27  Allan McRae  <allan@archlinux.org>
39194         [BZ #16369]
39195         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
39196         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
39198 2013-12-24  Brooks Moses  <bmoses@google.com>
39200         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
39201         all compilers that claim C++98 compliance, not just GCC.
39202         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39203         Likewise.
39205 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39207         * NEWS: Restore accidentally deleted bug-fix entries.
39209 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39210             Ondřej Bílka  <neleai@seznam.cz>
39212         [BZ #15073]
39213         * malloc/malloc.c (_int_free): Perform sanity check only if we
39214         have_lock.
39216 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
39218         [BZ #12986]
39219         * manual/stdio.texi (String Input Conversions): Clarify that character
39220         classes are not supported.
39222 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39226 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
39228         [BZ #16337]
39229         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39230         Calculate results for small negative arguments directly rather
39231         than using reflection formula with special underflow handling.
39233         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
39234         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
39235         sysdeps/unix/bsd/bsd4.4/syscalls.list.
39236         (fchflags): Likewise.
39237         (revoke): Likewise.
39238         (setlogin): Likewise.
39239         (sigaltstack): Likewise.
39240         (wait4): Likewise.
39241         (sigblock): Remove.
39242         (sigsetmask): Likewise.
39243         (wait3): Likewise.
39244         (waitpid): Likewise.
39245         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
39246         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
39247         file.
39248         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
39249         * sysdeps/unix/bsd/Makefile: ... here.
39250         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
39251         * sysdeps/unix/bsd/Versions: ... here.
39252         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
39253         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
39254         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
39255         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
39256         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
39257         * sysdeps/unix/bsd/sigblock.c: ... here.
39258         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
39259         * sysdeps/unix/bsd/sigsetmask.c: ... here.
39260         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
39261         * sysdeps/unix/bsd/sigvec.c: ... here.
39262         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
39263         * sysdeps/unix/bsd/tcdrain.c: ... here.
39264         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
39265         * sysdeps/unix/bsd/tcgetattr.c: ... here.
39266         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
39267         * sysdeps/unix/bsd/tcsetattr.c: ... here.
39268         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
39269         * sysdeps/unix/bsd/wait.c: ... here.
39270         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
39271         * sysdeps/unix/bsd/wait3.c: ... here.
39272         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
39273         * sysdeps/unix/bsd/waitpid.c: ... here.
39275 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
39277         [BZ #16356]
39278         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
39279         round-to-nearest for [!USE_AS_EXPM1L].
39280         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
39281         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
39282         more tests of exp and exp10.  Expect some exp10 tests to miss
39283         exceptions or fail in directed rounding modes.
39284         * math/auto-libm-test-out: Regenerated.
39285         * math/libm-test.inc (exp10_tonearest_test_data): New array.
39286         (exp10_test_tonearest): New function.
39287         (exp10_towardzero_test_data): New array.
39288         (exp10_test_towardzero): New function.
39289         (exp10_downward_test_data): New array.
39290         (exp10_test_downward): New function.
39291         (exp10_upward_test_data): New array.
39292         (exp10_test_upward): New function.
39293         (main): Call the new functions.
39294         * sysdeps/i386/fpu/libm-test-ulps: Update.
39295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39297 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
39299         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
39300         asinh, atan, atan2, atanh, cbrt, cos and cosh.
39301         * math/auto-libm-test-out: Regenerated.
39302         * math/libm-test.inc (acosh_test_data): Add more tests.
39303         (atanh_test_data): Likewise.
39304         (ceil_test_data): Likewise.
39305         (copysign_test_data): Likewise.
39306         * sysdeps/i386/fpu/libm-test-ulps: Update.
39307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39309         * timezone/checktab.awk: Update from tzcode 2013i.
39310         * timezone/private.h: Likewise.
39311         * timezone/scheck.c: Likewise.
39312         * timezone/tzfile.h: Likewise.
39313         * timezone/tzselect.ksh: Likewise.
39314         * timezone/zdump.c: Likewise.
39315         * timezone/zic.c: Likewise.
39317         * math/auto-libm-test-in: Add tests of cpow.
39318         * math/auto-libm-test-out: Regenerated.
39319         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
39320         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39321         mpc_cc_c.
39322         (func_calc_desc): Add mpc_cc_c union field.
39323         (test_functions): Add cpow.
39324         (special_fill_2pi): New function.
39325         (special_real_inputs): Add 2pi.
39326         (calc_generic_results): Handle mpc_cc_c.
39327         * sysdeps/i386/fpu/libm-test-ulps: Update.
39328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39330         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
39331         csqrt, ctan and ctanh.
39332         * math/auto-libm-test-out: Regenerated.
39333         * math/libm-test.inc (TEST_COND_x86_64): New macro.
39334         (TEST_COND_x86): Likewise.
39335         (ccos_test_data): Use AUTO_TESTS_c_c.
39336         (ccosh_test_data): Likewise.
39337         (cexp_test_data): Likewise.
39338         (clog_test_data): Likewise.
39339         (csqrt_test_data): Likewise.
39340         (ctan_test_data): Likewise.
39341         (ctan_tonearest_test_data): Likewise.
39342         (ctan_towardzero_test_data): Likewise.
39343         (ctan_downward_test_data): Likewise.
39344         (ctan_upward_test_data): Likewise.
39345         (ctanh_test_data): Likewise.
39346         (ctanh_tonearest_test_data): Likewise.
39347         (ctanh_towardzero_test_data): Likewise.
39348         (ctanh_downward_test_data): Likewise.
39349         (ctanh_upward_test_data): Likewise.
39350         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39351         mpc_c_c.
39352         (func_calc_desc): Add mpc_c_c union field.
39353         (FUNC_mpc_c_c): New macro.
39354         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
39355         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
39356         ctanh.
39357         (special_fill_min_subnorm_p120): New function.
39358         (special_real_inputs): Add min_subnorm_p120.
39359         (calc_generic_results): Handle mpc_c_c.
39360         * sysdeps/i386/fpu/libm-test-ulps: Update.
39361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39363 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39365         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
39366         (do_sin_slow): New functions.
39367         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
39368         (cslow2, csloww1, csloww2): Use the new functions.
39370         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
39371         Use M to change sign of result instead of X.  Assume X is
39372         positive.
39373         (csloww1): Likewise.
39374         (__sin): Adjust.
39375         (__cos): Adjust.
39377         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
39378         arguments A and DA.
39379         (__sin): Adjust.
39380         (__cos): Likewise.
39382         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
39383         (__cos): Likewise.
39384         (sloww1): Don't adjust sign of DX.
39385         (csloww1): Likewise.
39386         (sloww2): Use X directly and don't adjust sign of DX.
39387         (csloww2): Likewise.
39389 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39391         * math/auto-libm-test-in: Add tests of cabs and carg.
39392         * math/auto-libm-test-out: Regenerated.
39393         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
39394         (carg_test_data): Likewise.
39395         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39396         mpc_c_f.
39397         (func_calc_desc): Add mpc_c_f union field.
39398         (test_functions): Add cabs and carg.
39399         (calc_generic_results): Handle mpc_c_f.
39401         * sysdeps/powerpc/powerpc32/libgcc-compat.S
39402         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
39403         as a macro and a compat symbol.
39404         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39405         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39406         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39407         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39408         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
39409         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
39410         not use .hidden.
39411         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
39412         Likewise.
39413         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
39414         Likewise.
39415         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
39416         Likewise.
39417         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
39418         Likewise.
39419         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
39420         Likewise.
39421         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
39422         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
39423         from GLIBC_2.3.2.
39425 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39429 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39431         * manual/texinfo.tex: Update to version 2013-11-26.10 with
39432         trailing whitespace removed.
39433         * scripts/config.guess: Update to version 2013-11-29.
39434         * scripts/config.sub: Update to version 2013-10-01.
39436         * math/auto-libm-test-in: Add tests of sincos.
39437         * math/auto-libm-test-out: Regenerated.
39438         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
39439         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39440         mpfr_f_11.
39441         (func_calc_desc): Add mpfr_f_11 union field.
39442         (test_functions): Add sincos.
39443         (calc_generic_results): Handle mpfr_f_11.
39444         * sysdeps/i386/fpu/libm-test-ulps: Update.
39445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39447 2013-12-19  Andreas Schwab  <schwab@suse.de>
39449         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
39450         CALL_MCOUNT.
39451         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39452         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
39453         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
39455 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39457         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
39458         * sysdeps/i386/fpu/libm-test-ulps: Update.
39459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39461         [BZ #16293]
39462         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
39463         round-to-nearest mode when using frndint.
39464         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
39465         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39466         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
39467         Likewise.
39468         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
39469         sinh test to fail.
39470         * math/auto-libm-test-out: Regenerated.
39471         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
39472         (TEST_COND_x86): Likewise.
39473         (expm1_tonearest_test_data): New array.
39474         (expm1_test_tonearest): New function.
39475         (expm1_towardzero_test_data): New array.
39476         (expm1_test_towardzero): New function.
39477         (expm1_downward_test_data): New array.
39478         (expm1_test_downward): New function.
39479         (expm1_upward_test_data): New array.
39480         (expm1_test_upward): New function.
39481         (main): Run the new test functions.
39482         * sysdeps/i386/fpu/libm-test-ulps: Update.
39483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39485         * include/features.h: Update comment documenting feature test
39486         macros.  Mention _DEFAULT_SOURCE in comment.
39487         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
39488         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
39489         _BSD_SOURCE and _SVID_SOURCE.
39490         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
39491         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
39492         !_SVID_SOURCE]: Likewise.
39493         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39494         (__USE_POSIX_IMPLICITLY): Define.
39495         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39496         (_POSIX_SOURCE): Undefine and redefine.
39497         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39498         (_POSIX_C_SOURCE): Likewise.
39499         * manual/creature.texi (_DEFAULT_SOURCE): Document.
39500         (Feature Test Macros): Update documentation of default features.
39502 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39504         * benchtests/Makefile: Add bench-strtok.
39505         * benchtests/bench-strtok.c: New file: strtok benchtest.
39507 2013-12-19  Allan McRae  <allan@archlinux.org>
39509         * manual/install.texi: Suppress menu for plain text output.
39510         * INSTALL: Regenerated.
39512 2013-12-18  Brooks Moses  <bmoses@google.com>
39514         [BZ #15846]
39515         * misc/getauxval.c: Include errno.h.
39516         (__getauxval): Set errno to ENOENT if the requested type is not
39517         found.
39518         * misc/sys/auxv.h (getauxval): Document that it may set errno;
39519         don't declare with __attribute_const__.
39520         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
39521         * manual/startup.texi: Document that getauxval sets errno.
39523 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39525         * math/auto-libm-test-in: Add tests of jn and yn.
39526         * math/auto-libm-test-out: Regenerated.
39527         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
39528         (yn_test_data): Likewise.
39529         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39530         mpfr_if_f.
39531         (func_calc_desc): Add mpfr_if_f union field.
39532         (FUNC_mpfr_if_f): New macro.
39533         (test_functions): Add jn and yn.
39534         (calc_generic_results): Assert type of second input for
39535         mpfr_ff_f.  Handle mpfr_if_f.
39536         (output_for_one_input_case): Disable all checking for arguments
39537         fitting floating-point types in case of an integer argument.
39538         * sysdeps/i386/fpu/libm-test-ulps: Update.
39539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39542         Don't expect fegetround reference in libm.so.
39544 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39546         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
39547         $(config-cflags-nofma).
39549 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39551         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
39552         * math/auto-libm-test-out: Regenerated.
39554         [BZ #16338]
39555         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
39556         to determine exponent and adjust argument to have exponent of -1.
39557         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
39558         log2.
39559         * math/auto-libm-test-out: Regenerated.
39560         * sysdeps/i386/fpu/libm-test-ulps: Update.
39561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39563 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
39565         * manual/probes.texi: Remove cases when per-thread arenas are
39566         disabled.
39568 2013-12-18  Andreas Schwab  <schwab@suse.de>
39570         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
39571         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
39572         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
39573         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
39574         * sysdeps/i386/i686/multiarch/Makefile: Update.
39575         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
39577 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39579         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
39580         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
39582 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
39584         [BZ #15968]
39585         Support TZ transition times < 00:00:00.
39586         This is needed for version-3 tz-format files; it supports time
39587         stamps past 2037 for America/Godthab (the only entry in the tz
39588         database for which this change is relevant).
39589         * manual/time.texi (TZ Variable): Document transition times
39590         from -167:59:59 through -00:00:01.
39591         * time/tzset.c (tz_rule): Time of day is now signed.
39592         (__tzset_parse_tz): Parse negative time of day.
39594         Document TZ transition times >= 25:00:00.
39595         * manual/time.texi (TZ Variable): Document transition times from
39596         25:00:00 through 167:59:59.  These are already supported, and this
39597         support will help with version-3 tz-format files.
39599         * manual/time.texi (TZ Variable): Modernize North America example
39600         to reflect current (i.e., 2007-and-later) daylight saving rules.
39602         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
39604 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39606         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
39607         * sysdeps/unix/bsd/bits/stat.h: Likewise.
39608         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
39609         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39610         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
39611         * sysdeps/unix/bsd/bsdstat.h: Likewise.
39612         * sysdeps/unix/bsd/clock.c: Likewise.
39613         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
39614         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
39615         * sysdeps/unix/bsd/init-posix.c: Likewise.
39616         * sysdeps/unix/bsd/poll.c: Likewise.
39617         * sysdeps/unix/bsd/ptsname.c: Likewise.
39618         * sysdeps/unix/bsd/seekdir.c: Likewise.
39619         * sysdeps/unix/bsd/setegid.c: Likewise.
39620         * sysdeps/unix/bsd/seteuid.c: Likewise.
39621         * sysdeps/unix/bsd/setgid.c: Likewise.
39622         * sysdeps/unix/bsd/setrgid.c: Likewise.
39623         * sysdeps/unix/bsd/setruid.c: Likewise.
39624         * sysdeps/unix/bsd/setsid.c: Likewise.
39625         * sysdeps/unix/bsd/setuid.c: Likewise.
39626         * sysdeps/unix/bsd/sigaction.c: Likewise.
39627         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
39628         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
39629         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
39630         * sysdeps/unix/bsd/telldir.c: Likewise.
39631         * sysdeps/unix/bsd/times.c: Likewise.
39632         * sysdeps/unix/bsd/usleep.c: Likewise.
39634         * misc/Makefile (install-lib): Remove libbsd-compat.a.
39635         ($(objpfx)libbsd-compat.a): Remove rule.
39637         * include/features.h (__FAVOR_BSD): Do not define.
39638         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
39639         features conflicting with POSIX.
39640         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
39641         (_BSD_SOURCE): Remove description of not being a subset of other
39642         feature test macros.
39643         * manual/job.texi (getpgrp): Do not document BSD version.
39644         (getpgid): Do not document by reference to BSD getpgrp.
39645         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
39646         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
39647         * signal/signal.h [__FAVOR_BSD]: Likewise.
39648         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
39649         instead of making contents conditional on [__FAVOR_BSD].
39650         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
39652 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39656 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39658         [BZ #16314]
39659         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
39660         values below 2**-450, not 2**-500.
39661         * math/auto-libm-test-in: Don't allow spurious underflow from
39662         hypot.
39663         * math/auto-libm-test-out: Regenerated.
39665         [BZ #16316]
39666         [BZ #16330]
39667         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
39668         values of ha and hb and sort them after adjusting subnormal
39669         arguments.
39670         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
39671         Likewise.
39672         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
39673         values of ea and eb and sort them after adjusting subnormal
39674         arguments.
39675         * math/auto-libm-test-in: Do not expect some hypot tests of
39676         subnormals to fail.  Add more hypot tests.
39677         * math/auto-libm-test-out: Regenerated.
39679 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39681         [BZ #13304]
39682         * sysdeps/sh/s_fma.c: New file.
39683         * sysdeps/sh/s_fmaf.c: New file.
39684         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
39685         version.
39686         * sysdeps/sh/Implies: Add sh/soft-fp.
39688 2013-12-16  Roland McGrath  <roland@hack.frob.com>
39690         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
39691         level of indirection to members `objname', `errstring', `malloced'.
39692         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
39693         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
39694         it as the __longjmp argument (just pass 1 instead).
39695         (_dl_catch_error): Initialize C with argument pointers and address of
39696         volatile local ERRCODE rather than copying values out of C at return.
39698 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
39700         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
39701         * math/auto-libm-test-out: Regenerated.
39702         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
39703         (hypot_test_data): Likewise.
39704         (pow_test_data): Likewise.
39705         (pow_tonearest_test_data): Likewise.
39706         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39707         mpfr_ff_f.
39708         (func_calc_desc): Add mpfr_ff_f union field.
39709         (FUNC_mpfr_ff_f): New macro.
39710         (test_functions): Add atan2, hypot and pow.
39711         (special_fill_min): New function.
39712         (special_fill_minus_min): Likewise.
39713         (special_fill_min_subnorm): Likewise.
39714         (special_fill_minus_min_subnorm): Likewise.
39715         (special_real_inputs): Add min, -min, min_subnorm and
39716         -min_subnorm.
39717         (calc_generic_results): Handle mpfr_ff_f.
39718         * sysdeps/i386/fpu/libm-test-ulps: Update.
39719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39721 2013-12-16  Will Newton  <will.newton@linaro.org>
39723         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
39724         (Aligned Memory Blocks): Add documentation for aligned_alloc
39725         and suggest it as an alternative to posix_memalign.
39726         (Hooks for Malloc): Document __memalign_hook is also called
39727         for aligned_alloc.  (Summary of Malloc): Add summary for
39728         aligned alloc.  Document __memalign_hook is also called
39729         for aligned_alloc.
39731 2013-12-16  Will Newton  <will.newton@linaro.org>
39733         * manual/memory.texi (Malloc Examples): Clarify default
39734         alignment documentation.  Suggest posix_memalign rather
39735         than memalign or valloc.
39736         (Aligned Memory Blocks): Remove suggestion to use memalign
39737         or valloc.  Remove obsolete comment about BSD.
39738         Document memalign errno values and mark the function obsolete.
39739         Document posix_memalign returned error codes.  Mark valloc
39740         as obsolete.  (Hooks for Malloc): __memalign_hook is also
39741         called for posix_memalign and valloc.
39742         (Summary of Malloc): Add posix_memalign to function summary.
39743         __memalign_hook is also called for posix_memalign and valloc.
39745 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39747         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
39748         TAYLOR_SIN.
39749         (__sin): Adjust.
39750         (__cos): Likewise.
39751         (sloww): Use mynumber union.  Expand ternary operator into
39752         if-else statements.
39753         (cslow): use mynumber union.
39755 2013-12-16  Allan McRae  <allan@archlinux.org>
39757         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
39758         * configure: Regenerated.
39760         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
39762         [BZ #14120]
39763         * configure.ac: Added --enable-maintainer-mode. Check for
39764         autoconf when enabled.
39765         * configure: Regenerated.
39767         * nscd/nscd.service: New file.
39768         * nscd/nscd.tmpfiles: New file.
39770 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
39772         [BZ #12100]
39773         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
39774         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
39775         * sysdeps/x86_64/multiarch/strstr.c: ... here.
39776         (strstr): Add __strstr_sse2_unaligned ifunc.
39777         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
39778         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
39779         (strcasestr): Remove __strcasestr_sse42 ifunc.
39780         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
39781         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39782         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39784 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39786         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
39787         * sysdeps/sh/bits/fenv.h: ... here.
39788         * sysdeps/sh/sh4/fpu/bits: Remove directory.
39790 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39792         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
39794         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
39795         hypotf multiarch implementations.
39796         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
39797         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
39798         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
39799         multiarch hypot for PPC64.
39800         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
39801         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
39802         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
39803         multiarch hypotf for PPC64.
39805         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
39806         modff multiarch implementations.
39807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
39808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
39809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
39810         multiarch modf for PPC64.
39811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
39812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
39813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
39814         multiarch modff for PPC64.
39816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
39817         and logl multiarch implementations.
39818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
39819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
39820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
39821         multiarch logb for PPC64.
39822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
39823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
39824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
39825         multiarch logb for PPC64.
39826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
39827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
39828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
39829         multiarch logb for PPC64.
39831         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
39832         isinff multiarch implementation.
39833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
39834         file.
39835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
39836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
39837         multiarch isinf for PPC64.
39838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
39839         file.
39840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
39841         multiarch isinff for PPC64.
39843         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
39844         finitef multiarch implementation.
39845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
39846         file.
39847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
39848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
39849         multiarch finite for PPC64.
39850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
39851         file.
39852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
39853         multiarch finitef for PPC64.
39855         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
39856         lrint multiarch implementation.
39857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
39858         file.
39859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
39860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
39861         multiarch llrint for PPC64.
39862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
39863         multiarch lrint for PPC64.
39865         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
39866         copysignf multiarch implementation.
39867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
39868         file.
39869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
39870         file.
39871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
39872         multiarch copysign for PPC64.
39873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
39874         multiarch copysignf for PPC64.
39876         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
39877         multiarch implementation.
39878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
39879         file.
39880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
39881         file.
39882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
39883         file.
39884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
39885         file.
39886         multiarch llround for PPC64.
39887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
39888         multiarch trunc for PPC64.
39889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
39890         multiarch truncf for PPC64.
39892         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
39893         multiarch implementation.
39894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
39895         file.
39896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
39897         file.
39898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
39899         file.
39900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
39901         file.
39902         multiarch llround for PPC64.
39903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
39904         multiarch round for PPC64.
39905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
39906         multiarch roundf for PPC64.
39908         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
39909         multiarch implementation.
39910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
39911         file.
39912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
39913         file.
39914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
39915         file.
39916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
39917         file.
39918         multiarch llround for PPC64.
39919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
39920         multiarch floor for PPC64.
39921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
39922         multiarch floorf for PPC64.
39924         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
39925         multiarch implementation.
39926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
39927         file.
39928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
39929         file.
39930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
39931         file.
39932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
39933         file.
39934         multiarch llround for PPC64.
39935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
39936         multiarch ceil for PPC64.
39937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
39938         multiarch ceilf for PPC64.
39940         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39941         multiarch implementation.
39942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
39943         file.
39944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
39945         file.
39946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
39947         file.
39948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
39949         multiarch llround for PPC64.
39950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
39951         multiarch lround for PPC64.
39953         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39954         multiarch implementation.
39955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
39956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
39957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
39958         file.
39959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
39960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
39961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
39962         multiarch isnan for PPC64.
39963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
39964         multiarch isnanf for PPC64.
39966         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
39967         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
39968         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
39969         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
39970         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
39971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
39973         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
39974         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39975         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39976         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39978         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
39979         multiarch implementations.
39980         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39981         (__libc_ifunc_impl_list): Likewise.
39982         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
39983         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
39984         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
39985         multiarch stpcpy for PPC64.
39987         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
39988         multiarch implementations.
39989         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39990         (__libc_ifunc_impl_list): Likewise.
39991         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
39992         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
39993         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
39994         multiarch strcpy for PPC64.
39996         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
39997         redefine function name.
39998         (_wordcopy_fwd_dest_aligned): Likewise.
39999         (_wordcopy_bwd_aligned): Likewise.
40000         (_wordcopy_bwd_dest_aligned): Likewise.
40001         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
40002         multiarch implementations.
40003         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40004         (__libc_ifunc_impl_list): Likewise.
40005         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
40006         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
40007         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
40008         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
40009         multiarch wcscpy for PPC64.
40011         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
40012         multiarch implementations.
40013         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40014         (__libc_ifunc_impl_list): Likewise.
40015         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
40016         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
40017         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
40018         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
40019         multiarch wcscpy for PPC64.
40021         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
40022         multiarch implementations.
40023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40024         (__libc_ifunc_impl_list): Likewise.
40025         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
40026         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
40027         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
40028         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
40029         multiarch wcsrchr for PPC64.
40031         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
40032         multiarch implementations.
40033         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40034         (__libc_ifunc_impl_list): Likewise.
40035         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
40036         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
40037         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
40038         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
40039         multiarch wcschr for PPC64.
40041         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
40042         multiarch implementations.
40043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40044         (__libc_ifunc_impl_list): Likewise.
40045         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
40046         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
40047         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
40048         multiarch strchrnul for PPC64.
40050         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
40051         implementations.
40052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40053         (__libc_ifunc_impl_list): Likewise.
40054         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
40055         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
40056         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
40057         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
40058         strchr for PPC64.
40060         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
40061         implementations.
40062         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40063         (__libc_ifunc_impl_list): Likewise.
40064         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
40065         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
40066         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
40067         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
40068         strncmp for PPC64.
40070         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
40071         multiarch implementations.
40072         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40073         (__libc_ifunc_impl_list): Likewise.
40074         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
40075         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
40076         strncasecmp for PPC64.
40077         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
40078         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
40079         multiarch strncasecmp_l for PPC64.
40081         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
40082         multiarch implementations.
40083         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40084         (__libc_ifunc_impl_list): Likewise.
40085         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
40086         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
40087         multiarch strcasecmp for PPC64.
40088         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
40089         file.
40090         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
40091         multiarch strcasecmp_l for PPC64.
40093         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
40094         implementations.
40095         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40096         (__libc_ifunc_impl_list): Likewise.
40097         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
40098         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
40099         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
40100         strnlen for PPC64.
40102         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
40103         implementations.
40104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40105         (__libc_ifunc_impl_list): Likewise.
40106         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
40107         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
40108         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
40109         strlen for PPC64.
40111         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
40112         implementations.
40113         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40114         (__libc_ifunc_impl_list): Likewise.
40115         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
40116         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
40117         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
40118         rawmemrchr for PPC64.
40120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
40121         implementation.
40122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40123         (__libc_ifunc_impl_list): Likewise.
40124         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
40125         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
40126         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
40127         memrchr for PPC64.
40129         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
40130         implementation.
40131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40132         (__libc_ifunc_impl_list): Likewise.
40133         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
40134         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
40135         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
40136         memchr for PPC64.
40138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
40139         implementation.
40140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40141         (__libc_ifunc_impl_list): Likewise.
40142         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
40143         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
40144         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
40145         mempcpy for PPC64.
40147         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
40148         avoid cretion of __bzero symbol.
40149         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
40150         Likewise.
40151         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
40152         Likewise.
40153         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
40154         Likewise.
40155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
40156         multiarch implementations.
40157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40158         (__libc_ifunc_impl_list): Likewise.
40159         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
40160         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
40161         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
40162         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
40163         bzero for PPC32.
40164         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
40165         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
40166         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
40167         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
40168         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
40169         memset for PPC64.
40170         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
40172         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
40173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
40174         implementations.
40175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40176         (__libc_ifunc_impl_list): Likewise.
40177         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
40178         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
40179         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
40180         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
40181         memcmp for PPC64.
40183         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
40184         multiarch for POWER/PPC64.
40185         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
40186         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
40187         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
40188         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
40189         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
40190         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
40191         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
40192         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
40193         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
40194         memcpy for PPC64.
40196         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
40197         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
40198         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
40199         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
40200         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
40201         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
40202         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
40203         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
40204         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
40205         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
40206         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
40207         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
40208         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
40209         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
40210         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
40211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
40212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
40213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
40214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
40215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
40216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
40217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
40219 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40221         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
40223 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40225         * benchtests/Makefile (bench): Add exp2 and log2.
40226         (LDLIBS-bench-exp2): Add -lm.
40227         (LDLIBS-bench-log2): Likewise.
40228         * benchtests/exp2-inputs: New inputs file.
40229         * benchtests/log2-inputs: New inputs file.
40230         * benchtests/log-inputs: Add new inputs.
40231         * benchtests/tan-inputs: Likewise.
40233 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40235         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
40236         definition...
40237         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
40238         (csloww2): ... from here.
40240         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
40241         instead of structures.
40242         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
40243         (POLYNOMIAL): Likewise.
40244         (TAYLOR_SLOW): Likewise.
40245         (__sin): Likewise.
40246         (__cos): Likewise.
40247         (slow1): Likewise.
40248         (slow2): Likewise.
40249         (sloww): Likewise.
40250         (sloww1); Likewise.
40251         (sloww2): Likewise.
40252         (bsloww1): Likewise.
40253         (bsloww2): Likewise.
40254         (cslow2): Likewise.
40255         (csloww): Likewise.
40256         (csloww1): Likewise.
40257         (csloww2): Likewise.
40259 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
40261         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
40262         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
40263         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
40264         * malloc/hooks.c (realloc_check): Likewise.
40266         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
40267         * malloc/arena.c: Remove PER_THREAD conditional.
40268         [!PER_THREAD]: Remove code.
40269         (ptmalloc_unlock_all2): Likewise.
40270         (ptmalloc_init): Likewise.
40271         (_int_new_arena): Likewise.
40272         (arena_get2): Likewise.
40273         * malloc/hooks.c (__malloc_get_state): Likewise.
40274         (__malloc_set_state): Likewise.
40275         * malloc/malloc.c: Likewise.
40276         (struct malloc_state): Likewise.
40277         (struct malloc_par): Likewise.
40278         (__libc_realloc): Likewise.
40279         (__libc_mallopt): Likewise.
40281 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40283         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
40285 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
40287         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
40288         macro to a function.  Check for zero perturb_byte.
40289         (_int_malloc, _int_free): Remove zero perturb_byte checks.
40291         * malloc/malloc.c: (force_reg): Remove.
40292         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
40293         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
40294         force_reg by atomic_forced_read.
40295         * malloc/arena.c (ptmalloc_init): Likewise.
40296         * malloc/hooks.c (top_check): Likewise.
40298 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40302 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
40304         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40306 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
40308         * math/auto-libm-test-in: Add tests of lgamma.
40309         * math/auto-libm-test-out: Regenerated.
40310         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
40311         (M_LOG_2_SQRT_PIl): Likewise.
40312         (lgamma_test_data): Use AUTO_TESTS_f_f1.
40313         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40314         mpfr_f_f1.
40315         (func_calc_desc): Add mpfr_f_f1 union field.
40316         (ARGS1): New macro.
40317         (ARGS2): Likewise.
40318         (ARGS3): Likewise.
40319         (ARGS4): Likewise.
40320         (RET1): Likewise.
40321         (RET2): Likewise.
40322         (CALC): Likewise.
40323         (FUNC): Likewise.
40324         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
40325         (test_functions): Add lgamma.
40326         (calc_generic_results): Handle mpfr_f_f1.
40327         * sysdeps/i386/fpu/libm-test-ulps: Update.
40328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40330 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40332         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
40333         __mpn_add_n for PowerPC64/POWER7.
40334         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
40335         __mpn_sub_n for PowerPC64/POWER7.
40337         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
40338         __mpn_addmul_1 for PowerPC64.
40339         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
40340         __mpn_submul_1 for PowerPC64.
40341         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
40342         for PowerPC64.
40343         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
40344         for PowerPC64.
40346 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
40348         [BZ #15089]
40349         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
40351 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40353         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
40355         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
40356         add multiarch folders.
40357         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
40358         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
40359         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
40360         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
40361         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
40362         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
40363         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
40364         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
40365         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
40366         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
40367         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
40368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
40369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
40370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
40371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
40372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
40373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
40375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40376         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
40377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
40378         New file.
40379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
40380         New file.
40381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
40382         multiarch __ieee754_hypot for PowerPC32.
40383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
40384         New file.
40385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
40386         New file.
40387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
40388         multiarch __ieee754_hypotf for PowerPC32.
40390         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
40391         long_double_symbol only if __logbl is defined.
40392         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
40393         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
40394         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
40395         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
40396         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
40397         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
40398         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
40399         path for implementation.
40400         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
40401         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
40402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
40403         logb, and logbl multiarch implementations for PowerPC32.
40404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
40405         file.
40406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
40407         file.
40408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
40409         multiarch logb for PowerPC32.
40410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
40411         file.
40412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
40413         file.
40414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
40415         multiarch logbf for PowerPC32.
40416         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
40417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
40418         file.
40419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
40420         multiarch logbl implementation for PowerPC32.
40422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
40423         and modff multiarch implementations.
40424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
40425         New file.
40426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
40427         New file.
40428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
40429         multiarch modf for PowerPC32.
40430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
40431         New file.
40432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
40433         New file.
40434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
40435         multiarch modff for PowerPC32.
40437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
40438         and lrintf multiarch implementations.
40439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
40440         New file.
40441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
40442         New file.
40443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
40444         multiarch lrint for PowerPC32.
40445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
40446         file: multiarch lrintf for PowerPC32.
40448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
40449         and lroundf multiarch implementations.
40450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
40451         New file.
40452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
40453         New file.
40454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
40455         New file.
40456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
40457         multiarch lround for PowerPC32.
40458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
40459         file: multiarch lroundf for PowerPC32.
40461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40462         copysign and copysignf multiarch implementations.
40463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
40464         New file.
40465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
40466         New file.
40467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
40468         file: multiarch copysign for PowerPC32.
40469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
40470         file: multiarch copysignf for PowerPC32.
40472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
40473         and truncf multiarch implementations.
40474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
40475         New file.
40476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
40477         file.
40478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
40479         multiarch trunc for PowerPC32.
40480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
40481         New file.
40482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
40483         New file.
40484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
40485         multiarch truncf for PowerPC32.
40487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
40488         and roundf multiarch implementations.
40489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
40490         New file.
40491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
40492         file.
40493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
40494         multiarch round for PowerPC32.
40495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
40496         New file.
40497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
40498         New file.
40499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
40500         multiarch roundf for PowerPC32.
40502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
40503         and floorf multiarch implementations.
40504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
40505         New file.
40506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
40507         file.
40508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
40509         multiarch floor for PowerPC32.
40510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
40511         New file.
40512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
40513         New file.
40514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
40515         multiarch floorf for PowerPC32.
40517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
40518         and ceilf multiarch implementations.
40519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
40520         New file.
40521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
40522         file.
40523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
40524         multiarch ceil for PowerPC32.
40525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
40526         New file.
40527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
40528         file.
40529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
40530         multiarch ceilf for PowerPC32.
40532         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
40533         is defined.
40534         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
40535         FINITEF is defined.
40536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
40537         and finitef multiarch implementations.
40538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
40539         New file.
40540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
40541         file.
40542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
40543         multiarch finite for PowerPC32.
40544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
40545         New file.
40546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
40547         file: multiarch finitef for PowerPC32.
40549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
40550         and isinff multiarch implementations.
40551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
40552         file.
40553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
40554         file.
40555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
40556         multiarch isinf for PowerPC32.
40557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
40558         New file.
40559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
40560         multiarch isinff for PowerPC32.
40562         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
40563         alias when __isnan is defined.
40564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
40565         and isnanf multiarch implementations.
40566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
40567         file.
40568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
40569         file.
40570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
40571         file.
40572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
40573         file.
40574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
40575         multiarch isnan for PowerPC32.
40576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
40577         New file.
40578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
40579         New file.
40580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
40581         multiarch isnanf for PowerPC32.
40583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
40584         and sqrtf multiarch implementations.
40585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
40586         file.
40587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
40588         file.
40589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
40590         multiarch sqrt for PowerPC32.
40591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
40592         file.
40593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
40594         file.
40595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
40596         multiarch sqrtf for PowerPC32.
40598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
40599         and llroundf multiarch implementations.
40600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
40601         New file.
40602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
40603         New file.
40604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
40605         New file.
40606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
40607         file: multiarch llround for PowerPC32.
40608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
40609         file: multiarch llroundf for PowerPC32.
40611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
40612         multiarch PowerPC32 fpu implementations.
40613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
40614         New file.
40615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
40616         New file.
40617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
40618         multiarch llrint for PowerPC32.
40619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
40620         New file.
40621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
40622         New file.
40623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
40624         file.
40626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
40628         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
40629         file.
40630         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
40631         file.
40632         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
40633         file.
40634         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
40635         multiarch wordcopy for PPC32.
40636         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40637         wordcopy objects.
40638         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40639         (__libc_ifunc_impl_list): Likewise.
40640         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
40641         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
40642         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
40643         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
40644         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
40645         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
40647         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
40648         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
40649         file.
40650         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
40651         file.
40652         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
40653         file.
40654         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
40655         multiarch wcscpy for PPC32.
40656         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40657         multiarch objects.
40658         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40659         (__libc_ifunc_impl_list): Likewise.
40660         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40661         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40662         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
40663         sysdeps/powerpc/power6/wcscpy.c.
40665         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
40666         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
40667         file.
40668         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
40669         file.
40670         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
40671         file.
40672         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
40673         multiarch wcsrchr for PPC32.
40674         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40675         multiarch objects.
40676         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40677         (__libc_ifunc_impl_list): Likewise.
40678         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40679         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40680         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
40681         sysdeps/powerpc/power6/wcsrchr.c.
40683         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
40684         file.
40685         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
40686         file.
40687         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
40688         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
40689         multiarch wcschr for PPc32.
40690         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40691         multiarch objects.
40692         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40693         (__libc_ifunc_impl_list): Likewise.
40694         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
40695         * sysdeps/powerpc/power6/wcschr.c: ... to here.
40696         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
40697         sysdeps/powerpc/power6/wcschr.c.
40699         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
40700         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
40701         file.
40702         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
40703         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
40704         file: multiarch strchr for PPC32.
40705         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
40706         multiarch objects.
40707         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40708         (__libc_ifunc_impl_list): Likewise.
40710         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
40711         name.
40712         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
40713         file.
40714         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
40715         file.
40716         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
40717         multiarch strchrnul for PPC32.
40718         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
40719         multiarch objects.
40720         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40721         (__libc_ifunc_impl_list): Likewise.
40723         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
40724         file.
40725         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
40726         multiarch strncasecmp for PPC32.
40727         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
40728         file.
40729         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
40730         multiarch strncasecmp_l for PPC32.
40731         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
40732         strncasecmp multiarch objects.
40733         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40734         (__libc_ifunc_impl_list): Likewise.
40736         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
40737         file.
40738         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
40739         multiarch strncasecmp for PPC32.
40740         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40741         New file.
40742         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
40743         multiarch strcasecmp_l for PPC32.
40744         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
40745         multiarch objects.
40746         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40747         (__libc_ifunc_impl_list): Likewise.
40749         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
40750         file.
40751         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
40752         file.
40753         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
40754         multiarch strncmp for PPC32.
40755         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
40756         multiarch objects.
40757         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40758         (__libc_ifunc_impl_list): Likewise.
40760         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
40761         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
40762         file.
40763         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
40764         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
40765         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
40766         multiarch objects.
40767         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40768         (__libc_ifunc_impl_list): Likewise.
40770         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
40771         file.
40772         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
40773         file.
40774         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
40775         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
40776         multiarch objects.
40777         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40778         (__libc_ifunc_impl_list): Likewise.
40780         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
40781         file.
40782         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
40783         file.
40784         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
40785         multiarch rawmemchr for PPC32.
40786         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
40787         multiarch objects.
40788         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40789         (__libc_ifunc_impl_list): Likewise.
40791         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
40792         file.
40793         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
40794         file.
40795         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
40796         file: memrchr multiarch for PPC32.
40797         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
40798         multiarch objects.
40799         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40800         (__libc_ifunc_impl_list): Likewise.
40802         * string/memchr.c (__memchr): Using macro to redefine symbol name.
40803         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
40804         file.
40805         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
40806         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
40807         multiarch memchr for PPC32.
40808         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
40809         multiarch objects.
40810         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40811         (__libc_ifunc_impl_list): Likewise.
40813         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
40814         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
40815         file.
40816         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
40817         file.
40818         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
40819         file: multiarch mempcpy for PPC32.
40820         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
40821         multiarch objects.
40822         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40823         (__libc_ifunc_impl_list): Likewise.
40825         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
40826         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
40827         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
40828         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
40829         multiarch bzero for PPC32.
40830         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
40831         file.
40832         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
40833         file.
40834         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
40835         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
40836         file: multiarch memset for PPC32.
40837         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
40838         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
40839         memset multiarch objects.
40840         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40841         (__libc_ifunc_impl_list): Likewise.
40843         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
40844         file.
40845         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
40846         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
40847         memcmp for PPC32.
40848         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
40849         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
40850         multiarch objects.
40851         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40852         (__libc_ifunc_impl_list): Likewise.
40854         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
40855         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
40856         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
40857         file.
40858         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
40859         file.
40860         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
40861         file.
40862         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
40863         multiarch memcpy for PPC32.
40864         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
40865         multiarch objects.
40866         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40867         (__libc_ifunc_impl_list): Likewise.
40869         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
40870         support multiarch for POWER/PPC32.
40871         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
40872         Likewise.
40873         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
40874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
40875         Implies file to make multiarch folder appers before the fpu and
40876         default folder for power4 configuration.
40878 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40880         * scripts/bench.pl: Append volatile keyword to type.
40882 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40884         * sysdeps/sh/sotruss-lib.c: New file.
40885         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
40887 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40889         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40891 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
40893         [BZ #6810]
40894         * math/w_tgamma.c: Include <errno.h>.
40895         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
40896         * math/w_tgammaf.c: Include <errno.h>.
40897         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
40898         * math/w_tgammal.c: Include <errno.h>.
40899         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
40900         * math/auto-libm-test-in: Do not allow missing errno on tgamma
40901         underflow.  Add more tgamma tests.
40902         * math/auto-libm-test-out: Regenerated.
40903         * sysdeps/i386/fpu/libm-test-ulps: Update.
40904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40906         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
40907         sin, sinh, tan, tanh, tgamma, y0 and y1.
40908         * math/auto-libm-test-out: Regenerated.
40909         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40910         (TEST_COND_x86): Likewise.
40911         (M_E2l): Remove macro.
40912         (M_E3l): Likewise.
40913         (M_2_SQRT_PIl): Likewise.
40914         (M_SQRT_PIl): Likewise.
40915         (M_1_DIV_El): Likewise.
40916         (log_test_data): Use AUTO_TESTS_f_f.
40917         (log10_test_data): Likewise.
40918         (log1p_test_data): Likewise.
40919         (log2_test_data): Likewise.
40920         (sin_test_data): Likewise.
40921         (sin_tonearest_test_data): Likewise.
40922         (sin_towardzero_test_data): Likewise.
40923         (sin_downward_test_data): Likewise.
40924         (sin_upward_test_data): Likewise.
40925         (sinh_test_data): Likewise.
40926         (sinh_tonearest_test_data): Likewise.
40927         (sinh_towardzero_test_data): Likewise.
40928         (sinh_downward_test_data): Likewise.
40929         (sinh_upward_test_data): Likewise.
40930         (tan_test_data): Likewise.
40931         (tan_tonearest_test_data): Likewise.
40932         (tan_towardzero_test_data): Likewise.
40933         (tan_downward_test_data): Likewise.
40934         (tan_upward_test_data): Likewise.
40935         (tanh_test_data): Likewise.
40936         (tgamma_test_data): Likewise.
40937         (y0_test_data): Likewise.
40938         (y1_test_data): Likewise.
40939         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
40940         (special_real_inputs): Add pi/4.
40941         * sysdeps/i386/fpu/libm-test-ulps: Update.
40942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40944 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40946         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
40947         "longjmp_target" static probes.
40948         (__longjmp): Rename to __longjmp_symbol.
40949         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40950         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
40951         on which longjmp to generate.
40952         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40953         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
40954         probe.
40955         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40956         (__sigjmp_save): Rename to __sigjmp_save_symbol.
40957         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40958         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
40959         and __sigjmp_save_symbol based on which sigsetjmp to generated.
40960         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
40962         __longjmp_symbol based on which __longjmp to generate.
40963         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
40964         probe.
40965         (setjmp): Rename to setjmp_symbol.
40966         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40967         (_setjmp): Rename to _setjmp_symbol.
40968         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40969         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
40970         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
40971         which setjmp to generate.
40972         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
40973         "longjmp_target" static probes.
40975 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40977         * benchtests/README: Add note about output arguments.
40978         * benchtests/bench-sincos.c: Remove file.
40979         * benchtests/sincos-inputs: New file.
40980         * scripts/bench.pl: Identify output arguments and define
40981         static variables for them.
40983         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
40985         [BZ #15941]
40986         * Makefile (INSTALL): Add install-plain.texi as the primary
40987         dependency.
40988         * manual/install-plain.texi: New file.
40989         * manual/install.texi: Include node directive only for
40990         non-plaintext output.
40992 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
40994         * stdlib/longlong.h: Update from GCC.
40996         [BZ #6807]
40997         [BZ #15901]
40998         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
40999         * math/w_j0f.c (y0f): Likewise.
41000         * math/w_j0l.c (__y0l): Likewise.
41001         * math/w_j1.c (y1): Likewise.
41002         * math/w_j1f.c (y1f): Likewise.
41003         * math/w_j1l.c (__y1l): Likewise.
41004         * math/w_jn.c (yn): Likewise.
41005         * math/w_jnf.c (ynf): Likewise.
41006         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
41007         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
41008         value for Bessel function domain errors outside _SVID_ mode.
41009         Adjust sign of return value for yn (negative integer, 0).
41010         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
41011         by zero in return for negative x and set sign appropriately for
41012         negative n.
41013         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
41014         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41015         * math/libm-test.inc (y0_test_data): Add more tests and adjust
41016         expectations in error cases.
41017         (y1_test_data): Likewise.
41018         (yn_test_data): Likewise.
41019         * sysdeps/i386/fpu/libm-test-ulps: Update.
41020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41022 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41024         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
41025         "64" to "64-v1".  Add "64-v2".
41026         (abi-64-options): Rename to ...
41027         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
41028         (abi-64-condition): Rename to ...
41029         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
41030         (abi-64-ld-soname): Rename to ...
41031         (abi-64-v1-ld-soname): ... this.
41032         (abi-64-v2-options): Define.
41033         (abi-64-v2-condition): Likewise.
41034         (abi-64-v2-ld-soname): Likewise.
41035         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
41036         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
41037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
41038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
41039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
41041 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41042             Alan Modra  <amodra@gmail.com>
41044         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
41045         New versions for use with the ELFv2 ABI.
41046         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
41047         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
41048         declaration.
41049         (struct La_ppc64v2_retval): Likewise.
41050         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
41051         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
41052         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
41053         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
41054         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
41055         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41056         Do not save or restore CR.
41057         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
41058         (_dl_profile_resolve): Do no save or restore CR.  Support extended
41059         return values for ELFv2 ABI.  Fix location of FPR return registers.
41060         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
41061         updated values for _CALL_ELF == 2.
41062         (La_regs, La_retval, int_retval): Likewise.
41064 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41066         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
41067         (FRAME_MIN_SIZE_PARM): Likewise.
41068         (FRAME_BACKCHAIN): Likewise.
41069         (FRAME_CR_SAVE): Likewise.
41070         (FRAME_LR_SAVE): Likewise.
41071         (FRAME_TOC_SAVE): Likewise.
41072         (FRAME_PARM_SAVE): Likewise.
41073         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
41074         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
41075         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41076         (call_mcount_parm_offset): New macro.
41077         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
41078         (PROF): Use symbolic stack frame offsets.
41079         (TAIL_CALL_SYSCALL_ERROR): Likewise.
41080         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
41081         Redefine in terms of FRAME_MIN_SIZE.
41082         (_dl_runtime_resolve): Use symbolic stack frame offsets.
41083         (_dl_profile_resolve): Likewise.  Update comment.
41084         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
41085         symbols stack frame offsets.
41086         (__sigsetjmp): Likewise.
41087         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
41088         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
41089         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
41090         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
41092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
41093         (FRAME_BACKCHAIN): Remove.
41094         (FRAME_CR_SAVE): Likewise.
41095         (FRAME_LR_SAVE): Likewise.
41096         (FRAME_COMPILER_DW): Likewise.
41097         (FRAME_LINKER_DW): Likewise.
41098         (FRAME_TOC_SAVE): Likewise.
41099         (FRAME_PARM_SAVE): Likewise.
41100         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
41101         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
41102         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
41104         (CHECK_SP): Use symbolic stack frame offsets.
41105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
41106         zone" instead of caller's parameter save area for temp storage.
41107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41108         Likewise.  Also, use symbolic stack frame offsets.
41109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
41110         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
41111         our own stack frame instead of the caller's.
41112         (__socket): Use symbolic stack frame offsets.
41114 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41115             Alan Modra  <amodra@gmail.com>
41117         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
41118         Define.
41119         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
41120         (PPC64_LOCAL_ENTRY_OFFSET): Define.
41121         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
41122         New function.
41123         (elf_machine_fixup_plt): Call it.
41124         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
41125         reloc arguments.
41126         (elf_machine_rela): Update call to elf_machine_plt_conflict.
41127         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41128         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
41129         r2 before calling target.
41131 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41132             Alan Modra  <amodra@gmail.com>
41134         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
41135         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
41136         versions of macros to support ELFv2 ABI.
41137         (LOCALENTRY): New macro.
41138         (ENTRY, EALIGN): Use it.
41139         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
41140         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
41141         fall through into ENTRY entry point.
41142         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
41143         Only define if _CALL_ELF != 2.
41145         (elf_machine_matches_host): Verify ABI version matches.
41146         (RTLD_START): Use LOCALENTRY.
41147         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
41148         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
41149         (PLT_ENTRY_WORDS): New macro.
41150         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
41151         (elf_machine_runtime_setup): Support ELFv2 ABI.
41152         (elf_machine_fixup_plt): Likewise.
41153         (elf_machine_plt_conflict): Likewise.
41154         (resolve_ifunc): Likewise.
41155         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41156         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41157         Likewise.
41158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
41159         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
41160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41161         (makecontext): Support ELFv2 ABI.
41162         * elf/elf.h (EF_PPC64_ABI): Define.
41164 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41166         * sysdeps/powerpc/powerpc64/sysdep.h
41167         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
41168         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
41169         (ENTRY) [ASSEMBLER]: ... but instead here ...
41170         (EALIGN) [ASSEMBLER]: ... and here.
41171         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
41172         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
41173         (ENTRY_2) [!ASSEMBLER]: Use it.
41174         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
41175         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
41176         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41177         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
41178         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
41179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
41180         Use PPC64_LOAD_FUNCPTR.
41182         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
41184 2013-12-04  Alan Modra  <amodra@gmail.com>
41186         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
41187         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
41188         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
41189         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
41191         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
41192         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
41193         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
41194         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
41195         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
41196         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
41198 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41201         (__makecontext): Fix incorrect CFI when backtracing out of
41202         context created via makecontext.
41203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
41204         (__setcontext): Fix incorrect CFI during switch to new context.
41205         (__novec_setcontext): Likewise.
41207 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41209         [BZ #4772]
41210         * time/strptime_l.c (__strptime_internal): Allow modifiers
41211         in strptime.
41212         * time/tst-strptime.c (day_tests): Add testcase.
41214 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41216         * scripts/bench.pl: Skip over blank lines.
41218 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
41220         [BZ #926]
41221         * manual/time.texi (Calendar Time): Clarify what timezone functions
41222         use.
41224 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41228 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41230         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
41231         implementation.
41232         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
41233         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
41234         * debug/memset_chk.c (__memset_chk): Likewise.
41235         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
41236         * debug/strncpy_chk.c: Likewise.
41238 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41240         [BZ #15268]
41241         [BZ #15425]
41242         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
41243         (__ieee754_exp): For possibly underflowing results, check size of
41244         result and force underflow exception if required.
41245         * math/auto-libm-test-in: Add more tests of exp.
41246         * math/auto-libm-test-out: Regenerated.
41247         * sysdeps/i386/fpu/libm-test-ulps: Update.
41248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41250         [BZ #16283]
41251         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
41252         * math/w_exp2f.c (__exp2f): Likewise.
41253         * math/w_exp2l.c (__exp2l): Likewise.
41254         * math/auto-libm-test-in: Do not allow missing errno on exp2
41255         underflow.
41256         * math/auto-libm-test-out: Regenerated.
41258 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
41260         [BZ #16274]
41261         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
41262         handle filename validation.
41263         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
41264         (do_open): Delete.
41266 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41268         [BZ #6786]
41269         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
41270         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
41271         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
41272         <float.h>.
41273         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
41274         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
41275         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41276         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
41277         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41278         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
41279         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41280         * math/auto-libm-test-in: Don't allow missing errno from erfc.
41281         Add more erfc tests.
41282         * math/auto-libm-test-out: Regenerated.
41283         * sysdeps/i386/fpu/libm-test-ulps: Update.
41284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41286         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
41287         exp2, expm1, j0 and j1.
41288         * math/auto-libm-test-out: Regenerated.
41289         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
41290         (erfc_test_data): Likewise.
41291         (exp_test_data): Likewise.
41292         (exp_tonearest_test_data): Likewise.
41293         (exp_towardzero_test_data): Likewise.
41294         (exp_downward_test_data): Likewise.
41295         (exp_upward_test_data): Likewise.
41296         (exp10_test_data): Likewise.
41297         (exp2_test_data): Likewise.
41298         (expm1_test_data): Likewise.
41299         (j0_test_data): Likewise.
41300         (j1_test_data): Likewise.
41301         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
41302         (input_flag_type): Add flag_xfail_rounding.
41303         (input_flags): Add xfail-rounding.
41304         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
41305         (output_for_one_input_case): Handle flag_xfail_rounding.
41306         * sysdeps/i386/fpu/libm-test-ulps: Update.
41307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41309 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
41311         [BZ #16289]
41312         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
41313         division by 0.
41315 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41317         [BZ #16195]
41318         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
41319         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
41320         (STAP_PROBE0): New macro.
41321         (STAP_PROBE1): Likewise.
41322         (STAP_PROBE2): Likewise.
41323         (STAP_PROBE3): Likewise.
41324         (STAP_PROBE4): Likewise.
41326 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
41328         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
41330 2013-12-02  Steve Ellcey  <sellcey@mips.com>
41332         * benchtests/Makefile (bench): Add sqrt.
41333         (LDLIBS-bench-sqrt): New.
41334         * benchtests/sqrt-input: New.
41336 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
41338         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
41339         (GAIH_EAI): Likewise.
41340         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
41341         (gaih_inet): Likewise.
41342         (getaddrinfo): Don't use GAIH_EAI.
41344         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
41345         (struct gaih): Remove definition.
41347 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41349         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
41350         Use HERRNOP directly.
41352 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41356 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
41358         * math/gen-auto-libm-tests.c (test_functions): Add more
41359         single-argument functions.
41360         (special_fill_pi_2): New function.
41361         (special_fill_minus_pi_2): Likewise.
41362         (special_fill_pi_6): Likewise.
41363         (special_fill_minus_pi_6): Likewise.
41364         (special_fill_pi_3): Likewise.
41365         (special_fill_2pi_3): Likewise.
41366         (special_fill_e): Likewise.
41367         (special_fill_1_e): Likewise.
41368         (special_fill_e_minus_1): Likewise.
41369         (special_real_inputs): Add more special inputs.
41370         (output_for_one_input_case): Do not require ERANGE on underflow to
41371         zero if round-to-nearest result does not underflow to zero, unless
41372         exact results required.
41373         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
41374         atan, atanh, cbrt, cos and cosh.
41375         * math/auto-libm-test-out: Regenerated.
41376         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
41377         (acos_tonearest_test_data): Likewise.
41378         (acos_towardzero_test_data): Likewise.
41379         (acos_downward_test_data): Likewise.
41380         (acos_upward_test_data): Likewise.
41381         (acosh_test_data): Likewise.
41382         (asin_test_data): Likewise.
41383         (asin_tonearest_test_data): Likewise.
41384         (asin_towardzero_test_data): Likewise.
41385         (asin_upward_test_data): Likewise.
41386         (asinh_test_data): Likewise.
41387         (atan_test_data): Likewise.
41388         (atanh_test_data): Likewise.
41389         (cbrt_test_data): Likewise.
41390         (cos_test_data): Likewise.
41391         (cos_tonearest_test_data): Likewise.
41392         (cos_towardzero_test_data): Likewise.
41393         (cos_downward_test_data): Likewise.
41394         (cos_upward_test_data): Likewise.
41395         (cosh_test_data): Likewise.
41396         (cosh_tonearest_test_data): Likewise.
41397         (cosh_towardzero_test_data): Likewise.
41398         (cosh_downward_test_data): Likewise.
41399         (cosh_upward_test_data): Likewise.
41400         * sysdeps/i386/fpu/libm-test-ulps: Update.
41401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41403 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
41405         [BZ #6787]
41406         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
41407         * math/w_exp10f.c (__exp10f): Likewise.
41408         * math/w_exp10l.c (__exp10l): Likewise.
41409         * math/libm-test.inc (exp10_test_data): Add more tests and expect
41410         errno settings in existing tests.
41412         [BZ #14032]
41413         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
41414         precision control set to double precision.
41415         * sysdeps/i386/fpu/w_sqrt.c: New file.
41416         * math/auto-libm-test-in: Add more tests.
41417         * math/auto-libm-test-out: Update.
41419         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
41420         (sqrt_test_tonearest): New function.
41421         (sqrt_towardzero_test_data): New variable.
41422         (sqrt_test_towardzero): New function.
41423         (sqrt_downward_test_data): New variable.
41424         (sqrt_test_downward): New function.
41425         (sqrt_upward_test_data): New variable.
41426         (sqrt_test_upward): New function.
41427         (main): Call the new functions.
41429         * math/gen-auto-libm-tests.c: New file.
41430         * math/auto-libm-test-in: Likewise.
41431         * math/auto-libm-test-out: New generated file.
41432         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
41433         variables.
41434         (%beautify): Add generated representations of zero.
41435         (top level): Set $auto_input and call parse_auto_input.
41436         (beautify): Remove trailing "f" from hex float constants.
41437         (parse_args): Handle XFAIL_TEST.
41438         (convert_condition): New function.
41439         (or_value): Likewise.
41440         (or_cond_value): Likewise.
41441         (generate_testfile): Handle AUTO_TESTS_* lines.
41442         (parse_auto_input): New function.
41443         * math/libm-test.inc (XFAIL_TEST): New macro.
41444         (ERRNO_UNCHANGED): Update value.
41445         (ERRNO_EDOM): Likewise.
41446         (ERRNO_ERANGE): Likewise.
41447         (IGNORE_RESULT): Likewise.
41448         (TEST_COND_flt_32): New macro.
41449         (TEST_COND_dbl_64): Likewise.
41450         (TEST_COND_ldbl_96_intel): Likewise.
41451         (TEST_COND_ldbl_96_m68k): Likewise.
41452         (TEST_COND_ldbl_128): Likewise.
41453         (TEST_COND_ldbl_128ibm): Likewise.
41454         (TEST_COND_long32): Likewise.
41455         (TEST_COND_long64): Likewise.
41456         (TEST_COND_before_rounding): Likewise.
41457         (TEST_COND_after_rounding): Likewise.
41458         (enable_test): Handle XFAIL_TEST flag.
41459         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
41460         with finite results.
41461         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
41462         auto-libm-test-out.
41464 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41465             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41467         [BZ #16214]
41468         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
41469         __tls_get_addr_internal instead of __tls_get_offset in order to
41470         avoid GOT pointer dependency.  Make rtld export
41471         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
41472         __tls_get_addr since we are a __tls_get_offset platform.
41473         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
41474         GOT pointer being set up before.
41475         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
41477 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
41479         * manual/math.texi (Errors in Math Functions): Document accuracy
41480         goals.
41482         [BZ #15004]
41483         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
41484         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
41485         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41486         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41487         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41488         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41489         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41490         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41491         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41492         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41493         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41494         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41495         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41496         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41497         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41498         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41500         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
41501         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
41502         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
41503         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
41504         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
41505         Likewise.
41506         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
41507         Likewise.
41508         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
41509         Likewise.
41510         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
41511         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
41512         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
41513         atomic-feupdateenv and flt-rounds.
41514         * sysdeps/powerpc/nofpu/Versions (libc): Add
41515         __atomic_feholdexcept, __atomic_feclearexcept,
41516         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
41517         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
41518         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
41519         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
41520         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
41521         here.
41522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
41523         Update.
41525         * manual/arith.texi (FP Exceptions): Document that exceptions may
41526         not be raised when matherr is used.
41527         (Math Error Reporting): Document overflow in directed rounding
41528         modes.  Document that errno may not be set when finite values are
41529         returned on overflow.  Document intent to set errno on underflow
41530         only for underflow to zero.
41532         [BZ #16271]
41533         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
41534         round-to-nearest then adjust result for other rounding modes.
41535         * include/fenv.h (fegetround): Use libm_hidden_proto.
41536         * math/fegetround.c (fegetround): Use libm_hidden_def.
41537         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41538         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41539         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41540         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41541         Likewise.
41542         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
41543         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41544         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41545         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
41547 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41549         [BZ #16077]
41550         * nss/Versions (libnss_files): Add
41551         _nss_files_gethostbyname3_r.
41552         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
41553         New function.
41554         (HOST_DB_LOOKUP): Remove macro.
41555         (_nss_files_gethostbyname_r): Implement function without the
41556         HOST_DB_LOOKUP macro.
41557         (_nss_files_gethostbyname2_r): Likewise.
41559 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
41561         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
41563 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
41565         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
41566         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
41567         warning.
41569 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41571         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
41572         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
41573         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41574         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41575         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
41576         __fe_nomask_env_priv and attribute_hidden.
41577         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
41578         (libc_feupdateenv_test_ppc): Likewise.
41579         (libc_feresetround_ppc): Likewise.
41580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41581         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
41582         compat_symbol macro.
41583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41584         (__fe_nomask_env): Likewise.
41585         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
41587 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41589         * string/Makefile: Remove ifunc tests.
41590         * string/test-string.h: Define TEST_IFUNC.
41591         * string/test-bcopy-ifunc.c: Remove.
41592         * string/test-bzero-ifunc.c: Likewise.
41593         * string/test-memccpy-ifunc.c: Likewise.
41594         * string/test-memchr-ifunc.c: Likewise.
41595         * string/test-memcmp-ifunc.c: Likewise.
41596         * string/test-memcpy-ifunc.c: Likewise.
41597         * string/test-memmem-ifunc.c: Likewise.
41598         * string/test-memmove-ifunc.c: Likewise.
41599         * string/test-mempcpy-ifunc.c: Likewise.
41600         * string/test-memrchr-ifunc.c: Likewise.
41601         * string/test-memset-ifunc.c: Likewise.
41602         * string/test-rawmemchr-ifunc.c: Likewise.
41603         * string/test-stpcpy-ifunc.c: Likewise.
41604         * string/test-stpncpy-ifunc.c: Likewise.
41605         * string/test-strcasecmp-ifunc.c: Likewise.
41606         * string/test-strcasestr-ifunc.c: Likewise.
41607         * string/test-strcat-ifunc.c: Likewise.
41608         * string/test-strchr-ifunc.c: Likewise.
41609         * string/test-strchrnul-ifunc.c: Likewise.
41610         * string/test-strcmp-ifunc.c: Likewise.
41611         * string/test-strcpy-ifunc.c: Likewise.
41612         * string/test-strcspn-ifunc.c: Likewise.
41613         * string/test-strlen-ifunc.c: Likewise.
41614         * string/test-strncasecmp-ifunc.c: Likewise.
41615         * string/test-strncat-ifunc.c: Likewise.
41616         * string/test-strncmp-ifunc.c: Likewise.
41617         * string/test-strncpy-ifunc.c: Likewise.
41618         * string/test-strnlen-ifunc.c: Likewise.
41619         * string/test-strpbrk-ifunc.c: Likewise.
41620         * string/test-strrchr-ifunc.c: Likewise.
41621         * string/test-strspn-ifunc.c: Likewise.
41622         * string/test-strstr-ifunc.c: Likewise.
41624 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41626         * benchtests/Makefile: Remove ifunc tests.
41627         * benchtests/bench-string.h: Define TEST_IFUNC.
41628         * benchtests/bench-bcopy-ifunc.c: Remove.
41629         * benchtests/bench-bzero-ifunc.c: Likewise.
41630         * benchtests/bench-memccpy-ifunc.c: Likewise.
41631         * benchtests/bench-memchr-ifunc.c: Likewise.
41632         * benchtests/bench-memcmp-ifunc.c: Likewise.
41633         * benchtests/bench-memcpy-ifunc.c: Likewise.
41634         * benchtests/bench-memmem-ifunc.c: Likewise.
41635         * benchtests/bench-memmove-ifunc.c: Likewise.
41636         * benchtests/bench-mempcpy-ifunc.c: Likewise.
41637         * benchtests/bench-memrchr-ifunc.c: Likewise.
41638         * benchtests/bench-memset-ifunc.c: Likewise.
41639         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
41640         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
41641         * benchtests/bench-stpcpy-ifunc.c: Likewise.
41642         * benchtests/bench-stpncpy-ifunc.c: Likewise.
41643         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
41644         * benchtests/bench-strcasestr-ifunc.c: Likewise.
41645         * benchtests/bench-strcat-ifunc.c: Likewise.
41646         * benchtests/bench-strchr-ifunc.c: Likewise.
41647         * benchtests/bench-strchrnul-ifunc.c: Likewise.
41648         * benchtests/bench-strcmp-ifunc.c: Likewise.
41649         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
41650         * benchtests/bench-strcpy-ifunc.c: Likewise.
41651         * benchtests/bench-strcspn-ifunc.c: Likewise.
41652         * benchtests/bench-strlen-ifunc.c: Likewise.
41653         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
41654         * benchtests/bench-strncat-ifunc.c: Likewise.
41655         * benchtests/bench-strncmp-ifunc.c: Likewise.
41656         * benchtests/bench-strncpy-ifunc.c: Likewise.
41657         * benchtests/bench-strnlen-ifunc.c: Likewise.
41658         * benchtests/bench-strpbrk-ifunc.c: Likewise.
41659         * benchtests/bench-strrchr-ifunc.c: Likewise.
41660         * benchtests/bench-strsep-ifunc.c: Likewise.
41661         * benchtests/bench-strspn-ifunc.c: Likewise.
41662         * benchtests/bench-strstr-ifunc.c: Likewise.
41664 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41666         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
41668 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41670         * resolv/netdb.h: Use __glibc_reserved instead __unused.
41671         * rt/aio.h: Likewise.
41672         * sysdeps/gnu/bits/utmp.h: Likewise.
41673         * sysdeps/gnu/bits/utmpx.h: Likewise.
41674         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41675         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
41676         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
41677         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
41678         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
41679         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
41680         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
41681         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
41682         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
41683         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
41684         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
41685         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
41686         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
41687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
41688         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41689         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
41690         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
41691         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
41692         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
41693         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
41694         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
41695         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
41696         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
41697         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41698         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
41699         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41700         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
41701         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
41702         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
41703         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
41704         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
41705         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
41706         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
41707         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41708         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
41709         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
41710         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
41711         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
41712         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
41713         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
41714         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
41715         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41717 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
41719         [BZ #16245]
41720         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
41721         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
41723 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
41725         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
41726         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41727         Likewise.
41729 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41731         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
41732         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
41733         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
41734         (__fesetround): Remove define.
41735         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
41736         rounding and exceptions handling.
41737         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
41738         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
41739         (__fe_nomask_env): Likewise.
41740         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
41741         __fegetround instead of fegetround.
41742         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41743         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
41745 2013-11-21  Roland McGrath  <roland@hack.frob.com>
41747         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
41748         it's there.
41750         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
41752 2013-11-21  Meador Inge  <meadori@codesourcery.com>
41754         [BZ #11157]
41755         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
41756         (encrypt_r): Likewise.
41757         * malloc/obstack.h (obstack_free): Likewise.
41758         * posix/unistd.h (encrypt): Likewise.
41760 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
41762         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
41763         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
41764         DL_CALL_DT_FINI() that call the functions directly.
41765         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
41766         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
41767         * elf/dl-fini.c: Likewise.
41769 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
41771         * malloc/hooks.c (memalign_check): Add alignment rounding.
41772         * malloc/malloc.c (_mid_memalign): New function.
41773         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
41774         Implement by calling _mid_memalign.
41775         * manual/probes.texi (Memory Allocation Probes): Remove
41776         memory_valloc_retry and memory_pvalloc_retry.
41778 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41780         * locale/programs/locarchive.c (open_archive): Add const
41781         qualifier to ARCHIVEFNAME and copy default fname to
41782         DEFAULT_FNAME.
41784         [BZ #15601]
41785         * libio/tst-widetext.input: Rename Oriya to Odia.
41786         * locale/iso-639.def: Likewise.
41788         * manual/probes.texi (Mathematical Function Probes): Add
41789         documentation for sin, cos, asin and acos probes.
41790         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
41791         (__sin32): Add slowasin probe.
41792         (__cos32): Add slowacos probe.
41793         (__mpsin): Add slowsin probe.
41794         (__mpcos): Add slowcos probe.
41796 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
41798         [BZ #15483]
41799         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
41800         thread-local __sim_exceptions_thread and global
41801         __sim_exceptions_global.
41802         (__sim_disabled_exceptions): Change to thread-local
41803         __sim_disabled_exceptions_thread and global
41804         __sim_disabled_exceptions_global.
41805         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41806         and global __sim_round_mode_global.
41807         (__simulate_exceptions): Use thread-local floating-point state and
41808         set global state from it as needed.
41809         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
41810         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
41811         __sim_round_mode_thread.
41812         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
41813         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
41814         and global __sim_exceptions_global.
41815         (__sim_disabled_exceptions): Change to thread-local
41816         __sim_disabled_exceptions_thread and global
41817         __sim_disabled_exceptions_global.
41818         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41819         and global __sim_round_mode_global.
41820         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
41821         (SIM_SET_GLOBAL): Likewise.
41822         * sysdeps/powerpc/soft-fp/sfp-machine.h
41823         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
41824         __sim_round_mode_thread.
41825         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
41826         __sim_disabled_exceptions_thread.
41827         (__sim_exceptions): Change to __sim_exceptions_thread.
41828         (__sim_disabled_exceptions): Change to
41829         __sim_disabled_exceptions_thread.
41830         (__sim_round_mode): Change to __sim_round_mode_thread.
41831         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
41832         thread-local floating-point state and set global state from it as
41833         needed.
41834         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
41835         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
41836         (__sim_disabled_exceptions): Remove extern declaration.
41837         (feenableexcept): Use thread-local floating-point state and set
41838         global state from it as needed.
41839         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
41840         extern declaration.
41841         (__sim_disabled_exceptions): Likewise.
41842         (__sim_round_mode): Likewise.
41843         (__fegetenv): Use thread-local floating-point state.
41844         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
41845         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41846         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
41847         floating-point state and set global state from it as needed.
41848         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
41849         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41850         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
41851         Likewise.
41852         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41853         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
41854         Likewise.
41855         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
41856         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
41857         Use __sim_round_mode_thread.
41858         * math/test-fenv-tls.c: New file.
41859         * math/Makefile (tests): Add test-fenv-tls.
41860         ($(objpfx)test-fenv-tls): Depend on
41861         $(common-objpfx)nptl/libpthread.so.
41863 2013-11-19  Andreas Schwab  <schwab@suse.de>
41865         * locale/programs/locale.c (show_info): Decode wordarray elements.
41866         * locale/categories.def (LC_MONETARY): Add element for
41867         _NL_MONETARY_CRNCYSTR.
41868         * locale/C-monetary.c (conversion_rate): New variable.
41869         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
41870         element.
41872 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
41874         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
41875         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
41877 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
41879         * elf/Makefile (tst-auxv): New test.
41880         * elf/tst-auxv.c: New
41881         * elf/rtld.c (dl_main): Adjust AT_EXECFN
41883 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
41885         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
41886         (hidden_proto): Caller changed.
41887         (hidden_tls_proto): New macro.
41888         (libc_hidden_tls_proto): Likewise.
41889         (rtld_hidden_tls_proto): Likewise.
41890         (libm_hidden_tls_proto): Likewise.
41891         (libresolv_hidden_tls_proto): Likewise.
41892         (librt_hidden_tls_proto): Likewise.
41893         (libdl_hidden_tls_proto): Likewise.
41894         (libnss_files_hidden_tls_proto): Likewise.
41895         (libnsl_hidden_tls_proto): Likewise.
41896         (libnss_nisplus_hidden_tls_proto): Likewise.
41897         (libutil_hidden_tls_proto): Likewise.
41899 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
41901         [BZ #10253]
41902         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
41903         (decompose_rpath): Defer expansion to fillin_rpath.
41904         (_dl_init_paths): Pass linkmap to fillin_rpath.
41906 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41908         * benchtests/Makefile: Add strsep.
41909         * benchtests/bench-strsep.c: New file: strsep benchtest.
41910         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
41912 2013-11-18  Andreas Schwab  <schwab@suse.de>
41914         * locale/programs/locale.c (show_info) [case byte]: Check for
41915         '\377' instead of '\177'.
41916         * locale/C-monetary.c (not_available): Always use "\377".
41917         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
41918         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
41919         detect unavailable sign_posn locale elements.
41920         * locale/localeconv.c (__localeconv): For grouping and
41921         mon_grouping handle "\177" and "\377" like no grouping.
41922         (INT_ELEM): New macro.  Use it to set all numeric members.
41923         * locale/programs/ld-monetary.c (monetary_read)
41924         <tok_mon_grouping>: Normalize single -1 to the empty string.
41925         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
41926         Likewise.
41928 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41930         [BZ #16055]
41931         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
41932         when we match (nil).
41933         * stdio-common/tst-sscanf.c (struct test): Add testcase.
41935 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
41937         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
41938         (NO_TEST_INLINE): Update value.
41939         (ERRNO_UNCHANGED): Likewise.
41940         (ERRNO_EDOM): Likewise.
41941         (ERRNO_ERANGE): Likewise.
41942         (IGNORE_RESULT): Likewise.
41943         (check_float_internal): Check signs of NaN results if
41944         TEST_NAN_SIGN used.
41945         (check_complex): Pass TEST_NAN_SIGN flag through to second
41946         check_float_internal call.
41947         (copysign_test_data): Add tests with quiet NaNs as second
41948         argument.  Use TEST_NAN_SIGN.
41949         (fabs_test_data): Add test of negative quiet NaN argument.  Use
41950         TEST_NAN_SIGN.
41951         (signbit_test_data): Add tests of quiet NaN argument.
41952         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
41954         * math/gen-libm-test.pl (show_exceptions): Take extra argument
41955         $ignore_result.
41956         (parse_args): Handle function results specified as IGNORE.
41957         * math/libm-test.inc (IGNORE_RESULT): New macro.
41958         (check_float_internal): Do not check numerical result if flag
41959         IGNORE_RESULT set.
41960         (check_complex): Pass through IGNORE_RESULT to second
41961         check_float_internal call.
41962         (check_int): Do not check numerical result if flag IGNORE_RESULT
41963         set.
41964         (check_long): Likewise.
41965         (check_bool): Likewise.
41966         (check_longlong): Likewise.
41967         (lrint_test_data): Add tests of infinite and NaN arguments.
41968         (lrint_tonearest_test_data): Likewise.
41969         (lrint_towardzero_test_data): Likewise.
41970         (lrint_downward_test_data): Likewise.
41971         (lrint_upward_test_data): Likewise.
41972         (llrint_test_data): Likewise.
41973         (llrint_tonearest_test_data): Likewise.
41974         (llrint_towardzero_test_data): Likewise.
41975         (llrint_downward_test_data): Likewise.
41976         (llrint_upward_test_data): Likewise.
41977         (lround_test_data): Likewise.
41978         (llround_test_data): Likewise.
41980         * math/libm-test.inc (NO_TEST_INLINE): New macro.
41981         (ERRNO_UNCHANGED): Update value.
41982         (ERRNO_EDOM): Likewise.
41983         (ERRNO_ERANGE): Likewise.
41984         (NO_TEST_INLINE_FLOAT): New macro.
41985         (NO_TEST_INLINE_DOUBLE): Likewise.
41986         (enable_test): New function.
41987         (RUN_TEST_f_f): Check enable_test before running test.
41988         (RUN_TEST_2_f): Likewise.
41989         (RUN_TEST_fff_f): Likewise.
41990         (RUN_TEST_c_f): Likewise.
41991         (RUN_TEST_f_f1): Likewise.
41992         (RUN_TEST_fF_f1): Likewise.
41993         (RUN_TEST_fI_f1): Likewise.
41994         (RUN_TEST_ffI_f1): Likewise.
41995         (RUN_TEST_c_c): Likewise.
41996         (RUN_TEST_cc_c): Likewise.
41997         (RUN_TEST_f_i): Likewise.
41998         (RUN_TEST_f_i_tg): Likewise.
41999         (RUN_TEST_ff_i_tg): Likewise.
42000         (RUN_TEST_f_b): Likewise.
42001         (RUN_TEST_f_b_tg): Likewise.
42002         (RUN_TEST_f_l): Likewise.
42003         (RUN_TEST_f_L): Likewise.
42004         (RUN_TEST_fFF_11): Likewise.
42005         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
42006         conditionals.
42007         (cosh_test_data): Likewise.
42008         (exp_test_data): Likewise.
42009         (expm1_test_data): Likewise.
42010         (hypot_test_data): Likewise.
42011         (pow_test_data): Likewise.
42012         (sinh_test_data): Likewise.
42013         (tanh_test_data): Likewise.
42014         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
42015         flags argument.
42017         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
42018         tests with quiet NaN input and output.
42019         (acosh_test_data): Likewise.
42020         (asin_test_data): Likewise.
42021         (asinh_test_data): Likewise.
42022         (atan_test_data): Likewise.
42023         (atanh_test_data): Likewise.
42024         (atan2_test_data): Likewise.
42025         (cbrt_test_data): Likewise.
42026         (cos_test_data): Likewise.
42027         (cosh_test_data): Likewise.
42028         (erf_test_data): Likewise.
42029         (erfc_test_data): Likewise.
42030         (exp_test_data): Likewise.
42031         (exp10_test_data): Likewise.
42032         (exp2_test_data): Likewise.
42033         (expm1_test_data): Likewise.
42034         (hypot_test_data): Likewise.
42035         (j0_test_data): Likewise.
42036         (j1_test_data): Likewise.
42037         (jn_test_data): Likewise.
42038         (lgamma_test_data): Likewise.
42039         (log_test_data): Likewise.
42040         (log10_test_data): Likewise.
42041         (log1p_test_data): Likewise.
42042         (log2_test_data): Likewise.
42043         (pow_test_data): Likewise.
42044         (scalb_test_data): Likewise.
42045         (sin_test_data): Likewise.
42046         (sincos_test_data): Likewise.
42047         (sinh_test_data): Likewise.
42048         (tan_test_data): Likewise.
42049         (tanh_test_data): Likewise.
42050         (tgamma_test_data): Likewise.
42051         (y0_test_data): Likewise.
42052         (y1_test_data): Likewise.
42053         (yn_test_data): Likewise.
42055         [BZ #16167]
42056         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
42057         argument being NaN and avoid computations with second argument in
42058         that case.
42059         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42060         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42061         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42063 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
42065         * locale/iso-639.def: Add Chitwani Tharu (the).
42067 2013-11-14  Andreas Schwab  <schwab@suse.de>
42069         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
42070         word instead of empty string.
42072 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42075         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
42076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42077         (__fe_nomask_env): Likewise.
42079 2013-11-13  Steve Ellcey  <sellcey@mips.com>
42081         * benchtests/bench-timing.h: Include time.h.
42083 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
42085         [BZ #15997]
42086         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
42087         to 3.4.0 for x32.
42088         * sysdeps/unix/sysv/linux/configure: Regenerated.
42090 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
42092         [BZ #16151]
42093         * stdlib/strtod_l.c (round_and_return): Do not consider
42094         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
42095         exponent one less than half the least subnormal exponent.
42096         * stdlib/test-strtod-round-data: Add more tests.
42097         * stdlib/tst-strtod-round.c (tests): Regenerated.
42099 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42101         [BZ #14143]
42102         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
42103         (__fe_mask_env): Likewise.
42104         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
42105         libm_hidden_proto and add function prototype.
42106         (__fe_mask_env): Add function prototype.
42107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42108         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
42109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42110         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
42111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42112         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
42114 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42116         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
42117         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
42119 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42121         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
42122         of htab_find_slot().
42124 2013-11-11  David S. Miller  <davem@davemloft.net>
42126         [BZ #16150]
42127         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
42128         symbol in the non-vis3 case in static builds.
42129         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
42130         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
42131         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
42132         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
42134 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
42136         [BZ #387]
42137         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
42138         it is empty.
42140 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42142         * benchtests/Makefile: Add bench-strtod.
42143         * benchtests/bench-strtod.c: New file: strtod benchtest
42145 2013-11-11  Andreas Schwab  <schwab@suse.de>
42147         [BZ #16153]
42148         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
42149         terminating NUL in key length.
42151 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42153         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42154         Add artificial ODP entry for vDSO symbol for PPC64.
42155         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
42156         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
42158 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42160         [BZ #15374]
42161         * nss/getent.c (services_keys): Recognize services starting with digit.
42163 2013-11-06  David S. Miller  <davem@davemloft.net>
42165         [BZ #15985]
42166         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
42167         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
42169 2013-11-06  Will Newton  <will.newton@linaro.org>
42171         * manual/memory.texi (Malloc Examples): Remove register
42172         keyword from examples.
42174 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
42176         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
42178 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
42180         [BZ #6981]
42181         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
42182         depending on [__GCC_IEC_559 > 0].
42183         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
42184         depending on [__GCC_IEC_559_COMPLEX > 0].
42186 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
42188         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
42189         to iso-639.def.
42191 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
42193         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
42195 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
42197         [BZ #16112]
42198         * malloc/malloc (malloc_info): Do not handle first bin as
42199         special case.
42201 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
42203         * locale/iso-639.def: Add Central Nahuatl (nhn).
42205 2013-11-01  Bruno Haible  <bruno@clisp.org>
42207         [BZ #7003]
42208         * manual/math.texi (BSD Random): Specify range upper bound as
42209         in POSIX.
42211 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
42213         * locale/iso-639.def: Add Meadow Mari (mhr).
42215 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
42217         [BZ #14752], [BZ #15763]
42218         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
42219         Validate name.
42220         * rt/tst_shm.c: Add test for escaping directory.
42222 2013-10-31  Andreas Schwab  <schwab@suse.de>
42224         [BZ #15917]
42225         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
42226         followed by 'x' as part of digit sequence.
42227         * stdio-common/tst-sscanf.c (double_tests2): New tests.
42229 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
42231         [BZ #16037]
42232         * configure.ac: allow GNU Make 4.0 and greater.
42233         * configure: Regenerated.
42235 2013-10-30  Will Newton  <will.newton@linaro.org>
42237         [BZ #16038]
42238         * malloc/hooks.c (memalign_check): Limit alignment to the
42239         maximum representable power of two.
42240         * malloc/malloc.c (__libc_memalign): Likewise.
42241         * malloc/tst-memalign.c (do_test): Add test for very
42242         large alignment values.
42243         * malloc/tst-posix_memalign.c (do_test): Likewise.
42245 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42247         [BZ #11087]
42248         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
42249         (munmap_chunk): Likewise.
42250         (mremap_chunk): Likewise.
42252 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42254         [BZ #15799]
42255         * stdlib/div.c (div): Remove obsolete code.
42256         * stdlib/ldiv.c (ldiv): Likewise.
42257         * stdlib/lldiv.c (lldiv): Likewise.
42259 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42261         [BZ #16071]
42262         * nss/nss_files/files-XXX.c (get_contents_ret): New
42263         enumerator.
42264         (get_contents): New function.
42265         (internal_getent): Use it.  Expand size of LINEBUFLEN.
42267 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
42269         * configure.in: Moved to ...
42270         * configure.ac: ... here. Change reference to configure.in
42271         to configure.ac.
42272         * sysdeps/arm/preconfigure.ac: ... here.
42273         configure.in to configure.ac.
42274         * sysdeps/gnu/configure.in: Moved to ...
42275         * sysdeps/gnu/configure.ac: ... here.
42276         * sysdeps/i386/configure.in: Moved to ...
42277         * sysdeps/i386/configure.ac: ... here.
42278         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
42279         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
42280         * sysdeps/mach/configure.in: Moved to ...
42281         * sysdeps/mach/configure.ac: ... here.
42282         * sysdeps/mach/hurd/configure.in: Moved to ...
42283         * sysdeps/mach/hurd/configure.ac: ... here.
42284         * sysdeps/powerpc/configure.in: Moved to ...
42285         * sysdeps/powerpc/configure.ac: ... here.
42286         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
42287         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
42288         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
42289         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
42290         * sysdeps/s390/s390-32/configure.in: Moved to ...
42291         * sysdeps/s390/s390-32/configure.ac: ... here.
42292         * sysdeps/s390/s390-64/configure.in: Moved to ...
42293         * sysdeps/s390/s390-64/configure.ac: ... here.
42294         * sysdeps/sh/configure.in: Moved to ...
42295         * sysdeps/sh/configure.ac: ... here.
42296         * sysdeps/sparc/configure.in: Moved to ...
42297         * sysdeps/sparc/configure.ac: ... here.
42298         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
42299         * sysdeps/unix/sysv/linux/configure.ac: ... here.
42300         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
42301         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
42302         * sysdeps/x86_64/configure.in: Moved to ...
42303         * sysdeps/x86_64/configure.ac: ... here.
42304         * sysdeps/x86_64/preconfigure.in: Moved to ...
42305         * sysdeps/x86_64/preconfigure.ac: ... here.
42306         * aclocal.m4: Change reference to configure.in to configure.ac.
42307         * config.h.in: Likewise.
42308         * manual/install.texi: Likewise.
42309         * manual/maint.texi: Likewise.
42310         * Makefile: Likewise.
42311         * malloc/Makefile: Likewise.
42312         * nscd/Makefile: Likewise.
42313         * Makeconfig: Change reference to configure.in and
42314         preconfigure.in to configure.ac and preconfigure.ac
42315         respectively.
42316         * INSTALL: Regenerated.
42317         * configure: Likewise.
42318         * sysdeps/gnu/configure: Likewise.
42319         * sysdeps/i386/configure: Likewise.
42320         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
42321         * sysdeps/mach/configure: Likewise.
42322         * sysdeps/mach/hurd/configure: Likewise.
42323         * sysdeps/powerpc/configure: Likewise.
42324         * sysdeps/powerpc/powerpc32/configure: Likewise.
42325         * sysdeps/powerpc/powerpc64/configure: Likewise.
42326         * sysdeps/s390/s390-32/configure: Likewise.
42327         * sysdeps/s390/s390-64/configure: Likewise.
42328         * sysdeps/sh/configure: Likewise.
42329         * sysdeps/sparc/configure: Likewise.
42330         * sysdeps/unix/sysv/linux/configure: Likewise.
42331         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
42332         * sysdeps/x86_64/configure: Likewise.
42333         * sysdeps/x86_64/preconfigure: Likewise.
42335 2013-10-29  Andreas Schwab  <schwab@suse.de>
42337         * stdio-common/Makefile (tst-swscanf-ENV): Define.
42339 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42341         * benchtests/pow-inputs: Add new inputs.
42343         * benchtests/exp-inputs: Add new inputs.
42345         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
42346         conditional check for return value.
42347         (__cos32): Likewise.
42349 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42351         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
42352         to provide a boost for large inputs with word alignment.
42353         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
42354         implementation based on optimized PPC64 strcpy.
42355         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
42356         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
42357         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
42358         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
42360 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42362         [BZ #2801]
42363         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
42365 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42367         [BZ #14876]
42368         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
42369         * time/tst-strptime.c (day_tests): Add testcase.
42371 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42373         [BZ #14029]
42374         * manual/pattern.texi: Acknowledge that fnmatch can fail.
42376 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
42378         [BZ #16074]
42379         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
42380         MAP_FAILED on error.
42382 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42384         [BZ #16072]
42385         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
42386         heap for large requests.
42388 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
42390         [BZ #9954]
42391         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
42392         result if the result has no associated interface.
42393         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
42394         interface for all 127.X.Y.Z addresses.
42396 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
42398         * locale/iso-639.def: Add Ligurian (lij)
42400 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
42402         [BZ #15825]
42403         * sunrpc/rpc_main.c: Document rpcgen -5.
42405 2013-10-19  Michael Stahl  <mstahl@redhat.com>
42407         * elf/rtld.c (do_preload): Print the reason why preloading failed.
42409 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42411         [BZ #10278]
42412         * posix/glob.c: Match only directories when trailing slash is present.
42413         * posix/tst-gnuglob.c (my_opendir): Do not open files.
42414         (main): Add testcase.
42416 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42418         [BZ #15670]
42419         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
42421 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
42423         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
42424         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
42425         AUTH_DES and cindex for FIPS 140-2.
42426         (DES Encryption): Add cindex FIPS 46-3.
42428         * locale/locarchive.h (struct locarhandle): Add fname.
42429         * locale/programs/localedef.c (main): Pass ARGV[remaining]
42430         if an optional argument was specified to --list-archive,
42431         otherwise NULL.
42432         * locale/programs/locarchive.c (show_archive_content): Take new
42433         argument fname and pass it via ah.fname to open_archive.
42434         * locale/programs/localedef.h: Update decl.
42435         (open_archive): If AH->fname is non-null, open that file
42436         rather than the default file name, and don't ignore ENOENT.
42437         (create_archive): Set AH.fname to NULL.
42438         (delete_locales_from_archive): Likewise.
42439         (add_locales_to_archive): Likewise.
42440         * locale/programs/locfile.c (write_all_categories): Likewise.
42442 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
42443             Aldy Hernandez  <aldyh@redhat.com>
42445         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
42446         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
42447         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
42448         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
42449         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
42450         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
42451         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
42452         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
42453         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
42454         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
42455         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
42456         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
42457         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
42458         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
42459         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
42460         Likewise.
42461         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
42462         Likewise.
42463         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
42464         Likewise.
42465         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
42466         Likewise.
42467         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
42468         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
42469         Likewise.
42470         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
42471         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
42472         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
42473         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
42474         Likewise.
42475         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
42476         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
42477         * sysdeps/powerpc/preconfigure: Likewise.
42478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
42479         Likewise.
42480         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
42481         Replace contents of file by #include of <fenv_libc.h>.
42482         * sysdeps/powerpc/soft-fp/sfp-machine.h
42483         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
42484         and <sys/prctl.h>.
42485         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
42486         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
42487         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
42488         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
42489         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
42490         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
42491         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
42492         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
42493         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
42494         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
42495         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
42496         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
42497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42498         Allow copysignl PLT reference to be missing.
42500 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
42501             Joseph Myers  <joseph@codesourcery.com
42503         [BZ #15948]
42504         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
42505         single character.
42506         (add_to_tablewc): Assert sequence of wide characters is nonempty.
42508 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42510         * elf/tst-tls-dlinfo.c: Don't include tls.h.
42511         * elf/tst-tls1.c: Likewise.
42512         * elf/tst-tls10.h: Likewise.
42513         * elf/tst-tls14.c: Likewise.
42514         * elf/tst-tls2.c: Likewise.
42515         * elf/tst-tls3.c: Likewise.
42516         * elf/tst-tls4.c: Likewise.
42517         * elf/tst-tls5.c: Likewise.
42518         * elf/tst-tls6.c: Likewise.
42519         * elf/tst-tls7.c: Likewise.
42520         * elf/tst-tls8.c: Likewise.
42521         * elf/tst-tls9.c: Likewise.
42522         * elf/tst-tlsmod1.c: Likewise.
42523         * elf/tst-tlsmod13.c: Likewise.
42524         * elf/tst-tlsmod13a.c: Likewise.
42525         * elf/tst-tlsmod14a.c: Likewise.
42526         * elf/tst-tlsmod16a.c: Likewise.
42527         * elf/tst-tlsmod16b.c: Likewise.
42528         * elf/tst-tlsmod2.c: Likewise.
42529         * elf/tst-tlsmod3.c: Likewise.
42530         * elf/tst-tlsmod4.c: Likewise.
42531         * elf/tst-tlsmod5.c: Likewise.
42532         * elf/tst-tlsmod6.c: Likewise.
42534 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
42536         [BZ #12486]
42537         * malloc/malloc.c: remove checks for statistics.
42539 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42541         [BZ #15277]
42542         * inet/inet_net.c (inet_network): Detect additional invalid strings.
42543         * inet/tst-network.c: Add testcase.
42545 2013-10-17  Andreas Schwab  <schwab@suse.de>
42547         [BZ #15218]
42548         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
42549         to determine canonical name.
42551 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42553         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
42554         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
42555         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42556         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42557         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42558         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42559         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42560         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42561         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42562         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42563         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42564         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42565         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42566         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42567         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42568         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42569         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42570         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42571         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42572         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42573         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42574         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42575         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42576         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
42577         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
42578         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42579         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42580         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
42581         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42582         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
42583         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42584         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42585         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42586         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42587         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42588         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42589         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42590         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42591         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42592         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42593         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42594         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42595         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42596         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42597         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42598         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42599         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42600         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42601         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42602         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42603         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42604         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42605         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42606         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42607         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42608         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42609         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42610         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42612 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
42614         [BZ #16041]
42615         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
42616         make result into a quiet NaN.
42618 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
42620         * soft-fp/adddf3.c: Fix horizontal whitespace.
42621         * soft-fp/addsf3.c: Likewise.
42622         * soft-fp/addtf3.c: Likewise.
42623         * soft-fp/divdf3.c: Likewise.
42624         * soft-fp/divsf3.c: Likewise.
42625         * soft-fp/divtf3.c: Likewise.
42626         * soft-fp/double.h: Likewise.
42627         * soft-fp/eqdf2.c: Likewise.
42628         * soft-fp/eqsf2.c: Likewise.
42629         * soft-fp/eqtf2.c: Likewise.
42630         * soft-fp/extenddftf2.c: Likewise.
42631         * soft-fp/extended.h: Likewise.
42632         * soft-fp/extendsfdf2.c: Likewise.
42633         * soft-fp/extendsftf2.c: Likewise.
42634         * soft-fp/extendxftf2.c: Likewise.
42635         * soft-fp/fixdfdi.c: Likewise.
42636         * soft-fp/fixdfsi.c: Likewise.
42637         * soft-fp/fixdfti.c: Likewise.
42638         * soft-fp/fixsfdi.c: Likewise.
42639         * soft-fp/fixsfsi.c: Likewise.
42640         * soft-fp/fixsfti.c: Likewise.
42641         * soft-fp/fixtfdi.c: Likewise.
42642         * soft-fp/fixtfsi.c: Likewise.
42643         * soft-fp/fixtfti.c: Likewise.
42644         * soft-fp/fixunsdfdi.c: Likewise.
42645         * soft-fp/fixunsdfsi.c: Likewise.
42646         * soft-fp/fixunsdfti.c: Likewise.
42647         * soft-fp/fixunssfdi.c: Likewise.
42648         * soft-fp/fixunssfsi.c: Likewise.
42649         * soft-fp/fixunssfti.c: Likewise.
42650         * soft-fp/fixunstfdi.c: Likewise.
42651         * soft-fp/fixunstfsi.c: Likewise.
42652         * soft-fp/fixunstfti.c: Likewise.
42653         * soft-fp/floatdidf.c: Likewise.
42654         * soft-fp/floatdisf.c: Likewise.
42655         * soft-fp/floatditf.c: Likewise.
42656         * soft-fp/floatsidf.c: Likewise.
42657         * soft-fp/floatsisf.c: Likewise.
42658         * soft-fp/floatsitf.c: Likewise.
42659         * soft-fp/floattidf.c: Likewise.
42660         * soft-fp/floattisf.c: Likewise.
42661         * soft-fp/floattitf.c: Likewise.
42662         * soft-fp/floatundidf.c: Likewise.
42663         * soft-fp/floatundisf.c: Likewise.
42664         * soft-fp/floatunditf.c: Likewise.
42665         * soft-fp/floatunsidf.c: Likewise.
42666         * soft-fp/floatunsisf.c: Likewise.
42667         * soft-fp/floatunsitf.c: Likewise.
42668         * soft-fp/floatuntidf.c: Likewise.
42669         * soft-fp/floatuntisf.c: Likewise.
42670         * soft-fp/floatuntitf.c: Likewise.
42671         * soft-fp/fmadf4.c: Likewise.
42672         * soft-fp/fmasf4.c: Likewise.
42673         * soft-fp/fmatf4.c: Likewise.
42674         * soft-fp/gedf2.c: Likewise.
42675         * soft-fp/gesf2.c: Likewise.
42676         * soft-fp/getf2.c: Likewise.
42677         * soft-fp/ledf2.c: Likewise.
42678         * soft-fp/lesf2.c: Likewise.
42679         * soft-fp/letf2.c: Likewise.
42680         * soft-fp/muldf3.c: Likewise.
42681         * soft-fp/mulsf3.c: Likewise.
42682         * soft-fp/multf3.c: Likewise.
42683         * soft-fp/negdf2.c: Likewise.
42684         * soft-fp/negsf2.c: Likewise.
42685         * soft-fp/negtf2.c: Likewise.
42686         * soft-fp/op-1.h: Likewise.
42687         * soft-fp/op-2.h: Likewise.
42688         * soft-fp/op-4.h: Likewise.
42689         * soft-fp/op-8.h: Likewise.
42690         * soft-fp/op-common.h: Likewise.
42691         * soft-fp/quad.h: Likewise.
42692         * soft-fp/single.h: Likewise.
42693         * soft-fp/soft-fp.h: Likewise.
42694         * soft-fp/sqrtdf2.c: Likewise.
42695         * soft-fp/sqrtsf2.c: Likewise.
42696         * soft-fp/sqrttf2.c: Likewise.
42697         * soft-fp/subdf3.c: Likewise.
42698         * soft-fp/subsf3.c: Likewise.
42699         * soft-fp/subtf3.c: Likewise.
42700         * soft-fp/truncdfsf2.c: Likewise.
42701         * soft-fp/trunctfdf2.c: Likewise.
42702         * soft-fp/trunctfsf2.c: Likewise.
42703         * soft-fp/trunctfxf2.c: Likewise.
42704         * soft-fp/unorddf2.c: Likewise.
42705         * soft-fp/unordsf2.c: Likewise.
42706         * soft-fp/unordtf2.c: Likewise.
42708 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
42710         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
42711         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
42713 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
42715         * elf/dl-libc.c: Clear initfini list after freeing.
42717 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
42719         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
42720         * soft-fp/addsf3.c: Likewise.
42721         * soft-fp/addtf3.c: Likewise.
42722         * soft-fp/divdf3.c: Likewise.
42723         * soft-fp/divsf3.c: Likewise.
42724         * soft-fp/divtf3.c: Likewise.
42725         * soft-fp/double.h: Likewise.
42726         * soft-fp/eqdf2.c: Likewise.
42727         * soft-fp/eqsf2.c: Likewise.
42728         * soft-fp/eqtf2.c: Likewise.
42729         * soft-fp/extenddftf2.c: Likewise.
42730         * soft-fp/extended.h: Likewise.
42731         * soft-fp/extendsfdf2.c: Likewise.
42732         * soft-fp/extendsftf2.c: Likewise.
42733         * soft-fp/extendxftf2.c: Likewise.
42734         * soft-fp/fixdfdi.c: Likewise.
42735         * soft-fp/fixdfsi.c: Likewise.
42736         * soft-fp/fixdfti.c: Likewise.
42737         * soft-fp/fixsfdi.c: Likewise.
42738         * soft-fp/fixsfsi.c: Likewise.
42739         * soft-fp/fixsfti.c: Likewise.
42740         * soft-fp/fixtfdi.c: Likewise.
42741         * soft-fp/fixtfsi.c: Likewise.
42742         * soft-fp/fixtfti.c: Likewise.
42743         * soft-fp/fixunsdfdi.c: Likewise.
42744         * soft-fp/fixunsdfsi.c: Likewise.
42745         * soft-fp/fixunsdfti.c: Likewise.
42746         * soft-fp/fixunssfdi.c: Likewise.
42747         * soft-fp/fixunssfsi.c: Likewise.
42748         * soft-fp/fixunssfti.c: Likewise.
42749         * soft-fp/fixunstfdi.c: Likewise.
42750         * soft-fp/fixunstfsi.c: Likewise.
42751         * soft-fp/fixunstfti.c: Likewise.
42752         * soft-fp/floatdidf.c: Likewise.
42753         * soft-fp/floatdisf.c: Likewise.
42754         * soft-fp/floatditf.c: Likewise.
42755         * soft-fp/floatsidf.c: Likewise.
42756         * soft-fp/floatsisf.c: Likewise.
42757         * soft-fp/floatsitf.c: Likewise.
42758         * soft-fp/floattidf.c: Likewise.
42759         * soft-fp/floattisf.c: Likewise.
42760         * soft-fp/floattitf.c: Likewise.
42761         * soft-fp/floatundidf.c: Likewise.
42762         * soft-fp/floatundisf.c: Likewise.
42763         * soft-fp/floatunsidf.c: Likewise.
42764         * soft-fp/floatunsisf.c: Likewise.
42765         * soft-fp/floatuntidf.c: Likewise.
42766         * soft-fp/floatuntisf.c: Likewise.
42767         * soft-fp/floatuntitf.c: Likewise.
42768         * soft-fp/fmadf4.c: Likewise.
42769         * soft-fp/fmasf4.c: Likewise.
42770         * soft-fp/fmatf4.c: Likewise.
42771         * soft-fp/gedf2.c: Likewise.
42772         * soft-fp/gesf2.c: Likewise.
42773         * soft-fp/getf2.c: Likewise.
42774         * soft-fp/ledf2.c: Likewise.
42775         * soft-fp/lesf2.c: Likewise.
42776         * soft-fp/letf2.c: Likewise.
42777         * soft-fp/muldf3.c: Likewise.
42778         * soft-fp/mulsf3.c: Likewise.
42779         * soft-fp/multf3.c: Likewise.
42780         * soft-fp/negdf2.c: Likewise.
42781         * soft-fp/negsf2.c: Likewise.
42782         * soft-fp/negtf2.c: Likewise.
42783         * soft-fp/op-1.h: Likewise.
42784         * soft-fp/op-2.h: Likewise.
42785         * soft-fp/op-4.h: Likewise.
42786         * soft-fp/op-8.h: Likewise.
42787         * soft-fp/op-common.h: Likewise.
42788         * soft-fp/quad.h: Likewise.
42789         * soft-fp/single.h: Likewise.
42790         * soft-fp/soft-fp.h: Likewise.
42791         * soft-fp/sqrtdf2.c: Likewise.
42792         * soft-fp/sqrtsf2.c: Likewise.
42793         * soft-fp/sqrttf2.c: Likewise.
42794         * soft-fp/subdf3.c: Likewise.
42795         * soft-fp/subsf3.c: Likewise.
42796         * soft-fp/subtf3.c: Likewise.
42797         * soft-fp/truncdfsf2.c: Likewise.
42798         * soft-fp/trunctfdf2.c: Likewise.
42799         * soft-fp/trunctfsf2.c: Likewise.
42800         * soft-fp/trunctfxf2.c: Likewise.
42801         * soft-fp/unorddf2.c: Likewise.
42802         * soft-fp/unordsf2.c: Likewise.
42803         * soft-fp/unordtf2.c: Likewise.
42805 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
42807         [BZ #15672]
42808         * misc/error.c (error_tail): Fix possible buffer overflow.
42810 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
42812         [BZ #13028]
42813         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
42814         address.
42816 2013-10-14  P. J. McDermott  <pj@pehjota.net>
42818         [BZ #832]
42819         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
42820         testing pipefail option.
42822 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42824         * soft-fp/double.h: Indent preprocessor directives inside #if.
42825         * soft-fp/extended.h: Likewise.
42826         * soft-fp/op-2.h: Likewise.
42827         * soft-fp/op-4.h: Likewise.
42828         * soft-fp/op-common.h: Likewise.
42829         * soft-fp/quad.h: Likewise.
42830         * soft-fp/single.h: Likewise.
42831         * soft-fp/soft-fp.h: Likewise.
42833 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
42835         * iconv/iconv_prog.c: Fix typos.
42836         * stdio-common/psiginfo-data.h: Likewise.
42838 2013-10-12   Reuben Thomas <rrt@sc3d.org>
42840         [BZ #15764]
42841         * locale/setlocale.c: Fix typo.
42843 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42845         [BZ #16036]
42846         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
42847         signaling NaN arguments.
42848         * soft-fp/unordsf2.c (__unordsf2): Likewise.
42849         * soft-fp/unordtf2.c (__unordtf2): Likewise.
42851         [BZ #14910]
42852         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
42853         unordered operands.
42854         * soft-fp/gesf2.c (__gesf2): Likewise.
42855         * soft-fp/getf2.c (__getf2): Likewise.
42856         * soft-fp/ledf2.c (__ledf2): Likewise.
42857         * soft-fp/lesf2.c (__lesf2): Likewise.
42858         * soft-fp/letf2.c (__letf2): Likewise.
42860         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
42861         * soft-fp/eqsf2.c (__eqsf2): Likewise.
42862         * soft-fp/eqtf2.c (__eqtf2): Likewise.
42863         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
42864         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
42865         * soft-fp/fixdfti.c (__fixdfti): Likewise.
42866         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
42867         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
42868         * soft-fp/fixsfti.c (__fixsfti): Likewise.
42869         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
42870         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
42871         * soft-fp/fixtfti.c (__fixtfti): Likewise.
42872         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
42873         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
42874         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
42875         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
42876         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
42877         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
42878         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
42879         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
42880         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
42881         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
42882         * soft-fp/floatdisf.c (__floatdisf): Likewise.
42883         * soft-fp/floatsisf.c (__floatsisf): Likewise.
42884         * soft-fp/floattidf.c (__floattidf): Likewise.
42885         * soft-fp/floattisf.c (__floattisf): Likewise.
42886         * soft-fp/floattitf.c (__floattitf): Likewise.
42887         * soft-fp/floatundidf.c (__floatundidf): Likewise.
42888         * soft-fp/floatundisf.c (__floatundisf): Likewise.
42889         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
42890         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
42891         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
42892         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
42893         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
42894         * soft-fp/gesf2.c (__gesf2): Likewise.
42895         * soft-fp/getf2.c (__getf2): Likewise.
42896         * soft-fp/ledf2.c (__ledf2): Likewise.
42897         * soft-fp/lesf2.c (__lesf2): Likewise.
42898         * soft-fp/letf2.c (__letf2): Likewise.
42900         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
42901         Undefine and redefine.
42902         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
42903         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
42904         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
42905         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
42906         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42907         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
42908         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42909         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
42910         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42911         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
42912         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42913         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
42914         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42915         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
42916         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42918         [BZ #16032]
42919         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
42920         without decrementing exponent if mantissa >= that for the
42921         denominator, not >.
42922         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
42923         denominator, not >.  Decrement exponent in < case instead of
42924         incrementing in >= case.
42925         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
42926         without decrementing exponent if mantissa >= that for the
42927         denominator, not >.
42929         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
42930         computing saturated result for unsigned overflow.
42932 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42933             Jeff Law  <law@redhat.com>
42935         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
42936         (atan2Mp): Add systemtap probe marker.
42937         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
42938         (__ieee754_log): Add systemtap probe marker.
42939         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
42940         (atanMp): Add systemtap probe marker.
42941         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
42942         (tanMp): Add systemtap probe marker.
42943         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
42944         (__slowexp): Add systemtap probe marker.
42945         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
42946         (__slowpow): Add systemtap probe marker.
42947         * manual/probes.texi: Document probes.
42949 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
42951         [BZ #15362]
42952         * libio/fileops.c (_IO_new_file_write): Return count of bytes
42953         written.
42954         (_IO_new_file_xsputn): Don't return EOF if nothing has been
42955         written.
42956         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
42957         written to buffer but not flushed.
42958         * libio/iofwrite_u.c:  Likewise.
42959         * libio/iopadn.c:  Return bytes returned even if EOF was
42960         encountered.
42961         * libio/iowpadn.c:  Likewise.
42962         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
42963         if _IO_padn does not write the whole buffer.
42964         [!COMPILE_WPRINTF] (PAD): Likewise.
42966 2013-10-10  David S. Miller  <davem@davemloft.net>
42968         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
42969         directory block.
42971 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42973         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
42974         instead of FSF address.
42975         * soft-fp/fixdfti.c: Likewise.
42976         * soft-fp/fixsfti.c: Likewise.
42977         * soft-fp/fixtfti.c: Likewise.
42978         * soft-fp/fixunsdfti.c: Likewise.
42979         * soft-fp/fixunssfti.c: Likewise.
42980         * soft-fp/fixunstfti.c: Likewise.
42981         * soft-fp/floattidf.c: Likewise.
42982         * soft-fp/floattisf.c: Likewise.
42983         * soft-fp/floattitf.c: Likewise.
42984         * soft-fp/floatuntidf.c: Likewise.
42985         * soft-fp/floatuntisf.c: Likewise.
42986         * soft-fp/floatuntitf.c: Likewise.
42987         * soft-fp/trunctfxf2.c: Likewise.
42989         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
42990         * soft-fp/fixdfti.c: Likewise.
42991         * soft-fp/fixsfti.c: Likewise.
42992         * soft-fp/fixtfti.c: Likewise.
42993         * soft-fp/fixunsdfti.c: Likewise.
42994         * soft-fp/fixunssfti.c: Likewise.
42995         * soft-fp/fixunstfti.c: Likewise.
42996         * soft-fp/floattidf.c: Likewise.
42997         * soft-fp/floattisf.c: Likewise.
42998         * soft-fp/floattitf.c: Likewise.
42999         * soft-fp/floatuntidf.c: Likewise.
43000         * soft-fp/floatuntisf.c: Likewise.
43001         * soft-fp/floatuntitf.c: Likewise.
43002         * soft-fp/trunctfxf2.c: Likewise.
43004 2013-10-10  David S. Miller  <davem@davemloft.net>
43006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43008 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
43010         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43011         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
43012         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
43013         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
43014         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
43015         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
43016         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
43018         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
43019         for NaNs before doing comparisons on argument.
43020         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
43021         Likewise.
43023 2013-10-10  Will Newton  <will.newton@linaro.org>
43025         * malloc/hooks.c (memalign_check): Ensure the value of bytes
43026         passed to _int_memalign does not overflow.
43028 2013-10-10  Torvald Riegel  <triegel@redhat.com>
43030         * scripts/bench.pl: Add include-sources directive.
43031         * benchtests/README: Update documentation.
43033 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43035         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
43036         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
43037         instead of FP_INIT_ROUNDMODE.
43038         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
43039         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
43041         [BZ #16034]
43042         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
43043         copy class of input value.
43044         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
43045         not handle exceptions.
43046         * soft-fp/negsf2.c (__negsf2): Likewise.
43047         * soft-fp/negtf2.c (__negtf2): Likewise.
43048         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
43050 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
43052         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
43053         semicolon.  From Linux kernel.
43055 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
43057         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
43059 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
43061         [BZ #156]
43062         * manual/socket.texi: Added statement about buffer
43063         for gethostbyname2_r.
43065 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
43067         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
43068         Use .p2align directive instead, throughout.
43069         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43070         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43071         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
43072         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43073         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43074         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
43075         * sysdeps/x86_64/strchr.S: Likewise.
43076         * sysdeps/x86_64/strrchr.S: Likewise.
43078 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43080         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
43082         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
43084         * sysdeps/generic/math_private.h (__mpsin1): Remove
43085         declaration.
43086         (__mpcos1): Likewise.
43087         (__mpsin): New argument __range_reduce.
43088         (__mpcos): Likewise.
43089         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43090         (slow): Use __mpsin and __mpcos.
43091         (slow1): Likewise.
43092         (slow2): Likewise.
43093         (sloww): Likewise.
43094         (sloww1): Likewise.
43095         (sloww2): Likewise.
43096         (bsloww): Likewise.
43097         (bsloww1): Likewise.
43098         (bsloww2): Likewise.
43099         (cslow2): Likewise.
43100         (csloww): Likewise.
43101         (csloww1): Likewise.
43102         (csloww2): Likewise.
43103         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
43104         range_reduce.  Merge in __mpsin1.
43105         (__mpcos): Likewise.
43106         (__mpsin1): Remove.
43107         (__mpcos1): Likewise.
43109 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
43111         * locale/loadlocale.c (_nl_intern_locale_data): Use
43112         LOCFILE_ALIGNED_P.
43113         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
43114         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
43115         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
43116         obstack data is appropriately aligned.
43117         (obstack_int32_grow_fast): Likewise.
43118         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
43119         * locale/programs/locfile.c (add_locale_uint32): Likewise.
43120         (add_locale_uint32_array): Likewise.
43122 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43124         * benchtests/Makefile: Remove ARGLIST and RET variables.
43125         ($(objpfx)bench-%.c): Pass only function name to the script.
43126         * benchtests/README: Update documentation.
43127         * benchtests/acos-inputs: Add new directives.
43128         * benchtests/acosh-inputs: Likewise.
43129         * benchtests/asin-inputs: Likewise.
43130         * benchtests/asinh-inputs: Likewise.
43131         * benchtests/atan-inputs: Likewise.
43132         * benchtests/atanh-inputs: Likewise.
43133         * benchtests/cos-inputs: Likewise.
43134         * benchtests/cosh-inputs: Likewise.
43135         * benchtests/exp-inputs: Likewise.
43136         * benchtests/log-inputs: Likewise.
43137         * benchtests/pow-inputs: Likewise.
43138         * benchtests/rint-inputs: Likewise.
43139         * benchtests/sin-inputs: Likewise.
43140         * benchtests/sinh-inputs: Likewise.
43141         * benchtests/tan-inputs: Likewise.
43142         * benchtests/tanh-inputs: Likewise.
43143         * scripts/bench.pl: Add support for new directives.
43145 2013-10-07  Alan Modra  <amodra@gmail.com>
43147         * README: Fix careless merge.
43149 2013-10-05  Alan Modra  <amodra@gmail.com>
43151         * NEWS: Mention powerpc64le support and bugs fixed.
43152         * README: Both big-endian and little-endian powerpc64 supported.
43154 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43156         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
43157         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
43158         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
43159         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
43161 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
43163         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
43164         match prototype.
43166 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
43168         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
43169         Move -mhard-float appending from
43170         ports/sysdeps/powerpc/powerpc32/Makefile.
43171         [$(with-fp) = yes] (ASFLAGS): Likewise.
43172         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
43173         * sysdeps/powerpc/nofpu: Move directory from
43174         ports/sysdeps/powerpc/nofpu.
43175         * sysdeps/powerpc/soft-fp: Move directory from
43176         ports/sysdeps/powerpc/soft-fp.
43177         * sysdeps/powerpc/powerpc32/405: Move directory from
43178         ports/sysdeps/powerpc/powerpc32/405.
43179         * sysdeps/powerpc/powerpc32/440: Move directory from
43180         ports/sysdeps/powerpc/powerpc32/440.
43181         * sysdeps/powerpc/powerpc32/464: Move directory from
43182         ports/sysdeps/powerpc/powerpc32/464.
43183         * sysdeps/powerpc/powerpc32/476: Move directory from
43184         ports/sysdeps/powerpc/powerpc32/476.
43185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
43186         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
43187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
43188         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
43189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
43190         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
43191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
43192         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
43193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
43194         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
43195         * README: Update for powerpc-*-linux-gnu software floating point
43196         support in libc.
43198         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
43199         case to powerpc/powerpc32*.
43200         * sysdeps/unix/sysv/linux/configure: Regenerated.
43202         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
43203         (_FPU_MASK_OM): Define as 0x04.
43204         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
43205         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
43206         0x00c10080.
43207         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
43208         0x0000003c.
43209         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
43211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
43212         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43213         getcontext_e500.
43214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
43215         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43216         setcontext_e500.
43217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
43218         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
43219         and setcontext_e500.
43221 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
43223         * locale/iso-3166.def: Update iso-1366.def and related occurrences
43225 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43227         * manual/threads.texi (Default Thread Attributes): Fix typo.
43229 2013-10-04  Will Newton  <will.newton@linaro.org>
43231         * malloc/Makefile: Add tst-memalign.
43232         * malloc/tst-memalign.c: New file.
43234         * malloc/tst-posix_memalign.c: Add comments.
43235         (do_test): Add comments and call free on all potentially
43236         allocated pointers. Add space after cast.
43238         * malloc/tst-pvalloc.c: Add comments.
43239         (do_test): Add comments and call free on all potentially
43240         allocated pointers. Remove duplicate check for NULL pointer.
43241         Add space after cast.
43243         * malloc/tst-valloc.c: Add comments.
43244         (do_test): Add comments and call free on all potentially
43245         allocated pointers. Remove duplicate check for NULL pointer.
43246         Add space after cast.
43248 2013-10-04  Alan Modra  <amodra@gmail.com>
43250         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43251         Use stdint types in rather than __attribute__((mode())).
43252         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43254 2013-10-04  Alan Modra  <amodra@gmail.com>
43256         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43257         Correct handling of unaligned relocs for little-endian.
43258         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43260 2013-10-04  Alan Modra  <amodra@gmail.com>
43262         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
43263         * configure: Regenerate.
43264         * nptl/shlib-versions: Powerpc*le starts at 2.18.
43265         * shlib-versions: Likewise.
43267 2013-10-04  Alan Modra  <amodra@gmail.com>
43269         * string/tester.c (test_memrchr): Increment reported test cycle.
43271 2013-10-04  Alan Modra  <amodra@gmail.com>
43273         * string/test-memcpy.c (do_one_test): When reporting errors, print
43274         string address and don't overrun end of string.
43276 2013-10-04  Alan Modra  <amodra@gmail.com>
43278         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
43279         insrdi.  Make better use of reg selection to speed exit slightly.
43280         Schedule entry path a little better.  Remove useless "are we done"
43281         checks on entry to main loop.  Handle wrapping around zero address.
43282         Correct main loop count.  Handle single left-over word from main
43283         loop inline rather than by using loop_small.  Remove extra word
43284         case in loop_small caused by wrong loop count.  Add little-endian
43285         support.
43286         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
43287         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
43288         cache hint.
43289         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
43290         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
43291         support.  Avoid rlwimi.
43292         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
43294 2013-10-04  Alan Modra  <amodra@gmail.com>
43296         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
43297         insrdi.  Formatting.
43298         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
43299         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43300         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43301         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43302         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43303         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
43305 2013-10-04  Alan Modra  <amodra@gmail.com>
43307         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
43308         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43309         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43310         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
43311         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
43312         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43313         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43314         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43315         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
43316         use of regs.  Use power7 mtocrf.  Tidy function tails.
43318 2013-10-04  Alan Modra  <amodra@gmail.com>
43320         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
43321         Formatting.  Consistently use rXXX register defines or rN defines.
43322         Use early exit labels that avoid restoring unused non-volatile regs.
43323         Make cr field use more consistent with rWORDn compares.  Rename
43324         regs used as shift registers for unaligned loop, using rN defines
43325         for short lifetime/multiple use regs.
43326         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43327         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
43328         addi 1,1,64 to pop stack frame.  Simplify return value code.
43329         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43331 2013-10-04  Alan Modra  <amodra@gmail.com>
43333         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
43334         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
43335         rather than rlwimi.
43336         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
43337         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
43338         little-endian support.  Correct typos.
43339         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
43340         rather than rlwimi.
43341         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
43342         in loop and entry code to keep "and." results.
43343         (strchr): Add little-endian support.  Comment.  Move cntlzd
43344         earlier in tail.
43345         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
43347 2013-10-04  Alan Modra  <amodra@gmail.com>
43349         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
43350         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
43351         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
43352         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
43354 2013-10-04  Alan Modra  <amodra@gmail.com>
43356         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
43357         (rTMP): Define as r11.
43358         (strcmp): Add little-endian support.  Optimise tail.
43359         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
43360         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43361         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
43362         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43363         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
43364         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43365         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43367 2013-10-04  Alan Modra  <amodra@gmail.com>
43369         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
43370         little-endian support.  Remove unnecessary "are we done" tests.
43371         Handle "s" wrapping around zero and extremely large "size".
43372         Correct main loop count.  Handle single left-over word from main
43373         loop inline rather than by using small_loop.  Correct comments.
43374         Delete "zero" tail, use "end_max" instead.
43375         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
43377 2013-10-04  Alan Modra  <amodra@gmail.com>
43379         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
43380         support.  Don't branch over align.
43381         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
43382         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
43383         support.  Rearrange tmp reg use to suit.  Comment.
43384         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
43386 2013-10-04  Alan Modra  <amodra@gmail.com>
43388         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
43390 2013-10-04  Alan Modra  <amodra@gmail.com>
43392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
43393         conditional form of branch and link when obtaining pc.
43394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43396 2013-10-04  Alan Modra  <amodra@gmail.com>
43398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
43399         HIWORD/LOWORD.
43400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
43401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
43403 2013-10-04  Alan Modra  <amodra@gmail.com>
43405         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
43406         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
43407         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43408         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
43409         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43410         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43411         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
43412         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43413         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43414         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
43416 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43417             Alistair Popple <alistair@ozlabs.au.ibm.com>
43418             Alan Modra <amodra@gmail.com>
43420         [BZ #15723]
43421         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
43422         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
43423         _dl_hwcap access for little-endian.
43424         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
43425         destroy vmx regs when saving unaligned.
43426         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
43427         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
43428         destroy vmx regs when saving unaligned.
43430 2013-10-04  Alan Modra  <amodra@gmail.com>
43432         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
43433         Don't use a union to pack hi/low value.
43435 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43437         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
43438         for little-endian.
43439         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43440         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
43441         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43442         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43443         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43445 2013-10-04  Alan Modra  <amodra@gmail.com>
43447         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
43448         constants to usual value for .cst8 section, and remove redundant
43449         high address load.
43450         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
43451         constant for 0x1p52.  Load little-endian words of double from
43452         correct stack offsets.
43454 2013-10-04  Alan Modra  <amodra@gmail.com>
43456         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
43457         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
43458         words of double from correct stack offsets.
43459         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43460         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
43461         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
43462         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
43463         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
43464         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
43465         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
43466         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43467         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43468         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
43469         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
43470         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
43471         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43472         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43473         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43474         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
43475         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43477 2013-10-04  Alan Modra  <amodra@gmail.com>
43479         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
43480         64-bit int/double union.
43481         (_FPU_SETCW): Likewise.
43482         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
43483         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
43485 2013-10-04  Alan Modra  <amodra@gmail.com>
43487         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
43488         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
43490 2013-10-04  Alan Modra  <amodra@gmail.com>
43492         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
43493         use vector int constants.
43494         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
43496 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43498         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
43499         array with long long.
43500         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
43501         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
43502         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
43503         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
43504         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
43505         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
43506         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
43507         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
43508         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
43509         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
43510         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
43511         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
43512         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
43514 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43516         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
43517         (__signbit): Likewise.  Correct for little-endian.
43518         (__signbitl): Call __signbit.
43519         (lrint): Correct for little-endian.
43520         (lrintf): Call lrint.
43522 2013-10-04  Alan Modra  <amodra@gmail.com>
43524         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
43525         union 32-bit int array member with 64-bit int array.
43526         (t515, tm256): Double rather than long double.
43527         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
43529 2013-10-04  Alan Modra  <amodra@gmail.com>
43531         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
43532         Delete.
43533         (IEEE854_LONG_DOUBLE_BIAS): Delete.
43534         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
43535         version of math_ldbl.h.
43537 2013-10-04  Alan Modra  <amodra@gmail.com>
43539         [BZ #15734], [BZ #15735]
43540         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
43541         all uses of ieee875 long double macros and unions.  Simplify test
43542         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
43543         ldbl_extract_mantissa value for ix,iy exponents.  Properly
43544         normalize after ldbl_extract_mantissa, and don't add hidden bit
43545         already handled.  Don't treat low word of ieee854 mantissa like
43546         low word of IBM long double and mask off bit when testing for
43547         zero.
43548         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
43549         all uses of ieee875 long double macros and unions.  Simplify tests
43550         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
43551         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
43552         two1022, instead use their values.  Recognise that tests for large
43553         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
43554         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
43555         Rewrite all uses of ieee875 long double macros and unions.  Simplify
43556         test for 0.0L and nan.  Correct negation.
43557         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
43558         ieee875 long double macros and unions.  Correct output for large
43559         magnitude x.  Correct absolute value calculation.
43560         (__erfcl): Likewise.
43561         * math/libm-test.inc: Add tests for errors discovered in IBM long
43562         double versions of fmodl, remainderl, erfl and erfcl.
43564 2013-10-04  Alan Modra  <amodra@gmail.com>
43566         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
43567         all uses of ieee854 long double macros and unions.  Simplify tests
43568         for long doubles that are fully specified by the high double.
43569         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
43570         Likewise.
43571         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
43572         Remove dead code too.
43573         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
43574         (__ieee754_ynl): Likewise.
43575         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
43576         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
43577         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
43578         Remove dead code too.
43579         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
43580         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
43581         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
43582         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
43583         Simplify.
43584         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
43585         Simplify.
43586         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
43587         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
43588         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
43589         Comment on variable precision.
43590         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
43591         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43592         Likewise.
43593         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
43594         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43595         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43596         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
43597         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
43599 2013-10-04  Alan Modra  <amodra@gmail.com>
43601         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
43602         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
43603         all uses of ieee854 long double macros and unions.
43604         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
43605         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43606         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
43607         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
43608         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
43609         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43610         Likewise.
43611         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
43612         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43613         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
43614         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43615         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
43616         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
43617         Simplify sign and nan test too.
43618         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
43619         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
43620         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
43621         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
43622         Likewise.
43623         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43624         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
43625         Likewise.
43626         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43627         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
43628         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
43629         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
43630         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
43631         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
43633 2013-10-04  Alan Modra  <amodra@gmail.com>
43635         * stdio-common/printf_size.c (__printf_size): Don't use
43636         union ieee854_long_double in fpnum union.
43637         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
43638         signbit macro to retrieve sign from long double.
43639         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
43640         retrieve sign from long double.
43641         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
43642         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
43643         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
43644         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43645         * math/test-misc.c (main): Don't use union ieee854_long_double.
43647 2013-10-04  Alan Modra  <amodra@gmail.com>
43649         [BZ #15680]
43650         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
43651         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
43652         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
43653         calculation.  Remove unnecessary test for denormal exponent.
43654         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
43655         Correct handling of denormals.  Avoid undefined shift behaviour.
43656         Correct normalisation of low mantissa when low double is denormal.
43657         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
43658         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
43659         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
43660         Correct normalisation of low mantissa.  Test for overflow of high
43661         mantissa and normalise.
43662         (ldbl_nearbyint): Use more readable constant for two52.
43663         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
43664         (__mpn_construct_long_double): Fix test for overflow of high
43665         mantissa and correct normalisation.  Avoid undefined shift.
43667 2013-10-04  Alan Modra  <amodra@gmail.com>
43669         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43670         (union ibm_extended_long_double): Define as an array of ieee754_double.
43671         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
43672         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
43673         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
43674         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43675         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43676         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
43677         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43678         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43679         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43680         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
43681         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43683 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
43685         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
43686         page size instead of calling getpagesize.
43688         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
43689         (LOCFILE_ALIGN_MASK): Likewise.
43690         (LOCFILE_ALIGN_UP): Likewise.
43691         (LOCFILE_ALIGNED_P): Likewise.
43692         * locale/programs/ld-collate.c (collate_output): Use the new
43693         macros instead of __alignof__ (int32_t).
43694         * locale/weight.h (findidx): Likewise.
43696 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
43698         [BZ #431]
43699         * manual/string.texi: Fix strncat and wcsncat.
43701 2013-10-03  Brooks Moses  <bmoses@google.com>
43703         [BZ #15915]
43704         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
43705         * Makerules: ...here, and adjust associated comments.
43707 2013-10-02  Will Newton  <will.newton@linaro.org>
43709         * malloc/Makefile: Add tst-pvalloc.
43710         * malloc/tst-pvalloc.c: New file.
43712 2013-10-02  Will Newton  <will.newton@linaro.org>
43714         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
43715         improve test coverage.
43717 2013-10-02  Will Newton  <will.newton@linaro.org>
43719         * malloc/Makefile: Add tst-posix_memalign.
43720         * malloc/tst-posix_memalign.c: New file.
43722 2013-10-01  Eric Blake  <eblake@redhat.com>
43724         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
43725         Use __THROWNL rather than __THROW on static functions.
43727 2013-09-30  Petr Machata  <pmachata@redhat.com>
43729         * elf/elf.h (R_AARCH64_ABS16): New macro.
43730         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
43731         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
43732         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
43733         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
43734         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
43735         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
43736         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
43737         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
43738         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
43739         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
43740         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
43741         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
43742         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
43743         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
43744         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
43745         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
43746         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
43747         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
43748         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
43749         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
43750         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
43751         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
43752         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
43753         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
43754         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
43755         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
43756         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
43757         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
43758         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
43759         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
43760         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
43761         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
43762         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
43763         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
43764         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
43765         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
43766         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
43767         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
43768         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
43769         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
43770         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
43771         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
43772         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
43773         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
43774         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
43775         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
43776         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
43777         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
43778         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
43779         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
43780         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
43781         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
43782         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
43783         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
43784         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
43785         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
43786         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
43787         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
43788         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
43789         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
43790         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
43791         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
43792         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
43793         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
43794         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
43795         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
43796         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
43797         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
43798         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
43799         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
43800         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
43801         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
43802         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
43803         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
43804         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
43805         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
43806         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
43807         (R_AARCH64_TLSDESC_LDR): Likewise.
43808         (R_AARCH64_TLSDESC_ADD): Likewise.
43809         (R_AARCH64_TLSDESC_CALL): Likewise.
43811 2013-09-30  Andreas Schwab  <schwab@suse.de>
43813         [BZ #15048]
43814         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
43815         the nss database lookup.
43816         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43817         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43819 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
43821         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
43823 2013-09-28  P. J. McDermott  <pj@pehjota.net>
43825         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
43826         ${Bash-specific parameter/pattern/string} parameter expansion.
43827         * sysdeps/unix/make-syscalls.sh: Likewise.
43829 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43831         * sysdeps/sh/stackguard-macros.h: New file.
43833 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
43835         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43836         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
43837         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
43838         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
43839         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43840         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
43842 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43844         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
43845         Fix thread ID register.
43847 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
43849         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
43850         [POSIX || UNIX98]: Require rather than permitting all symbols from
43851         <time.h>.
43852         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
43853         element of struct sched_param.
43854         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
43855         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
43856         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
43857         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
43858         constant.
43860 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
43862         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
43863         argument calculation.
43865 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43867         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
43868         Expect macro.
43869         [POSIX] (pthread_attr_t): Do not require type.
43870         [POSIX] (pthread_cond_t): Likewise.
43871         [POSIX] (pthread_condattr_t): Likewise.
43872         [POSIX] (pthread_key_t): Likewise.
43873         [POSIX] (pthread_mutex_t): Likewise.
43874         [POSIX] (pthread_mutexattr_t): Likewise.
43875         [POSIX] (pthread_once_t): Likewise.
43876         [POSIX] (pthread_t): Likewise.
43877         [POSIX-based standards] (pthread_atfork): Expect function.
43879 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43880             Richard Sandiford  <richard@codesourcery.com>
43882         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
43883         (swap_endianness_p): New extern variable.
43884         (set_big_endian): New inline function.
43885         (maybe_swap_uint32): Likewise.
43886         (maybe_swap_uint32_array): Likewise.
43887         (maybe_swap_uint32_obstack): Likewise.
43888         * locale/programs/locfile.c: Include <stdbool.h>.
43889         (swap_endianness_p): New variable.
43890         (add_locale_uint32): Call maybe_swap_uint32.
43891         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
43892         (write_locale_data): Call maybe_swap_uint32_array.
43893         * locale/programs/ld-collate.c (obstack_int32_grow): Call
43894         maybe_swap_uint32.
43895         (obstack_int32_grow_fast): Likewise.
43896         (output_weightwc): Call maybe_swap_uint32_obstack.
43897         (collate_output): Likewise.
43898         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
43899         (OPT_LITTLE_ENDIAN): Likewise.
43900         (options): Add --little-endian and --big-endian options.
43901         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
43902         * locale/programs/locarchive.c: Include "locfile.h".
43903         (GET): New macro.
43904         (SET): Likewise.
43905         (INC): Likewise.
43906         (create_archive): Use the new macros to access fields of
43907         structures directly mapped from or written to locale archives.
43908         (oldlocrecentcmp): Likewise.
43909         (enlarge_archive): Likewise.
43910         (insert_name): Likewise.
43911         (add_alias): Likewise.
43912         (add_locale): Likewise.
43913         (delete_locales_from_archive): Likewise.
43914         (show_archive_content): Likewise.
43915         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
43916         locale data.
43918 2013-09-24  Roland McGrath  <roland@hack.frob.com>
43920         * manual/freemanuals.texi: Updated from (newly) canonical copy at
43921         http://www.gnu.org/doc/freemanuals.texi.
43922         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
43924 2013-09-24  Will Newton  <will.newton@linaro.org>
43926         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
43927         macro.
43929 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
43931         * locale/hashval.h (compute_hashval): Interpret bytes of key as
43932         unsigned char.
43934 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
43936         * manual/threads.texi (POSIX Threads): Fix a typo.
43938 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43940         [BZ #14547]
43941         * string/tst-strcoll-overflow.c: New test case.
43942         * string/Makefile (xtests): Add tst-strcoll-overflow.
43943         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
43944         cache if string sizes may cause integer overflow.
43946         [BZ #14547]
43947         * string/strcoll_l.c (coll_seq): New members rule, idx,
43948         save_idx and back_us.
43949         (get_next_seq_nocache): New function.
43950         (do_compare_nocache): New function.
43951         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
43952         when malloc fails.
43954 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
43956         [BZ #15754]
43957         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
43958         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
43959         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
43961         [BZ #15754]
43962         * elf/Makefile (tests): Add tst-ptrguard1.
43963         (tests-static): Add tst-ptrguard1-static.
43964         (tst-ptrguard1-ARGS): Define.
43965         (tst-ptrguard1-static-ARGS): Define.
43966         * elf/tst-ptrguard1.c: New file.
43967         * elf/tst-ptrguard1-static.c: New file.
43968         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
43969         * sysdeps/i386/stackguard-macros.h: Likewise.
43970         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43971         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43972         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43973         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43974         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43975         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43977 2013-09-23  Hector Marco  <hecmargi@upv.es>
43978             Ismael Ripoll  <iripoll@disca.upv.es>
43979             Carlos O'Donell  <carlos@redhat.com>
43981         [BZ #15754]
43982         * sysdeps/generic/stackguard-macros.h: Define
43983         __pointer_chk_guard_local and POINTER_CHK_GUARD.
43984         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
43985         Define __pointer_chk_guard_local.
43986         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
43987         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
43989 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
43991         [BZ #15859]
43992         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
43994 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
43996         * include/string.h (__ffs): Declare as hidden.
43997         * string/ffs.c (__ffs): Define as hidden.
43998         * sysdeps/i386/ffs.c (__ffs): Likewise.
43999         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
44000         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
44001         * sysdeps/s390/ffs.c (__ffs): Likewise.
44002         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
44004 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
44006         * NEWS: Mention malloc probes.
44008         * malloc/arena.c (new_heap): New memory_heap_new probe.
44009         (grow_heap): New memory_heap_more probe.
44010         (shrink_heap): New memory_heap_less probe.
44011         (heap_trim): New memory_heap_free probe.
44012         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
44013         (systrim): New memory_sbrk_less probe.
44014         * manual/probes.texi: Document them.
44016         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
44017         * manual/probes.texi: Document it.
44019         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
44020         (__libc_realloc): Add memory_realloc_retry probe.
44021         (__libc_memalign): Add memory_memalign_retry probe.
44022         (__libc_valloc): Add memory_valloc_retry probe.
44023         (__libc_pvalloc): Add memory_pvalloc_retry probe.
44024         (__libc_calloc): Add memory_calloc_retry probe.
44025         * manual/probes.texi: Document them.
44027         * malloc/arena.c (get_free_list): Add probe
44028         memory_arena_reuse_free_list.
44029         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
44030         and memory_arena_reuse.
44031         (arena_get2) [!PER_THREAD]: Likewise.
44032         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
44033         memory_arena_reuse_realloc.
44034         * manual/probes.texi: Document them.
44036         * malloc/malloc.c (__libc_free): Add
44037         memory_mallopt_free_dyn_thresholds probe.
44038         (__libc_mallopt): Add multiple memory_mallopt probes.
44039         * manual/probes.texi: Document them.
44041         * malloc/malloc.c: Include stap-probe.h.
44042         (__libc_mallopt): Add memory_mallopt probe.
44043         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
44044         * manual/probes.texi: New.
44045         * manual/Makefile (chapters): Add probes.
44046         * manual/threads.texi: Set next node.
44048 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
44050         [BZ #15963, #13985]
44051         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
44052         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
44053         Add `Chinese' to `nan' entry name.
44055 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44057         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
44058         (POLYNOMIAL): Likewise.
44059         (TAYLOR_SINCOS): Likewise.
44060         (TAYLOR_SLOW): Likewise.
44061         (__sin): Use TAYLOR_SINCOS.
44062         (__cos): Likewise.
44063         (slow): Use TAYLOR_SLOW.
44064         (sloww): Likewise.
44065         (bsloww): Likewise.
44066         (csloww): Likewise.
44068 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44070         * stdlib/strtod_l.c: Fix buffer overrun.
44072 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44074         * benchtests/Makefile (bench): Add sincos.
44075         * benchtests/bench-sincos.c: New file.
44077         * math/libm-test.inc (cos_test_data): New test inputs.
44078         (sin_test_data): Likewise.
44080         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
44081         macro.
44082         (__sin): Use it.
44083         (__cos): Likewise.
44084         (slow1): Likewise.
44085         (slow2): Likewise.
44086         (sloww1): Likewise.
44087         (sloww2): Likewise.
44088         (bsloww1): Likewise.
44089         (bsloww2): Likewise.
44090         (cslow2): Likewise.
44091         (csloww1): Likewise.
44092         (csloww2): Likewise.
44094         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
44095         function.
44096         (__sin): Use it.
44097         (__cos): Likewise.
44099         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
44100         gotos.
44101         (__cos): Likewise.
44103 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
44105         * config.h.in (HAVE_MIPS_NAN2008): New macro.
44106         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
44107         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
44108         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
44109         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
44110         * elf/cache.c (print_entry): Handle the new cache flags.
44112 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44113             Aldy Hernandez  <aldyh@redhat.com>
44115         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
44116         Change condition to [_SOFT_FLOAT].
44117         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
44118         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
44119         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
44120         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
44121         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
44122         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
44123         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
44124         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
44125         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
44126         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
44127         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
44128         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
44129         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
44130         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
44131         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
44132         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
44133         declaration.
44135 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44137         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
44138         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44139         (__longjmp): Use LOAD_GP to load saved GPRs.
44140         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
44141         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44142         (__sigsetjmp): Use SAVE_GP to save GPRs.
44144         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
44145         Do not append -msoft-float.
44146         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
44148 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44150         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
44152 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
44154         [BZ #15966]
44155         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
44156         (_FPU_GETCW): Use initial "__" on variable and field names but not
44157         on macro parameter name.
44158         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
44159         parentheses around reference to macro parameter.
44161 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
44163         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
44164         prototype.
44165         (ctype_startup): Use uint32_t in cast and sizeof for
44166         ctype->charnames.
44168 2013-09-11  Jia Liu  <proljc@gmail.com>
44170         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
44171         __daddr_t_defined.
44172         [__FreeBSD__]: Likewise.
44174 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
44176         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
44177         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
44178         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
44179         (strchr): Remove __strchr_sse42 ifunc selection.
44180         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
44181         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
44183 2013-09-11  Will Newton  <will.newton@linaro.org>
44185         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
44186         parameter to RES. Remove hardcoded 1000 value.
44187         * benchtests/bench-skeleton.c (main): Pass RES parameter
44188         to TIMING_INIT and multiply result by 1000.
44190 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44194 2013-09-11  Andreas Schwab  <schwab@suse.de>
44196         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
44197         if not defined.
44198         (O_TMPFILE) [__USE_GNU]: Define.
44199         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
44200         Define.
44202 2013-09-11  Will Newton  <will.newton@linaro.org>
44204         [BZ #15857]
44205         * malloc/malloc.c (__libc_memalign): Check the value of bytes
44206         does not overflow.
44208 2013-09-11  Will Newton  <will.newton@linaro.org>
44210         [BZ #15856]
44211         * malloc/malloc.c (__libc_valloc): Check the value of bytes
44212         does not overflow.
44214 2013-09-11  Will Newton  <will.newton@linaro.org>
44216         [BZ #15855]
44217         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
44218         does not overflow.
44220 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
44222         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
44223         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44224         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44225         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44226         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44228 2013-09-10  Allan McRae  <allan@archlinux.org>
44230         [BZ #15748]
44231         * manual/arith.texi (Parsing of Floats): Clarify
44232         cross-reference.
44234         [BZ #15849]
44235         * manual/install.texi (Running make install): Mention
44236         --enable-pt-chown.
44237         * INSTALL: Regenerated.
44239 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
44241         * csu/init-first.c (_init): Remove the !SHARED condition around
44242         FPU control word initialization.
44243         * elf/dl-support.c (_dl_fpu_control): New variable.
44244         (_dl_aux_init) <AT_FPUCW>: Initialize it.
44245         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
44246         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
44247         * math/test-fpucw-static.c: New file.
44248         * math/test-fpucw-ieee.c: New file.
44249         * math/test-fpucw-ieee-static.c: New file.
44250         * math/Makefile (tests): Add `test-fpucw-ieee' and
44251         `$(tests-static)'.
44252         (tests-static): New variable.
44253         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
44254         dependency to...
44255         [($(build-shared),yes)]
44256         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44257         ... this.
44258         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
44259         New dependency.
44261 2013-09-09  Allan McRae  <allan@archlinux.org>
44263         [BZ #15939]
44264         * manual/string.texi (Collation Functions): Fix typo in
44265         strcoll example.
44266         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
44268         [BZ #15893]
44269         * stdlib/isomac.c (get_null_defines): Fix memory leak.
44271         [BZ #15892]
44272         * libio/memstream.c (open_memstream): Fix memory leak.
44273         * libio/wmemstream.c (open_wmemstream): Likewise.
44275         [BZ #15895]
44276         * nscd/netgroupcache.c: Fix nesting of ifdefs.
44278 2013-09-09  Will Newton  <will.newton@linaro.org>
44280         * malloc/Makefile: Add tst-realloc to tests.
44281         * malloc/tst-realloc.c: New file.
44283 2013-09-09  Allan McRae  <allan@archlinux.org>
44285         [BZ #15844]
44286         * COPYING: Update from GNU website to fix FSF address.
44287         * COPYING.LIB: Likewise.
44289 2013-09-06  David S. Miller  <davem@davemloft.net>
44291         * po/zh_TW.po: Update Chinese (traditional) translation from
44292         translation project.
44294 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
44295             Joseph Myers  <joseph@codesourcery.com>
44297         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
44298         "localeinfo.h".
44299         (obstack_chunk_alloc): New macro.
44300         (obstack_chunk_free): Likewise.
44301         (record_offset): New function.
44302         (init_locale_data): Likewise.
44303         (align_locale_data): Likewise.
44304         (add_locale_empty): Likewise.
44305         (add_locale_raw_data): Likewise.
44306         (add_locale_raw_obstack): Likewise.
44307         (add_locale_string): Likewise.
44308         (add_locale_wstring): Likewise.
44309         (add_locale_uint32): Likewise.
44310         (add_locale_uint32_array): Likewise.
44311         (add_locale_char): Likewise.
44312         (start_locale_structure): Likewise.
44313         (end_locale_structure): Likewise.
44314         (start_locale_prelude): Likewise.
44315         (end_locale_prelude): Likewise.
44316         (write_locale_data): Take locale_file structure rather than an
44317         iovec.
44318         * locale/programs/locfile.h: Include "obstack.h".
44319         (struct locale_file): Change to store locale file contents instead
44320         of header.
44321         (init_locale_data): New prototype.
44322         (align_locale_data): Likewise.
44323         (add_locale_empty): Likewise.
44324         (add_locale_raw_data): Likewise.
44325         (add_locale_raw_obstack): Likewise.
44326         (add_locale_string): Likewise.
44327         (add_locale_wstring): Likewise.
44328         (add_locale_uint32): Likewise.
44329         (add_locale_uint32_array): Likewise.
44330         (add_locale_char): Likewise.
44331         (start_locale_structure): Likewise.
44332         (end_locale_structure): Likewise.
44333         (start_locale_prelude): Likewise.
44334         (end_locale_prelude): Likewise.
44335         (write_locale_data): Update prototype.
44336         * locale/programs/3level.h (struct TABLE): Remove result field.
44337         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
44338         Use new locale_file interface.
44339         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
44340         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
44341         * locale/programs/ld-address.c (address_output): Use new
44342         locale_file interface.
44343         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
44344         NO_ADD_LOCALE.
44345         (collate_finish): Don't call collseq_table_finalize.
44346         (collate_output): Use new locale_file interface.
44347         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
44348         in file.
44349         (NO_FINALIZE): Change to NO_ADD_LOCALE.
44350         (TABLE): Move defines earlier in file.
44351         (ELEMENT): Likewise.
44352         (DEFAULT): Likewise.
44353         (wctrans_table_add): Move macro and inline function earlier in
44354         file.
44355         (struct wctype_table): Move type earlier in file.
44356         (add_locale_wctype_table): New static prototype.
44357         (struct locale_ctype_t): Use logical types instead of struct iovec
44358         pointers for members.
44359         (ctype_output): Use new locale_file interface.
44360         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
44361         new locale_file interface.
44362         (allocate_arrays): Update for use of new locale_file interface.
44363         * locale/programs/ld-identification.c (identification_output): Use
44364         new locale_file interface.
44365         * locale/programs/ld-measurement.c (measurement_output): Likewise.
44366         * locale/programs/ld-messages.c (messages_output): Likewise.
44367         * locale/programs/ld-monetary.c (monetary_output): Likewise.
44368         * locale/programs/ld-name.c (name_output): Likewise.
44369         * locale/programs/ld-numeric.c (numeric_output): Likewise.
44370         * locale/programs/ld-paper.c (paper_output): Likewise.
44371         * locale/programs/ld-telephone.c (telephone_output): Likewise.
44372         * locale/programs/ld-time.c (time_output): Likewise.
44374 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44376         * benchtests/Makefile: Add memrchr benchmark.
44377         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
44378         benchmark as memrchr.
44379         * benchtests/bench-memrchr-ifunc.c: New file.
44380         * benchtests/bench-memrchr.c: New file.
44382 2013-09-06   Will Newton  <will.newton@linaro.org>
44384         * benchtests/Makefile (string-bench): Add memcpy.
44386 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
44387             Cong Wang  <amwang@redhat.com>
44389         [BZ #15850]
44390         * sysdeps/unix/sysv/linux/bits/in.h
44391         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
44392         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
44393         before __USE_KERNEL_IPV6_DEFS uses.
44394         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
44395         IPPROTO_BEETPH.
44396         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
44397         sockaddr_in6, or ipv6_mreq.
44399 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44401         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
44402         memory access for final bytes in some large inputs.
44403         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
44405 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44407         * string/test-memrchr.c: New file.
44408         * string/test-memrchr-ifunc.c: New file.
44409         * string/Makefile: Add new memrchr testcase.
44411 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
44413         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
44414         fanotify_init returns EPERM.
44416 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44418         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
44419         errors.
44420         (top level): Treat second token from macro or constant entries for
44421         allowed headers as allowed.
44422         * include/complex.h: Condition internal declarations on
44423         [!_ISOMAC].
44424         * include/fenv.h: Condition include of <stdbool.h> and internal
44425         declarations on [!_ISOMAC].
44427 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
44429         [BZ #15923]
44430         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
44432 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44434         * configure.in (--enable-versioning): Remove configure option.
44435         (libc_cv_asm_symver_directive): Remove configure test.
44436         (libc_cv_ld_version_script_option): Likewise.
44437         (VERSIONING): Remove variable and AC_SUBST.
44438         (DO_VERSIONING): Remove AC_DEFINE.
44439         * configure: Regenerated.
44440         * config.h.in (DO_VERSIONING): Remove macro.
44441         * Makerules [$(versioning) = yes]: Change conditionals to
44442         [$(build-shared) = yes].
44443         * config.make.in (versioning): Remove variable.
44444         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
44445         [$(build-shared) = yes].
44446         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
44447         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
44448         * elf/Makefile [$(versioning) = yes]: Change conditionals to
44449         [$(build-shared) = yes].
44450         * extra-lib.mk [$(versioning) = yes]: Likewise.
44451         * hurd/Makefile [$(versioning) = yes]: Likewise.
44452         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
44453         [SHARED].
44454         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
44455         [SHARED].
44456         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44457         [SHARED && !NO_HIDDEN].
44458         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
44459         [SHARED].
44460         [SHARED && DO_VERSIONING]: Likewise..
44461         * libio/Makefile [$(versioning) = yes]: Change conditionals to
44462         [$(build-shared) = yes].
44463         * manual/install.texi (--disable-versioning): Remove
44464         documentation.
44465         * INSTALL: Regenerated.
44466         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
44467         to [SHARED].
44468         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
44469         [$(build-shared) = yes].
44470         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
44471         * sysdeps/i386/i686/multiarch/strstr-c.c
44472         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44473         [SHARED && !NO_HIDDEN].
44474         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
44475         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
44476         * sysdeps/powerpc/powerpc32/dl-machine.c
44477         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
44478         * sysdeps/powerpc/powerpc32/sysdep.h
44479         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
44480         to [SHARED && PIC && !NO_HIDDEN].
44481         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
44482         conditional to [SHARED].
44484 2013-09-04   Will Newton  <will.newton@linaro.org>
44486         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
44487         * benchtests/bench-string.h: Include bench-timing.h instead
44488         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
44489         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
44490         call to HP_TIMING_DIFF_INIT.
44491         * benchtests/bench-memccpy.c: Use bench-timing.h macros
44492         instead of hp-timing.h macros.
44493         * benchtests/bench-memchr.c: Likewise.
44494         * benchtests/bench-memcmp.c: Likewise.
44495         * benchtests/bench-memcpy.c: Likewise.
44496         * benchtests/bench-memmem.c: Likewise.
44497         * benchtests/bench-memmove.c: Likewise.
44498         * benchtests/bench-memset.c: Likewise.
44499         * benchtests/bench-rawmemchr.c: Likewise.
44500         * benchtests/bench-strcasecmp.c: Likewise.
44501         * benchtests/bench-strcasestr.c: Likewise.
44502         * benchtests/bench-strcat.c: Likewise.
44503         * benchtests/bench-strchr.c: Likewise.
44504         * benchtests/bench-strcmp.c: Likewise.
44505         * benchtests/bench-strcpy.c: Likewise.
44506         * benchtests/bench-strcpy_chk.c: Likewise.
44507         * benchtests/bench-strlen.c: Likewise.
44508         * benchtests/bench-strncasecmp.c: Likewise.
44509         * benchtests/bench-strncat.c: Likewise.
44510         * benchtests/bench-strncmp.c: Likewise.
44511         * benchtests/bench-strncpy.c: Likewise.
44512         * benchtests/bench-strnlen.c: Likewise.
44513         * benchtests/bench-strpbrk.c: Likewise.
44514         * benchtests/bench-strrchr.c: Likewise.
44515         * benchtests/bench-strspn.c: Likewise.
44516         * benchtests/bench-strstr.c: Likewise.
44518 2013-09-04  Will Newton  <will.newton@linaro.org>
44520         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
44522 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
44524         [BZ #15427]
44525         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
44526         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
44527         * math/libm-test.inc (lgamma_test_data): Add more tests.
44528         * sysdeps/i386/fpu/libm-test-ulps: Update.
44529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44531 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
44533         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
44534         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44535         Add ifunc.
44536         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44537         Add strcmp-sse2-unaligned
44538         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
44540 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44542         * Versions.def (libc): Add GLIBC_2.19.
44544 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44546         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
44547         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
44549 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
44551         [BZ #14155]
44552         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
44553         intermediate calculations in recurrence.
44554         (__ieee754_ynf): Likewise.
44555         * math/libm-test.inc (jn_test_data): Do not allow spurious
44556         underflow exception.  Add more tests.
44557         (yn_test_data): Add more tests.
44558         * sysdeps/i386/fpu/libm-test-ulps: Update.
44559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44561 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
44563         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
44565 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44567         * csu/init-first.c: Fix then/than typos.
44568         * locale/programs/ld-collate.c: Likewise.
44569         * locale/programs/linereader.h: Likewise.
44570         * manual/charset.texi: Likewise.
44571         * manual/filesys.texi: Likewise.
44572         * manual/stdio.texi: Likewise.
44573         * manual/string.texi: Likewise.
44574         * stdlib/fmtmsg.c: Likewise.
44575         * sysdeps/i386/stpncpy.S: Likewise.
44576         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44577         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44578         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44579         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44581 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44583         * elf/dl-open.c: Fix typos.
44584         * iconvdata/gbbig5.c: Likewise.
44585         * iconvdata/iso-2022-jp.c: Likewise.
44586         * iconv/gconv_int.h: Likewise.
44587         * iconv/loop.c: Likewise.
44588         * nis/rpcsvc/nis.h: Likewise.
44589         * resolv/ns_name.c: Likewise.
44590         * stdio-common/vfscanf.c: Likewise.
44591         * streams/stropts.h: Likewise.
44592         * sunrpc/rpc_thread.c: Likewise.
44593         * sysdeps/i386/strpbrk.S: Likewise.
44594         * sysdeps/ieee754/k_standard.c: Likewise.
44595         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44596         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44597         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
44598         * sysdeps/mach/hurd/profil.c: Likewise.
44599         * sysdeps/s390/dl-procinfo.h: Likewise.
44600         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
44601         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44602         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
44603         * sysdeps/x86_64/dl-trampoline.S: Likewise.
44604         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44606 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
44608         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
44609         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
44611 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
44613         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
44614         aix specific files.
44615         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
44616         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
44617         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
44618         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
44619         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
44620         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
44621         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
44622         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
44624 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44625             Roland McGrath  <roland@hack.frob.com>
44627         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
44628         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
44630 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44632         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
44633         __executable_start symbol instead of _start.
44635 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44637         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
44638         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
44639         Move macros to...
44640         * sysdeps/gnu/ldsodefs.h: ... this new file.
44642         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
44643         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
44644         instead of ELFOSABI_LINUX.
44646         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
44647         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
44648         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
44649         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
44650         Likewise.
44651         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
44652         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
44653         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
44654         Likewise.
44655         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44656         (ibm_extended_long_double): Add ieee_nan member.
44657         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
44658         (do_test): New function.
44660         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
44661         TEST_TRUNC.
44662         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
44663         functions, renamed from truncdfsf_test, trunctfsf_test,
44664         trunctfdf_test.
44665         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
44666         functions.
44667         (do_test): Run all these.
44669 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
44671         * argp/argp-help.c: Fix typos.
44672         * argp/argp-parse.c: Likewise.
44673         * debug/backtracesyms.c: Likewise.
44674         * elf/elf.h: Likewise.
44675         * malloc/malloc.c: Likewise.
44676         * nis/nis_print.c: Likewise.
44677         * resolv/res_comp.c: Likewise.
44678         * stdlib/stdlib.h: Likewise.
44679         * sunrpc/clnt_tcp.c: Likewise.
44680         * sunrpc/clnt_udp.c: Likewise.
44681         * sunrpc/clnt_unix.c: Likewise.
44682         * sysdeps/unix/bsd/ptsname.c: Likewise.
44683         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
44684         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
44685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
44686         Likewise.
44687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
44688         Likewise.
44689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
44690         Likewise.
44691         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44693 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44695         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
44696         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44698 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
44700         [BZ #15897]
44701         * dlfcn/Makefile (tests): Add bug-dl-leaf.
44702         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
44703         ($(objpfx)bug-dl-leaf): New rule.
44704         ($(objpfx)bug-dl-leaf.so): Likewise.
44705         ($(objpfx)bug-dl-leaf.out): Likewise.
44706         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
44707         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
44708         * dlfcn/bug-dl-leaf.c: New test.
44709         * dlfcn/bug-dl-leaf-lib.c: Likewise.
44710         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
44711         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
44712         (dlclose): Likewise.
44713         (dlmopen): Likewise.
44715 2013-08-27  Roland McGrath  <roland@hack.frob.com>
44717         * include/netdb.h [!_ISOMAC]:
44718         Don't include <tls.h>.
44719         (h_errno, __libc_h_errno): Move declaration and macros out of
44720         [_LIBC_REENTRANT].
44722         * include/resolv.h [_RESOLV_H_]:
44723         Don't include <tls.h>.
44724         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
44725         * resolv/res_libc.c: Don't include <tls.h>.
44726         (_res): Use __attribute__ ((nocommon)) in place of
44727         __attribute__ ((section (".bss"))).
44729         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
44730         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
44732         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
44734         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
44735         only under [SIOCGIFCONF && SIOCGIFNETMASK].
44737         * resolv/res_mkquery.c: Include <sys/time.h>.
44739         * inet/ifreq.c: Moved to ...
44740         * sysdeps/unix/ifreq.c: ... here.
44741         * inet/ifreq.c: New file, true stub version.
44743         * socket/sa_len.c: New file.
44744         * socket/Makefile (aux): Add it.
44745         * sysdeps/unix/sysv/linux/Makefile
44746         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
44747         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
44748         and #include <socket/sa_len.c>.
44749         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
44750         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
44752         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
44753         * bits/socket.h: ... here.
44755         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
44756         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
44757         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
44759 2013-08-27  Andreas Schwab  <schwab@suse.de>
44761         [BZ #15736]
44762         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
44763         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
44764         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
44765         * string/test-strcasecmp.c (test_main): Run tests in several
44766         locales.
44767         * string/test-strncasecmp.c (test_main): Likewise.
44769         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
44770         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
44771         to __strcasecmp_nonascii and __strncasecmp_nonascii.
44772         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
44773         (__strncasecmp_ssse3) [PIC]: Likewise.
44775 2013-08-26  Roland McGrath  <roland@hack.frob.com>
44777         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
44779         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
44780         instead of explicitly declaring xdecrypt.
44781         * nis/nss_nis/nis-publickey.c: Likewise.
44783 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44785         [BZ #15890]
44786         * nscd/aicache.c: Include res_hconf.h.
44787         (addhstaiX): Initialize res_hconf.
44789 2013-08-26  Andreas Schwab  <schwab@suse.de>
44791         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
44792         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
44794 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44796         * nscd/aicache.c (addhstaiX): Fix indentation.
44798 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
44800         * configure.ac: Quote $build_pt_chown test.
44801         * configure: Regenerated.
44803 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
44805         [BZ #15532]
44806         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
44807         * math/s_cexpf.c (__cexpf): Likewise.
44808         * math/s_cexpl.c (__cexpl): Likewise.
44809         * math/libm-test.inc (cexp_test_data): Correct expected return
44810         value for NaN + i0.  Add another test.
44812 2013-08-22  David S. Miller  <davem@davemloft.net>
44814         * po/ca.po: Update Catalan translation from translation project.
44815         * po/uk.po: Add Ukrainian translations from translation project.
44817 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
44819         [BZ #15797]
44820         * math/s_fdim.c (__fdim): Check for infinite arguments if result
44821         is infinite, not alongside NaN test.
44822         * math/s_fdimf.c (__fdimf): Likewise.
44823         * math/s_fdiml.c (__fdiml): Likewise.
44824         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
44825         errno is unchanged.
44827 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
44829         * argp/argp-help.c: Fix typos.
44830         * crypt/speeds.c: Likewise.
44831         * csu/check_fds.c: Likewise.
44832         * elf/dl-load.c: Likewise.
44833         * elf/dl-open.c: Likewise.
44834         * elf/reldep3.c: Likewise.
44835         * elf/reldep.c: Likewise.
44836         * elf/sprof.c: Likewise.
44837         * iconv/iconv_charmap.c: Likewise.
44838         * iconv/skeleton.c: Likewise.
44839         * iconv/strtab.c: Likewise.
44840         * io/lockf64.c: Likewise.
44841         * libio/libioP.h: Likewise.
44842         * resolv/gai_notify.c: Likewise.
44843         * resolv/ns_name.c: Likewise.
44844         * resolv/ns_samedomain.c: Likewise.
44845         * resolv/res_send.c: Likewise.
44846         * stdlib/random.c: Likewise.
44847         * sunrpc/rpc/xdr.h: Likewise.
44848         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
44849         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44850         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44851         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44852         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44853         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44854         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44855         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44856         * sysdeps/mach/hurd/check_fds.c: Likewise.
44857         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
44858         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44859         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44860         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
44861         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44862         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
44863         * sysdeps/pthread/aio_notify.c: Likewise.
44864         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
44865         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
44866         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
44867         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44868         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44870 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44872         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
44873         version if bit_Slow_SSE4_2 is set.
44874         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44875         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44877 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44879         [BZ #15867]
44880         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
44881         trampoline stack frame information.
44882         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
44883         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
44884         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
44885         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
44886         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
44887         * sysdeps/unix/sysv/linux/powerpc/init-first.c
44888         (_libc_vdso_platform_setup): Initialize the signal trampolines.
44889         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
44890         sa_flags value.
44891         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
44892         interrupting a syscall and set with option SA_SIGINFO.
44894 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44896         [BZ #15531]
44897         * math/s_cproj.c (__cproj): Only return an infinity if one part of
44898         argument is infinite.
44899         * math/s_cprojf.c (__cprojf): Likewise.
44900         * math/s_cprojl.c (__cprojl): Likewise.
44901         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
44902         * math/libm-test.inc (cproj_test_data): Add more tests.
44904         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
44906         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
44907         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
44908         size.  Use __ffs to determine corresponding shift.
44910 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44911             Roland McGrath  <roland@hack.frob.com>
44913         * Makefile (INSTALL): Remove trailing blank lines from output of
44914         makeinfo.
44916 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44918         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
44919         Align 32 bit compat elf_greg to 8 bytes.
44921 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
44923         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
44925 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44927         * string/strcoll_l.c (coll_seq): New structure.
44928         (get_next_seq_cached): New function.
44929         (get_next_seq): New function.
44930         (do_compare): New function.
44931         (STRCOLL): Use GNU style definition.  Simplify implementation
44932         by using get_next_seq, get_next_seq_cached and do_compare.
44934 2013-08-16  Florian Weimer  <fweimer@redhat.com>
44936         [BZ #14699]
44937         CVE-2013-4237
44938         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
44939         member.
44940         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
44941         member.
44942         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
44943         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
44944         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
44945         conditional.
44946         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
44947         GETDENTS_64BIT_ALIGNED.
44948         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44949         * manual/filesys.texi (Reading/Closing Directory): Document
44950         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
44951         strongly.
44952         * manual/conf.texi (Limits for Files): Add portability note to
44953         NAME_MAX, PATH_MAX.
44954         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
44956 2013-08-13  Andreas Schwab  <schwab@suse.de>
44958         [BZ #15749]
44959         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
44960         of fabs.
44961         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
44962         LDBL_MAX_EXP >= 16384]: Add tests for it.
44964 2013-08-12  David S. Miller  <davem@davemloft.net>
44966         * version.h (RELEASE): Set to "development".
44967         (VERSION): Set to "2.18.90".
44968         * NEWS: Add 2.19 section.
44970 2013-08-03  David S. Miller  <davem@davemloft.net>
44972         * po/ko.po: Update Korean translation from translation project.
44974 2013-08-01  David S. Miller  <davem@davemloft.net>
44976         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
44977         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
44978         Bilka.
44980 2013-07-30  David S. Miller  <davem@davemloft.net>
44982         * po/fr.po: Update French translation from translation project.
44984 2013-07-28  David S. Miller  <davem@davemloft.net>
44986         * po/cs.po: Update Czech translation from translation project.
44988         * po/sv.po: Update Swedish translation from translation project.
44990 2013-07-27  David S. Miller  <davem@davemloft.net>
44992         * po/eo.po: Update Esperanto translation from translation project.
44994         * po/vi.po: Update Vietnamese translation from translation project.
44996         * po/de.po: Update German translation from translation project.
44998 2013-07-26  David S. Miller  <davem@davemloft.net>
45000         * po/bg.po: Update Bulgarian translation from translation project.
45002         * po/nl.po: Update Dutch translation from translation project.
45003         * po/pl.po: Update Polish translation from translation project.
45004         * po/ru.po: Update Russian translation from translation project.
45006 2013-07-24  David S. Miller  <davem@davemloft.net>
45008         * po/libc.pot: Update.
45010 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45012         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
45013         variable page size.
45014         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
45015         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
45016         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
45018 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45020         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
45022 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45023             Andreas Schwab  <schwab@suse.de>
45024             Roland McGrath  <roland@hack.frob.com>
45025             Joseph Myers  <joseph@codesourcery.com>
45026             Carlos O'Donell  <carlos@redhat.com>
45028         [BZ #15755]
45029         * config.h.in: Define HAVE_PT_CHOWN.
45030         * config.make.in (build-pt-chown): New variable.
45031         * configure.in (--enable-pt_chown): New configure option.
45032         * configure: Regenerate.
45033         * login/Makefile: Include Makeconfig.  Build pt_chown only if
45034         build-pt-chown is enabled.
45035         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
45036         pt_chown to fix pty ownership.
45037         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
45038         CLOSE_ALL_FDS.
45039         * manual/install.texi (Configuring and compiling): Mention
45040         --enable-pt_chown. Add @findex for grantpt.
45041         * INSTALL: Regenerate.
45043 2013-07-20  David S. Miller  <davem@davemloft.net>
45045         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
45046         difference between 32-bit and 64-bit.
45048 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
45050         [BZ #15711]
45051         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
45052         Avoid system header dependency with -ffreestanding.
45053         ($(objpfx)bits/syscall%d): Likewise.
45055 2013-07-13  David S. Miller  <davem@davemloft.net>
45057         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
45058         underflows from atanl/atan2l due to bug 15319.
45059         (casinh_test_data): Likewise.
45061 2013-07-07  David S. Miller  <davem@davemloft.net>
45063         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
45065 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
45067         * sysdeps/i386/fpu/libm-test-ulps: Update.
45068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45070 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45072         * configure.in (--enable-lock-elision): Fix message text.
45073         * INSTALL: Regenerate.
45074         * configure: Regenerate.
45076 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45080 2013-07-03  Andreas Jaeger  <aj@suse.de>
45082         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
45083         define.
45084         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
45085         (ptrace_peeksiginfo_args): Add.
45086         (__ptrace_peeksiginfo_flags): Add.
45087         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45088         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45089         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45091 2013-07-03  Allan McRae  <allan@archlinux.org>
45093         * sysdeps/i386/fpu/libm-test-ulps: Update.
45095 2013-07-02  David S. Miller  <davem@davemloft.net>
45097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45099 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
45101         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45103 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45105         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45108 2013-07-02  Andi Kleen <ak@linux.intel.com>
45110         * config.h.in (ENABLE_LOCK_ELISION): Add.
45111         * configure.in (--enable-lock-elision): Add option.
45112         * manual/install.texi: Document --enable lock elision.
45113         * configure: Regenerate
45114         * INSTALL: Regenerate.
45116 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
45118         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
45119         SSE4.2 strcasecmp for libc.a.
45120         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45122 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45124         [BZ #13304]
45125         * soft-fp/op-common.h (_FP_FMA): New macro.
45126         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
45127         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
45128         (_FP_MUL_MEAT_1_imm): ... here.
45129         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
45130         (_FP_MUL_MEAT_1_wide): ... here.
45131         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
45132         (_FP_MUL_MEAT_1_hard): ... here.
45133         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
45134         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
45135         (_FP_MUL_MEAT_2_wide): ... here.
45136         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
45137         (_FP_MUL_MEAT_2_wide_3mul): ... here.
45138         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
45139         (_FP_MUL_MEAT_2_gmp): ... here.
45140         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
45141         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
45142         (_FP_MUL_MEAT_4_wide): ... here.
45143         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
45144         (_FP_MUL_MEAT_4_gmp): ... here.
45145         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
45146         (_FP_WFRACBITS_DW_S): Likewise.
45147         (_FP_WFRACXBITS_DW_S): Likewise.
45148         (_FP_HIGHBIT_DW_S): Likewise.
45149         (FP_FMA_S): Likewise.
45150         (_FP_FRAC_HIGH_DW_S): Likewise.
45151         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
45152         (_FP_WFRACBITS_DW_D): Likewise.
45153         (_FP_WFRACXBITS_DW_D): Likewise.
45154         (_FP_HIGHBIT_DW_D): Likewise.
45155         (FP_FMA_D): Likewise.
45156         (_FP_FRAC_HIGH_DW_D): Likewise.
45157         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
45158         (_FP_WFRACBITS_DW_E): Likewise.
45159         (_FP_WFRACXBITS_DW_E): Likewise.
45160         (_FP_HIGHBIT_DW_E): Likewise.
45161         (FP_FMA_E): Likewise.
45162         (_FP_FRAC_HIGH_DW_E): Likewise.
45163         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
45164         (_FP_WFRACBITS_DW_Q): Likewise.
45165         (_FP_WFRACXBITS_DW_Q): Likewise.
45166         (_FP_HIGHBIT_DW_Q): Likewise.
45167         (FP_FMA_Q): Likewise.
45168         (_FP_FRAC_HIGH_DW_Q): Likewise.
45169         * soft-fp/fmasf4.c: New file.
45170         * soft-fp/fmadf4.c: Likewise.
45171         * soft-fp/fmatf4.c: Likewise.
45173 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45175         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45176         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
45177         Silvermont.
45178         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
45179         macro.
45180         (index_Slow_SSE4_2): Likewise.
45181         (index_Prefer_PMINUB_for_stringop): Likewise.
45182         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
45183         bit_Slow_SSE4_2 is set.
45184         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45185         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45187 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45189         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
45190         rtld_global._dl_hwcap2.
45191         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
45192         POWER8.
45193         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
45194         POWER8 feature descriptions defined in _dl_hwcap2.
45195         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
45196         string handling for POWER8 feature bits.
45197         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
45198         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
45199         _dl_powerpc_cap_flags.
45200         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
45201         * sysdeps/powerpc/rtld-global-offsets.sym
45202         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
45203         _dl_hwcap2 in the rtld_global_ro structure.
45205 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45207         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
45208         hardware capabilities in support of AT_HWCAP2.
45209         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
45210         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
45211         GLRO(dl_hwcap2).
45212         (_dl_show_auxv): Add support for calling _dl_procinfo to display
45213         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
45214         explicitly the unknown a_type display mechanism is used.
45215         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
45216         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
45217         struct member.
45218         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
45219         to macro prototype for AT_HWCAP2 support.
45220         * sysdeps/i386/dl-procinfo.h: Likewise.
45221         * sysdeps/s390/dl-procinfo.h: Likewise.
45222         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
45223         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
45224         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
45225         return -1 for unknown a_type display fallback.
45226         * sysdeps/sparc/dl-procinfo.h: Likewise.
45227         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
45228         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
45230 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
45232         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
45233         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
45235 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
45237         [BZ #12492]
45238         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
45239         mprotect making __stack_prot writable.
45241 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
45242             Joseph Myers  <joseph@codesourcery.com>
45244         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
45245         as being properly aligned.
45247 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
45249         * dlfcn/modstatic5.c: New file.
45250         * dlfcn/tststatic5.c: New file.
45251         * dlfcn/Makefile (tests): Add tststatic5.
45252         (tests-static): Likewise.
45253         (modules-names): Add modstatic5.
45254         (tststatic5-ENV): New variable.
45255         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
45257         [BZ #15022]
45258         * elf/dl-support.c (_dl_main_map): New variable.
45259         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
45260         (_dl_nns, _dl_load_adds): Set to 1.
45261         (_dl_initial_searchlist): Refer to _dl_main_map.
45262         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
45263         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
45264         call to _dl_get_origin.
45265         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
45266         around call_map.
45267         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
45268         * dlfcn/modstatic3.c: New file.
45269         * dlfcn/tststatic3.c: New file.
45270         * dlfcn/tststatic4.c: New file.
45271         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
45272         (tests-static): Likewise.
45273         (modules-names): Add modstatic3.
45274         (tststatic3-ENV, tststatic4-ENV): New variables.
45275         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
45276         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
45278 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
45280         * configure.in (CC): Require GCC version 4.4 or later.
45281         * configure: Regenerated.
45282         * manual/install.texi (Tools for Compilation): Update GCC version
45283         requirement.
45284         * INSTALL: Regenerated.
45286 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45288         [BZ #15674]
45289         * string/test-memcmp.c (check2): New.
45290         (main): Call check2.
45292         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
45294 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
45296         [BZ #15022]
45297         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
45298         over to...
45299         (dl_open_worker) [!SHARED]: ... here.
45301 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45303         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
45305 2013-06-25  Richard Henderson  <rth@redhat.com>
45307         * locale/programs/locarchive.c: Include <libc-internal.h>
45309 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
45311         * manual/texinfo.tex: Update to version 2013-06-21.17, with
45312         trailing whitespace removed.
45314 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45316         [BZ #10283]
45317         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
45318         * locale/programs/locarchive.c: Include libc-mmap.h.
45319         (prepare_address_space): Take two new outputs (the mmap base and len).
45320         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
45321         values.
45322         (create_archive): Declare new mmap base and len values for
45323         prepare_address_space, and store the result in ah.
45324         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
45325         (enlarge_archive): If ah->mmap_base is not NULL, use that and
45326         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45327         Declare new mmap base and len values for
45328         prepare_address_space, and store the result in new_ah.
45329         (open_archive): Declare new mmap base and len values for
45330         prepare_address_space, and store the result in ah.
45331         (close_archive): If ah->mmap_base is not NULL, use that and
45332         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45333         * sysdeps/generic/libc-mmap.h: New file.
45335 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45337         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
45338         (ALIGN_UP): Likewise.
45339         (PTR_ALIGN_DOWN): Likewise.
45340         (PTR_ALIGN_UP): Likewise.
45342 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45344         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
45345         entry mapped to PPC_PLATFORM_POWER8.
45346         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
45347         POWER8.
45348         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
45349         (_dl_string_platform): Add case for exporting platform position for
45350         POWER8.
45351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
45352         search path to sysdeps/powerpc/powerpc32/power8 directory.
45353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
45354         search path to sysdeps/powerpc/powerpc64/power8 directory.
45355         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
45356         power7 directories.
45357         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
45358         power7 directories.
45360 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45362         * INSTALL: Regenerate.
45364         * nscd/connections.c (nscd_init): Fix comment.
45366 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
45368         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
45370         [BZ #15667]
45371         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
45372         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
45374 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45376         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
45377         DL_DST_REQ_STATIC.
45378         (DL_DST_REQ_STATIC): Remove macro.
45380 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
45382         [BZ #7006]
45383         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
45384         with a shift of 0 bits.
45386 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45388         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
45389         $(tststatic-ENV).
45391 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45393         [BZ #15655]
45394         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
45396 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45398         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
45399         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
45400         accepts -fno-tree-loop-distribute-patterns.
45401         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
45402         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
45403         recursive call.
45404         * string/memset.c (memset): Likewise.
45405         * string/test-memmove.c (simple_memmove): Disable loop transformation
45406         to library calls.
45407         * string/test-memset.c (simple_memset): Likewise.
45408         * benchtests/bench-memmove.c (simple_memmove): Likewise.
45409         * benchtests/bench-memset.c (simple_memset): Likewise.
45410         * configure: Regenerated.
45412 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
45414         * math/test-misc.c (main): Ignore fesetround failure when failures
45415         of subsequent rounding tests would be ignored.
45417         [BZ #15654]
45418         * math/fedisblxcpt.c (fedisableexcept): Return 0.
45419         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
45420         * math/fegetenv.c (__fegetenv): Return 0.
45421         * math/fegetexcept.c (fegetexcept): Return 0.
45422         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
45423         FE_TONEAREST.
45424         * math/feholdexcpt.c (feholdexcept): Return 0.
45425         * math/fesetenv.c (__fesetenv): Return 0.
45426         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
45427         argument FE_TONEAREST.
45428         * math/feupdateenv.c (__feupdateenv): Return 0.
45429         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
45431 2013-06-18  Roland McGrath  <roland@hack.frob.com>
45433         * elf/rtld-Rules (rtld-compile-command.S): New variable.
45434         (rtld-compile-command.s, rtld-compile-command.c): New variables.
45435         ($(objpfx)rtld-%.os rules): Use them.
45437 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45439         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
45440         fields.
45442 2013-06-17  Roland McGrath  <roland@hack.frob.com>
45444         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
45445         length of target pattern, then descending length of dependency pattern.
45446         * configure.in (AWK): Require gawk 3.1.2 or newer.
45447         * manual/install.texi (Tools for Compilation): Say that we do.
45448         * configure: Regenerated.
45450         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
45451         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
45452         * scripts/sysd-rules.awk: ... this new script.
45453         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
45454         than a glob-style pattern.
45456 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
45458         * math/test-misc.c (main): Do not treat incorrectly rounded
45459         conversions as failure unless ROUNDING_TESTS passes.
45461 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
45463         [BZ #15631]
45464         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
45465         restore exception state around main square root computation, then
45466         check for inexactness explicitly.
45468         * math/libm-test.inc (fma_test_data): Add another test.
45470 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45472         * manual/threads.texi (Non-POSIX Extensions): New document
45473         node.  Document pthread_getattr_default_np and
45474         pthread_setattr_default_np.
45476         * Versions.def (libpthread): Add GLIBC_2.18.
45477         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
45478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45479         Likewise.
45480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45481         Likewise.
45482         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45483         Likewise.
45484         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45485         Likewise.
45486         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
45487         Likewise.
45488         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45489         Likewise.
45490         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45491         Likewise.
45492         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45493         Likewise.
45494         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45495         Likewise.
45497 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45499         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45500         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
45502 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45503             H.J. Lu  <hjl.tools@gmail.com>
45505         [BZ #15627]
45506         * sysdeps/x86_64/rtld-memset.c: Remove file.
45507         * sysdeps/x86_64/rtld-memset.S: New file.
45509 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
45511         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
45512         (test_in_one_mode): Take arguments for whether the rounding mode
45513         is supported for each floating-point type.
45514         (do_test): Pass new arguments to test_in_one_mode using
45515         ROUNDING_TESTS.
45517 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45519         * posix/tst-waitid.c (do_test): Distinguish different instances of
45520         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
45521         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
45522         before entering the kernel for waitpid.
45524 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45526         * NEWS: Fix note on clock function precision.  Text by Roland
45527         McGrath.
45529 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45531         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
45532         it into place only when and if the sanity check passes.
45534 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
45536         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
45537         output for whether conversion result is exact.  Take argument
45538         indicating whether type is IBM long double.
45539         (round_for_all): Change need_exact field to ibm_ld.
45540         * stdlib/tst-strtod-round.c (struct exactness): New type.
45541         (struct test): Change bool ld_ok field to struct exactness exact.
45542         (TEST): Update all definitions for change to field.
45543         (tests): Regenerate array contents.
45544         (test_in_one_mode): Take pointer to new field instead of old ld_ok
45545         field value.  Check for IBM long double here.
45546         (do_test): Update calls to test_in_one_mode.
45548 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45550         [BZ #12515]
45551         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
45552         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
45554 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45556         [BZ #15605]
45557         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
45558         generated by the compiler on loop optimizations.
45559         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
45560         general definitions.
45562 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
45564         * math/bug-nextafter.c: Include <math-tests.h>.
45565         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45566         the relevant type.
45567         * math/bug-nexttoward.c: Include <math-tests.h>.
45568         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45569         the relevant type.
45570         * math/test-misc.c: Include <math-tests.h>.
45571         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45572         the relevant type.
45574 2013-06-12  Andreas Jaeger  <aj@suse.de>
45576         * po/ia.po: Update Interlingua translation from translation
45577         project.
45579 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45581         * include/fenv.h: Include stdbool.h.
45582         (struct rm_ctx): New structure.
45583         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
45584         Define macro.
45585         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
45586         (SET_RESTORE_ROUNDF): Likewise.
45587         (SET_RESTORE_ROUNDL): Likewise.
45588         (SET_RESTORE_ROUND_NOEX): Likewise.
45589         (SET_RESTORE_ROUND_NOEXF): Likewise.
45590         (SET_RESTORE_ROUND_NOEXL): Likewise.
45591         (SET_RESTORE_ROUND_53BIT): Likewise.
45592         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
45593         (libc_feresetround_noexf_ctx): Likewise.
45594         (libc_feresetround_noexl_ctx): Likewise.
45595         (libc_feholdsetround_53bit_ctx): Likewise.
45596         (libc_feresetround_53bit_ctx): Likewise.
45597         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
45598         (libc_feholdexcept_setround_sse_ctx): New function.
45599         (libc_fesetenv_sse_ctx): Likewise.
45600         (libc_feupdateenv_sse_ctx): Likewise.
45601         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
45602         (libc_feholdexcept_setround_387_ctx): Likewise.
45603         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
45604         (libc_feholdsetround_387_prec_ctx): Likewise.
45605         (libc_feholdsetround_387_ctx): Likewise.
45606         (libc_feholdsetround_387_53bit_ctx): Likewise.
45607         (libc_feholdsetround_sse_ctx): Likewise.
45608         (libc_feresetround_sse_ctx): Likewise.
45609         (libc_feresetround_387_ctx): Likewise.
45610         (libc_feupdateenv_387_ctx): Likewise.
45611         (libc_feholdexcept_setroundf_ctx): Define macro.
45612         (libc_fesetenvf_ctx): Likewise.
45613         (libc_feupdateenvf_ctx): Likewise.
45614         (libc_feholdsetroundf_ctx): Likewise.
45615         (libc_feresetroundf_ctx): Likewise.
45616         (libc_feholdexcept_setround_ctx): Likewise.
45617         (libc_fesetenv_ctx): Likewise.
45618         (libc_feupdateenv_ctx): Likewise.
45619         (libc_feholdsetround_ctx): Likewise.
45620         (libc_feresetround_ctx): Likewise.
45621         (libc_feholdexcept_setroundl_ctx): Likewise.
45622         (libc_feupdateenvl_ctx): Likewise.
45623         (libc_feholdsetroundl_ctx): Likewise.
45624         (libc_feresetroundl_ctx): Likewise.
45625         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
45626         (libc_feresetround_53bit_ctx): Likewise.
45628 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45630         * locale/iso-639.def: Convert to UTF-8.
45632 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
45634         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
45635         (EXCEPTION_TESTS_double): Likewise.
45636         (EXCEPTION_TESTS_long_double): Likewise.
45637         (EXCEPTION_TESTS): Likewise.
45638         * math/libm-test.inc (test_exceptions): Only test exceptions if
45639         EXCEPTION_TESTS (FLOAT).
45641 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45643         * benchtests/Makefile (string-bench): Add strcpy_chk and
45644         stpcpy_chk.
45645         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
45646         * benchtests/bench-stpcpy_chk.c: New file.
45647         * benchtests/bench-strcpy_chk-ifunc.c: New file.
45648         * benchtests/bench-strcpy_chk.c: New file.
45649         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
45650         code.
45651         (do_test): Likewise.
45653 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45655         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
45656         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
45657         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
45658         with tabs where appropriate.
45659         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
45660         dl-procinfo.h.
45661         [PPC_PLATFORM_PPC440]: Likewise.
45662         [PPC_PLATFORM_PPC464]: Likewise.
45663         [PPC_PLATFORM_PPC476]: Likewise.
45664         (_dl_string_platform): Add support for detecting ppc405, ppc440,
45665         ppc464, and ppc476 platform strings merging from ports/
45666         dl-procinfo.h.
45668 2013-06-11  Andreas Schwab  <schwab@suse.de>
45670         [BZ #14991]
45671         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
45672         (from_ucs4_idx): Regenerate.
45673         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
45674         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
45675         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
45676         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
45677         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
45678         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
45679         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
45680         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
45681         from FROM_LOOP and TO_LOOP specific macros.
45682         (BODY): Handle combining characters.
45683         * iconvdata/BIG5HKSCS.irreversible: Update.
45684         * iconvdata/BIG5HKSCS.precomposed: New file.
45685         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
45686         characters.
45687         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
45689 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45691         * include/sys/time.h: Fix indentation and add copyright header.
45693         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
45694         (do_test): Likewise.
45695         * string/test-memchr.c (do_one_test): Likewise.
45696         (do_test): Likewise.
45697         * string/test-memcmp.c (do_one_test): Likewise.
45698         (do_test): Likewise.
45699         * string/test-memcpy.c (do_one_test): Likewise.
45700         (do_test): Likewise.
45701         * string/test-memmem.c (do_one_test): Likewise.
45702         (do_test): Likewise.
45703         (do_random_tests): Likewise.
45704         * string/test-memmove.c (do_one_test): Likewise.
45705         (do_test): Likewise.
45706         * string/test-memset.c (do_one_test): Likewise.
45707         (do_test): Likewise.
45708         * string/test-rawmemchr.c (do_one_test): Likewise.
45709         (do_test): Likewise.
45710         * string/test-strcasecmp.c (do_one_test): Likewise.
45711         (do_test): Likewise.
45712         * string/test-strcasestr.c (do_one_test): Likewise.
45713         (do_test): Likewise.
45714         * string/test-strcat.c (do_one_test): Likewise.
45715         (do_test): Likewise.
45716         * string/test-strchr.c (do_one_test): Likewise.
45717         (do_test): Likewise.
45718         * string/test-strcmp.c (do_one_test): Likewise.
45719         (do_test): Likewise.
45720         * string/test-strcpy.c (do_one_test): Likewise.
45721         (do_test): Likewise.
45722         * string/test-string.h: Likewise.
45723         (test_init): Likewise.
45724         * string/test-strlen.c (do_one_test): Likewise.
45725         (do_test): Likewise.
45726         * string/test-strncasecmp.c (do_one_test): Likewise.
45727         (do_test): Likewise.
45728         * string/test-strncat.c (do_one_test): Likewise.
45729         (do_test): Likewise.
45730         * string/test-strncmp.c (do_one_test): Likewise.
45731         (do_test_limit): Likewise.
45732         (do_test): Likewise.
45733         * string/test-strncpy.c (do_one_test): Likewise.
45734         (do_test): Likewise.
45735         * string/test-strnlen.c (do_one_test): Likewise.
45736         (do_test): Likewise.
45737         * string/test-strpbrk.c (do_one_test): Likewise.
45738         (do_test): Likewise.
45739         * string/test-strrchr.c (do_one_test): Likewise.
45740         (do_test): Likewise.
45741         * string/test-strspn.c (do_one_test): Likewise.
45742         (do_test): Likewise.
45743         * string/test-strstr.c (do_one_test): Likewise.
45744         (do_test): Likewise.
45746         * benchtests/Makefile (string-bench): Add string benchmarks.
45747         * benchtests/bench-bcopy-ifunc.c: New file.
45748         * benchtests/bench-bcopy.c: New file.
45749         * benchtests/bench-bzero-ifunc.c: New file.
45750         * benchtests/bench-bzero.c: New file.
45751         * benchtests/bench-memccpy-ifunc.c: New file.
45752         * benchtests/bench-memccpy.c: New file.
45753         * benchtests/bench-memchr-ifunc.c: New file.
45754         * benchtests/bench-memchr.c: New file.
45755         * benchtests/bench-memcmp-ifunc.c: New file.
45756         * benchtests/bench-memcmp.c: New file.
45757         * benchtests/bench-memmem-ifunc.c: New file.
45758         * benchtests/bench-memmem.c: New file.
45759         * benchtests/bench-memmove-ifunc.c: New file.
45760         * benchtests/bench-memmove.c: New file.
45761         * benchtests/bench-mempcpy-ifunc.c: New file.
45762         * benchtests/bench-mempcpy.c: New file.
45763         * benchtests/bench-memset-ifunc.c: New file.
45764         * benchtests/bench-memset.c: New file.
45765         * benchtests/bench-rawmemchr-ifunc.c: New file.
45766         * benchtests/bench-rawmemchr.c: New file.
45767         * benchtests/bench-stpcpy-ifunc.c: New file.
45768         * benchtests/bench-stpcpy.c: New file.
45769         * benchtests/bench-stpncpy-ifunc.c: New file.
45770         * benchtests/bench-stpncpy.c: New file.
45771         * benchtests/bench-strcasecmp-ifunc.c: New file.
45772         * benchtests/bench-strcasecmp.c: New file.
45773         * benchtests/bench-strcasestr-ifunc.c: New file.
45774         * benchtests/bench-strcasestr.c: New file.
45775         * benchtests/bench-strcat-ifunc.c: New file.
45776         * benchtests/bench-strcat.c: New file.
45777         * benchtests/bench-strchr-ifunc.c: New file.
45778         * benchtests/bench-strchr.c: New file.
45779         * benchtests/bench-strchrnul-ifunc.c: New file.
45780         * benchtests/bench-strchrnul.c: New file.
45781         * benchtests/bench-strcmp-ifunc.c: New file.
45782         * benchtests/bench-strcmp.c: New file.
45783         * benchtests/bench-strcpy-ifunc.c: New file.
45784         * benchtests/bench-strcpy.c: New file.
45785         * benchtests/bench-strcspn-ifunc.c: New file.
45786         * benchtests/bench-strcspn.c: New file.
45787         * benchtests/bench-strlen-ifunc.c: New file.
45788         * benchtests/bench-strlen.c: New file.
45789         * benchtests/bench-strncasecmp-ifunc.c: New file.
45790         * benchtests/bench-strncasecmp.c: New file.
45791         * benchtests/bench-strncat-ifunc.c: New file.
45792         * benchtests/bench-strncat.c: New file.
45793         * benchtests/bench-strncmp-ifunc.c: New file.
45794         * benchtests/bench-strncmp.c: New file.
45795         * benchtests/bench-strncpy-ifunc.c: New file.
45796         * benchtests/bench-strncpy.c: New file.
45797         * benchtests/bench-strnlen-ifunc.c: New file.
45798         * benchtests/bench-strnlen.c: New file.
45799         * benchtests/bench-strpbrk-ifunc.c: New file.
45800         * benchtests/bench-strpbrk.c: New file.
45801         * benchtests/bench-strrchr-ifunc.c: New file.
45802         * benchtests/bench-strrchr.c: New file.
45803         * benchtests/bench-strspn-ifunc.c: New file.
45804         * benchtests/bench-strspn.c: New file.
45805         * benchtests/bench-strstr-ifunc.c: New file.
45806         * benchtests/bench-strstr.c: New file.
45808         * benchtests/Makefile: Disable parallel execution of targets.
45809         (string-bench): Add memcpy.
45810         (benchset): New variable to store a list of benchmark sets.
45811         (bench-func): Renamed from bench.
45812         (bench-set): New target.
45813         (bench): Depend on bench-func and bench-set.
45814         * benchtests/README: Add section on benchmark sets.
45815         * benchtests/bench-memcpy-ifunc.c: New file.
45816         * benchtests/bench-memcpy.c: New file.
45817         * benchtests/bench-string.h: New file.
45819 2013-06-11  Andreas Schwab  <schwab@suse.de>
45821         [BZ #15577]
45822         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
45823         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
45824         values in the triple.
45825         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
45826         terminator in the group key.
45828 2013-06-11  Andreas Jaeger  <aj@suse.de>
45830         * po/zh_TW.po: Update Chinese (traditional) translation from
45831         translation project.
45833 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45835         * include/time.h (__clock_gettime): Add libc_hidden_proto.
45836         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
45837         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
45838         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45839         (clock_getcpuclockid): Likewise.
45840         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
45841         Add weak_alias and libc_hidden_def.
45842         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
45843         * rt/clock_gettime.c (clock_gettime): Rename to
45844         __clock_gettime.  Add weak_alias and libc_hidden_def.
45845         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
45846         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
45847         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
45848         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
45849         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
45850         Likewise.
45851         * rt/clock_settime.c (clock_settime): Rename to
45852         __clock_settime.  Add weak_alias and libc_hidden_def.
45853         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
45855 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
45857         * mach/err_boot.sub: Remove trailing whitespace.
45858         * mach/err_ipc.sub: Likewise.
45859         * mach/err_mach.sub: Likewise.
45861         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
45862         (ROUNDING_TESTS_double): Likewise.
45863         (ROUNDING_TESTS_long_double): Likewise.
45864         (ROUNDING_TESTS): Likewise.
45865         * math/libm-test.inc: Include <math-tests.h>.
45866         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
45867         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
45868         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
45869         (IF_ROUND_INIT_FE_UPWARD): Likewise.
45871 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45873         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
45874         of assigning.
45876 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
45878         * sysdeps/gnu/errlist.awk: Do not generate space at end of
45879         otherwise empty TRANS lines.
45880         * sysdeps/gnu/errlist.c: Regenerated.
45882         * catgets/gencat.c (error_print): Use (void) in function
45883         definition.
45884         * crypt/crypt_util.c (__init_des): Likewise.
45885         * crypt/speeds.c (Stop): Likewise.
45886         (main): Likewise.
45887         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
45888         * inet/ruserpass.c (token): Likewise.
45889         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
45890         * intl/localealias.c (extend_alias_table): Likewise.
45891         * intl/plural-exp.c (init_germanic_plural): Likewise.
45892         * libio/fcloseall.c (__fcloseall): Likewise.
45893         * libio/genops.c (_IO_flush_all): Likewise.
45894         (_IO_flush_all_linebuffered): Likewise.
45895         (_IO_cleanup): Likewise.
45896         (_IO_iter_begin): Likewise.
45897         (_IO_iter_end): Likewise.
45898         (_IO_list_lock): Likewise.
45899         (_IO_list_unlock): Likewise.
45900         (_IO_list_resetlock): Likewise.
45901         * libio/getchar.c (getchar): Likewise.
45902         * libio/getchar_u.c (getchar_unlocked): Likewise.
45903         * libio/getwchar.c (getwchar): Likewise.
45904         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
45905         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
45906         * login/getpt.c (__getpt): Likewise.
45907         * login/tst-utmp.c (main): Likewise.
45908         * malloc/hooks.c (__malloc_check_init): Likewise.
45909         * malloc/malloc.c (__malloc_stats): Likewise.
45910         * malloc/mtrace.c (tr_break): Likewise.
45911         (mtrace): Likewise.
45912         (muntrace): Likewise.
45913         * misc/fstab.c (endfsent): Likewise.
45914         * misc/getclktck.c (__getclktck): Likewise.
45915         * misc/getdtsz.c (__getdtablesize): Likewise.
45916         * misc/gethostid.c (gethostid): Likewise.
45917         * misc/getpagesize.c (__getpagesize): Likewise.
45918         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
45919         (__get_nprocs): Likewise.
45920         (__get_phys_pages): Likewise.
45921         (__get_avphys_pages): Likewise.
45922         * misc/getttyent.c (getttyent): Likewise.
45923         (setttyent): Likewise.
45924         (endttyent): Likewise.
45925         * misc/getusershell.c (getusershell): Likewise.
45926         (endusershell): Likewise.
45927         (setusershell): Likewise.
45928         (initshells): Likewise.
45929         * misc/hsearch.c (__hdestroy): Likewise.
45930         * misc/sync.c (sync): Likewise.
45931         * misc/syslog.c (closelog_internal): Likewise.
45932         (closelog): Likewise.
45933         * misc/ttyslot.c (ttyslot): Likewise.
45934         * misc/vhangup.c (vhangup): Likewise.
45935         * posix/fork.c (__fork): Likewise.
45936         * posix/getegid.c (__getegid): Likewise.
45937         * posix/geteuid.c (__geteuid): Likewise.
45938         * posix/getgid.c (__getgid): Likewise.
45939         * posix/getpid.c (__getpid): Likewise.
45940         * posix/getppid.c (__getppid): Likewise.
45941         * posix/getuid.c (__getuid): Likewise.
45942         * posix/pause.c (pause): Likewise.
45943         * posix/setpgrp.c (setpgrp): Likewise.
45944         * posix/setsid.c (__setsid): Likewise.
45945         * posix/test-vfork.c (noop): Likewise.
45946         * resolv/gethnamaddr.c (_endhtent): Likewise.
45947         (_gethtent): Likewise.
45948         (ht_endhostent): Likewise.
45949         (gethostent): Likewise.
45950         (dns_service): Likewise.
45951         * stdlib/drand48.c (drand48): Likewise.
45952         * stdlib/lrand48.c (lrand48): Likewise.
45953         * stdlib/mrand48.c (mrand48): Likewise.
45954         * stdlib/rand.c (rand): Likewise.
45955         * stdlib/random.c (__random): Likewise.
45956         * stdlib/setenv.c (clearenv): Likewise.
45957         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
45958         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
45959         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
45960         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
45961         (__get_nprocs): Likewise.
45962         (__get_phys_pages): Likewise.
45963         (__get_avphys_pages): Likewise.
45964         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
45965         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
45966         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
45967         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
45968         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
45969         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
45970         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
45971         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
45972         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
45973         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
45974         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
45975         * sysdeps/mach/hurd/sync.c (sync): Likewise.
45976         * sysdeps/posix/clock.c (clock): Likewise.
45977         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
45978         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
45979         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
45980         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
45981         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
45982         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
45983         (__get_nprocs_conf): Likewise.
45984         (__get_phys_pages): Likewise.
45985         (__get_avphys_pages): Likewise.
45986         * time/clock.c (clock): Likewise.
45987         * time/tzset.c (__tzname_max): Likewise.
45989 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
45991         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
45992         (__bswap_32): Do not use "register".
45993         * crypt/crypt.c (_ufc_doit_r): Likewise.
45994         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
45995         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
45996         * gmon/gmon.c (__monstartup): Likewise.
45997         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
45998         * hurd/hurdmalloc.c (more_memory): Likewise.
45999         (malloc): Likewise.
46000         (free): Likewise.
46001         (realloc): Likewise.
46002         (malloc_fork_prepare): Likewise.
46003         (malloc_fork_parent): Likewise.
46004         (malloc_fork_child): Likewise.
46005         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
46006         (_svcauth_des): Likewise.
46007         * inet/inet_lnaof.c (inet_lnaof): Likewise.
46008         * inet/inet_net.c (inet_network): Likewise.
46009         * inet/inet_netof.c (inet_netof): Likewise.
46010         * inet/rcmd.c (__validuser2_sa): Likewise.
46011         * io/fts.c (fts_open): Likewise.
46012         (fts_load): Likewise.
46013         (fts_close): Likewise.
46014         (fts_read): Likewise.
46015         (fts_children): Likewise.
46016         (fts_build): Likewise.
46017         (fts_stat): Likewise.
46018         (fts_sort): Likewise.
46019         (fts_alloc): Likewise.
46020         (fts_lfree): Likewise.
46021         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
46022         (_IO_file_xsgetn): Likewise.
46023         (_IO_file_xsgetn_mmap): Likewise.
46024         * libio/iofopncook.c (_IO_cookie_read): Likewise.
46025         (_IO_cookie_write): Likewise.
46026         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
46027         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
46028         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
46029         * malloc/obstack.c (_obstack_begin): Likewise.
46030         (_obstack_begin_1): Likewise.
46031         (_obstack_newchunk): Likewise.
46032         (_obstack_allocated_p): Likewise.
46033         (obstack_free): Likewise.
46034         (_obstack_memory_used): Likewise.
46035         * misc/getttyent.c (getttynam): Likewise.
46036         (getttyent): Likewise.
46037         (skip): Likewise.
46038         (value): Likewise.
46039         * misc/getusershell.c (initshells): Likewise.
46040         * misc/syslog.c (__vsyslog_chk): Likewise.
46041         * misc/ttyslot.c (ttyslot): Likewise.
46042         * nis/nis_hash.c (__nis_hash): Likewise.
46043         * posix/fnmatch_loop.c (FCT): Likewise.
46044         * posix/getconf.c (print_all): Likewise.
46045         (main): Likewise.
46046         * posix/getopt.c (exchange): Likewise.
46047         * posix/glob.c (globfree): Likewise.
46048         (prefix_array): Likewise.
46049         (__glob_pattern_type): Likewise.
46050         * resolv/arpa/nameser.h (NS_GET16): Likewise.
46051         (NS_GET32): Likewise.
46052         (NS_PUT16): Likewise.
46053         (NS_PUT32): Likewise.
46054         * resolv/gethnamaddr.c (getanswer): Likewise.
46055         (gethostbyname2): Likewise.
46056         (gethostbyaddr): Likewise.
46057         (_gethtent): Likewise.
46058         (_gethtbyname2): Likewise.
46059         (_gethtbyaddr): Likewise.
46060         * resolv/ns_print.c (dst_s_get_int16): Likewise.
46061         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
46062         * resolv/res_init.c (__res_vinit): Likewise.
46063         (net_mask): Likewise.
46064         * resolv/res_mkquery.c (outchar): Likewise.
46065         (PRINT): Likewise.
46066         * stdio-common/printf_fp.c (outchar): Likewise.
46067         (PRINT): Likewise.
46068         * stdio-common/printf_fphex.c (outchar): Likewise.
46069         (PRINT): Likewise.
46070         * stdio-common/printf_size.c (outchar): Likewise.
46071         (PRINT): Likewise.
46072         * stdio-common/test_rdwr.c (main): Likewise.
46073         * stdio-common/tfformat.c (matches): Likewise.
46074         * stdio-common/vfprintf.c (outchar): Likewise.
46075         (printf_unknown): Likewise.
46076         (buffered_vfprintf): Likewise.
46077         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46078         * stdio-common/xbug.c (AppendToBuffer): Likewise.
46079         (ReadFile): Likewise.
46080         * stdlib/qsort.c (SWAP): Likewise.
46081         (_quicksort): Likewise.
46082         * stdlib/setenv.c (__add_to_environ): Likewise.
46083         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46084         * stdlib/strtol_l.c (__strtol_l): Likewise.
46085         * stdlib/tst-strtod.c (main): Likewise.
46086         * stdlib/tst-strtol.c (main): Likewise.
46087         * stdlib/tst-strtoll.c (main): Likewise.
46088         * string/bits/string2.h (__strcmp_cc): Likewise.
46089         (__strcmp_cg): Likewise.
46090         (__strcspn_c1): Likewise.
46091         (__strcspn_c2): Likewise.
46092         (__strcspn_c3): Likewise.
46093         (__strspn_c1): Likewise.
46094         (__strspn_c2): Likewise.
46095         (__strspn_c3): Likewise.
46096         (__strsep_1c): Likewise.
46097         (__strsep_2c): Likewise.
46098         (__strsep_3c): Likewise.
46099         * string/memccpy.c (__memccpy): Likewise.
46100         * string/stpcpy.c (__stpcpy): Likewise.
46101         * string/strcmp.c (strcmp): Likewise.
46102         * string/strrchr.c (strrchr): Likewise.
46103         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
46104         Likewise.
46105         * sysdeps/mach/hurd/getcwd.c
46106         (_hurd_canonicalize_directory_name_internal): Likewise.
46107         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
46108         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
46109         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
46110         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
46111         Likewise, in both definitions.
46112         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
46113         definitions.
46114         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
46115         64] (__bswap_64): Likewise.
46116         * time/test_time.c (main): Likewise.
46117         * time/tzfile.c (__tzfile_read): Likewise.
46118         (__tzfile_compute): Likewise.
46119         * time/tzset.c (__tzset_parse_tz): Likewise.
46120         (tzset_internal): Likewise.
46121         (compute_change): Likewise.
46122         * wcsmbs/wcscat.c (__wcscat): Likewise.
46123         * wcsmbs/wcschr.c (wcschr): Likewise.
46124         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
46125         * wcsmbs/wcscspn.c (wcscspn): Likewise.
46126         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
46127         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
46128         * wcsmbs/wcsspn.c (wcsspn): Likewise.
46129         * wcsmbs/wcsstr.c (wcsstr): Likewise.
46130         * wcsmbs/wmemchr.c (wmemchr): Likewise.
46131         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46132         * wcsmbs/wmemset.c (wmemset): Likewise.
46134 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
46136         * scripts/config.guess: Update to version 2013-05-16.
46137         * scripts/config.sub: Update to version 2013-04-24.
46138         * scripts/install-sh: Update to version 2011-11-20.07.
46139         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
46140         * scripts/move-if-change: Update to version 2012-01-06 07:23.
46142 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
46144         * debug/fgetws_u_chk.c: Fix leading whitespaces.
46145         * elf/sln.c: Likewise.
46146         * hurd/hurd/ioctl.h: Likewise.
46147         * hurd/hurdmalloc.c: Likewise.
46148         * hurd/xattr.c: Likewise.
46149         * include/shlib-compat.h: Likewise.
46150         * inet/ruserpass.c: Likewise.
46151         * libio/iofgets_u.c: Likewise.
46152         * libio/iofgetws_u.c: Likewise.
46153         * locale/programs/ld-identification.c: Likewise.
46154         * locale/programs/ld-time.c: Likewise.
46155         * mach/msg-destroy.c: Likewise.
46156         * nss/nss_files/files-netgrp.c: Likewise.
46157         * resolv/res_data.c: Likewise.
46158         * soft-fp/op-1.h: Likewise.
46159         * soft-fp/op-2.h: Likewise.
46160         * soft-fp/op-4.h: Likewise.
46161         * soft-fp/op-common.h: Likewise.
46162         * stdio-common/printf_fphex.c: Likewise.
46163         * stdlib/strtod_l.c: Likewise.
46164         * sunrpc/rpc/clnt.h: Likewise.
46165         * sysdeps/generic/framestate.c: Likewise.
46166         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46167         * sysdeps/i386/bsd-setjmp.S: Likewise.
46168         * sysdeps/i386/__longjmp.S: Likewise.
46169         * sysdeps/i386/setjmp.S: Likewise.
46170         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46171         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46172         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46173         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46174         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46175         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46176         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46177         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46178         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46179         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46180         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46181         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46182         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46183         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46184         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46185         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46186         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46187         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
46188         * sysdeps/ieee754/support.c: Likewise.
46189         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46190         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
46191         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
46192         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
46193         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
46194         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
46195         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
46196         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
46197         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
46198         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
46199         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
46200         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
46201         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
46202         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
46203         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
46204         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
46205         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46208 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
46210         * posix/transbug.c: Remove executable mode.
46212 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
46214         * crypt/speeds.c: Remove trailing whitespace.
46215         * dlfcn/default.c: Likewise.
46216         * elf/ifuncdep2.c: Likewise.
46217         * elf/ifuncmain1.c: Likewise.
46218         * elf/ifuncmain1vis.c: Likewise.
46219         * elf/testobj.h: Likewise.
46220         * elf/tst-stackguard1.c: Likewise.
46221         * gmon/sys/gmon.h: Likewise.
46222         * hurd/hurdmsg.c: Likewise.
46223         * hurd/new-fd.c: Likewise.
46224         * hurd/ports-get.c: Likewise.
46225         * iconvdata/ibm1008_420.c: Likewise.
46226         * inet/tst-getni1.c: Likewise.
46227         * inet/tst-getni2.c: Likewise.
46228         * libio/ioungetc.c: Likewise.
46229         * libio/wfiledoalloc.c: Likewise.
46230         * manual/libm-err-tab.pl: Likewise.
46231         * math/w_dremf.c: Likewise.
46232         * misc/ftruncate.c: Likewise.
46233         * posix/bug-glob2.c: Likewise.
46234         * posix/tst-pcre.c: Likewise.
46235         * posix/wait4.c: Likewise.
46236         * resolv/README: Likewise.
46237         * resolv/res_debug.h: Likewise.
46238         * resolv/tst-inet_ntop.c: Likewise.
46239         * setjmp/bug269-setjmp.c: Likewise.
46240         * soft-fp/extended.h: Likewise.
46241         * soft-fp/op-1.h: Likewise.
46242         * soft-fp/op-2.h: Likewise.
46243         * soft-fp/op-4.h: Likewise.
46244         * soft-fp/op-8.h: Likewise.
46245         * soft-fp/testit.c: Likewise.
46246         * stdio-common/bug16.c: Likewise.
46247         * stdlib/random.c: Likewise.
46248         * sunrpc/rpcsvc/rquota.x: Likewise.
46249         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
46250         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46251         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46252         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46253         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46254         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46255         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46256         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46257         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46258         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46259         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46260         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46261         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46262         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46263         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46264         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46265         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46266         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46267         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46268         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46269         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46270         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46271         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
46272         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46273         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46274         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46275         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46276         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46277         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46278         * sysdeps/ieee754/s_lib_version.c: Likewise.
46279         * sysdeps/mach/hurd/check_fds.c: Likewise.
46280         * sysdeps/mach/hurd/getsockname.c: Likewise.
46281         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
46282         * sysdeps/mach/hurd/recvfrom.c: Likewise.
46283         * sysdeps/powerpc/bits/link.h: Likewise.
46284         * sysdeps/powerpc/dl-procinfo.c: Likewise.
46285         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
46286         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
46287         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
46288         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46289         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46290         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
46291         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46292         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
46293         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46294         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
46295         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46296         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
46297         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46298         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46299         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46300         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46301         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46302         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46303         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46304         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46305         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
46306         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46307         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46308         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
46309         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46310         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46311         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46312         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46313         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46314         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46315         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46316         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46317         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46318         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
46319         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46320         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
46321         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46322         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
46323         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
46324         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
46325         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
46326         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
46327         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
46328         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46329         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
46330         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
46331         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46332         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
46333         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
46334         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46335         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46336         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46337         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46338         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
46339         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
46340         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
46341         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46342         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
46343         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
46344         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
46345         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
46346         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
46347         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46348         * sysdeps/powerpc/sysdep.h: Likewise.
46349         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46350         * sysdeps/s390/s390-64/sub_n.S: Likewise.
46351         * sysdeps/sh/dl-trampoline.S: Likewise.
46352         * sysdeps/sh/memset.S: Likewise.
46353         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
46354         * sysdeps/sh/strlen.S: Likewise.
46355         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
46356         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
46357         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
46358         * sysdeps/sparc/sparc32/rem.S: Likewise.
46359         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
46360         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
46361         * sysdeps/sparc/sparc32/strchr.S: Likewise.
46362         * sysdeps/sparc/sparc32/udiv.S: Likewise.
46363         * sysdeps/sparc/sparc32/urem.S: Likewise.
46364         * sysdeps/sparc/sparc64/add_n.S: Likewise.
46365         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46366         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
46367         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
46368         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
46369         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
46370         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
46371         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
46372         * sysdeps/unix/bsd/times.c: Likewise.
46373         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
46374         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
46375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
46376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
46377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
46378         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
46379         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46380         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
46381         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
46382         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
46383         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
46384         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46385         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
46386         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46387         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46388         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
46389         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46390         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
46391         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
46392         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
46393         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
46394         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
46395         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46396         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
46397         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
46398         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
46399         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
46400         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46401         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
46402         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
46403         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
46404         * sysdeps/x86_64/strcspn.S: Likewise.
46406 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46408         * locale/C-translit.h: Revert #include <stdint.h> because this is a
46409         generated file.  Regenerate properly from gen-translit.pl.
46410         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
46411         locale/C-translit.h.
46413 2013-06-05  Andreas Schwab  <schwab@suse.de>
46415         [BZ #15100]
46416         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
46417         week as 6 instead of -1.
46418         * time/tst-strptime.c (day_tests): Add test case.
46420 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46422         * sysdeps/generic/math_private.h
46423         (libc_feholdexcept_setround_53bit): Replace with
46424         libc_feholdsetround_53bit.
46425         (libc_feupdateenv_53bit): Replace with
46426         libc_feresetround_53bit.
46427         (SET_RESTORE_ROUND_53BIT): Adjust.
46429 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46431         * string/test-strchrnul.c: Add copyright header.
46433         * posix/tst-getaddrinfo4.c: Increase test timeout.
46435 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
46437         [BZ #15536]
46438         * math/libm-test.inc (MAX_EXP): Remove
46439         (MIN_EXP): Define.
46440         (ulp): Use MIN_EXP - MANT_DIG.
46441         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
46443 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
46445         * po/be.po: Revert last change.
46446         * po/zh_CN.po: Likewise.
46447         * po/header.pot: Likewise.
46449 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
46451         * Makefile ($(common-objpfx)linkobj/libc.so): Define
46452         link-libc-deps to empty as target-specific variable.
46453         * Makerules (link-libc-args): New variable.
46454         (libc-for-link): Likewise.
46455         (link-libc-deps): Likewise.
46456         (lib%.so): Depend on $(link-libc-deps).  Link with
46457         $(link-libc-args).
46458         (build-module): Link with $(link-libc-args).
46459         (build-module-asneeded): Likewise.
46460         (build-module-helper-objlist): Filter out $(link-libc-deps) from
46461         list of objects.
46462         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
46463         target-specific variable.
46464         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
46465         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
46466         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
46467         libc.
46468         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
46469         libc and ld.so.
46470         ($(objpfx)libpcprofile.so): Likewise.
46471         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
46472         libc_nonshared.a.
46473         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
46474         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
46475         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
46476         $(link-libc-deps).
46477         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
46478         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
46479         * login/Makefile ($(objpfx)libutil.so): Likewise.
46480         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
46481         * math/Makefile ($(objpfx)libm.so): Likewise.
46482         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
46483         $(objpfx)libnsl.so): Define libc-for-link as target-specific
46484         variable instead of depending directly on libc.
46485         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
46486         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
46487         $(link-libc-deps).
46488         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
46489         libc.
46490         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
46491         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
46492         ($(objpfx)libanl.so): Likewise.
46493         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
46494         ld.so.
46495         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
46496         $(link-libc-deps).
46497         * sysdeps/i386/fpu/Makefile: Remove file.
46498         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
46499         ($(objpfx)libm.so): Remove dependency on ld.so.
46501 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
46503         [BZ # 15553]
46504         * nis/yp_xdr.c (XDRMAXNAME): Define.
46505         (XDRMAXRECORD): Define.
46506         (xdr_domainname): Use XDRMAXNAME.
46507         (xdr_mapname): Likewise.
46508         (xdr_peername): Likewise.
46509         (xdr_keydat): Use XDRMAXRECORD.
46510         (xdr_valdat): Likewise.
46512 2013-05-30  Jeff Law  <law@redhat.com>
46514         [BZ #14256]
46515         * manual/errno.texi (ESTALE): Update to account for more than
46516         just NFS file systems.
46517         * sysdeps/gnu/errlist.c: Regenerated.
46519 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46521         [BZ #15465]
46522         * elf/Makefile (tests): Add tst-null-argv.
46523         (modules-names):  Add tst-null-argv-lib.
46524         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
46525         (tst-null-argv-ENV): Set environment for tst-null-argv.
46526         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
46527         (RTLD_PROGNAME): New macro.
46528         * elf/tst-null-argv.c: New test case.
46529         * elf/tst-null-argv-lib.c: Library for test case.
46530         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
46531         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
46532         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
46533         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
46534         * elf/dl-init.c (call_init): Likewise.
46535         (_dl_init): Likewise.
46536         * elf/dl-load.c (print_search_path): Likewise.
46537         (_dl_map_object): Likewise.
46538         * elf/dl-lookup.c (do_lookup_x): Likewise.
46539         (add_dependency): Likewise.
46540         (_dl_lookup_symbol_x): Likewise.
46541         (_dl_debug_bindings): Likewise.
46542         * elf/dl-open.c (_dl_show_scope): Likewise.
46543         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46544         * elf/dl-version.c (match_symbol): Likewise.
46545         (_dl_check_map_versions): Likewise.
46546         * elf/rtld.c (dl_main): Likewise.
46547         (print_unresolved): Use RTLD_PROGNAME.
46548         (print_missing_version): Likewise.
46549         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
46550         (elf_machine_rela): Likewise.
46551         * sysdeps/powerpc/powerpc32/dl-machine.c
46552         (__process_machine_rela): Likewise.
46553         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46554         Likewise.
46555         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46556         Likewise.
46557         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
46558         Likewise.
46559         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46560         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
46561         Likewise.
46562         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
46563         Likewise.
46564         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46566 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
46568         * po/be.po: Add descriptive title.
46569         * po/zh_CN.po: Likewise.
46570         * po/header.pot: Likewise.
46572 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
46574         * locale/programs/locarchive.c (create_archive): Inlucde fname in
46575         error message.
46576         (enlarge_archive): Likewise.
46578 2013-05-28  Ben North  <ben@redfrontdoor.org>
46580         * manual/arith.texi (frexp): It is the magnitude of the return
46581         value which lies in [0.5, 1), not the return value itself.
46583 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46587 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
46589         * stdio-common/bug26.c (main): Correct fscanf template.
46591         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
46592         declare _dl_skip_args.
46594         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
46595         Don't declare.
46597         * manual/platform.texi: Add missing @end deftypefun.
46599 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46601         [BZ #15529]
46602         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
46603         bit of mantissa of 2^16382.
46604         * math/libm-test.inc (hypot_test_data): Add more tests.
46606         * math/libm-test.inc: Add drem and pow10 to list of tested
46607         functions.
46608         (pow10_test): New function.
46609         (drem_test): Likewise.
46610         (drem_test_tonearest): Likewise.
46611         (drem_test_towardzero): Likewise.
46612         (drem_test_downward): Likewise.
46613         (drem_test_upward): Likewise.
46614         (main): Call the new functions.
46616         * math/libm-test.inc (finite_test_data): Remove.
46617         (finite_test): Run tests from isfinite_test_data.
46618         (gamma_test_data): Remove.
46619         (gamma_test): Run tests from lgamma_test_data.
46620         * sysdeps/i386/fpu/libm-test-ulps: Update.
46621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46623 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46625         * manual/platform.texi: Add PowerPC PPR function set documentation.
46626         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
46627         implementation.
46629 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
46631         * math/libm-test.inc (MAX_EXP): Define.
46632         (ULPDIFF): Define.
46633         (ulp): New function.
46634         (check_float_internal): Use ULPDIFF.
46635         (cpow_test): Disable failing test.
46636         (check_ulp): Test ulp() implemetnation.
46637         (main): Call check_ulp before starting tests.
46639 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46641         * math/gen-libm-test.pl (generate_testfile): Do not handle
46642         START_DATA and END_DATA.
46643         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
46644         END_DATA.
46645         (acos_tonearest_test_data): Likewise.
46646         (acos_towardzero_test_data): Likewise.
46647         (acos_downward_test_data): Likewise.
46648         (acos_upward_test_data): Likewise.
46649         (acosh_test_data): Likewise.
46650         (asin_test_data): Likewise.
46651         (asin_tonearest_test_data): Likewise.
46652         (asin_towardzero_test_data): Likewise.
46653         (asin_downward_test_data): Likewise.
46654         (asin_upward_test_data): Likewise.
46655         (asinh_test_data): Likewise.
46656         (atan_test_data): Likewise.
46657         (atanh_test_data): Likewise.
46658         (atan2_test_data): Likewise.
46659         (cabs_test_data): Likewise.
46660         (cacos_test_data): Likewise.
46661         (cacosh_test_data): Likewise.
46662         (carg_test_data): Likewise.
46663         (casin_test_data): Likewise.
46664         (casinh_test_data): Likewise.
46665         (catan_test_data): Likewise.
46666         (catanh_test_data): Likewise.
46667         (cbrt_test_data): Likewise.
46668         (ccos_test_data): Likewise.
46669         (ccosh_test_data): Likewise.
46670         (ceil_test_data): Likewise.
46671         (cexp_test_data): Likewise.
46672         (cimag_test_data): Likewise.
46673         (clog_test_data): Likewise.
46674         (clog10_test_data): Likewise.
46675         (conj_test_data): Likewise.
46676         (copysign_test_data): Likewise.
46677         (cos_test_data): Likewise.
46678         (cos_tonearest_test_data): Likewise.
46679         (cos_towardzero_test_data): Likewise.
46680         (cos_downward_test_data): Likewise.
46681         (cos_upward_test_data): Likewise.
46682         (cosh_test_data): Likewise.
46683         (cosh_tonearest_test_data): Likewise.
46684         (cosh_towardzero_test_data): Likewise.
46685         (cosh_downward_test_data): Likewise.
46686         (cosh_upward_test_data): Likewise.
46687         (cpow_test_data): Likewise.
46688         (cproj_test_data): Likewise.
46689         (creal_test_data): Likewise.
46690         (csin_test_data): Likewise.
46691         (csinh_test_data): Likewise.
46692         (csqrt_test_data): Likewise.
46693         (ctan_test_data): Likewise.
46694         (ctan_tonearest_test_data): Likewise.
46695         (ctan_towardzero_test_data): Likewise.
46696         (ctan_downward_test_data): Likewise.
46697         (ctan_upward_test_data): Likewise.
46698         (ctanh_test_data): Likewise.
46699         (ctanh_tonearest_test_data): Likewise.
46700         (ctanh_towardzero_test_data): Likewise.
46701         (ctanh_downward_test_data): Likewise.
46702         (ctanh_upward_test_data): Likewise.
46703         (erf_test_data): Likewise.
46704         (erfc_test_data): Likewise.
46705         (exp_test_data): Likewise.
46706         (exp_tonearest_test_data): Likewise.
46707         (exp_towardzero_test_data): Likewise.
46708         (exp_downward_test_data): Likewise.
46709         (exp_upward_test_data): Likewise.
46710         (exp10_test_data): Likewise.
46711         (exp2_test_data): Likewise.
46712         (expm1_test_data): Likewise.
46713         (fabs_test_data): Likewise.
46714         (fdim_test_data): Likewise.
46715         (finite_test_data): Likewise.
46716         (floor_test_data): Likewise.
46717         (fma_test_data): Likewise.
46718         (fma_towardzero_test_data): Likewise.
46719         (fma_downward_test_data): Likewise.
46720         (fma_upward_test_data): Likewise.
46721         (fmax_test_data): Likewise.
46722         (fmin_test_data): Likewise.
46723         (fmod_test_data): Likewise.
46724         (fpclassify_test_data): Likewise.
46725         (frexp_test_data): Likewise.
46726         (gamma_test_data): Likewise.
46727         (hypot_test_data): Likewise.
46728         (ilogb_test_data): Likewise.
46729         (isfinite_test_data): Likewise.
46730         (isgreater_test_data): Likewise.
46731         (isgreaterequal_test_data): Likewise.
46732         (isinf_test_data): Likewise.
46733         (isless_test_data): Likewise.
46734         (islessequal_test_data): Likewise.
46735         (islessgreater_test_data): Likewise.
46736         (isnan_test_data): Likewise.
46737         (isnormal_test_data): Likewise.
46738         (issignaling_test_data): Likewise.
46739         (isunordered_test_data): Likewise.
46740         (j0_test_data): Likewise.
46741         (j1_test_data): Likewise.
46742         (jn_test_data): Likewise.
46743         (ldexp_test_data): Likewise.
46744         (lgamma_test_data): Likewise.
46745         (lrint_test_data): Likewise.
46746         (lrint_tonearest_test_data): Likewise.
46747         (lrint_towardzero_test_data): Likewise.
46748         (lrint_downward_test_data): Likewise.
46749         (lrint_upward_test_data): Likewise.
46750         (llrint_test_data): Likewise.
46751         (llrint_tonearest_test_data): Likewise.
46752         (llrint_towardzero_test_data): Likewise.
46753         (llrint_downward_test_data): Likewise.
46754         (llrint_upward_test_data): Likewise.
46755         (log_test_data): Likewise.
46756         (log10_test_data): Likewise.
46757         (log1p_test_data): Likewise.
46758         (log2_test_data): Likewise.
46759         (logb_test_data): Likewise.
46760         (logb_downward_test_data): Likewise.
46761         (lround_test_data): Likewise.
46762         (llround_test_data): Likewise.
46763         (modf_test_data): Likewise.
46764         (nearbyint_test_data): Likewise.
46765         (nextafter_test_data): Likewise.
46766         (nexttoward_test_data): Likewise.
46767         (pow_test_data): Likewise.
46768         (pow_tonearest_test_data): Likewise.
46769         (pow_towardzero_test_data): Likewise.
46770         (pow_downward_test_data): Likewise.
46771         (pow_upward_test_data): Likewise.
46772         (remainder_test_data): Likewise.
46773         (remainder_tonearest_test_data): Likewise.
46774         (remainder_towardzero_test_data): Likewise.
46775         (remainder_downward_test_data): Likewise.
46776         (remainder_upward_test_data): Likewise.
46777         (remquo_test_data): Likewise.
46778         (rint_test_data): Likewise.
46779         (rint_tonearest_test_data): Likewise.
46780         (rint_towardzero_test_data): Likewise.
46781         (rint_downward_test_data): Likewise.
46782         (rint_upward_test_data): Likewise.
46783         (round_test_data): Likewise.
46784         (scalb_test_data): Likewise.
46785         (scalbn_test_data): Likewise.
46786         (scalbln_test_data): Likewise.
46787         (signbit_test_data): Likewise.
46788         (sin_test_data): Likewise.
46789         (sin_tonearest_test_data): Likewise.
46790         (sin_towardzero_test_data): Likewise.
46791         (sin_downward_test_data): Likewise.
46792         (sin_upward_test_data): Likewise.
46793         (sincos_test_data): Likewise.
46794         (sinh_test_data): Likewise.
46795         (sinh_tonearest_test_data): Likewise.
46796         (sinh_towardzero_test_data): Likewise.
46797         (sinh_downward_test_data): Likewise.
46798         (sinh_upward_test_data): Likewise.
46799         (sqrt_test_data): Likewise.
46800         (tan_test_data): Likewise.
46801         (tan_tonearest_test_data): Likewise.
46802         (tan_towardzero_test_data): Likewise.
46803         (tan_downward_test_data): Likewise.
46804         (tan_upward_test_data): Likewise.
46805         (tanh_test_data): Likewise.
46806         (tgamma_test_data): Likewise.
46807         (trunc_test_data): Likewise.
46808         (y0_test_data): Likewise.
46809         (y1_test_data): Likewise.
46810         (yn_test_data): Likewise.
46811         (significand_test_data): Likewise.
46813         * math/gen-libm-test.pl (@functions): Remove variable.
46814         (generate_testfile): Don't handle START and END lines.
46815         * math/libm-test.inc (START): New macro.
46816         (END): Likewise.
46817         (END_COMPLEX): Likewise.
46818         (acos_test): Use END macro without arguments.
46819         (acos_test_tonearest): Likewise.
46820         (acos_test_towardzero): Likewise.
46821         (acos_test_downward): Likewise.
46822         (acos_test_upward): Likewise.
46823         (acosh_test): Likewise.
46824         (asin_test): Likewise.
46825         (asin_test_tonearest): Likewise.
46826         (asin_test_towardzero): Likewise.
46827         (asin_test_downward): Likewise.
46828         (asin_test_upward): Likewise.
46829         (asinh_test): Likewise.
46830         (atan_test): Likewise.
46831         (atanh_test): Likewise.
46832         (atan2_test): Likewise.
46833         (cabs_test): Likewise.
46834         (cacos_test): Use END_COMPLEX macro without arguments.
46835         (cacosh_test): Likewise.
46836         (carg_test): Use END macro without arguments.
46837         (casin_test): Use END_COMPLEX macro without arguments.
46838         (casinh_test): Likewise.
46839         (catan_test): Likewise.
46840         (catanh_test): Likewise.
46841         (cbrt_test): Use END macro without arguments.
46842         (ccos_test): Use END_COMPLEX macro without arguments.
46843         (ccosh_test): Likewise.
46844         (ceil_test): Use END macro without arguments.
46845         (cexp_test): Use END_COMPLEX macro without arguments.
46846         (cimag_test): Use END macro without arguments.
46847         (clog_test): Use END_COMPLEX macro without arguments.
46848         (clog10_test): Likewise.
46849         (conj_test): Likewise.
46850         (copysign_test): Use END macro without arguments.
46851         (cos_test): Likewise.
46852         (cos_test_tonearest): Likewise.
46853         (cos_test_towardzero): Likewise.
46854         (cos_test_downward): Likewise.
46855         (cos_test_upward): Likewise.
46856         (cosh_test): Likewise.
46857         (cosh_test_tonearest): Likewise.
46858         (cosh_test_towardzero): Likewise.
46859         (cosh_test_downward): Likewise.
46860         (cosh_test_upward): Likewise.
46861         (cpow_test): Use END_COMPLEX macro without arguments.
46862         (cproj_test): Likewise.
46863         (creal_test): Use END macro without arguments.
46864         (csin_test): Use END_COMPLEX macro without arguments.
46865         (csinh_test): Likewise.
46866         (csqrt_test): Likewise.
46867         (ctan_test): Likewise.
46868         (ctan_test_tonearest): Likewise.
46869         (ctan_test_towardzero): Likewise.
46870         (ctan_test_downward): Likewise.
46871         (ctan_test_upward): Likewise.
46872         (ctanh_test): Likewise.
46873         (ctanh_test_tonearest): Likewise.
46874         (ctanh_test_towardzero): Likewise.
46875         (ctanh_test_downward): Likewise.
46876         (ctanh_test_upward): Likewise.
46877         (erf_test): Use END macro without arguments.
46878         (erfc_test): Likewise.
46879         (exp_test): Likewise.
46880         (exp_test_tonearest): Likewise.
46881         (exp_test_towardzero): Likewise.
46882         (exp_test_downward): Likewise.
46883         (exp_test_upward): Likewise.
46884         (exp10_test): Likewise.
46885         (exp2_test): Likewise.
46886         (expm1_test): Likewise.
46887         (fabs_test): Likewise.
46888         (fdim_test): Likewise.
46889         (finite_test): Likewise.
46890         (floor_test): Likewise.
46891         (fma_test): Likewise.
46892         (fma_test_towardzero): Likewise.
46893         (fma_test_downward): Likewise.
46894         (fma_test_upward): Likewise.
46895         (fmax_test): Likewise.
46896         (fmin_test): Likewise.
46897         (fmod_test): Likewise.
46898         (fpclassify_test): Likewise.
46899         (frexp_test): Likewise.
46900         (gamma_test): Likewise.
46901         (hypot_test): Likewise.
46902         (ilogb_test): Likewise.
46903         (isfinite_test): Likewise.
46904         (isgreater_test): Likewise.
46905         (isgreaterequal_test): Likewise.
46906         (isinf_test): Likewise.
46907         (isless_test): Likewise.
46908         (islessequal_test): Likewise.
46909         (islessgreater_test): Likewise.
46910         (isnan_test): Likewise.
46911         (isnormal_test): Likewise.
46912         (issignaling_test): Likewise.
46913         (isunordered_test): Likewise.
46914         (j0_test): Likewise.
46915         (j1_test): Likewise.
46916         (jn_test): Likewise.
46917         (ldexp_test): Likewise.
46918         (lgamma_test): Likewise.
46919         (lrint_test): Likewise.
46920         (lrint_test_tonearest): Likewise.
46921         (lrint_test_towardzero): Likewise.
46922         (lrint_test_downward): Likewise.
46923         (lrint_test_upward): Likewise.
46924         (llrint_test): Likewise.
46925         (llrint_test_tonearest): Likewise.
46926         (llrint_test_towardzero): Likewise.
46927         (llrint_test_downward): Likewise.
46928         (llrint_test_upward): Likewise.
46929         (log_test): Likewise.
46930         (log10_test): Likewise.
46931         (log1p_test): Likewise.
46932         (log2_test): Likewise.
46933         (logb_test): Likewise.
46934         (logb_test_downward): Likewise.
46935         (lround_test): Likewise.
46936         (llround_test): Likewise.
46937         (modf_test): Likewise.
46938         (nearbyint_test): Likewise.
46939         (nextafter_test): Likewise.
46940         (nexttoward_test): Likewise.
46941         (pow_test): Likewise.
46942         (pow_test_tonearest): Likewise.
46943         (pow_test_towardzero): Likewise.
46944         (pow_test_downward): Likewise.
46945         (pow_test_upward): Likewise.
46946         (remainder_test): Likewise.
46947         (remainder_test_tonearest): Likewise.
46948         (remainder_test_towardzero): Likewise.
46949         (remainder_test_downward): Likewise.
46950         (remainder_test_upward): Likewise.
46951         (remquo_test): Likewise.
46952         (rint_test): Likewise.
46953         (rint_test_tonearest): Likewise.
46954         (rint_test_towardzero): Likewise.
46955         (rint_test_downward): Likewise.
46956         (rint_test_upward): Likewise.
46957         (round_test): Likewise.
46958         (scalb_test): Likewise.
46959         (scalbn_test): Likewise.
46960         (scalbln_test): Likewise.
46961         (signbit_test): Likewise.
46962         (sin_test): Likewise.
46963         (sin_test_tonearest): Likewise.
46964         (sin_test_towardzero): Likewise.
46965         (sin_test_downward): Likewise.
46966         (sin_test_upward): Likewise.
46967         (sincos_test): Likewise.
46968         (sinh_test): Likewise.
46969         (sinh_test_tonearest): Likewise.
46970         (sinh_test_towardzero): Likewise.
46971         (sinh_test_downward): Likewise.
46972         (sinh_test_upward): Likewise.
46973         (sqrt_test): Likewise.
46974         (tan_test): Likewise.
46975         (tan_test_tonearest): Likewise.
46976         (tan_test_towardzero): Likewise.
46977         (tan_test_downward): Likewise.
46978         (tan_test_upward): Likewise.
46979         (tanh_test): Likewise.
46980         (tgamma_test): Likewise.
46981         (trunc_test): Likewise.
46982         (y0_test): Likewise.
46983         (y1_test): Likewise.
46984         (yn_test): Likewise.
46985         (significand_test): Likewise.
46987 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
46989         [BZ #15381]
46990         * libio/genops.c (_IO_no_init): Initialize wide struct info.
46992 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
46994         [BZ #14894]
46995         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
46996         __ppc_mdoio and __ppc_mdoom.
46997         * manual/platform.texi: Document new functions __ppc_yield,
46998         __ppc_mdoio and __ppc_mdoom.
47000 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
47002         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
47003         (main): Mention "tls" pseudo-hwcap is legacy.
47004         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
47006 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47008         * math/gen-libm-test.pl (parse_args): Output only string of
47009         arguments as text for test name, not full call or descriptions of
47010         tests for extra outputs.
47011         (generate_testfile): Do not pass function name to parse_args.
47012         Generate this_func variable from START.
47013         * math/libm-test.inc (struct test_f_f_data): Rename test_name
47014         field to arg_str.
47015         (struct test_ff_f_data): Likewise.
47016         (test_ff_f_data_nexttoward): Likewise.
47017         (struct test_fi_f_data): Likewise.
47018         (struct test_fl_f_data): Likewise.
47019         (struct test_if_f_data): Likewise.
47020         (struct test_fff_f_data): Likewise.
47021         (struct test_c_f_data): Likewise.
47022         (struct test_f_f1_data): Likewise.  Remove field extra_name.
47023         (struct test_fF_f1_data): Likewise.
47024         (struct test_ffI_f1_data): Likewise.
47025         (struct test_c_c_data): Rename test_name field to arg_str.
47026         (struct test_cc_c_data): Likewise.
47027         (struct test_f_i_data): Likewise.
47028         (struct test_ff_i_data): Likewise.
47029         (struct test_f_l_data): Likewise.
47030         (struct test_f_L_data): Likewise.
47031         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
47032         and extra2_name.
47033         (COMMON_TEST_SETUP): New macro.
47034         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
47035         (COMMON_TEST_CLEANUP): Likewise.
47036         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
47037         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
47038         macros.
47039         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
47040         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
47041         macros.
47042         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
47043         (RUN_TEST_fff_f): Take argument string.  Call new setup and
47044         cleanup macros.
47045         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
47046         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
47047         macros.
47048         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
47049         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
47050         macros.
47051         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47052         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
47053         cleanup macros.
47054         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47055         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
47056         cleanup macros.
47057         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47058         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
47059         cleanup macros.
47060         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47061         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
47062         macros.
47063         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
47064         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
47065         macros.
47066         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
47067         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
47068         macros.
47069         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
47070         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
47071         cleanup macros.
47072         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
47073         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
47074         cleanup macros.
47075         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
47076         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
47077         macros.
47078         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
47079         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
47080         cleanup macros.
47081         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
47082         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
47083         macros.
47084         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
47085         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
47086         macros.
47087         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
47088         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
47089         cleanup macros.
47090         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
47092 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
47094         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
47095         to _sifields.sigfault.
47096         (si_addr_lsb): Define new macro.
47097         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47098         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47099         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
47101 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
47103         [BZ #15441]
47104         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
47105         returns -1.
47106         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
47107         null return -1.
47108         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
47109         loading the domain.
47111 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47113         * math/gen-libm-test.pl (parse_args): Do not include expected
47114         result in test name.
47115         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
47116         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47117         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47118         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47119         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47122 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47124         * benchtests/Makefile: Sort function entries.
47126         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
47127         tanh, asinh, acosh, atanh.
47128         * benchtests/acos-inputs: New file.
47129         * benchtests/acosh-inputs: New file.
47130         * benchtests/asin-inputs: New file.
47131         * benchtests/asinh-inputs: New file.
47132         * benchtests/atanh-inputs: New file.
47133         * benchtests/cosh-inputs: New file.
47134         * benchtests/log-inputs: New file.
47135         * benchtests/sinh-inputs: New file.
47136         * benchtests/tanh-inputs: New file.
47138 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
47140         [BZ #15339]
47141         * posix/tst-getaddrinfo4.c: New test.
47142         * posix/Makefile (tests): Add it.
47144 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47146         [BZ #15339]
47147         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
47148         when no services were used.
47149         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
47150         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
47152 2013-05-21  Andreas Schwab  <schwab@suse.de>
47154         [BZ #15014]
47155         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
47156         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
47157         successful.
47158         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
47159         redundant variable declarations and reallocation of buffer when
47160         parsing as IPv6 address.  Always set NSS status when called from
47161         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
47162         buffer too small.  Correct computation of needed size.
47163         * nss/Makefile (tests): Add test-digits-dots.
47164         * nss/test-digits-dots.c: New test.
47166 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47168         * benchtests/Makefile: Remove instructions for adding
47169         benchmark tests.
47170         * benchtests/README: New file to explain how to execute and
47171         enhance the benchmark tests.
47173 2013-05-21  Andreas Schwab  <schwab@suse.de>
47175         [BZ #15493]
47176         * setjmp/Makefile (tests): Add tst-sigsetjmp.
47177         * setjmp/tst-sigsetjmp.c: New test.
47179 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47181         * sysdeps/x86_64/memset.S (memset): New implementation.
47182         (__bzero): Likewise.
47183         (__memset_tail): New function.
47185 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47187         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
47188         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
47189         __memcpy_sse2_unaligned ifunc selection.
47190         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47191         Add memcpy-sse2-unaligned.S.
47192         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47193         Add: __memcpy_sse2_unaligned.
47195 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
47197         [BZ #15490]
47198         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47199         math_force_eval before restoring floating-point envrionment.
47200         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
47201         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
47202         Likewise.
47203         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
47204         <math_private.h>.
47205         (__nearbyintl): Use math_force_eval before restoring
47206         floating-point environment.
47207         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
47209         * math/gen-libm-test.pl (special_functions): Remove.
47210         (parse_args): Don't handle TEST_extra.  Handle functions with no
47211         return value.
47212         * math/libm-test.inc (struct test_sincos_data): Replace with
47213         struct test_fFF_11_data.
47214         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
47215         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
47216         (sincos_test_data): Change element type to struct
47217         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
47218         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
47219         RUN_TEST_LOOP_sincos.
47220         * math/README.libm-test: Don't mention special handling of
47221         individual functions.
47222         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
47223         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47224         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47225         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47226         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47229         * math/gen-libm-test.pl (get_variable): Remove function.
47230         (parse_args): Don't show pointer parameters to call in test
47231         names.  Use "extra output N" in test names for extra outputs
47232         rather than naming variables.
47234 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
47236         [BZ #15488]
47237         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
47238         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
47239         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
47240         double tests.
47241         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
47242         disable.
47243         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
47244         check_long_double.
47246         * math/gen-libm-test.pl (@tests): Remove variable.
47247         ($count): Likewise.
47248         (new_test): Remove function.
47249         (show_exceptions): New function.
47250         (special_functions): Use show_exceptions instead of new_test.
47251         (parse_args): Likewise.
47252         (generate_testfile): Pass only function name in generated call to
47253         print_max_error or print_complex_max_error.
47254         (get_ulps): Do not handle complex tests specially.
47255         (output_test): Rename to ...
47256         (get_all_ulps_for_test): ... this.  Return a string rather than
47257         printing to a file.  Require ulps to be present.
47258         (output_ulps): Generate arrays rather than #defines.
47259         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
47260         (struct ulp_data): New type.
47261         (BUILD_COMPLEX_ULP): Remove macro.
47262         (compare_ulp_data): New function.
47263         (find_ulps): Likewise.
47264         (find_test_ulps): Likewise.
47265         (find_function_ulps): Likewise.
47266         (find_complex_function_ulps): Likewise.
47267         (print_max_error): Determine allowed ulps using
47268         find_function_ulps.
47269         (print_complex_max_error): Determine allowed ulps using
47270         find_complex_function_ulps.
47271         (check_float_internal): Determine max ulps using find_test_ulps.
47272         (check_float): Do not take max_ulp parameter.  Update call to
47273         check_float_internal.
47274         (check_complex): Likewise.
47275         (check_int): Do not take max_ulp parameter.
47276         (check_long): Likewise.
47277         (check_bool): Likewise.
47278         (check_longlong): Likewise.
47279         (struct test_f_f_data): Remove max_ulp field.
47280         (struct test_ff_f_data): Likewise.
47281         (struct test_ff_f_data_nexttoward): Likewise.
47282         (struct test_fi_f_data): Likewise.
47283         (struct test_fl_f_data): Likewise.
47284         (struct test_if_f_data): Likewise.
47285         (struct test_fff_f_data): Likewise.
47286         (struct test_c_f_data): Likewise.
47287         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
47288         (struct test_fF_f1_data): Likewise.
47289         (struct test_ffI_f1_data): Likewise.
47290         (struct test_c_c_data): Remove max_ulp field.
47291         (struct test_cc_c_data): Likewise.
47292         (struct test_f_i_data): Likewise.
47293         (struct test_ff_i_data): Likewise.
47294         (struct test_f_l_data): Likewise.
47295         (struct test_f_L_data): Likewise.
47296         (struct test_sincos_data): Likewise.
47297         (RUN_TEST_f_f): Do not handle ulps.
47298         (RUN_TEST_LOOP_f_f): Likewise.
47299         (RUN_TEST_2_f): Likewise.
47300         (RUN_TEST_LOOP_2_f): Likewise.
47301         (RUN_TEST_fff_f): Likewise.
47302         (RUN_TEST_LOOP_fff_f): Likewise.
47303         (RUN_TEST_c_f): Likewise.
47304         (RUN_TEST_LOOP_c_f): Likewise.
47305         (RUN_TEST_f_f1): Likewise.
47306         (RUN_TEST_LOOP_f_f1): Likewise.
47307         (RUN_TEST_fF_f1): Likewise.
47308         (RUN_TEST_LOOP_fF_f1): Likewise.
47309         (RUN_TEST_fI_f1): Likewise.
47310         (RUN_TEST_LOOP_fI_f1): Likewise.
47311         (RUN_TEST_ffI_f1): Likewise.
47312         (RUN_TEST_LOOP_ffI_f1): Likewise.
47313         (RUN_TEST_c_c): Likewise.
47314         (RUN_TEST_LOOP_c_c): Likewise.
47315         (RUN_TEST_cc_c): Likewise.
47316         (RUN_TEST_LOOP_cc_c): Likewise.
47317         (RUN_TEST_f_i): Likewise.
47318         (RUN_TEST_LOOP_f_i): Likewise.
47319         (RUN_TEST_f_i_tg): Likewise.
47320         (RUN_TEST_LOOP_f_i_tg): Likewise.
47321         (RUN_TEST_ff_i_tg): Likewise.
47322         (RUN_TEST_LOOP_ff_i_tg): Likewise.
47323         (RUN_TEST_f_b): Likewise.
47324         (RUN_TEST_LOOP_f_b): Likewise.
47325         (RUN_TEST_f_b_tg): Likewise.
47326         (RUN_TEST_LOOP_f_b_tg): Likewise.
47327         (RUN_TEST_f_l): Likewise.
47328         (RUN_TEST_LOOP_f_l): Likewise.
47329         (RUN_TEST_f_L): Likewise.
47330         (RUN_TEST_LOOP_f_L): Likewise.
47331         (RUN_TEST_sincos): Likewise.
47332         (RUN_TEST_LOOP_sincos): Likewise.
47334 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
47336         [BZ #15480]
47337         [BZ #15485]
47338         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
47339         main case of finite arguments, set rounding mode to FE_TONEAREST
47340         and discard exceptions.
47341         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
47342         exceptions.
47343         (remainder_tonearest_test_data): New variable.
47344         (remainder_test_tonearest): New function.
47345         (remainder_towardzero_test_data): New variable.
47346         (remainder_test_towardzero): New function.
47347         (remainder_downward_test_data): New variable.
47348         (remainder_test_downward): New function.
47349         (remainder_upward_test_data): New variable.
47350         (remainder_test_upward): New function.
47351         (main): Call the new test functions.
47353         * math/libm-test.inc (struct test_f_f1_data): Remove field
47354         extra_init.
47355         (struct test_fF_f1_data): Likewise.
47356         (struct test_ffI_f1_data): Likewise.
47357         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
47358         based on value of EXTRA_EXPECTED.
47359         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47360         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
47361         EXTRA_VAR based on value of EXTRA_EXPECTED.
47362         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47363         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
47364         EXTRA_VAR based on value of EXTRA_EXPECTED.
47365         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47366         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
47367         EXTRA_VAR based on value of EXTRA_EXPECTED.
47368         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47369         * math/gen-libm-test.pl (parse_args): Don't output initializers
47370         for extra output values.
47372         * math/libm-test.inc (check_int): Expect result to be exactly
47373         equal to expected value and do not handle ulps.
47374         (check_long): Likewise.
47375         (check_longlong): Likewise.
47377         * math/libm-test.inc (ceil_test_data): Test for "inexact"
47378         exceptions.
47379         (cimag_test_data): Likewise.
47380         (conj_test_data): Likewise.
47381         (copysign_test_data): Likewise.
47382         (cproj_test_data): Likewise.
47383         (creal_test_data): Likewise.
47384         (fabs_test_data): Likewise.
47385         (fdim_test_data): Likewise.
47386         (finite_test_data): Likewise.
47387         (floor_test_data): Likewise.
47388         (fmax_test_data): Likewise.
47389         (fmin_test_data): Likewise.
47390         (fmod_test_data): Likewise.
47391         (fpclassify_test_data): Likewise.
47392         (frexp_test_data): Likewise.
47393         (ilogb_test_data): Likewise.
47394         (isfinite_test_data): Likewise.
47395         (isgreater_test_data): Likewise.
47396         (isgreaterequal_test_data): Likewise.
47397         (isinf_test_data): Likewise.
47398         (isless_test_data): Likewise.
47399         (islessequal_test_data): Likewise.
47400         (islessgreater_test_data): Likewise.
47401         (isnan_test_data): Likewise.
47402         (isnormal_test_data): Likewise.
47403         (issignaling_test_data): Likewise.
47404         (isunordered_test_data): Likewise.
47405         (ldexp_test_data): Likewise.
47406         (lrint_test_data): Likewise.
47407         (lrint_test_data) [TEST_FLOAT]: Disable one test.
47408         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
47409         (lrint_tonearest_test_data): Test for "inexact" exceptions.
47410         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47411         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
47412         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47413         test input.
47414         (lrint_towardzero_test_data): Test for "inexact" exceptions.
47415         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47416         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
47417         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
47418         that test input.
47419         (lrint_downward_test_data): Test for "inexact" exceptions.
47420         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47421         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
47422         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47423         test input.
47424         (lrint_upward_test_data): Test for "inexact" exceptions.
47425         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
47426         test input.
47427         (llrint_test_data): Test for "inexact" exceptions.
47428         (llrint_test_data) [TEST_FLOAT]: Disable one test.
47429         (llrint_tonearest_test_data): Test for "inexact" exceptions.
47430         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47431         (llrint_towardzero_test_data): Test for "inexact" exceptions.
47432         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47433         (llrint_downward_test_data): Test for "inexact" exceptions.
47434         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47435         (llrint_upward_test_data): Test for "inexact" exceptions.
47436         (logb_test_data): Likewise.
47437         (logb_downward_test_data): Likewise.
47438         (nextafter_test_data): Likewise.
47439         (nexttoward_test_data): Likewise.
47440         (remainder_test_data): Likewise.
47441         (remquo_test_data): Likewise.
47442         (scalbn_test_data): Likewise.
47443         (scalbln_test_data): Likewise.
47444         (signbit_test_data): Likewise.
47445         (sqrt_test_data): Likewise.
47446         (significand_test_data): Likewise.
47448 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47450         [BZ #15424]
47451         * benchtests/bench-modf.c (struct args): Mark arg0 as
47452         volatile.
47453         * scripts/bench.pl: Mark members of struct args as volatile.
47455 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47457         [BZ # 15497]
47458         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
47459         negative infinity on POWER6 or lower.
47460         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
47462 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
47464         [BZ #15442]
47465         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
47466         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
47467         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
47468         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
47469         (_FP_SETQNAN): New macro.
47470         (_FP_SETQNAN_SEMIRAW): Likewise.
47471         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
47472         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
47473         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
47474         (FP_EXTEND): Use _FP_FRAC_SNANP.
47475         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
47476         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
47477         into account.
47478         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47479         New macro.
47480         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47481         Likewise.
47483 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47485         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
47486         with DIVIDE_BY_ZERO_EXCEPTION.
47487         (gamma_test_data): Likewise.
47488         (lgamma_test_data): Likewise.
47489         (log_test_data): Likewise.
47490         (log10_test_data): Likewise.
47491         (log2_test_data): Likewise.
47492         (tgamma_test_data): Likewise.
47494         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
47495         (acos_test_tonearest): Likewise.
47496         (acos_test_towardzero): Likewise.
47497         (acos_test_downward): Likewise.
47498         (acos_test_upward): Likewise.
47499         (acosh_test): Likewise.
47500         (asin_test): Likewise.
47501         (asin_test_tonearest): Likewise.
47502         (asin_test_towardzero): Likewise.
47503         (asin_test_downward): Likewise.
47504         (asin_test_upward): Likewise.
47505         (asinh_test): Likewise.
47506         (atan_test): Likewise.
47507         (atanh_test): Likewise.
47508         (atan2_test): Likewise.
47509         (cabs_test): Likewise.
47510         (cacos_test): Likewise.
47511         (cacosh_test): Likewise.
47512         (casin_test): Likewise.
47513         (casinh_test): Likewise.
47514         (catan_test): Likewise.
47515         (catanh_test): Likewise.
47516         (cbrt_test): Likewise.
47517         (ccos_test): Likewise.
47518         (ccosh_test): Likewise.
47519         (cexp_test): Likewise.
47520         (clog_test): Likewise.
47521         (clog10_test): Likewise.
47522         (cos_test): Likewise.
47523         (cos_test_tonearest): Likewise.
47524         (cos_test_towardzero): Likewise.
47525         (cos_test_downward): Likewise.
47526         (cos_test_upward): Likewise.
47527         (cosh_test): Likewise.
47528         (cosh_test_tonearest): Likewise.
47529         (cosh_test_towardzero): Likewise.
47530         (cosh_test_downward): Likewise.
47531         (cosh_test_upward): Likewise.
47532         (cpow_test): Likewise.
47533         (csin_test): Likewise.
47534         (csinh_test): Likewise.
47535         (csqrt_test): Likewise.
47536         (ctan_test): Likewise.
47537         (ctan_test_tonearest): Likewise.
47538         (ctan_test_towardzero): Likewise.
47539         (ctan_test_downward): Likewise.
47540         (ctan_test_upward): Likewise.
47541         (ctanh_test): Likewise.
47542         (ctanh_test_tonearest): Likewise.
47543         (ctanh_test_towardzero): Likewise.
47544         (ctanh_test_downward): Likewise.
47545         (ctanh_test_upward): Likewise.
47546         (erf_test): Likewise.
47547         (erfc_test): Likewise.
47548         (exp_test): Likewise.
47549         (exp_test_tonearest): Likewise.
47550         (exp_test_towardzero): Likewise.
47551         (exp_test_downward): Likewise.
47552         (exp_test_upward): Likewise.
47553         (exp10_test): Likewise.
47554         (exp2_test): Likewise.
47555         (expm1_test): Likewise.
47556         (fmod_test): Likewise.
47557         (gamma_test): Likewise.
47558         (hypot_test): Likewise.
47559         (j0_test): Likewise.
47560         (j1_test): Likewise.
47561         (jn_test): Likewise.
47562         (lgamma_test): Likewise.
47563         (log_test): Likewise.
47564         (log10_test): Likewise.
47565         (log1p_test): Likewise.
47566         (log2_test): Likewise.
47567         (logb_test_downward): Likewise.
47568         (pow_test): Likewise.
47569         (pow_test_tonearest): Likewise.
47570         (pow_test_towardzero): Likewise.
47571         (pow_test_downward): Likewise.
47572         (pow_test_upward): Likewise.
47573         (remainder_test): Likewise.
47574         (remquo_test): Likewise.
47575         (sin_test): Likewise.
47576         (sin_test_tonearest): Likewise.
47577         (sin_test_towardzero): Likewise.
47578         (sin_test_downward): Likewise.
47579         (sin_test_upward): Likewise.
47580         (sincos_test): Likewise.
47581         (sinh_test): Likewise.
47582         (sinh_test_tonearest): Likewise.
47583         (sinh_test_towardzero): Likewise.
47584         (sinh_test_downward): Likewise.
47585         (sinh_test_upward): Likewise.
47586         (sqrt_test): Likewise.
47587         (tan_test): Likewise.
47588         (tan_test_tonearest): Likewise.
47589         (tan_test_towardzero): Likewise.
47590         (tan_test_downward): Likewise.
47591         (tan_test_upward): Likewise.
47592         (tanh_test): Likewise.
47593         (tgamma_test): Likewise.
47594         (y0_test): Likewise.
47595         (y1_test): Likewise.
47596         (yn_test): Likewise.
47598         * math/gen-libm-test.pl (adjust_arg): Remove function.
47599         (special_function): Remove argument $in_func.  Only handle
47600         generating output for tables of tests, not inside functions.
47601         (parse_args): Likewise.
47602         (generate_testfile): Remove variable $in_func.  Update call to
47603         parse_args.
47604         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
47605         (MINUS_ZERO_INIT): Rename macro to minus_zero.
47606         (PLUS_INFTY_INIT): Rename macro to plus_infty.
47607         (MINUS_INFTY_INIT): Rename macro to minus_infty.
47608         (QNAN_VALUE_INIT): Rename macro to qnan_value.
47609         (MAX_VALUE_INIT): Rename macro to max_value.
47610         (MIN_VALUE_INIT): Rename macro to min_value.
47611         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
47612         (plus_zero): Remove variable.
47613         (minus_zero): Likewise.
47614         (plus_infty): Likewise.
47615         (minus_infty): Likewise.
47616         (qnan_value): Likewise.
47617         (max_value): Likewise.
47618         (min_value): Likewise.
47619         (min_subnorm_value): Likewise.
47621 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47623         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
47624         uint64_t or uint32_t usage.
47625         * crypt/sha256-block.c: Likewise.
47626         * crypt/sha256-crypt.c: Likewise.
47627         * crypt/sha256.c: Likewise.
47628         * crypt/sha512-block.c: Likewise.
47629         * crypt/sha512-crypt.c: Likewise.
47630         * crypt/sha512.c: Likewise.
47631         * debug/backtrace-tst.c: Likewise.
47632         * debug/pcprofiledump.c: Likewise.
47633         * elf/cache.c: Likewise.
47634         * elf/dl-cache.c: Likewise.
47635         * elf/dl-misc.c: Likewise.
47636         * elf/dl-profile.c: Likewise.
47637         * elf/dl-support.c: Likewise.
47638         * elf/ldconfig.c: Likewise.
47639         * elf/sprof.c: Likewise.
47640         * iconv/dummy-repertoire.c: Likewise.
47641         * iconv/iconv_charmap.c: Likewise.
47642         * iconv/skeleton.c: Likewise.
47643         * iconvdata/8bit-generic.c: Likewise.
47644         * iconvdata/cp737.h: Likewise.
47645         * iconvdata/cp775.h: Likewise.
47646         * iconvdata/ibm1008.h: Likewise.
47647         * iconvdata/ibm1025.h: Likewise.
47648         * iconvdata/ibm1046.h: Likewise.
47649         * iconvdata/ibm1097.h: Likewise.
47650         * iconvdata/ibm1112.h: Likewise.
47651         * iconvdata/ibm1122.h: Likewise.
47652         * iconvdata/ibm1123.h: Likewise.
47653         * iconvdata/ibm1124.h: Likewise.
47654         * iconvdata/ibm1129.h: Likewise.
47655         * iconvdata/ibm1130.h: Likewise.
47656         * iconvdata/ibm1132.h: Likewise.
47657         * iconvdata/ibm1133.h: Likewise.
47658         * iconvdata/ibm1137.h: Likewise.
47659         * iconvdata/ibm1140.h: Likewise.
47660         * iconvdata/ibm1141.h: Likewise.
47661         * iconvdata/ibm1142.h: Likewise.
47662         * iconvdata/ibm1143.h: Likewise.
47663         * iconvdata/ibm1144.h: Likewise.
47664         * iconvdata/ibm1145.h: Likewise.
47665         * iconvdata/ibm1146.h: Likewise.
47666         * iconvdata/ibm1147.h: Likewise.
47667         * iconvdata/ibm1148.h: Likewise.
47668         * iconvdata/ibm1149.h: Likewise.
47669         * iconvdata/ibm1153.h: Likewise.
47670         * iconvdata/ibm1154.h: Likewise.
47671         * iconvdata/ibm1155.h: Likewise.
47672         * iconvdata/ibm1156.h: Likewise.
47673         * iconvdata/ibm1157.h: Likewise.
47674         * iconvdata/ibm1158.h: Likewise.
47675         * iconvdata/ibm1160.h: Likewise.
47676         * iconvdata/ibm1161.h: Likewise.
47677         * iconvdata/ibm1162.h: Likewise.
47678         * iconvdata/ibm1163.h: Likewise.
47679         * iconvdata/ibm1164.h: Likewise.
47680         * iconvdata/ibm1166.h: Likewise.
47681         * iconvdata/ibm1167.h: Likewise.
47682         * iconvdata/ibm12712.h: Likewise.
47683         * iconvdata/ibm1390.h: Likewise.
47684         * iconvdata/ibm1399.h: Likewise.
47685         * iconvdata/ibm16804.h: Likewise.
47686         * iconvdata/ibm4517.h: Likewise.
47687         * iconvdata/ibm4899.h: Likewise.
47688         * iconvdata/ibm4909.h: Likewise.
47689         * iconvdata/ibm4971.h: Likewise.
47690         * iconvdata/ibm5347.h: Likewise.
47691         * iconvdata/ibm803.h: Likewise.
47692         * iconvdata/ibm856.h: Likewise.
47693         * iconvdata/ibm901.h: Likewise.
47694         * iconvdata/ibm902.h: Likewise.
47695         * iconvdata/ibm9030.h: Likewise.
47696         * iconvdata/ibm9066.h: Likewise.
47697         * iconvdata/ibm921.h: Likewise.
47698         * iconvdata/ibm922.h: Likewise.
47699         * iconvdata/ibm9448.h: Likewise.
47700         * iconvdata/isiri-3342.h: Likewise.
47701         * iconvdata/jis0201.h: Likewise.
47702         * include/link.h: Likewise.
47703         * include/netdb.h: Likewise.
47704         * inet/check_native.c: Likewise.
47705         * inet/check_pf.c: Likewise.
47706         * inet/getipv4sourcefilter.c: Likewise.
47707         * inet/getnameinfo.c: Likewise.
47708         * inet/getsourcefilter.c: Likewise.
47709         * inet/htonl.c: Likewise.
47710         * inet/setipv4sourcefilter.c: Likewise.
47711         * inet/setsourcefilter.c: Likewise.
47712         * inet/test-inet6_opt.c: Likewise.
47713         * inet/tst-network.c: Likewise.
47714         * locale/C-collate.c: Likewise.
47715         * locale/C-ctype.c: Likewise.
47716         * locale/C-time.c: Likewise.
47717         * locale/C-translit.h: Likewise.
47718         * locale/loadarchive.c: Likewise.
47719         * locale/programs/3level.h: Likewise.
47720         * locale/programs/charmap.c: Likewise.
47721         * locale/programs/charmap.h: Likewise.
47722         * locale/programs/ld-address.c: Likewise.
47723         * locale/programs/ld-collate.c: Likewise.
47724         * locale/programs/ld-ctype.c: Likewise.
47725         * locale/programs/ld-identification.c: Likewise.
47726         * locale/programs/ld-measurement.c: Likewise.
47727         * locale/programs/ld-messages.c: Likewise.
47728         * locale/programs/ld-monetary.c: Likewise.
47729         * locale/programs/ld-name.c: Likewise.
47730         * locale/programs/ld-numeric.c: Likewise.
47731         * locale/programs/ld-paper.c: Likewise.
47732         * locale/programs/ld-telephone.c: Likewise.
47733         * locale/programs/ld-time.c: Likewise.
47734         * locale/programs/linereader.c: Likewise.
47735         * locale/programs/locale.c: Likewise.
47736         * locale/programs/locarchive.c: Likewise.
47737         * locale/programs/locfile.h: Likewise.
47738         * locale/programs/repertoire.c: Likewise.
47739         * locale/programs/simple-hash.c: Likewise.
47740         * locale/programs/simple-hash.h: Likewise.
47741         * malloc/memusage.c: Likewise.
47742         * malloc/memusagestat.c: Likewise.
47743         * nis/nis_defaults.c: Likewise.
47744         * nis/nis_hash.c: Likewise.
47745         * nis/nis_print.c: Likewise.
47746         * nis/nis_xdr.c: Likewise.
47747         * nscd/connections.c: Likewise.
47748         * nscd/hstcache.c: Likewise.
47749         * nscd/nscd_gethst_r.c: Likewise.
47750         * nscd/nscd_getserv_r.c: Likewise.
47751         * nscd/nscd_helper.c: Likewise.
47752         * nscd/servicescache.c: Likewise.
47753         * nss/makedb.c: Likewise.
47754         * nss/nss_db/db-XXX.c: Likewise.
47755         * nss/nss_db/db-initgroups.c: Likewise.
47756         * nss/nss_db/db-netgrp.c: Likewise.
47757         * nss/nss_files/files-network.c: Likewise.
47758         * nss/nss_files/files-parse.c: Likewise.
47759         * posix/bug-regex5.c: Likewise.
47760         * posix/fnmatch_loop.c: Likewise.
47761         * posix/regcomp.c: Likewise.
47762         * posix/regexec.c: Likewise.
47763         * posix/tst-rfc3484-2.c: Likewise.
47764         * posix/tst-rfc3484-3.c: Likewise.
47765         * posix/tst-rfc3484.c: Likewise.
47766         * resolv/nss_dns/dns-canon.c: Likewise.
47767         * resolv/nss_dns/dns-network.c: Likewise.
47768         * resolv/res_init.c: Likewise.
47769         * resolv/res_mkquery.c: Likewise.
47770         * resolv/tst-aton.c: Likewise.
47771         * stdlib/cxa_atexit.c: Likewise.
47772         * stdlib/cxa_finalize.c: Likewise.
47773         * stdlib/gen-fpioconst.c: Likewise.
47774         * stdlib/strtol_l.c: Likewise.
47775         * string/tst-endian.c: Likewise.
47776         * sunrpc/auth_des.c: Likewise.
47777         * sunrpc/clnt_udp.c: Likewise.
47778         * sunrpc/rtime.c: Likewise.
47779         * sunrpc/svcauth_des.c: Likewise.
47780         * sunrpc/xdr.c: Likewise.
47781         * sunrpc/xdr_intXX_t.c: Likewise.
47782         * sunrpc/xdr_rec.c: Likewise.
47783         * sysdeps/generic/ldconfig.h: Likewise.
47784         * sysdeps/generic/ldsodefs.h: Likewise.
47785         * sysdeps/generic/memusage.h: Likewise.
47786         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47787         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
47788         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
47789         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47790         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47791         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47792         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47793         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47794         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47795         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47796         * sysdeps/posix/getaddrinfo.c: Likewise.
47797         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47798         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47799         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47800         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47801         * sysdeps/powerpc/test-gettimebase.c: Likewise.
47802         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
47803         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
47804         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
47805         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
47806         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
47807         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47808         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47809         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
47810         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
47811         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
47812         * sysdeps/x86_64/dl-tls.h: Likewise.
47813         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
47814         * time/alt_digit.c: Likewise.
47815         * time/era.c: Likewise.
47816         * wcsmbs/tst-c16c32-1.c: Likewise.
47818 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47820         * math/libm-test.inc (struct test_sincos_data): New type.
47821         (RUN_TEST_LOOP_sincos): New macro.
47822         (sincos_test_data): New variable.
47823         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
47825 2013-05-16  Richard Henderson  <rth@redhat.com>
47827         * math/atest-exp2.c (LIMB64): New macro.
47828         (CONSTSZ): New macro.
47829         (mp_exp1, mp_exp_m1, mp_log2): New variables.
47830         (hexdig): Move ...
47831         (print_mpn_fp): ... to function scope.
47832         (read_mpn_hex): Remove.
47833         (get_log2): Remove.
47834         (exp2_mpn): Use mp_log2.
47835         (main): Use mp_exp1.
47837 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47839         * math/libm-test.inc: Remove comment about not testing "inexact"
47840         exceptions.
47841         (INEXACT_EXCEPTION): New macro.
47842         (NO_INEXACT_EXCEPTION): Likewise.
47843         (INVALID_EXCEPTION_OK): Update value.
47844         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47845         (OVERFLOW_EXCEPTION_OK): Likewise.
47846         (UNDERFLOW_EXCEPTION_OK): Likewise.
47847         (IGNORE_ZERO_INF_SIGN): Likewise.
47848         (ERRNO_UNCHANGED): Likewise.
47849         (ERRNO_EDOM): Likewise.
47850         (ERRNO_ERANGE): Likewise.
47851         (test_exceptions): Handle testing "inexact" exceptions.
47852         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
47853         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
47854         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
47855         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
47856         INEXACT_EXCEPTION.
47857         (rint_towardzero_test_data): Likewise.
47858         (rint_downward_test_data): Likewise.
47859         (rint_upward_test_data): Likewise.
47861         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
47862         with OVERFLOW_EXCEPTION.
47863         (exp10_test_data): Likewise.
47864         (exp2_test_data): Likewise.
47865         (expm1_test_data): Likewise.
47866         (lgamma_test_data): Likewise.
47867         (pow_test_data): Likewise.
47868         (tgamma_test_data): Likewise.
47869         (yn_test_data): Remove duplicate test of overflow.
47871         * math/libm-test.inc (struct test_cc_c_data): New type.
47872         (RUN_TEST_LOOP_cc_c): New macro.
47873         (cpow_test_data): New variable.
47874         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
47876         * math/libm-test.inc (struct test_f_L_data): New type.
47877         (RUN_TEST_LOOP_f_L): New macro.
47878         (llrint_test_data): New variable.
47879         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
47880         (llrint_tonearest_test_data): New variable.
47881         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
47882         (llrint_towardzero_test_data): New variable.
47883         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
47884         (llrint_downward_test_data): New variable.
47885         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
47886         (llrint_upward_test_data): New variable.
47887         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
47888         (llround_test_data): New variable.
47889         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
47891 2013-05-13  Peter Collingbourne  <pcc@google.com>
47893         * math/atest-exp2.c (get_log2): Remove const attribute.
47895 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47897         * math/libm-test.inc (struct test_f_l_data): New type.
47898         (RUN_TEST_LOOP_f_l): New macro.
47899         (lrint_test_data): New variable.
47900         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
47901         (lrint_tonearest_test_data): New variable.
47902         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
47903         (lrint_towardzero_test_data): New variable.
47904         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
47905         (lrint_downward_test_data): New variable.
47906         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
47907         (lrint_upward_test_data): New variable.
47908         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
47909         (lround_test_data): New variable.
47910         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
47912 2013-05-15  Peter Collingbourne  <pcc@google.com>
47914         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
47915         (EXTRACT_WORDS64) Use where appropriate.
47916         (INSERT_WORDS64) Likewise.
47918         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
47919         constraints with x constraints.
47920         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
47922         * malloc/obstack.c (_obstack_compat): Add initializer.
47924 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47926         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
47927         si_trapno and add si_addr_lsb to _sifields.sigfault.
47928         (si_trapno): Remove macro.
47929         (si_addr_lsb): Define new macro.
47930         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47932 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47934         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
47935         instead of TEST_f_l.
47936         (llrint_test_tonearest): Likewise.
47937         (llrint_test_towardzero): Likewise.
47938         (llrint_test_downward): Likewise.
47939         (llrint_test_upward): Likewise.
47940         (llround_test): Likewise.
47942         * math/libm-test.inc (struct test_f_i_data): Add comment.
47943         (RUN_TEST_LOOP_f_b): New macro.
47944         (RUN_TEST_LOOP_f_b_tg): Likewise.
47945         (finite_test_data): New variable.
47946         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
47947         (isfinite_test_data): New variable.
47948         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47949         (isinf_test_data): New variable.
47950         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47951         (isnan_test_data): New variable.
47952         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47953         (isnormal_test_data): New variable.
47954         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47955         (issignaling_test_data): New variable.
47956         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47957         (signbit_test_data): New variable.
47958         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47960         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
47961         with INVALID_EXCEPTION.
47962         (acosh_test_data): Likewise.
47963         (asin_test_data): Likewise.
47964         (atanh_test_data): Likewise.
47965         (fmod_test_data): Likewise.
47966         (log_test_data): Likewise.
47967         (log10_test_data): Likewise.
47968         (log2_test_data): Likewise.
47969         (pow_test_data): Likewise.
47970         (sqrt_test_data): Likewise.
47971         (y0_test_data): Likewise.
47972         (y1_test_data): Likewise.
47973         (yn_test_data): Likewise.
47975         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
47976         function contents.
47978         * math/libm-test.inc (struct test_ff_i_data): New type.
47979         (RUN_TEST_LOOP_ff_i_tg): New macro.
47980         (isgreater_test_data): New variable.
47981         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47982         (isgreaterequal_test_data): New variable.
47983         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47984         (isless_test_data): New variable.
47985         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47986         (islessequal_test_data): New variable.
47987         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47988         (islessgreater_test_data): New variable.
47989         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47990         (isunordered_test_data): New variable.
47991         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47993 2013-05-14  David S. Miller  <davem@davemloft.net>
47995         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47997 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
47999         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
48001         * math/libm-test.inc (struct test_fF_f1_data): Change type of
48002         extra_test to int.
48003         (struct test_f_i_data): Change type of max_ulp to int.
48005         * math/libm-test.inc (test_ffI_f1_data): New type.
48006         (RUN_TEST_LOOP_ffI_f1): New macro.
48007         (remquo_test_data): New variable.
48008         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
48010         * setjmp/tst-setjmp-fp.c: New file.
48011         * setjmp/Makefile (tests): Add tst-setjmp-fp.
48012         (link-libm): New variable.
48013         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
48015         * math/libm-test.inc (struct test_f_i_data): New type.
48016         (RUN_TEST_LOOP_f_i): New macro.
48017         (RUN_TEST_LOOP_f_i_tg): Likewise.
48018         (fpclassify_test_data): New variable.
48019         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
48020         (ilogb_test_data): New variable.
48021         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
48023         * math/libm-test.inc (scalbln_test): Correct function name in END
48024         call.
48026         * math/libm-test.inc (struct test_f_f1_data): Add comment.
48027         (RUN_TEST_LOOP_fI_f1): New macro.
48028         (frexp_test_data): New variable.
48029         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
48031         * math/libm-test.inc (struct test_fF_f1_data): New type.
48032         (RUN_TEST_LOOP_fF_f1): New macro.
48033         (modf_test_data): New variable.
48034         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
48036         * math/libm-test.inc (struct test_f_f1_data): New type.
48037         (RUN_TEST_LOOP_f_f1): New macro.
48038         (gamma_test_data): New variable.
48039         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48040         (lgamma_test_data): New variable.
48041         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48043 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
48045         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
48046         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
48047         (main): Comment "tls" pseudo-hwcap.
48049 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
48051         * math/libm-test.inc (struct test_fl_f_data): New type.
48052         (RUN_TEST_LOOP_fl_f): New variable.
48053         (scalbln_test_data): New variable.
48054         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
48056         * math/libm-test.inc (struct test_fi_f_data): New type.
48057         (RUN_TEST_LOOP_fi_f): New macro.
48058         (ldexp_test_data): New variable.
48059         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
48060         (scalbn_test_data): New variable.
48061         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
48063         * math/libm-test.inc (struct test_c_f_data): New type.
48064         (RUN_TEST_LOOP_c_f): New macro.
48065         (cabs_test_data): New variable.
48066         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
48067         (carg_test_data): New variable.
48068         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
48069         (cimag_test_data): New variable.
48070         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
48071         (creal_test_data): New variable.
48072         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
48074         * math/libm-test.inc (struct test_if_f_data): New type.
48075         (RUN_TEST_LOOP_if_f): New macro.
48076         (jn_test_data): New variable.
48077         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
48078         (yn_test_data): New variable.
48079         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
48081         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
48083 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48085         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
48086         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
48088 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48090         * benchtests/Makefile (CPPFLAGS-nonlib): Add
48091         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
48092         (bench-deps): Add bench-timing.h.
48093         * benchtests-bench-skeleton.c: Include bench-timing.h.
48094         (main): Use TIMING_* macros instead of clock_gettime.
48095         * benchtests/bench-timing.h: New file.
48097         [BZ #14582]
48098         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
48099         Renamed from _LIB_VERSION.
48100         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
48102 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
48104         * math/libm-test.inc (struct test_fff_f_data): New type.
48105         (RUN_TEST_LOOP_fff_f): New macro.
48106         (fma_test_data): New variable.
48107         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
48108         (fma_towardzero_test_data): New variable.
48109         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
48110         (fma_downward_test_data): New variable.
48111         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
48112         (fma_upward_test_data): New variable.
48113         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
48115         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
48116         (struct test_c_c_data): New type.
48117         (RUN_TEST_LOOP_c_c): New macro.
48118         (cacos_test_data): New variable.
48119         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
48120         (cacosh_test_data): New variable.
48121         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
48122         (casin_test_data): New variable.
48123         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
48124         (casinh_test_data): New variable.
48125         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
48126         (catan_test_data): New variable.
48127         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
48128         (catanh_test_data): New variable.
48129         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
48130         (ccos_test_data): New variable.
48131         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
48132         (ccosh_test_data): New variable.
48133         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
48134         (cexp_test_data): New variable.
48135         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
48136         (clog_test_data): New variable.
48137         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
48138         (clog10_test_data): New variable.
48139         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
48140         (conj_test_data): New variable.
48141         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
48142         (cproj_test_data): New variable.
48143         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
48144         (csin_test_data): New variable.
48145         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
48146         (csinh_test_data): New variable.
48147         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
48148         (csqrt_test_data): New variable.
48149         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
48150         (ctan_test_data): New variable.
48151         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
48152         (ctan_tonearest_test_data): New variable.
48153         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48154         (ctan_towardzero_test_data): New variable.
48155         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48156         (ctan_downward_test_data): New variable.
48157         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48158         (ctan_upward_test_data): New variable.
48159         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48160         (ctanh_test_data): New variable.
48161         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
48162         (ctanh_tonearest_test_data): New variable.
48163         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48164         (ctanh_towardzero_test_data): New variable.
48165         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48166         (ctanh_downward_test_data): New variable.
48167         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48168         (ctanh_upward_test_data): New variable.
48169         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48170         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
48171         of BUILD_COMPLEX.
48173         * math/libm-test.inc (struct test_ff_f_data): New type.
48174         (struct test_ff_f_data_nexttoward): Likewise.
48175         (RUN_TEST_LOOP_2_f): New macro.
48176         (RUN_TEST_LOOP_ff_f): Likewise.
48177         (atan2_test_data): New variable.
48178         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
48179         (copysign_test_data): New variable.
48180         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
48181         (fdim_test_data): New variable.
48182         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
48183         (fmax_test_data): New variable.
48184         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
48185         (fmin_test_data): New variable.
48186         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
48187         (fmod_test_data): New variable.
48188         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
48189         (hypot_test_data): New variable.
48190         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
48191         (nextafter_test_data): New variable.
48192         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
48193         (nexttoward_test_data): New variable.
48194         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
48195         (pow_test_data): New variable.
48196         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
48197         (pow_tonearest_test_data): New variable.
48198         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
48199         (pow_towardzero_test_data): New variable.
48200         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
48201         (pow_downward_test_data): New variable.
48202         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
48203         (pow_upward_test_data): New variable.
48204         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
48205         (remainder_test_data): New variable.
48206         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
48207         (scalb_test_data): New variable.
48208         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
48209         * sysdeps/i386/fpu/libm-test-ulps: Update.
48211 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
48213         * math/libm-test.inc (fma_test): Use max_value instead of local
48214         variable fltmax.
48215         (nextafter_test): Likewise.
48217         * math/libm-test.inc (acos_towardzero_test_data): New variable.
48218         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48219         (acos_downward_test_data): New variable.
48220         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48221         (acos_upward_test_data): New variable.
48222         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48223         (acosh_test_data): New variable.
48224         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
48225         (asin_test_data): New variable.
48226         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
48227         (asin_tonearest_test_data): New variable.
48228         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48229         (asin_towardzero_test_data): New variable.
48230         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48231         (asin_downward_test_data): New variable.
48232         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48233         (asin_upward_test_data): New variable.
48234         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48235         (asinh_test_data): New variable.
48236         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
48237         (atan_test_data): New variable.
48238         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
48239         (atanh_test_data): New variable.
48240         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
48241         (cbrt_test_data): New variable.
48242         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
48243         (ceil_test_data): New variable.
48244         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
48245         (cos_test_data): New variable.
48246         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
48247         (cos_tonearest_test_data): New variable.
48248         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48249         (cos_towardzero_test_data): New variable.
48250         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48251         (cos_downward_test_data): New variable.
48252         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48253         (cos_upward_test_data): New variable.
48254         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48255         (cosh_test_data): New variable.
48256         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
48257         (cosh_tonearest_test_data): New variable.
48258         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48259         (cosh_towardzero_test_data): New variable.
48260         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48261         (cosh_downward_test_data): New variable.
48262         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48263         (cosh_upward_test_data): New variable.
48264         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48265         (erf_test_data): New variable.
48266         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
48267         (erfc_test_data): New variable.
48268         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
48269         (exp_test_data): New variable.
48270         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
48271         (exp_tonearest_test_data): New variable.
48272         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48273         (exp_towardzero_test_data): New variable.
48274         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48275         (exp_downward_test_data): New variable.
48276         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48277         (exp_upward_test_data): New variable.
48278         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48279         (exp10_test_data): New variable.
48280         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
48281         (exp2_test_data): New variable.
48282         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
48283         (expm1_test_data): New variable.
48284         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
48285         (fabs_test_data): New variable.
48286         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
48287         (floor_test_data): New variable.
48288         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
48289         (j0_test_data): New variable.
48290         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
48291         (j1_test_data): New variable.
48292         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
48293         (log_test_data): New variable.
48294         (log_test): Run tests with RUN_TEST_LOOP_f_f.
48295         (log10_test_data): New variable.
48296         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
48297         (log1p_test_data): New variable.
48298         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
48299         (log2_test_data): New variable.
48300         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
48301         (logb_test_data): New variable.
48302         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
48303         (logb_downward_test_data): New variable.
48304         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48305         (nearbyint_test_data): New variable.
48306         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
48307         (rint_test_data): New variable.
48308         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
48309         (rint_tonearest_test_data): New variable.
48310         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48311         (rint_towardzero_test_data): New variable.
48312         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48313         (rint_downward_test_data): New variable.
48314         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48315         (rint_upward_test_data): New variable.
48316         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48317         (round_test_data): New variable.
48318         (round_test): Run tests with RUN_TEST_LOOP_f_f.
48319         (sin_test_data): New variable.
48320         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
48321         (sin_tonearest_test_data): New variable.
48322         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48323         (sin_towardzero_test_data): New variable.
48324         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48325         (sin_downward_test_data): New variable.
48326         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48327         (sin_upward_test_data): New variable.
48328         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48329         (sinh_test_data): New variable.
48330         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
48331         (sinh_tonearest_test_data): New variable.
48332         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48333         (sinh_towardzero_test_data): New variable.
48334         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48335         (sinh_downward_test_data): New variable.
48336         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48337         (sinh_upward_test_data): New variable.
48338         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48339         (sqrt_test_data): New variable.
48340         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
48341         (tan_test_data): New variable.
48342         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
48343         (tan_tonearest_test_data): New variable.
48344         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48345         (tan_towardzero_test_data): New variable.
48346         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48347         (tan_downward_test_data): New variable.
48348         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48349         (tan_upward_test_data): New variable.
48350         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48351         (tanh_test_data): New variable.
48352         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
48353         (tgamma_test_data): New variable.
48354         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
48355         (trunc_test_data): New variable.
48356         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
48357         (y0_test_data): New variable.
48358         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
48359         (y1_test_data): New variable.
48360         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
48361         (significand_test_data): New variable.
48362         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
48364 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
48366         [BZ #12387]
48367         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
48369 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48371         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
48373 2013-05-10  Andreas Jaeger  <aj@suse.de>
48375         [BZ #15448]
48376         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
48377         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
48379 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48381         * math/gen-libm-test.pl (adjust_arg): New function.
48382         (special_functions): Handle generating output in both functions
48383         and arrays.
48384         (parse_args): Likewise.
48385         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
48386         $in_func argument to parse_args.
48387         * math/libm-test.inc (struct test_f_f_data): New type.
48388         (IF_ROUND_INIT_): New macro.
48389         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
48390         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48391         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48392         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48393         (ROUND_RESTORE_): Likewise.
48394         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
48395         (ROUND_RESTORE_FE_TONEAREST): Likewise.
48396         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
48397         (ROUND_RESTORE_FE_UPWARD): Likewise.
48398         (RUN_TEST_LOOP_f_f): New macro.
48399         (acos_test_data): New variable.
48400         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
48401         (acos_tonearest_test_data): New variable.
48402         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48404 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48406         * benchtests/bench-skeleton.c (startup): Fix coding style.
48408 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48410         [BZ #6809]
48411         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
48412         negative infinity argument.
48413         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
48414         negative infinity argument.
48415         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
48416         negative infinity argument.
48417         * math/libm-test.inc (tgamma_test): Expect errno to be set for
48418         domain errors.
48420 2013-05-10  Florian Weimer  <fweimer@redhat.com>
48422         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
48423         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
48424         * iconv/iconv_prog.c (main): Likewise.
48425         * locale/programs/charmap-dir.c (charmap_readdir)
48426         (fopen_uncompressed): Likewise.
48427         * locale/programs/locfile.c (siblings_uncached)
48428         (write_locale_data): Use lstat64 instead of lstat.
48429         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
48430         stat.
48432 2013-05-10  Andreas Jaeger  <aj@suse.de>
48434         [BZ #15395]
48435         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
48436         localization.
48437         Include <locale.h>.
48439 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
48441         * elf/dl-close.c (_dl_close_worker): Add comments.
48443 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
48445         [BZ #15359]
48446         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
48447         high part of pi/2.
48448         (__ieee754_rem_pio2l): Update comments.
48450         [BZ #15429]
48451         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
48452         high part of pi/2.
48453         (__ieee754_rem_pio2l): Update comments.
48455         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
48456         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
48458         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
48459         M_PI_4l.
48461         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
48462         (M_PI_34_LOG10El): Likewise.
48463         (M_PI2_LOG10El): Likewise.
48464         (M_PI4_LOG10El): Likewise.
48465         (M_PI_LOG10El): Likewise.
48467 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48469         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48471 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
48473         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
48474         (MINUS_ZERO_INIT): Likewise.
48475         (PLUS_INFTY_INIT): Likewise.
48476         (MINUS_INFTY_INIT): Likewise.
48477         (QNAN_VALUE_INIT): Likewise.
48478         (MAX_VALUE_INIT): Likewise.
48479         (MIN_VALUE_INIT): Likewise.
48480         (MIN_SUBNORM_VALUE_INIT): Likewise.
48481         (plus_zero): Initialize with PLUS_ZERO_INIT.
48482         (minus_zero): Initialize with MINUS_ZERO_INIT.
48483         (plus_infty): Initialize with PLUS_INFTY_INIT.
48484         (minus_infty): Initialize with MINUS_INFTY_INIT.
48485         (qnan_value): Initialize with QNAN_VALUE_INIT.
48486         (max_value): Initialize with MAX_VALUE_INIT.
48487         (min_value): Initialize with MIN_VALUE_INIT.
48488         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
48490         * math/libm-test.inc (RUN_TEST_if_f): New macro.
48491         (jn_test): Use TEST_if_f instead of TEST_ff_f.
48492         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
48493         (yn_test): Use TEST_if_f instead of TEST_ff_f.
48495         * math/libm-test.inc (RUN_TEST_f_f): New macro.
48496         (RUN_TEST_2_f): Likewise.
48497         (RUN_TEST_ff_f): Likewise.
48498         (RUN_TEST_fi_f): Likewise.
48499         (RUN_TEST_fl_f): Likewise.
48500         (RUN_TEST_fff_f): Likewise.
48501         (RUN_TEST_c_f): Likewise.
48502         (RUN_TEST_f_f1): Likewise.
48503         (RUN_TEST_fF_f1): Likewise.
48504         (RUN_TEST_fI_f1): Likewise.
48505         (RUN_TEST_ffI_f1): Likewise.
48506         (RUN_TEST_c_c): Likewise.
48507         (RUN_TEST_cc_c): Likewise.
48508         (RUN_TEST_f_i): Likewise.
48509         (RUN_TEST_f_i_tg): Likewise.
48510         (RUN_TEST_ff_i_tg): Likewise.
48511         (RUN_TEST_f_b): Likewise.
48512         (RUN_TEST_f_b_tg): Likewise.
48513         (RUN_TEST_f_l): Likewise.
48514         (RUN_TEST_f_L): Likewise.
48515         (RUN_TEST_sincos): Likewise.
48516         * math/gen-libm-test.pl (new_test): Take new argument to indicate
48517         whether to show exceptions.  Do not include ");\n" in return
48518         value.
48519         (special_functions): Output call to RUN_TEST_sincos instead of
48520         check_float calls.  Update calls to new_test.
48521         (parse_args): Output call to single RUN_TEST_* macro instead of
48522         check_* calls and other assignments.  Update calls to new_test.
48524         [BZ #2546]
48525         [BZ #2560]
48526         [BZ #5159]
48527         [BZ #15426]
48528         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
48529         input to result for tgamma overflow.
48530         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
48531         (gamma_coeff): New variable.
48532         (NCOEFF): New macro.
48533         (gamma_positive): New function.
48534         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
48535         underflow here.  Use gamma_positive instead of exp (lgamma) for
48536         other arguments.
48537         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
48538         (gamma_coeff): New variable.
48539         (NCOEFF): New macro.
48540         (gammaf_positive): New function.
48541         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
48542         underflow here.  Use gamma_positive instead of exp (lgamma) for
48543         other arguments.
48544         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
48545         (gamma_coeff): New variable.
48546         (NCOEFF): New macro.
48547         (gammal_positive): New function.
48548         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
48549         underflow here.  Use gamma_positive instead of exp (lgamma) for
48550         other arguments.
48551         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
48552         (gamma_coeff): New variable.
48553         (NCOEFF): New macro.
48554         (gammal_positive): New function.
48555         (__ieee754_gammal_r): Handle positive infinity, overflow and
48556         underflow here.  Handle NaN the same as positive infinity.  Remove
48557         check x < 0xffffffff for negative integers.  Use gamma_positive
48558         instead of exp (lgamma) for other arguments.
48559         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
48560         (gamma_coeff): New variable.
48561         (NCOEFF): New macro.
48562         (gammal_positive): New function.
48563         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
48564         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
48565         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
48566         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
48567         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
48568         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
48569         * sysdeps/generic/math_private.h (__gamma_productf): New
48570         prototype.
48571         (__gamma_product): Likewise.
48572         (__gamma_productl): Likewise.
48573         * math/Makefile (libm-calls): Add gamma_product.
48574         * math/libm-test.inc (tgamma_test): Add more tests.
48575         * sysdeps/i386/fpu/libm-test-ulps: Update.
48576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48578 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
48580         * benchtests/bench-skeleton.c (main): Preheat CPU.
48582 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
48584         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
48586 2013-05-07  Roland McGrath  <roland@hack.frob.com>
48588         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
48589         and _dl_skip_args_internal.
48591 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
48593         * manual/message.texi (Message Translation): Talk about users.
48594         Message to key mapping impacts design.
48596 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48598         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
48600         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
48602         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
48603         * sysdeps/wordsize-64/glob64.c: ... here.
48605         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
48606         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
48607         New macros.
48609         * debug/getlogin_r_chk.c: Moved to ...
48610         * login/getlogin_r_chk.c: ... here.
48611         * debug/Makefile (routines): Move getlogin_r_chk to ...
48612         * login/Makefile (routines): ... here.
48613         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
48614         * login/Versions (libc: GLIBC_2.4): ... here.
48616         * io/poll.c (__poll): Renamed from poll.
48617         Add libc_hidden_def.
48618         (poll): Define as weak alias.
48620         * debug/ptsname_r_chk.c: Moved to ...
48621         * login/ptsname_r_chk.c: ... here.
48622         * debug/Makefile (routines): Move ptsname_r_chk to ...
48623         * login/Makefile (routines): ... here.
48624         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
48625         * login/Versions (libc: GLIBC_2.4): ... here.
48627         * posix/getlogin.c: Moved to ...
48628         * login/getlogin.c: ... here.
48629         * posix/getlogin_r.c: Moved to ...
48630         * login/getlogin_r.c: ... here.
48631         * posix/getlogin_r.c: Moved to ...
48632         * login/getlogin_r.c: ... here.
48633         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
48634         * login/Makefile (routines): ... here.
48635         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
48636         * login/Versions (libc: GLIBC_2.0): ... here.
48638         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
48639         (setrlimit): Define as weak alias.
48641         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
48642         Call __ names for open, ftruncate, and close.
48643         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
48644         (truncate): Define as weak alias.
48646 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
48648         * math/gen-libm-test.pl (parse_args): Initialize x before each
48649         test of frexp, modf and remquo.
48651         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
48652         test signgam value.
48654 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48656         [BZ #15418]
48657         [BZ #15419]
48658         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
48659         internal tests.
48660         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48662 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48664         * elf/dl-writev.h: New file.
48665         * elf/dl-misc.c: Include it.
48666         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
48667         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
48669 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
48671         * math/libm-test.inc (noXFails): Remove variable.
48672         (noXPasses): Likewise.
48673         (BUILD_COMPLEX_INT): Remove macro.
48674         (print_screen): Remove xfail argument.
48675         (print_screen_max_error): Likewise.
48676         (update_stats): Likewise.
48677         (print_max_error): Likewise.  Update calls to other affected
48678         functions.
48679         (print_complex_max_error): Likewise.
48680         (test_single_exception): Update calls to print_screen.
48681         (test_single_errno): Likewise.
48682         (check_float_internal): Remove xfail argument.  Update calls to
48683         other affected functions.
48684         (check_float): Likewise.
48685         (check_complex): Likewise.
48686         (check_int): Likewise.
48687         (check_long): Likewise.
48688         (check_bool): Likewise.
48689         (check_longlong): Likewise.
48690         (main): Don't print noXFails and noXPasses.
48691         * math/gen-libm-test.pl (top level): Don't mention expected
48692         failure handling in comment.
48693         (new_test): Don't handle expected failures.
48694         (parse_args): Don't mention expected failure handling in comment.
48695         (generate_testfile): Don't handle expected failures.
48696         (parse_ulps): Likewise.
48697         (print_ulps_file): Likewise.
48698         (get_failure): Remove function.
48699         (output_test): Don't handle expected failures.
48700         * make/README.libm-test: Don't mention expected failure handling.
48702         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
48703         (minus_zero): Likewise.
48704         (plus_infty): Likewise.
48705         (minus_infty): Likewise.
48706         (qnan_value): Likewise.
48707         (max_value): Likewise.
48708         (min_value): Likewise.
48709         (min_subnorm_value): Likewise.
48710         (initialize): Do not initialize those variables dynamically.
48712 2013-05-03  Roland McGrath  <roland@hack.frob.com>
48714         * io/open.c (__open_2): Moved to ...
48715         * io/open_2.c: ... this new file.
48716         * io/open64.c (__open64_2): Moved to ...
48717         * io/open64_2.c: ... this new file.
48718         * io/openat.c (__openat_2): Moved to ...
48719         * io/openat_2.c: ... this new file.
48720         * io/openat64.c (__openat64_2): Moved to ...
48721         * io/openat64_2.c: ... this new file.
48722         * io/Makefile (routines): Add them.
48723         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
48724         * sysdeps/unix/sysv/linux/open_2.c: File removed.
48725         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
48726         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
48727         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
48728         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
48729         (__openat64): Add hidden_ver.
48730         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
48731         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
48733         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
48734         Separately conditionalize setting of GLRO(dl_sysinfo) so
48735         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
48736         as well, but the actual setting is only under [NEED_DL_SYSINFO].
48738 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48740         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
48741         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
48742         definition.
48743         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
48744         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48745         (_libc_vdso_platform_setup): Add __vdso_time initialization.
48746         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
48747         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
48749 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
48751         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
48752         test signgam value.
48754         * math/libm-test.inc (hypot_test): Do not use
48755         IGNORE_ZERO_INF_SIGN.
48757 2013-05-03  Andreas Jaeger  <aj@suse.de>
48759         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
48760         Linux 3.9.
48761         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
48762         (PF_MAX): Adjust for VSOCK change.
48764 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48768 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
48770         [BZ #15264]
48771         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
48772         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
48773         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
48775 2013-05-02  David S. Miller  <davem@davemloft.net>
48777         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48779 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
48781         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
48783 2013-05-01  Roland McGrath  <roland@hack.frob.com>
48785         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
48787 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
48789         [BZ #14952]
48790         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
48791         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48792         Use __attribute__ ((__gnu_inline__)).
48793         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48794         Don't use __attribute__ ((__gnu_inline__)).
48796 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
48798         [BZ #15423]
48799         * math/s_catan.c (__catan): Handle small real or imaginary part of
48800         input specially to avoid spurious underflow.
48801         * math/s_catanf.c (__catanf): Likewise.
48802         * math/s_catanh.c (__catanh): Likewise.
48803         * math/s_catanhf.c (__catanhf): Likewise.
48804         * math/s_catanhl.c (__catanhl): Likewise.
48805         * math/s_catanl.c (__catanl): Likewise.
48806         * math/libm-test.inc (catan_test): Add more tests.
48807         (catanh_test): Likewise.
48808         * sysdeps/i386/fpu/libm-test-ulps: Update.
48809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48811 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48815 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
48817         [BZ #15416]
48818         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
48819         accurately for denominator in atan2.
48820         * math/s_catanf.c (__catanf): Likewise.
48821         * math/s_catanh.c (__catanh): Likewise.
48822         * math/s_catanhf.c (__catanhf): Likewise.
48823         * math/s_catanhl.c (__catanhl): Likewise.
48824         * math/s_catanl.c (__catanl): Likewise.
48825         * math/libm-test.inc (catan_test): Add more tests.
48826         (catanh_test): Likewise.
48827         * sysdeps/i386/fpu/libm-test-ulps: Update.
48828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48830 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48832         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
48834         * benchtests/Makefile (bench): Remove slow benchmarks.
48835         * benchtests/atan-inputs: Add slow benchmark inputs.
48836         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
48837         (BENCH_FUNC): Accept variant offset.
48838         (VARIANT): Define.
48839         * benchtests/bench-skeleton.c (main): Run benchmark for each
48840         variant.
48841         * benchtests/cos-inputs: Add slow benchmark inputs.
48842         * benchtests/exp-inputs: Likewise.
48843         * benchtests/pow-inputs: Likewise.
48844         * benchtests/sin-inputs: Likewise.
48845         * benchtests/slowatan-inputs: Remove.
48846         * benchtests/slowatan.c: Remove.
48847         * benchtests/slowcos-inputs: Remove.
48848         * benchtests/slowcos.c: Remove.
48849         * benchtests/slowexp-inputs: Remove.
48850         * benchtests/slowexp.c: Remove.
48851         * benchtests/slowpow-inputs: Remove.
48852         * benchtests/slowpow.c: Remove.
48853         * benchtests/slowsin-inputs: Remove.
48854         * benchtests/slowsin.c: Remove.
48855         * benchtests/slowtan-inputs: Remove.
48856         * benchtests/slowtan.c: Remove.
48857         * benchtests/tan-inputs: Add slow benchmark inputs.
48858         * scripts/bench.pl: Parse comments and directives.
48860         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
48861         in CPPFLAGS.
48862         ($(objpfx)bench-%.c): Remove *-ITER.
48863         * benchtests/bench-modf.c: Remove definition of ITER.
48864         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
48865         (main): Loop for DURATION seconds instead of fixed number of
48866         iterations.
48867         * scripts/bench.pl: Don't expect iterations in parameters.
48869 2013-04-29  Roland McGrath  <roland@hack.frob.com>
48871         * io/fchdir.c (__fchdir): Renamed from fchdir.
48872         (fchdir): Define as weak alias.
48874 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48876         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
48877         (ERRNO_EDOM): Likewise.
48878         (ERRNO_ERANGE): Likewise.
48879         (noErrnoTests): New variable.
48880         (init_max_error): Set errno to 0.
48881         (test_single_errno): New function.
48882         (test_errno): Likewise.
48883         (check_float_internal): Call test_errno.  Set errno to 0.
48884         (check_complex): Refer to errno tests in comment.
48885         (check_int): Call test_errno.  Set errno to 0.
48886         (check_long): Likewise.
48887         (check_bool): Likewise.
48888         (check_longlong): Likewise.
48889         (cos_test): Use ERRNO_* flags for errno tests instead of
48890         check_int.
48891         (expm1_test): Likewise.
48892         (fmod_test): Likewise.
48893         (ilogb_test): Likewise.
48894         (lgamma_test): Likewise.
48895         (pow_test): Likewise.
48896         (remainder_test): Likewise.
48897         (sin_test): Likewise.
48898         (tan_test): Likewise.
48899         (yn_test): Likewise.
48900         (initialize): Set errno to 0.
48901         (main): Print number of errno tests.
48902         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
48904 2013-04-29  Andreas Jaeger  <aj@suse.de>
48906         [BZ #15084]
48907         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
48908         and RES_USEVC.
48910         [BZ #15085]
48911         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
48912         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
48913         unimplemented.
48915         [BZ #15380]
48916         * stdlib/random.c (__initstate): Return NULL if
48917         __initstate fails.
48919         [BZ #15086]
48920         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
48921         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
48922         RES_SNGLKUPREOP.
48924 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48928 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48930         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
48931         of individual tests.
48932         (casin_test): Likewise.
48933         (casinh_test): Likewise.
48935 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
48937         [BZ #15409]
48938         * math/s_catan.c (__catan): Handle arguments with large real or
48939         imaginary part separately without squaring.
48940         * math/s_catanf.c (__catanf): Likewise.
48941         * math/s_catanh.c (__catanh): Likewise.
48942         * math/s_catanhf.c (__catanhf): Likewise.
48943         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48944         and redefine.
48945         (__catanhl): Handle arguments with large real or imaginary part
48946         separately without squaring.
48947         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48948         and redefine.
48949         (__catanl): Handle arguments with large real or imaginary part
48950         separately without squaring.
48951         * math/libm-test.inc (catan_test): Add more tests.
48952         (catanh_test): Likewise.
48953         * sysdeps/i386/fpu/libm-test-ulps: Update.
48954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48956 2013-04-27  Andreas Jaeger  <aj@suse.de>
48958         [BZ #15007]
48959         * stdlib/stdlib.h: Update guards for qecvt.
48960         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
48961         <stdlib.h>.
48963 2013-04-27  Allan McRae  <allan@archlinux.org>
48965         * sysdeps/i386/fpu/libm-test-ulps: Update.
48967 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
48969         [BZ #15406]
48970         * math/s_catan.c: Include <float.h>.
48971         (__catan): Ensure underflow exception occurs for underflowed
48972         result.
48973         * math/s_catanf.c: Include <float.h>.
48974         (__catanf): Ensure underflow exception occurs for underflowed
48975         result.
48976         * math/s_catanh.c: Include <float.h>.
48977         (__catanh): Ensure underflow exception occurs for underflowed
48978         result.
48979         * math/s_catanhf.c: Include <float.h>.
48980         (__catanhf): Ensure underflow exception occurs for underflowed
48981         result.
48982         * math/s_catanhl.c: Include <float.h>.
48983         (__catanhl): Ensure underflow exception occurs for underflowed
48984         result.
48985         * math/s_catanl.c: Include <float.h>.
48986         (__catanl): Ensure underflow exception occurs for underflowed
48987         result.
48988         * math/libm-test.inc (catan_test): Add more tests.
48989         (catanh_test): Likewise.
48991         [BZ #15405]
48992         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
48993         underflowed result.
48994         * math/s_ccoshf.c (__ccoshf): Likewise.
48995         * math/s_ccoshl.c (__ccoshl): Likewise.
48996         * math/s_csin.c (__csin): Likewise.
48997         * math/s_csinf.c (__csinf): Likewise.
48998         * math/s_csinh.c (__csinh): Likewise.
48999         * math/s_csinhf.c (__csinhf): Likewise.
49000         * math/s_csinhl.c (__csinhl): Likewise.
49001         * math/s_csinl.c (__csinl): Likewise.
49002         * math/libm-test.inc (ccos_test): Add more tests.
49003         (ccosh_test): Likewise.
49004         (csin_test): Likewise.
49005         (csinh_test): Likewise.
49007 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49009         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
49010         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
49011         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
49012         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
49013         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
49014         powerpc/power5+/fpu folders.
49015         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
49018 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49020         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49022 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
49024         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
49025         additions to variable.
49026         [$(config-machine) = x86_64] (modules-names): Likewise.
49027         ($(objpfx)tst-audit3): Remove dependency.
49028         ($(objpfx)tst-audit3.out): Likewise.
49029         ($(objpfx)tst-audit4): Likewise.
49030         ($(objpfx)tst-audit4.out): Likewise.
49031         ($(objpfx)tst-audit5): Likewise.
49032         ($(objpfx)tst-audit5.out): Likewise.
49033         ($(objpfx)tst-audit6): Likewise.
49034         ($(objpfx)tst-audit6.out): Likewise.
49035         ($(objpfx)tst-audit7): Likewise.
49036         ($(objpfx)tst-audit7.out): Likewise.
49037         (tst-audit3-ENV): Remove variable.
49038         (tst-audit4-ENV): Likewise.
49039         (tst-audit5-ENV): Likewise.
49040         (tst-audit6-ENV): Likewise.
49041         (tst-audit7-ENV): Likewise.
49042         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
49043         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
49044         addition to variable.
49045         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
49046         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
49047         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
49048         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
49049         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
49050         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
49051         tst-audit3, tst-audit4 and tst-audit5.
49052         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
49053         tst-audit6 and tst-audit7.
49054         [$(subdir) = elf] (modules-names): Add audit modules for those
49055         tests.
49056         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
49057         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
49058         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
49059         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
49060         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
49061         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
49062         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
49063         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
49064         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
49065         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
49066         [$(subdir) = elf] (tst-audit3-ENV): New variable.
49067         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
49068         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
49069         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
49070         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
49071         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
49072         Likewise.
49073         [$(subdir) = elf && $(config-cflags-avx) = yes]
49074         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
49075         [$(subdir) = elf && $(config-cflags-avx) = yes]
49076         (CFLAGS-tst-auditmod4a.c): Likewise.
49077         [$(subdir) = elf && $(config-cflags-avx) = yes]
49078         (CFLAGS-tst-auditmod4b.c): Likewise.
49079         [$(subdir) = elf && $(config-cflags-avx) = yes]
49080         (CFLAGS-tst-auditmod6b.c): Likewise.
49081         [$(subdir) = elf && $(config-cflags-avx) = yes]
49082         (CFLAGS-tst-auditmod6c.c): Likewise.
49083         [$(subdir) = elf && $(config-cflags-avx) = yes]
49084         (CFLAGS-tst-auditmod7b.c): Likewise.
49085         * elf/tst-audit3.c: Move to ...
49086         * sysdeps/x86_64/tst-audit3.c: ... here.
49087         * elf/tst-audit4.c: Move to ...
49088         * sysdeps/x86_64/tst-audit4.c: ... here.
49089         * elf/tst-audit5.c: Move to ...
49090         * sysdeps/x86_64/tst-audit5.c: ... here.
49091         * elf/tst-audit6.c: Move to ...
49092         * sysdeps/x86_64/tst-audit6.c: ... here.
49093         * elf/tst-audit7.c: Move to ...
49094         * sysdeps/x86_64/tst-audit7.c: ... here.
49095         * elf/tst-auditmod3a.c: Move to ...
49096         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
49097         * elf/tst-auditmod3b.c: Move to ...
49098         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
49099         * elf/tst-auditmod4a.c: Move to ...
49100         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
49101         * elf/tst-auditmod4b.c: Move to ...
49102         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
49103         * elf/tst-auditmod5a.c: Move to ...
49104         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
49105         * elf/tst-auditmod5b.c: Move to ...
49106         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
49107         * elf/tst-auditmod6a.c: Move to ...
49108         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
49109         * elf/tst-auditmod6b.c: Move to ...
49110         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
49111         * elf/tst-auditmod6c.c: Move to ...
49112         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
49113         * elf/tst-auditmod7a.c: Move to ...
49114         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
49115         * elf/tst-auditmod7b.c: Move to ...
49116         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
49118 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
49120         [BZ #15366]
49121         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
49122         define unconditionally.
49123         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
49124         define unconditionally.
49125         (INT8_C, INT16_C, etc.): Likewise.
49127 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
49129         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
49130         __ehdr_start with hidden visibility.
49132         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
49134 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
49136         * math/libm-test.inc (cos_test): Use accurate hex constants.
49137         (sincost_test): Likewise.
49139 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
49141         * math/libm-test.inc (catan_test): Add more tests.
49142         (catanh_test): Likewise.
49144         * math/s_catanf.c (__catanf): Use suffixed floating-point
49145         constants.
49146         * math/s_catanhf.c (__catanhf): Likewise.
49147         * math/s_catanhl.c (__catanhl): Likewise.
49148         * math/s_catanl.c (__catanl): Likewise.
49150         [BZ #15394]
49151         * math/s_catan.c (__catan): Calculate imaginary part of result
49152         with log1p not log unless computing log of number close to 0.
49153         * math/s_catanf.c (__catanf): Likewise.
49154         * math/s_catanl.c (__catanl): Likewise.
49155         * math/s_catanh.c (__catanh): Calculate real part of result with
49156         log1p not log unless computing log of number close to 0.
49157         * math/s_catanhf.c (__catanhf): Likewise.
49158         * math/s_catanhl.c (__catanhl): Likewise.
49159         * math/libm-test.inc (catan_test): Add more tests.
49160         (catanh_test): Likewise.
49161         * sysdeps/i386/fpu/libm-test-ulps: Update.
49162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49164 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49166         * benchtests/Makefile: Mention files in which fast and slow
49167         paths of math functions are implemented.
49169 2013-04-23  Roland McGrath  <roland@hack.frob.com>
49171         * sysdeps/posix/timespec_get.c: New file.
49173 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49175         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
49176         POWER.
49177         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
49178         for POWER.
49179         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
49180         powerpc/power5/fpu folders.
49181         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
49182         * benchtests/Makefile: Add modf testcase.
49183         * benchtests/bench-modf.c: New file: Benchmark test for mo
49185 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49187         [BZ #14888]
49188         * time/Makefile (tests): Add tst-strptime-whitespace.
49189         * time/strptime_l.c (get_number): Use ISSPACE.
49190         (__strptime_internal): Likewise.
49191         * time/tst-strptime-whitespace.c: New test case.
49193 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
49195         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
49196         member.
49197         (_nss_files_init): Set it here.
49199 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
49201         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
49202         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
49203         unsigned.
49205 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
49207         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
49209 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49211         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
49212         size just once.
49214 2013-04-21  David S. Miller  <davem@davemloft.net>
49216         * po/ru.po: Update Russion translation from translation project.
49218 2013-04-17  Adam Conrad  <adconrad@0c3.net>
49220         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
49221         and setfsgid.
49223 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
49225         * configure.in: Remove i386 configure warning. Remove i386 case.
49226         * configure: Regenerate.
49227         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
49228         Add example to error message.
49229         * sysdeps/i386/configure: Regenerate.
49231 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49233         * benchtests/Makefile (bench): Add cos, tan, slowcos and
49234         slowtan.
49235         * benchtests/cos-inputs: New file.
49236         * benchtests/slowcos-inputs: New file.
49237         * benchtests/slowcos.c: New file.
49238         * benchtests/slowtan-inputs: New file.
49239         * benchtests/slowtan.c: New file.
49240         * benchtests/tan-inputs: New file.
49242 2013-04-16  Roland McGrath  <roland@hack.frob.com>
49244         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
49245         considered kosher.
49247 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49249         * benchtests/Makefile: Include cppflags-iterator.mk to add
49250         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
49252         * Makefile.in (bench-clean): New target.
49253         * benchtests/Makefile (bench-clean): Likewise.
49255 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
49257         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
49259 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
49261         * stdio-common/tstdiomisc.c: Fix coding-style violation.
49263 2013-04-15  Andreas Schwab  <schwab@suse.de>
49265         * nscd/grpcache.c (cache_addgr): Properly check for short write.
49266         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49267         * nscd/pwdcache.c (cache_addpw): Likewise.
49268         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
49269         more than recsize.
49271 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49273         * benchtests/Makefile (bench): Write all output to
49274         bench-out.tmp together.
49276 2013-04-15  Andreas Schwab  <schwab@suse.de>
49278         * nscd/nscd.c (main): Don't fork again after closing files.
49280 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49282         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
49284         * benchtests/Rules (bench-deps): Collect dependencies into a
49285         single variable.  Add Makefile to dependencies.
49286         ($(objpfx)bench-%.c): Depend on bench-deps.
49288 2013-04-12  Roland McGrath  <roland@hack.frob.com>
49289             Xavier Roche  <roche+kml2@exalead.com>
49291         [BZ #15361]
49292         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
49293         just that it's a file descriptor.
49294         * manual/llio.texi (Synchronizing AIO Operations): Update description
49295         for EBADF error from aio_fsync.
49297 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49299         * Rules (bench): Move target definition...
49300         * benchtests/Makefile: ... here.
49302 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
49304         * math/libm-test.inc (cos_test): Fix PI/2 test.
49305         (sincos_test): Likewise.
49306         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49307         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
49309 2013-04-11  Andreas Schwab  <schwab@suse.de>
49311         [BZ #13988]
49312         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
49313         accept exponent character only when digits were seen.
49314         * stdio-common/Makefile (tests): Add bug26.
49315         * stdio-common/bug26.c: New file.
49317         [BZ #14293]
49318         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
49319         non-freeable.
49321 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49323         * Makeconfig (rtld-prefix): Define built linker prefix.
49324         * Rules (run-bench): Use it.
49325         * math/Makefile (run-regen-ulps): Likewise.
49327         * Rules (bench): Remove eval.
49329 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49330             Roland McGrath  <roland@hack.frob.com>
49331             Ondrej Bilka  <neleai@seznam.cz>
49333         [BZ #15346]
49334         * time/getdate.c: Include ctype.h and alloca.h.
49335         (__getdate_r): Trim leading and trailing spaces of input.
49336         * time/tst-getdate.c (tests): Add tests with leading and
49337         trailing spaces.
49339 2013-04-08  Roland McGrath  <roland@hack.frob.com>
49341         [BZ #14280]
49342         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
49343         when computing value.
49345 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49347         * math/README.libm-test (How can I generate "libm-test-ulps"?):
49348         Use testrun.sh to run libm tests.
49350         [BZ #15309]
49351         * elf/dl-open.c (dl_open_worker): memset all of seen array.
49353 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
49355         [BZ #15264]
49356         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
49358 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49360         * Makefile.in (regen-ulps): New target.
49361         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
49362         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
49363         [ifneq (no,$(PERL)] (regen-ulps): New target.
49364         [ifeq (no,$(PERL)] (regen-ulps): New target.
49365         * math/libm-test.inc (ulps_file_name): Define.
49366         (output_dir): New variable.
49367         (options): Add "output-dir" option.
49368         (parse_opt): Handle 'o' case.
49369         (main): If output_dir is non-NULL use it as a prefix
49370         otherwise use "".
49371         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
49373 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49375         [BZ #10060, #10062]
49376         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
49377         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
49378         fail configure if __sync_val_compare_and_swap is not inlined.
49379         * sysdeps/i386/configure: Regenerate.
49380         * configure.in: Build for i686 when configured for i386.
49381         * configure: Regenerate.
49382         * README: Remove i386 reference.
49384 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49386         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
49387         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49389 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49391         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
49392         (lmsnanval): New variables.
49393         (F): Add conversion tests.
49394         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
49395         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
49397         * stdio-common/tstdiomisc.c (F): Properly collect individual
49398         tests' results.
49400         [BZ #14686, #15336]
49401         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
49402         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
49403         Instead, use input NaN values or generate a qNaN by arithmetic
49404         operation.  Also fix bugs to comply with the standard.
49405         * math/libm-test.inc (remainder_test): Add more tests.
49407         [BZ #15335, #15342]
49408         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
49409         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
49410         input NaN values or generate a qNaN by arithmetic operation.
49412         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
49413         unreachable code.
49415         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
49416         definitions.
49418 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
49420         [BZ #14478]
49421         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
49422         underflowed result.
49423         * math/s_cexpf.c (__cexpf): Likewise.
49424         * math/s_cexpl.c (__cexpl): Likewise.
49425         * math/libm-test.inc (cexp_test): Add more tests.
49427 2013-04-03  Andreas Schwab  <schwab@suse.de>
49429         [BZ #15330]
49430         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
49431         order arrays from heap if bigger than alloca cutoff.
49433 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
49435         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
49436         (SNAN_TESTS_double): Refer to GCC PR56831.
49437         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
49438         GCC PR56828.
49440 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49442         * Rules (bench): Move bench.out after the run is complete.
49444         * Rules (bench): Echo currently running benchmark.
49446         * benchtests/Makefile (bench): Add atan and slowatan.
49447         * benchtests/atan-inputs: New file.
49448         * benchtests/slowatan-inputs: New file.
49449         * benchtests/slowatan.c: New file.
49451         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
49452         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
49453         its value.
49455         [BZ #15305]
49456         * sysdeps/unix/sysv/linux/kernel-features.h
49457         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
49458         __ASSUME_XFS_RESTRICTED_CHOWN.
49459         * sysdeps/unix/sysv/linux/pathconf.c
49460         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49461         Save and restore errno.
49463 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
49465         [BZ #15327]
49466         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
49467         arguments using __kernel_casinh.
49468         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
49469         arguments using __kernel_casinhf.
49470         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
49471         arguments using __kernel_casinhl.
49472         * math/libm-test.inc (cacosh_test): Add more tests.
49473         * sysdeps/i386/fpu/libm-test-ulps: Update.
49474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49476 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49478         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
49479         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
49481         * bench/Makefile (bench): Add sin and slowsin.
49482         * benchtests/sin-inputs: New file.
49483         * benchtests/slowsin-inputs: New file.
49484         * benchtests/slowsin.c: New file.
49486         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
49487         (bench): Add slowexp and slowpow.
49488         (exp-ITER): Increase iterations.
49489         (pow-ITER): Likewise.
49490         * benchtests/exp-inputs: Change input.
49491         * benchtests/pow-inputs: Likewise.
49492         * benchtests/slowexp-inputs: New file.
49493         * benchtests/slowexp.c: New file.
49494         * benchtests/slowpow-inputs: New file.
49495         * benchtests/slowpow.c: New file.
49497 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49499         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
49500         instructions.
49501         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49502         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
49503         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49504         * benchtests/Makefile: Add rint benchtest.
49505         * benchtests/rint-inputs: Input for rint benchtest.
49507 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49509         * Versions.def (libm): Add GLIBC_2.18.
49510         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
49511         hidden libm prototypes.
49512         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
49513         * math/Makefile (libm-calls): Add s_issignaling.
49514         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
49515         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
49516         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
49517         declaration.
49518         * math/math.h [__USE_GNU] (issignaling): New macro.
49519         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
49520         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
49521         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
49522         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
49523         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
49524         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
49525         * manual/arith.texi (issignaling): New section.
49526         * manual/libm-err-tab.pl (@all_functions): Update comment.
49527         * math/gen-libm-test.pl (parse_args): Apply special handling for
49528         issignaling.
49529         * math/libm-test.inc (print_float, issignaling_test): New
49530         functions.
49531         (check_float_internal): Add issignaling checks.
49532         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
49533         default definition.
49534         * sysdeps/powerpc/math-tests.h: New file.
49535         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
49536         tests.
49537         * math/test-snan.c (TEST_FUNC): Likewise.
49539 2013-03-30  David S. Miller  <davem@davemloft.net>
49541         * po/de.po: Update from translation team.
49543 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
49545         [BZ #10357]
49546         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49547         imaginary part less than 1.0 and real part less than 0.5
49548         specially.
49549         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49550         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49551         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
49552         (cacos_test): Add more tests.
49553         (casin_test): Likewise.
49554         (casinh_test): Likewise.
49555         * sysdeps/i386/fpu/libm-test-ulps: Update.
49556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49558 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49560         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
49561         ONE with its value.
49563         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
49564         (__pow_mp): Replace ONE and MONE with their values.
49565         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49566         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
49567         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49568         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
49569         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49570         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49572         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
49574         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
49575         (__pow_mp): Replace ZERO and MZERO with their values.
49576         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49577         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49578         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49579         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49580         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49581         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
49582         (__sqr): Likewise.
49584         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
49586         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
49588 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49590         * include/stdlib.h [!SHARED] (__call_tls_dtors):
49591         Declare with __attribute__ ((weak)).
49592         * stdlib/exit.c (__libc_atexit) [!SHARED]:
49593         Call __call_tls_dtors only if it's not NULL.
49595 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49597         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
49598         didn't do it already, then set _dl_phdr and _dl_phnum based on the
49599         magic __ehdr_start linker symbol if it's defined.
49600         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
49601         them up here if it was already done.
49603         * elf/dl-support.c (_dl_phdr): Make pointer to const.
49604         (_dl_aux_init): Use const in cast when setting it.
49605         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
49606         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
49607         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
49609         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
49610         Declare them here.
49611         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
49612         * csu/libc-tls.c: Nor here.
49613         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
49615         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
49616         (__libc_message): Never call vsyslog.
49618 2013-03-28  Alan Modra  <amodra@gmail.com>
49620         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
49621         Define as empty.
49622         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
49623         Likewise.
49625 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49627         [BZ #15214]
49628         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
49629         underflow.
49630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49632 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49634         [BZ #15304]
49635         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49636         Don't add gid passed as argument.
49638         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
49640 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
49642         [BZ #15307]
49643         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49644         imaginary part between 1.0 and 1.5 and real part less than 0.5
49645         specially.
49646         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49647         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49648         * math/libm-test.inc (cacos_test): Add more tests.
49649         (casin_test): Likewise.
49650         (casinh_test): Likewise.
49651         * sysdeps/i386/fpu/libm-test-ulps: Update.
49652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49654 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49656         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
49657         constants.
49658         (norm): Likewise.
49659         (denorm): Likewise.
49660         (__dbl_mp): Likewise.
49661         (add_magnitudes): Likewise.
49662         (sub_magnitudes): Likewise.
49663         (__add): Likewise.
49664         (__sub): Likewise.
49665         (__mul): Likewise.
49666         (__sqr): Likewise.
49667         (__inv): Likewise.
49668         (__dvd): Likewise.
49670         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
49671         commented code.
49672         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
49673         (__dubcos): Likewise.
49674         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
49675         (__ieee754_acos): Likewise.
49676         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49677         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
49678         (__exp1): Likewise.
49679         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49680         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49681         (log1): Likewise.
49682         (my_log2): Likewise.
49683         (checkint): Likewise.
49684         * sysdeps/ieee754/dbl-64/e_remainder.c
49685         (__ieee754_remainder): Likewise.
49686         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49687         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
49688         (bsloww): Likewise.
49689         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49691         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49692         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
49693         MANTISSA_STORE_T to store computations on mantissa.  Use
49694         macros for rounding and division.
49695         (denorm): Likewise.
49696         (__dbl_mp): Likewise.
49697         (add_magnitudes): Likewise.
49698         (sub_magnitudes): Likewise.
49699         (__mul): Likewise.
49700         (__sqr): Likewise.
49701         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49702         powers of two in terms of TWOPOW macro.
49703         (mp_no): Make type of mantissa as MANTISSA_T.
49704         [!RADIXI]: Define RADIXI.
49705         [!TWO52]: Define TWO52.
49706         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49708 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49710         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
49711         llroundl symbol when building for PPC32.
49713 2013-03-24  Mark H Weaver  <mhw@netris.org>
49715         * manual/arith.texi (Normalization Functions): Fix prototypes for
49716         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
49718 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49720         [BZ #13889]
49721         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
49722         high value to check if expl overflow.
49723         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
49724         to check for underflow and overflow.
49725         * math/libm-test.inc: Add exp test.
49727 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
49729         [BZ #11120]
49730         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
49731         with NOT_IN_libc.
49733 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49735         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
49736         symbol.
49738 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
49740         * math/gen-libm-test.pl (parse_args, special_functions): Properly
49741         wrap blocks consisting of several statements.
49743         * sysdeps/generic/math-tests.h: New file.
49744         * sysdeps/i386/fpu/math-tests.h: Likewise.
49745         * math/test-snan.c: Include it.
49746         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
49748 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49750         [BZ #15285]
49751         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
49752         (__ieee754_j0l): Do not improve calculations using cos of twice
49753         input for inputs above LDBL_MAX / 2.0L.
49754         (__ieee754_y0l): Likewise.
49755         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
49756         (__ieee754_j1l): Do not improve calculations using cos of twice
49757         input for inputs above LDBL_MAX / 2.0L.
49758         (__ieee754_y1l): Likewise.
49759         * math/libm-test.inc (j0_test): Add another test.
49760         (j1_test): Likewise.
49761         (y0_test): Likewise.
49762         (y1_test): Likewise.
49763         * sysdeps/i386/fpu/libm-test-ulps: Update.
49765 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49767         * Rules ($(objpfx)bench-%.c): Include code from a C source
49768         file.
49770 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49772         [BZ #15287]
49773         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49774         imaginary part 1.0 and real part less than 0.5 specially.
49775         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49776         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49777         * math/libm-test.inc (cacos_test): Add more tests.
49778         (casin_test): Likewise.
49779         (casinh_test): Likewise.
49780         * sysdeps/i386/fpu/libm-test-ulps: Update.
49781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49783 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49785         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
49786         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
49788 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
49790         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
49791         * config.make.in (config-cflags-sse4): Remove variable.
49792         (config-cflags-avx): Likewise.
49793         (config-cflags-sse2avx): Likewise.
49794         (config-cflags-novzeroupper): Likewise.
49795         (config-asflags-i686): Likewise.
49796         (have-mfma4): Likewise.
49797         (have-as-vis3): Likewise.
49798         (MIG): Likewise.
49799         * configure.in (MIG): Do not AC_SUBST.
49800         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
49801         (libc_cv_cc_sse4): Do not AC_SUBST.
49802         (libc_cv_cc_avx): Likewise.
49803         (libc_cv_cc_sse2avx): Likewise.
49804         (libc_cv_cc_novzeroupper): Likewise.
49805         (libc_cv_cc_fma4): Likewise.
49806         (libc_cv_as_i686): Likewise.
49807         (libc_cv_sparc_as_vis3): Likewise.
49808         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
49809         LIBC_CONFIG_VAR.
49810         (config-asflags-i686): Likewise.
49811         (config-cflags-avx): Likewise.
49812         (config-cflags-sse2avx): Likewise.
49813         (have-mfma4): Likewise.
49814         (config-cflags-novzeroupper): Likewise.
49815         * sysdeps/mach/configure.in (MIG): Likewise.
49816         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
49817         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
49818         LIBC_CONFIG_VAR.
49819         (config-cflags-avx): Likewise.
49820         (config-cflags-sse2avx): Likewise.
49821         (have-mfma4): Likewise.
49822         (config-cflags-novzeroupper): Likewise.
49823         * configure: Regenerated.
49824         * sysdeps/i386/configure: Likewise.
49825         * sysdeps/mach/configure: Likewise.
49826         * sysdeps/sparc/configure: Likewise.
49827         * sysdeps/x86_64/configure: Likewise.
49829 2013-03-20  Roland McGrath  <roland@hack.frob.com>
49831         [BZ #14812]
49832         * locale/programs/localedef.c (options): Put N_ translation marker
49833         on argument names, not just descriptions.
49835 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49837         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
49839 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
49841         [BZ #14176]
49842         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
49844 2013-03-19  Roland McGrath  <roland@hack.frob.com>
49846         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
49847         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
49848         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
49849         [!BEFORE_ABORT] (before_abort): New function.
49850         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
49851         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
49852         (writev_for_fatal): New function.
49853         (WRITEV_FOR_FATAL): New macro; call that.
49854         (backtrace_and_maps): New function.
49855         (BEFORE_ABORT): New macro; call that.
49856         (struct str_list): Type removed.
49857         (__libc_message, __libc_fatal): Functions removed.
49858         Include <sysdeps/posix/libc_fatal.c> instead.
49860 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
49862         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
49863         constants.
49864         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
49865         double constants.
49867 2013-03-19  Andreas Schwab  <schwab@suse.de>
49869         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
49870         * sysdeps/gnu/configure: Regenerate.
49872         * configure.in: Substitute libc_cv_rtlddir.
49873         * configure: Regenerate.
49874         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
49875         * Makeconfig (rtlddir, inst_rtlddir): New variables.
49876         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
49877         * elf/Makefile (install-others, CFLAGS-interp.c)
49878         (ldso_install, common-ldd-rewrite): Likewise.
49879         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
49880         $(inst_slibdir)/$(rtld-installed-name).
49881         * scripts/rellns-sh: Add -p option.
49882         * Makerules (make-shlib-link): Use rellns-sh to get relative name
49883         for source.
49885 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49887         * manual/nptl.texi: Renamed to ...
49888         * manual/threads.texi: ... this.
49889         * manual/Makefile (chapters): Update.
49891 2013-03-18  Roland McGrath  <roland@hack.frob.com>
49893         [BZ #14812]
49894         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
49895         on argument names, not just descriptions.
49896         * malloc/memusagestat.c (options): Likewise.
49897         * nss/getent.c (options): Likewise.
49899 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
49901         [BZ #14812]
49902         * iconv/iconv_prog.c (options): Put N_ translation marker
49903         on argument names, not just descriptions.
49904         * iconv/iconvconfig.c (options): Likewise.
49906 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
49908         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
49909         implementation which is faster on all x86_64 architectures.
49910         Tested on AMD, Intel Nehalem, SNB, IVB.
49911         * sysdeps/x86_64/strnlen.S: Likewise.
49913         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49914         Remove all multiarch strlen and strnlen versions.
49915         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
49916         Remove strlen and strnlen related parts.
49918         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
49919         Inline strlen part.
49920         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
49922         * sysdeps/x86_64/multiarch/strlen.S: Remove.
49923         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
49924         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
49925         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
49926         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
49927         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
49929 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
49931         * manual/memory.texi (Malloc Tunable Parameters):
49932         Sort parameters alphabetically. Add comments for missing entries.
49934 2013-03-17  David S. Miller  <davem@davemloft.net>
49936         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49938 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
49940         [BZ #15283]
49941         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
49942         for arguments at most half maximum finite value.
49943         * math/libm-test.inc (j0_test): Add more tests.
49944         (j1_test): Likewise.
49945         (y0_test): Likewise.
49946         (y1_test): Likewise.
49947         * sysdeps/i386/fpu/libm-test-ulps: Update.
49948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49950         [BZ #14155]
49951         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
49952         1 / x and functions P and Q for arguments above 0x1p256L.
49953         (__ieee754_y0l): Likewise.
49954         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
49955         (__ieee754_y1l): Likewise.
49956         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
49957         (j1_test): Likewise.
49958         (y0_test): Likewise.
49959         (y1_test): Likewise.
49961 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
49963         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
49964         variable.
49966 2013-03-15  Roland McGrath  <roland@hack.frob.com>
49968         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
49969         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
49970         zero since it's initialized to EXEC_PAGESIZE.
49972         * sysdeps/unix/sysv/linux/ldsodefs.h
49973         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
49974         * sysdeps/generic/ldsodefs.h: ... here.
49976 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
49978         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
49980         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
49981         math/test-snan.c.
49982         * math/test-snan.c: Renamed from
49983         sysdeps/powerpc/fpu/test-powerpc-snan.c.
49984         * math/Makefile (tests): Add test-snan.
49985         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
49986         test-powerpc-snan.
49988         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
49989         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
49990         functions.
49991         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
49992         __builtin_nan family of functions.
49993         * math/libm-test.inc (initialize): Initialize qnan_value with
49994         __builtin_nan family of functions.
49995         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
49996         Remove variables.
49997         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
49998         Remove functions.
49999         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
50000         storage class.  Initialize qNaN_var and sNaN_var with
50001         __builtin_nan and __builtin_nans families of functions,
50002         respectively.
50004         * math/libm-test.inc (acosh_test): Also test with qNaN input.
50005         (sqrt_test): Remove duplicate test with qNaN input.
50006         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
50007         (round_test, signbit_test, significand_test): Note missing +/-Inf
50008         as well as qNaN tests.
50010         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
50011         qNaN_var.  Fix a few strings, too.
50012         * math/libm-test.inc (nan_value): Rename to qnan_value.
50013         * math/gen-libm-test.pl (%beautify): Adjust to that.
50014         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
50015         * math/test-misc.c (main): Likewise.
50016         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
50017         to __qnan_bytes, and __qnan_union, respectively.
50018         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
50019         Likewise.
50020         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
50021         and lqnanval, respectively.
50022         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
50023         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
50024         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
50025         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
50027         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
50028         * math/test-misc.c (main) [__x86_64__]: Enable test for long
50029         doubles.
50031         * math/test-misc.c (main): Fix copy'n'pastos.
50032         * misc/tst-efgcvt.c (special): Likewise.
50034         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
50035         Remove declarations.
50037 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50039         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
50040         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
50041         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
50042         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
50044 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50046         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
50047         macro to return vdso values correctly in IFUNC implementations.
50048         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50049         Optimization by using IFUNC.
50051 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50052             Richard Henderson  <rth@redhat.com>
50053             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50055         * Makefile.in (bench): New target.
50056         * NEWS: Mention the benchmark framework.
50057         * Rules (bench): Likewise.
50058         (binaries-bench): Generate binaries for functions to
50059         benchmark.
50060         * benchtests/Makefile: New makefile for benchmark tests.
50061         * benchtests/bench-skeleton.c: New skeleton file for benchmark
50062         programs.
50063         * benchtests/exp-inputs: New input file for EXP function.
50064         * benchtests/pow-inputs: New input file for POW function.
50065         * scripts/bench.pl: New script to generate source files for
50066         benchmark programs.
50068 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50070         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50071         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
50072         computations on mantissa.  Use macros for rounding and
50073         division.
50074         (denorm): Likewise.
50075         (__dbl_mp): Likewise.
50076         (add_magnitudes): Likewise.
50077         (sub_magnitudes): Likewise.
50078         (__mul): Likewise.
50079         (__sqr): Likewise.
50080         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50081         powers of two in terms of TWOPOW macro.
50082         (mp_no): Make type of mantissa as MANTISSA_T.
50083         [!RADIXI]: Define RADIXI.
50084         [!TWO52]: Define TWO52.
50085         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50087         * manual/nptl.texi (cindex): Modify threads to pthreads.
50089 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
50091         * sysdeps/x86_64/preconfigure: Regenerated.
50093 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
50095         [BZ #14155]
50096         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
50097         0x1p28 and above.
50098         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
50099         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
50100         0x1p28 and above.
50101         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
50102         * math/libm-test.inc (j0_test): Do not allow one spurious
50103         underflow exception.
50104         (y1_test): Likewise.
50106 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50108         * manual/Makefile (chapters): Add nptl.
50109         * manual/debug.texi (Debugging Support): Add link to Threads
50110         chapter.
50111         * manual/nptl.texi: New file.
50113         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
50115 2013-03-14  Petr Baudis  <pasky@ucw.cz>
50117         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
50118         for non-NULL pointer before the memory validity test. Pointed
50119         out by Holger Brunck <holger.brunck@keymile.com>.
50121 2013-03-13  Andreas Schwab  <schwab@suse.de>
50123         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
50124         instead of .os.
50126 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
50128         * timezone/zic.c: Update from tzcode 2013b.
50130 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
50132         * manual/install.texi (Configuring and compiling):
50133         Mention i686 and i586.
50134         * INSTALL: Regenerate.
50136 2013-03-12  Roland McGrath  <roland@hack.frob.com>
50138         * sysdeps/init_array/elf-init.c: New file.
50139         * csu/elf-init.c
50140         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
50141         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
50143         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
50144         __gmon_start__ as global, but as static with a .preinit_array pointer.
50145         * sysdeps/init_array/gmon-start.c: New file.  Use that.
50146         * sysdeps/init_array/crti.S: New file, empty except for comments.
50147         * sysdeps/init_array/crtn.S: Likewise.
50149 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
50151         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
50152         definining bcopy.
50153         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50154         Remove Prefer_SSE_for_memop.
50155         * sysdeps/x86_64/multiarch/init-arch.h: Remove
50156         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
50157         HAS_PREFER_SSE_FOR_MEMOP.
50158         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
50159         memset-x86-64.
50160         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50161         Remove bzero, memset ifunc support.
50162         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
50163         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
50164         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50165         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50167 2013-03-11  Andreas Schwab  <schwab@suse.de>
50169         [BZ #15234]
50170         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
50171         by SHLIB_COMPAT.
50172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
50173         (GLIBC_2.16): Remove pthread_atfork.
50175 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
50177         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
50178         (ptestcases.h): Likewise.
50180 2013-03-08  Roland McGrath  <roland@hack.frob.com>
50182         * Makeconfig ($(common-objpfx)config.status): Depend on
50183         sysdeps/*/preconfigure{,.in} too.
50185 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
50187         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
50188         (__free_hook): Use void * instead of __malloc_ptr_t.
50189         (__malloc_hook): Likewise.
50190         (__realloc_hook): Likewise.
50191         (__memalign_hook): Likewise.
50192         (__after_morecore_hook): Likewise.
50193         * malloc/arena.c (save_malloc_hook): Likewise.
50194         (save_free_hook): Likewise.
50195         * malloc/hooks.c (malloc_hook_ini): Likewise.
50196         (realloc_hook_ini): Likewise.
50197         (memalign_hook_ini): Likewise.
50198         * malloc/malloc.c (malloc_hook_ini): Likewise.
50199         (realloc_hook_ini): Likewise.
50200         (memalign_hook_ini): Likewise.
50201         (__free_hook): Likewise.
50202         (__malloc_hook): Likewise.
50203         (__realloc_hook): Likewise.
50204         (__memalign_hook): Likewise.
50205         (__libc_malloc): Likewise.
50206         (__libc_free): Likewise.
50207         (__libc_realloc): Likewise.
50208         (__libc_memalign): Likewise.
50209         (__libc_valloc): Likewise.
50210         (__libc_pvalloc): Likewise.
50211         (__libc_calloc): Likewise.
50212         (__posix_memalign): Likewise.
50213         * malloc/morecore.c (__sbrk): Likewise.
50214         (__default_morecore): Likewise.
50216         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
50218         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
50219         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
50220         __malloc_ptrdiff_t.
50222         * malloc/malloc.h (__malloc_size_t): Remove macro.
50223         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
50224         __malloc_size_t.
50225         (old_memalign_hook): Likewise.
50226         (old_realloc_hook): Likewise.
50227         (struct hdr): Likewise.
50228         (flood): Likewise.
50229         (mallochook): Likewise.
50230         (memalignhook): Likewise.
50231         (reallochook): Likewise.
50232         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
50233         (tr_old_realloc_hook): Likewise.
50234         (tr_old_memalign_hook): Likewise.
50235         (tr_mallochook): Likewise.
50236         (tr_reallochook): Likewise.
50237         (tr_memalignhook): Likewise.
50239 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50241         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
50242         default_ldbl_pack and using as default implementation.
50243         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
50244         implementation.
50245         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
50246         redundant definition.
50247         (ldbl_insert_mantissa): Likewise.
50248         (ldbl_canonicalize): Likewise.
50249         (ldbl_nearbyint): Likewise.
50250         (ldbl_pack): Rename to ldbl_pack_ppc.
50251         (ldbl_unpack): Rename to ldbl_unpack_ppc.
50252         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
50253         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
50255 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50257         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
50258         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
50259         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
50260         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
50261         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
50262         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
50263         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
50264         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
50266 2013-03-07  Andreas Jaeger  <aj@suse.de>
50268         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50269         bits/mman-linux.h.
50271 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
50273         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
50274         Include mpa.h and declare __MPEXP.
50275         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
50276         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50277         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50278         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
50279         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50280         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50281         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
50283         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
50284         (__slowpow): Use long double EXPL and LOGL functions to
50285         compute POW.
50286         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50287         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50288         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
50289         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50290         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50291         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
50293         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
50294         intermediate variable to calculate exponent.
50295         (__sqr): Likewise.
50296         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50297         Likewise.
50298         (__sqr): Likewise.
50300         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
50301         [!NO__SQR]: Define __sqr.
50302         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
50303         and NO__SQR.  Remove all code except __mul and __sqr.  Include
50304         sysdeps/ieee754/dbl-64/mpa.c.
50305         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50307         [BZ #12723]
50308         * posix/Makefile (tests): Add tst-pathconf.
50309         * posix/tst-pathconf.c: New test case.
50310         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
50311         _PC_PIPE_BUF.
50312         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
50314 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
50316         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
50318 2013-03-06  Andreas Jaeger  <aj@suse.de>
50320         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
50321         definition via __MAP_ANONYMOUS.
50323         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
50324         it's not part of Linux headers.
50326         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
50327         (MAP_HUGE_MASK): Define.
50329         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50330         Define.
50331         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50332         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50333         Define.
50334         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50335         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50336         Define.
50337         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50338         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
50339         Define.
50340         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50342         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
50343         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
50344         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
50345         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
50346         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
50347         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
50349         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50350         Handle f2fs.
50352         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50353         Handle f2fs and efivarfs.
50355         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
50356         f2fs.
50358         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
50359         (EFIVARFS_MAGIC): Add.
50360         (F2FS_LINK_MAX): Add.
50362 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50364         * stdio-common/vfprintf.c: Replace __builtin_expect with
50365         __glibc_unlikely.
50367 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
50369         [BZ #13550]
50370         * sysdeps/generic/bp-sym.h: Remove file.
50371         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
50372         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
50373         <bp-sym.h> and <bp-asm.h>.
50374         (__longjmp): Don't use BP_SYM.
50375         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
50376         and <bp-asm.h>.
50377         (memcpy): Don't use BP_SYM.
50378         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
50379         <bp-sym.h> and <bp-asm.h>.
50380         (memcpy): Don't use BP_SYM.
50381         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
50382         <bp-asm.h>.
50383         (memcpy): Don't use BP_SYM.
50384         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
50385         <bp-asm.h>.
50386         (memset): Don't use BP_SYM.
50387         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50388         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50389         (__bzero): Don't use BP_SYM.
50390         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50391         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50392         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
50393         <bp-sym.h> and <bp-asm.h>.
50394         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50395         pointers.
50396         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
50397         <bp-sym.h> and <bp-asm.h>.
50398         (memcpy): Don't use BP_SYM.
50399         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
50400         <bp-sym.h> and <bp-asm.h>.
50401         (memset): Don't use BP_SYM.
50402         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50403         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50404         (__bzero): Don't use BP_SYM.
50405         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50406         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50407         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
50408         <bp-sym.h> and <bp-asm.h>.
50409         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50410         pointers.
50411         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
50412         <bp-sym.h> and <bp-asm.h>.
50413         (memcpy): Don't use BP_SYM.
50414         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
50415         <bp-sym.h> and <bp-asm.h>.
50416         (memset): Don't use BP_SYM.
50417         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50418         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50419         (__bzero): Don't use BP_SYM.
50420         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50421         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50422         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
50423         <bp-sym.h> and <bp-asm.h>.
50424         (__memchr): Don't use BP_SYM.
50425         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
50426         <bp-sym.h> and <bp-asm.h>.
50427         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50428         pointers.
50429         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
50430         <bp-sym.h> and <bp-asm.h>.
50431         (memcpy): Don't use BP_SYM.
50432         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
50433         <bp-sym.h> and <bp-asm.h>.
50434         (__mempcpy): Don't use BP_SYM.
50435         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
50436         <bp-sym.h> and <bp-asm.h>.
50437         (__memrchr): Don't use BP_SYM.
50438         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
50439         <bp-sym.h> and <bp-asm.h>.
50440         (memset): Don't use BP_SYM.
50441         (__bzero): Likewise.
50442         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
50443         <bp-sym.h> and <bp-asm.h>.
50444         (__rawmemchr): Don't use BP_SYM.
50445         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
50446         <bp-sym.h> and <bp-asm.h>.
50447         (__STRCMP): Don't use BP_SYM.
50448         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
50449         <bp-sym.h> and <bp-asm.h>.
50450         (strchr): Don't use BP_SYM.
50451         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
50452         <bp-sym.h> and <bp-asm.h>.
50453         (__strchrnul): Don't use BP_SYM.
50454         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
50455         <bp-sym.h> and <bp-asm.h>.
50456         (strlen): Don't use BP_SYM.
50457         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
50458         <bp-sym.h> and <bp-asm.h>.
50459         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50460         pointers.
50461         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
50462         <bp-sym.h> and <bp-asm.h>.
50463         (__strnlen): Don't use BP_SYM.
50464         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
50465         <bp-sym.h> and <bp-asm.h>.
50466         (__GI__setjmp): Don't use BP_SYM.
50467         (_setjmp): Likewise.
50468         (__sigsetjmp): Likewise.
50469         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
50470         (L(start_addresses)): Don't use BP_SYM.
50471         (_start): Likewise.
50472         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
50473         <bp-asm.h>.
50474         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
50475         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
50476         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50477         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50478         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
50479         <bp-asm.h>.
50480         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
50481         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
50482         about bounded pointers.
50483         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50484         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50485         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
50486         <bp-asm.h>.
50487         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50488         about bounded pointers.  Remove GKM FIXME comments.
50489         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50490         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
50491         <bp-asm.h>.
50492         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
50493         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
50494         Remove GKM FIXME comments.
50495         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50496         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50497         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
50498         <bp-asm.h>.
50499         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50500         about bounded pointers.  Remove GKM FIXME comment.
50501         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
50502         and <bp-asm.h>.
50503         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50504         pointers.
50505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
50506         <bp-sym.h> and <bp-asm.h>.
50507         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
50509         <bp-sym.h> and <bp-asm.h>.
50510         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50511         comment.
50513 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50515         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
50516         call free(NULL).
50518 2013-03-05  David S. Miller  <davem@davemloft.net>
50520         * po/es.po: Update from translation team.
50522 2013-03-05  Andreas Jaeger  <aj@suse.de>
50524         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
50525         <bits/mman-linux.h>.
50526         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50527         is fine.
50528         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
50529         <bits/mman-linux.h> to end of file.
50530         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50531         is fine.
50532         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
50533         <bits/mman-linux.h> to end of file.
50534         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50535         is fine.
50536         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
50537         <bits/mman-linux.h> to end of file.
50539         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
50540         (MCL_CURRENT, MCL_FUTURE): Define here.
50542 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50544         [BZ #15232]
50545         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
50546         attribute_hidden.
50547         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
50549 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50551         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
50552         fourth parameter needed for rt_sigprocmask syscall.
50553         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
50554         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50555         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
50556         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50557         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50558         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
50560 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
50562         [BZ #13550]
50563         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
50564         comment about bounded pointers.
50565         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
50566         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
50568 2013-03-04  Andreas Jaeger  <aj@suse.de>
50570         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
50571         common definitions.
50573         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
50574         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
50575         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
50576         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50577         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50578         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50580 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50582         [BZ #15055]
50583         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
50584         __ieee754_sqrl instead of __sqrl.
50586 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
50588         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
50589         * sysdeps/powerpc/fpu_control.h: ... here.
50590         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
50591         * sysdeps/powerpc/bits/fenvinline.h: ... here.
50592         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
50593         * sysdeps/powerpc/bits/mathinline.h: ... here.
50595 2013-03-01  Roland McGrath  <roland@hack.frob.com>
50597         * elf/dl-hwcaps.c (_dl_important_hwcaps):
50598         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
50599         to just [NEED_DL_SYSINFO_DSO].
50600         * elf/dl-support.c: Likewise.
50601         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
50602         * elf/rtld.c (dl_main): Likewise.
50603         * elf/setup-vdso.h (setup_vdso): Likewise.
50604         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
50605         * sysdeps/unix/sysv/linux/dl-sysdep.c
50606         (_dl_discover_osversion): Likewise.
50608 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
50610         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
50611         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50613 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
50615         * NEWS: Mention libm performance improvements and non-x86 PI
50616         futex support.
50618         * csu/libc-start.c (__pthread_initialize_minimal): Change
50619         function arguments.
50620         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50622 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
50624         [BZ #13550]
50625         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
50626         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
50627         <bp-sym.h> and <bp-asm.h>.
50628         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50629         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
50630         and <bp-asm.h>.
50631         (memcpy): Don't use BP_SYM.
50632         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
50633         <bp-asm.h>.
50634         (__mpn_add_n): Don't use BP_SYM.
50635         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
50636         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
50637         and <bp-asm.h>.
50638         (__mpn_addmul_1): Don't use BP_SYM.
50639         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50640         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
50641         <bp-sym.h>.
50642         (_setjmp): Don't use BP_SYM.
50643         (__novmx_setjmp): Likewise.
50644         (__GI__setjmp): Likewise.
50645         (__vmx_setjmp): Likewise.
50646         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
50647         <bp-sym.h>.
50648         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
50649         (__bzero): Don't use BP_SYM.
50650         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50651         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50652         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
50653         <bp-sym.h> and <bp-asm.h>.
50654         (memcpy): Don't use BP_SYM.
50655         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
50656         <bp-sym.h> and <bp-asm.h>.
50657         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50658         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
50659         <bp-sym.h> and <bp-asm.h>.
50660         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50661         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
50662         <bp-asm.h>.
50663         (__mpn_lshift): Don't use BP_SYM.
50664         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50665         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
50666         <bp-asm.h>.
50667         (memset): Don't use BP_SYM.
50668         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50669         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50670         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
50671         <bp-asm.h>.
50672         (__mpn_mul_1): Don't use BP_SYM.
50673         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50674         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
50675         <bp-sym.h> and <bp-asm.h>.
50676         (memcmp): Don't use BP_SYM.
50677         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
50678         <bp-sym.h> and <bp-asm.h>.
50679         (memcpy): Don't use BP_SYM.
50680         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
50681         <bp-sym.h> and <bp-asm.h>.
50682         (memset): Don't use BP_SYM.
50683         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
50684         <bp-sym.h> and <bp-asm.h>.
50685         (strncmp): Don't use BP_SYM.
50686         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
50687         <bp-sym.h> and <bp-asm.h>.
50688         (memcpy): Don't use BP_SYM.
50689         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
50690         <bp-sym.h> and <bp-asm.h>.
50691         (memset): Don't use BP_SYM.
50692         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
50693         <bp-sym.h> and <bp-asm.h>.
50694         (__memchr): Don't use BP_SYM.
50695         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
50696         <bp-sym.h> and <bp-asm.h>.
50697         (memcmp): Don't use BP_SYM.
50698         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
50699         <bp-sym.h> and <bp-asm.h>.
50700         (memcpy): Don't use BP_SYM.
50701         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
50702         <bp-sym.h> and <bp-asm.h>.
50703         (__mempcpy): Don't use BP_SYM.
50704         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
50705         <bp-sym.h> and <bp-asm.h>.
50706         (__memrchr): Don't use BP_SYM.
50707         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
50708         <bp-sym.h> and <bp-asm.h>.
50709         (memset): Don't use BP_SYM.
50710         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
50711         <bp-sym.h> and <bp-asm.h>.
50712         (__rawmemchr): Don't use BP_SYM.
50713         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
50714         <bp-sym.h> and <bp-asm.h>.
50715         (__STRCMP): Don't use BP_SYM.
50716         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
50717         <bp-sym.h> and <bp-asm.h>.
50718         (strchr): Don't use BP_SYM.
50719         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
50720         <bp-sym.h> and <bp-asm.h>.
50721         (__strchrnul): Don't use BP_SYM.
50722         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
50723         <bp-sym.h> and <bp-asm.h>.
50724         (strlen): Don't use BP_SYM.
50725         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
50726         <bp-sym.h> and <bp-asm.h>.
50727         (strncmp): Don't use BP_SYM.
50728         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
50729         <bp-sym.h> and <bp-asm.h>.
50730         (__strnlen): Don't use BP_SYM.
50731         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
50732         <bp-asm.h>.
50733         (__mpn_rshift): Don't use BP_SYM.
50734         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50735         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
50736         <bp-sym.h> and <bp-asm.h>.
50737         (__sigsetjmp): Don't use BP_SYM.
50738         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
50739         (L(start_addresses)): Don't use BP_SYM.
50740         (_start): Likewise.
50741         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
50742         <bp-asm.h>.
50743         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
50744         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50745         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50746         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
50747         <bp-asm.h>.
50748         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
50749         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50750         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50751         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
50752         <bp-asm.h>.
50753         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50754         comments.
50755         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50756         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
50757         <bp-asm.h>.
50758         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
50759         FIXME comments.
50760         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50761         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50762         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
50763         <bp-asm.h>.
50764         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50765         comment.
50766         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
50767         and <bp-asm.h>.
50768         (strncmp): Don't use BP_SYM,
50769         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
50770         <bp-asm.h>.
50771         (__mpn_sub_n): Don't use BP_SYM.
50772         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50773         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
50774         and <bp-asm.h>.
50775         (__mpn_submul_1): Don't use BP_SYM.
50776         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
50778         <bp-sym.h> and <bp-asm.h>.
50779         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
50781         <bp-sym.h> and <bp-asm.h>.
50782         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50783         comment.
50785 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50787         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
50788         Use ZK to minimize writes to Z.
50789         (sub_magnitudes): Simplify code a bit.
50790         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
50791         Use ZK to minimize writes to Z.
50792         (sub_magnitudes): Simplify code a bit.
50794 2013-02-27  Roland McGrath  <roland@hack.frob.com>
50796         * csu/gmon-start.c: Add special exception to license text.
50798 2013-02-27  Richard Henderson  <rth@redhat.com>
50800         * scripts/config.guess: Update from config.git.
50801         * scripts/config.sub: Likewise.
50803 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50805         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
50807         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
50809         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
50811         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
50813         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
50815 2013-02-26  Roland McGrath  <roland@hack.frob.com>
50817         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
50818         [$(build-shared = yes].
50820 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50822         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
50823         (__mul): Reduce iterations for calculating mantissa.
50825         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
50826         MPTWO.
50827         (__mpranred): Likewise.
50829         [BZ #15160]
50830         * malloc/memusagestat.c (main): Draw graphs for heap and stack
50831         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
50833 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
50835         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
50836         Define __attribute__.
50838 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50840         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
50841         unused.
50842         * posix/regex_internal.h (__attribute): Remove.
50843         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
50844         (re_string_context_at): Likewise.
50845         (bitset_not): Use __attribute__ and mark function as possibly
50846         unused.
50847         (bitset_merge): Likewise.
50848         (bitset_mask): Likewise.
50849         (re_string_char_size_at): Likewise.
50850         (re_string_wchar_at): Likewise.
50851         (re_string_elem_size_at): Likewise.
50853 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50855         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
50856         code.
50857         (cc32): Likewise.
50859         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
50860         (__acr): Likewise.
50861         (__cpy): Likewise.
50862         (norm): Likewise.
50863         (denorm): Likewise.
50864         (__dbl_mp): Likewise.
50865         (add_magnitudes): Likewise.
50866         (sub_magnitudes): Likewise.
50867         (__mul): Likewise.
50868         (__inv): Likewise.
50870         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
50871         style.
50873         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
50874         style.
50876         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
50877         code.
50879         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
50880         up changes with default code.
50881         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
50882         Likewise.
50884 2013-02-24  Allan McRae  <allan@archlinux.org>
50886         * manual/socket.texi (The Internet Namespace): Order menu items
50887         to match that in the file.
50889         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
50890         node listing of the info page menu.
50892 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
50894         [BZ #13550]
50895         * sysdeps/i386/bp-asm.h: Remove file.
50896         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
50897         (PARMS): Do not use macros from bp-asm.h.
50898         (S1): Likewise.
50899         (S2): Likewise.
50900         (SIZE): Likewise.
50901         (__mpn_add_n): Do not use BP_SYM
50902         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
50903         "bp-asm.h".
50904         (PARMS): Do not use macros from bp-asm.h.
50905         (S1): Likewise.
50906         (SIZE): Likewise.
50907         (__mpn_addmul_1): Do not use BP_SYM
50908         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
50909         "bp-asm.h".
50910         (PARMS): Do not use macros from bp-asm.h.
50911         (SIGMSK): Likewise.
50912         (_setjmp): Likewise.  Do not use BP_SYM.
50913         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
50914         "bp-asm.h".
50915         (PARMS): Do not use macros from bp-asm.h.
50916         (SIGMSK): Likewise.
50917         (setjmp): Likewise.  Do not use BP_SYM.
50918         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
50919         "bp-asm.h".
50920         (PARMS): Do not use macros from bp-asm.h.
50921         (__frexp): Do not use BP_SYM.
50922         (frexp): Likewise.
50923         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
50924         "bp-asm.h".
50925         (PARMS): Do not use macros from bp-asm.h.
50926         (__frexpf): Do not use BP_SYM.
50927         (frexpf): Likewise.
50928         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
50929         "bp-asm.h".
50930         (PARMS): Do not use macros from bp-asm.h.
50931         (__frexpl): Do not use BP_SYM.
50932         (frexpl): Likewise.
50933         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
50934         "bp-asm.h".
50935         (PARMS): Do not use macros from bp-asm.h.
50936         (__remquo): Do not use BP_SYM.
50937         (remquo): Likewise.
50938         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
50939         "bp-asm.h".
50940         (PARMS): Do not use macros from bp-asm.h.
50941         (__remquof): Do not use BP_SYM.
50942         (remquof): Likewise.
50943         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
50944         "bp-asm.h".
50945         (PARMS): Do not use macros from bp-asm.h.
50946         (__remquol): Do not use BP_SYM.
50947         (remquol): Likewise.
50948         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
50949         "bp-asm.h".
50950         (PARMS): Do not use macros from bp-asm.h.
50951         (DEST): Likewise.
50952         (SRC): Likewise.
50953         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
50954         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
50955         "bp-asm.h".
50956         (PARMS): Do not use macros from bp-asm.h.
50957         (strlen): Do not use BP_SYM.
50958         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
50959         "bp-asm.h".
50960         (PARMS): Do not use macros from bp-asm.h.
50961         (S1): Likewise.
50962         (S2): Likewise.
50963         (SIZE): Likewise.
50964         (__mpn_add_n): Do not use BP_SYM.
50965         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
50966         "bp-asm.h".
50967         (PARMS): Do not use macros from bp-asm.h.
50968         (S1): Likewise.
50969         (SIZE): Likewise.
50970         (__mpn_addmul_1): Do not use BP_SYM.
50971         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
50972         weak_alias.
50973         (bzero): Likewise.
50974         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
50975         "bp-asm.h".
50976         (PARMS): Do not use macros from bp-asm.h.
50977         (S): Likewise.
50978         (SIZE): Likewise.
50979         (__mpn_lshift): Do not use BP_SYM.
50980         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
50981         "bp-asm.h".
50982         (PARMS): Do not use macros from bp-asm.h.
50983         (DEST): Likewise.
50984         (SRC): Likewise.
50985         (LEN): Likewise.
50986         (memcpy): Likewise.  Do not use BP_SYM.
50987         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
50988         libc_hidden_def and weak_alias.
50989         (mempcpy): Do not use BP_SYM in weak_alias.
50990         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
50991         "bp-asm.h".
50992         (PARMS): Do not use macros from bp-asm.h.
50993         (DEST): Likewise.
50994         (LEN): Likewise.
50995         [!BZERO_P] (CHR): Likewise.
50996         (memset): Likewise.  Do not use BP_SYM.
50997         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
50998         "bp-asm.h".
50999         (PARMS): Do not use macros from bp-asm.h.
51000         (S1): Likewise.
51001         (SIZE): Likewise.
51002         (__mpn_mul_1): Do not use BP_SYM.
51003         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
51004         "bp-asm.h".
51005         (PARMS): Do not use macros from bp-asm.h.
51006         (S): Likewise.
51007         (SIZE): Likewise.
51008         (__mpn_rshift): Do not use BP_SYM.
51009         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
51010         "bp-asm.h".
51011         (PARMS): Do not use macros from bp-asm.h.
51012         (STR): Likewise.
51013         (CHR): Likewise.
51014         (strchr): Likewise.  Do not use BP_SYM.
51015         (index): Do not use BP_SYM in weak_alias.
51016         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
51017         "bp-asm.h".
51018         (PARMS): Do not use macros from bp-asm.h.
51019         (DEST): Likewise.
51020         (SRC): Likewise.
51021         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
51022         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
51023         "bp-asm.h".
51024         (PARMS): Do not use macros from bp-asm.h.
51025         (strlen): Do not use BP_SYM.
51026         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
51027         "bp-asm.h".
51028         (PARMS): Do not use macros from bp-asm.h.
51029         (S1): Likewise.
51030         (S2): Likewise.
51031         (SIZE): Likewise.
51032         (__mpn_sub_n): Do not use BP_SYM.
51033         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
51034         "bp-asm.h".
51035         (PARMS): Do not use macros from bp-asm.h.
51036         (S1): Likewise.
51037         (SIZE): Likewise.
51038         (__mpn_submul_1): Do not use BP_SYM.
51039         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
51040         "bp-asm.h".
51041         (PARMS): Do not use macros from bp-asm.h.
51042         (S1): Likewise.
51043         (S2): Likewise.
51044         (SIZE): Likewise.
51045         (__mpn_add_n): Do not use BP_SYM.
51046         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
51047         weak_alias.
51048         (bzero): Likewise.
51049         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
51050         "bp-asm.h".
51051         (PARMS): Do not use macros from bp-asm.h.
51052         (BLK2): Likewise.
51053         (LEN): Likewise.
51054         (memcmp): Do not use BP_SYM.
51055         (bcmp): Do not use BP_SYM in weak_alias.
51056         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
51057         "bp-asm.h".
51058         (PARMS): Do not use macros from bp-asm.h.
51059         (DEST): Likewise.
51060         (SRC): Likewise.
51061         (LEN): Likewise.
51062         (memcpy): Likewise.  Do not use BP_SYM.
51063         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
51064         "bp-asm.h".
51065         (PARMS): Do not use macros from bp-asm.h.
51066         (DEST): Likewise.
51067         (SRC): Likewise.
51068         (LEN): Likewise.
51069         (memmove): Likewise.  Do not use BP_SYM.
51070         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
51071         "bp-asm.h".
51072         (PARMS): Do not use macros from bp-asm.h.
51073         (DEST): Likewise.
51074         (SRC): Likewise.
51075         (LEN): Likewise.
51076         (__mempcpy): Likewise.  Do not use BP_SYM.
51077         (mempcpy): Do not use BP_SYM in weak_alias.
51078         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
51079         "bp-asm.h".
51080         (PARMS): Do not use macros from bp-asm.h.
51081         (DEST): Likewise.
51082         (LEN): Likewise.
51083         [!BZERO_P] (CHR): Likewise.
51084         (memset): Likewise.  Do not use BP_SYM.
51085         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
51086         "bp-asm.h".
51087         (PARMS): Do not use macros from bp-asm.h.
51088         (STR2): Likewise.
51089         (strcmp): Do not use BP_SYM.
51090         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
51091         "bp-asm.h".
51092         (PARMS): Do not use macros from bp-asm.h.
51093         (STR): Likewise.
51094         (DELIM): Likewise.
51095         [USE_AS_STRTOK_R] (SAVE): Likewise.
51096         (FUNCTION): Likewise.  Do not use BP_SYM.
51097         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
51098         aliases.
51099         (strtok_r): Likewise.
51100         (__GI___strtok_r): Likewise.
51101         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51102         (PARMS): Do not use macros from bp-asm.h.
51103         (S): Likewise.
51104         (SIZE): Likewise.
51105         (__mpn_lshift): Do not use BP_SYM.
51106         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51107         (PARMS): Do not use macros from bp-asm.h.
51108         (STR): Likewise.
51109         (CHR): Likewise.
51110         (__memchr): Do not use BP_SYM.
51111         (memchr): Do not use BP_SYM in weak_alias.
51112         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51113         (PARMS): Do not use macros from bp-asm.h.
51114         (BLK2): Likewise.
51115         (LEN): Likewise.
51116         (memcmp): Do not use BP_SYM.
51117         (bcmp): Do not use BP_SYM in weak_alias.
51118         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
51119         (PARMS): Do not use macros from bp-asm.h.
51120         (S1): Likewise.
51121         (SIZE): Likewise.
51122         (__mpn_mul_1): Do not use BP_SYM.
51123         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
51124         "bp-asm.h".
51125         (PARMS): Do not use macros from bp-asm.h.
51126         (STR): Likewise.
51127         (CHR): Likewise.
51128         (__rawmemchr): Do not use BP_SYM.
51129         (rawmemchr): Do not use BP_SYM in weak_alias.
51130         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51131         (PARMS): Do not use macros from bp-asm.h.
51132         (S): Likewise.
51133         (SIZE): Likewise.
51134         (__mpn_rshift): Do not use BP_SYM.
51135         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51136         (PARMS): Do not use macros from bp-asm.h.
51137         (SIGMSK): Likewise.
51138         (__sigsetjmp): Likewise.  Do not use BP_SYM.
51139         * sysdeps/i386/start.S: Do not include "bp-sym.h".
51140         (_start): Do not use BP_SYM.
51141         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
51142         (PARMS): Do not use macros from bp-asm.h.
51143         (DEST): Likewise.
51144         (SRC): Likewise.
51145         (__stpcpy): Likewise.  Do not use BP_SYM.
51146         (stpcpy): Do not use BP_SYM in weak_alias.
51147         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
51148         "bp-asm.h".
51149         (PARMS): Do not use macros from bp-asm.h.
51150         (DEST): Likewise.
51151         (SRC): Likewise.
51152         (LEN): Likewise.
51153         (__stpncpy): Likewise.  Do not use BP_SYM.
51154         (stpncpy): Do not use BP_SYM in weak_alias.
51155         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51156         (PARMS): Do not use macros from bp-asm.h.
51157         (STR): Likewise.
51158         (CHR): Likewise.
51159         (strchr): Likewise.  Do not use BP_SYM.
51160         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
51161         "bp-asm.h".
51162         (PARMS): Do not use macros from bp-asm.h.
51163         (STR): Likewise.
51164         (CHR): Likewise.
51165         (__strchrnul): Likewise.  Do not use BP_SYM.
51166         (strchrnul): Do not use BP_SYM in weak_alias.
51167         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
51168         "bp-asm.h".
51169         (PARMS): Do not use macros from bp-asm.h.
51170         (STOP): Likewise.
51171         (strcspn): Do not use BP_SYM.
51172         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
51173         "bp-asm.h".
51174         (PARMS): Do not use macros from bp-asm.h.
51175         (STR): Likewise.
51176         (STOP): Likewise.
51177         (strpbrk): Likewise.  Do not use BP_SYM.
51178         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
51179         "bp-asm.h".
51180         (PARMS): Do not use macros from bp-asm.h.
51181         (STR): Likewise.
51182         (CHR): Likewise.
51183         (strrchr): Likewise.  Do not use BP_SYM.
51184         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
51185         (PARMS): Do not use macros from bp-asm.h.
51186         (SKIP): Likewise.
51187         (strspn): Do not use BP_SYM.
51188         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
51189         (PARMS): Do not use macros from bp-asm.h.
51190         (STR): Likewise.
51191         (DELIM): Likewise.
51192         (SAVE): Likewise.
51193         (FUNCTION): Likewise.  Do not use BP_SYM.
51194         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
51195         aliases.
51196         (strtok_r): Likewise.
51197         (__GI___strtok_r): Likewise.
51198         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51199         (PARMS): Do not use macros from bp-asm.h.
51200         (S1): Likewise.
51201         (S2): Likewise.
51202         (SIZE): Likewise.
51203         (__mpn_sub_n): Do not use BP_SYM.
51204         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
51205         "bp-asm.h".
51206         (PARMS): Do not use macros from bp-asm.h.
51207         (S1): Likewise.
51208         (SIZE): Likewise.
51209         (__mpn_submul_1): Do not use BP_SYM.
51210         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
51211         <bp-sym.h>.
51212         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
51213         and <bp-asm.h>.
51214         (PARMS): Do not use macros from bp-asm.h.
51215         (FLAGS): Likewise.
51216         (PTID): Likewise.
51217         (TLS): Likewise.
51218         (CTID): Likewise.
51219         (__clone): Do not use BP_SYM.
51220         (clone): Do not use BP_SYM in weak_alias.
51221         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
51222         and <bp-asm.h>.
51223         (PARMS): Do not use macros from bp-asm.h.
51224         (LEN): Likewise.
51225         (__mmap64): Do not use BP_SYM.
51226         (mmap64): Do not use BP_SYM in weak_alias.
51227         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51228         <bp-sym.h> and <bp-asm.h>.
51229         (PARMS): Do not use macros from bp-asm.h.
51230         (__posix_fadvise64_l64): Do not use BP_SYM.
51231         * sysdeps/unix/sysv/linux/i386/semtimedop.S
51232         (PARMS): Do not use macros from bp-asm.h.
51233         (NSOPS): Likewise.
51234         (semtimedop): Do not use BP_SYM.
51235         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
51236         and <bp-asm.h>.
51238 2013-02-21  Allan McRae  <allan@archlinux.org>
51240         * manual/message.texi (Charset conversion in gettext):
51241         Move @end statement to beginning of line.
51243 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51245         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
51246         static.
51247         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51248         Likewise.
51250         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
51251         (denorm): Likewise.
51252         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
51253         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
51255 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51257         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
51258         tail-call to the resolved function if pltexit isn't needed.
51260 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51262         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
51263         or Y being zero as being unlikely.
51264         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51265         Likewise.
51267 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
51269         * manual/nss.texi (System Databases and Name Service Switch):
51270         Remove frobnicate @pxref.
51272 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51274         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51275         __attribute__ ((unused)) to __attribute__ ((__unused__)).
51277 2013-02-20  Petr Machata  <pmachata@redhat.com>
51279         * elf/elf.h (R_ARM_TARGET1): New macro.
51280         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
51281         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
51282         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
51283         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
51284         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
51285         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
51286         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
51287         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
51288         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
51289         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
51290         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
51291         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
51292         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
51293         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
51294         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
51295         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
51296         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
51297         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
51298         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
51299         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
51300         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
51301         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
51302         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
51303         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
51304         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
51305         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
51306         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
51307         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
51308         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
51309         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
51310         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
51311         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
51312         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
51313         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
51314         (R_ARM_THM_GOT_BREL12): Likewise.
51315         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
51316         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
51317         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
51318         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
51319         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
51320         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
51321         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
51322         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
51323         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
51325 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51327         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51328         __attribute_used__ to __attribute__ ((unused)).
51330 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51332         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
51333         powerpc mpa.c.
51334         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
51335         comment formatting.
51336         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
51338 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
51340         [BZ #13550]
51341         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
51342         Remove macro.
51343         (ENTER): Remove both macro definitions.
51344         (LEAVE): Likewise.
51345         (CHECK_BOUNDS_LOW): Likewise.
51346         (CHECK_BOUNDS_HIGH): Likewise.
51347         (CHECK_BOUNDS_BOTH): Likewise.
51348         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
51349         (RETURN_BOUNDED_POINTER): Likewise.
51350         (RETURN_NULL_BOUNDED_POINTER): Likewise.
51351         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
51352         (POP_ERRNO_LOCATION_RETURN): Likewise.
51353         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
51354         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51355         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
51356         macros.
51357         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51358         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
51359         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
51360         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
51361         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
51362         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
51363         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
51364         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
51365         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
51366         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
51367         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
51368         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
51369         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51370         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
51371         removed macros.
51372         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51373         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
51374         macros.
51375         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51376         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
51377         * sysdeps/i386/i586/memset.S (memset): Likewise.
51378         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
51379         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51380         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
51381         macros.
51382         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51383         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
51384         Change uses of L(2) to L(out).
51385         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
51386         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
51387         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
51388         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51389         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
51390         removed macros.
51391         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51392         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
51393         macros.
51394         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51395         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
51396         (RETURN): Do not use macro LEAVE.
51397         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
51398         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
51399         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
51400         * sysdeps/i386/i686/memset.S (memset): Likewise.
51401         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
51402         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
51403         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51404         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
51405         Likewise.
51406         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51407         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
51408         L(1_2) and L(1_3) into L(1).
51409         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51410         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
51411         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51412         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
51413         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51414         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
51415         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
51416         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51417         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
51418         macros.
51419         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
51420         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51421         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
51422         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
51423         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
51424         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51425         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
51426         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
51427         * sysdeps/i386/strcspn.S (strcspn): Likewise.
51428         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
51429         * sysdeps/i386/strrchr.S (strrchr): Likewise.
51430         * sysdeps/i386/strspn.S (strspn): Likewise.
51431         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
51432         conditional code.
51433         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51434         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
51435         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51436         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
51437         L(1_3) into L(1_1).
51438         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
51439         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51440         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
51441         macros.
51442         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51444 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
51446         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
51447         macro.
51449 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51451         * math/atest-exp.c (exp_mpn): Remove ROUND.
51452         * math/atest-exp2.c (exp_mpn): Likewise.
51453         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
51455         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
51456         * stdlib/tst-tls-atexit-lib.c: Likewise.
51457         * stdlib/tst-tls-atexit.c: Likewise.
51459 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51461         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
51462         and __attribute_alloc_size__.
51464 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51466         * include/programs/xmalloc.h: Change __attribute_alloc_size to
51467         __attribute_alloc_size__.
51468         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
51469         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
51471 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51473         * include/programs/xmalloc.h: New file.
51474         * catgets/gencat.c: Include it.
51475         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
51476         * elf/pldd.c: Likewise.
51477         * iconv/iconv_charmap.c: Likewise.
51478         * iconv/iconvconfig.c: Likewise.
51479         * iconv/strtab.c: Likewise.
51480         * locale/programs/locale.c: Likewise.
51481         * locale/programs/localedef.h: Likewise.
51482         * locale/programs/simple-hash.c: Likewise.
51483         * nscd/nscd.h: Likewise.
51484         * nss/makedb.c: Likewise.
51485         * sysdeps/generic/ldconfig.h: Likewise.
51487 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51489         * Versions.def: Add GLIBC_2.18.
51490         * include/link.h (struct link_map): New member l_tls_dtor_count.
51491         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
51492         (__call_tls_dtors): Likewise.
51493         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
51494         __cxa_thread_atexit_impl.
51495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51496         Likewise.
51497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51498         Likewise.
51499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51500         Likewise.
51501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51502         Likewise.
51503         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51504         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
51505         Likewise.
51506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
51507         Likewise.
51508         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51509         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51510         Likewise.
51511         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
51512         (tests): Add test case tst-tls-atexit.
51513         (modules-names): Add shared library for tst-tls-atexit.
51514         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
51515         (GLIBC_PRIVATE): Add __call_tls_dtors.
51516         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
51517         for libstdc++.
51518         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
51519         * stdlib/tst-tls-atexit.c: New test case.
51520         * stdlib/tst-tls-atexit-lib.c: New test case.
51522         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
51524         * elf/Versions (ld): Add _dl_find_dso_for_object.
51525         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
51526         * elf/dl-open.c (_dl_find_dso_for_object): New function.
51527         (dl_open_worker): Use _dl_find_dso_for_object.
51528         * elf/dl-sym.c (do_sym): Likewise.
51529         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
51531 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51533         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
51534         Syntactic changes only.
51535         (_dl_runtime_profile): Do a tail-call to the resolved function.
51537 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
51539         [BZ #13550]
51540         * sysdeps/x86_64/bp-asm.h: Remove file.
51541         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
51542         <bp-sym.h> and <bp-asm.h>.
51543         (__clone): Do not use BP_SYM.
51544         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
51545         <bp-sym.h> and <bp-asm.h>.
51546         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51547         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
51548         "bp-asm.h".
51549         (_setjmp): Do not use BP_SYM.
51550         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
51551         "bp-asm.h".
51552         (setjmp): Do not use BP_SYM.
51553         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
51554         libc_hidden_def.
51555         (mempcpy): Do not use BP_SYM in weak_alias.
51556         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
51557         "bp-asm.h".
51558         (strchr): Do not use BP_SYM.
51559         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
51560         "bp-asm.h".
51561         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
51562         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
51563         (_start): Do not use BP_SYM.
51564         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
51565         "bp-asm.h".
51566         (strcat): Do not use BP_SYM.
51567         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
51568         "bp-asm.h".
51569         (STRCMP): Do not use BP_SYM.
51570         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
51571         "bp-asm.h".
51572         (STRCPY): Do not use BP_SYM.
51573         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
51574         "bp-asm.h".
51575         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
51576         "bp-asm.h".
51577         (FUNCTION): Do not use BP_SYM.
51578         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
51579         weak_alias.
51580         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
51582 2013-02-17  Andreas Jaeger  <aj@suse.de>
51584         * time/Versions: Sort entries.
51585         * string/Versions: Likewise.
51586         * resolv/Versions: Likewise.
51587         * posix/Versions: Likewise.
51588         * iconv/Versions: Likewise.
51589         * elf/Versions: Likewise.
51590         * wcsmbs/Versions: Likewise.
51592 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51594         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
51595         loop termination condition.
51597         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
51598         variable to calculate EZ.
51599         (__sqr): Likewise.
51601         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
51602         the lower precision input.
51604 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
51606         [BZ #13550]
51607         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
51608         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
51609         (run-via-rtld-prefix): Do not handle %-bp tests.
51610         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
51611         (all-object-suffixes): Remove .ob.
51612         (bppfx): Remove variable.
51613         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
51614         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
51615         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
51616         [$(build-bounded) = yes] (libtype.ob): Likewise.
51617         * Makerules (elide-routines.ob): Remove variable.
51618         (do-tests-clean): Do not handle *-bp.out.
51619         (common-mostlyclean): Do not handle *-bp and *-bp.out.
51620         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
51621         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
51622         (tests): Do not include $(tests-bp.out).
51623         (xtests): Do not include $(xtests-bp.out).
51624         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
51625         [$(build-bounded) = yes] ($(addprefix
51626         $(objpfx),$(binaries-bounded))): Remove rule.
51627         ($(objpfx)%-bp.out): Remove rule.
51628         * config.make.in (build-bounded): Remove variable.
51629         * crypt/Makefile [$(build-bounded) = yes]
51630         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
51631         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
51632         append to variable.
51633         [$(build-bounded) = yes] (install-lib): Likewise.
51634         [$(build-bounded) = yes] (generated): Likewise.
51635         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
51636         Remove rule.
51637         * intl/Makefile [$(build-bounded) = yes]
51638         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
51639         * math/Makefile [$(build-bounded) = yes]
51640         ($(tests:%=$(objpfx)%-bp): Likewise.
51641         * misc/Makefile [$(build-bounded) = yes]
51642         ($(objpfx)tst-tsearch-bp): Likewise.
51643         * nptl/Makeconfig (bounded-thread-library): Remove variable.
51644         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
51645         Remove dependency.
51646         * string/Makefile (o-objects.ob): Remove variable.
51647         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
51648         (CFLAGS-.ob): Remove variable.
51649         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
51650         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
51651         both definitions of variable.
51652         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
51653         (ASFLAGS-.ob): Remove variable.
51655 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
51657         [BZ #13550]
51658         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
51659         Remove __BOUNDED_POINTERS__ from condition.
51660         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
51661         * string/bits/string2.h [!__NO_STRING_INLINES &&
51662         !__BOUNDED_POINTERS__]: Likewise.
51663         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
51664         Likewise.
51665         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
51666         Remove conditional code.
51667         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
51668         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
51669         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
51670         condition.
51672         [BZ #13550]
51673         * csu/libc-start.c: Do not include <bp-sym.h>.
51674         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
51675         * elf/dl-open.c: Do not include <bp-sym.h>.
51676         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
51677         * math/fegetenv.c: Do not include <bp-sym.h>.
51678         (fegetenv): Do not use BP_SYM in versioned symbols.
51679         * nptl/sysdeps/pthread/bits/libc-lockP.h
51680         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
51681         <bp-sym.h>.
51682         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51683         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
51684         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51685         (__pthread_mutex_destroy): Likewise.
51686         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51687         (__pthread_mutex_lock): Likewise.
51688         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51689         (__pthread_mutex_trylock): Likewise.
51690         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51691         (__pthread_mutex_unlock): Likewise.
51692         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51693         (__pthread_mutexattr_init): Likewise.
51694         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51695         (__pthread_mutexattr_destroy): Likewise.
51696         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51697         (__pthread_mutexattr_settype): Likewise.
51698         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51699         (__pthread_rwlock_init): Likewise.
51700         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51701         (__pthread_rwlock_destroy): Likewise.
51702         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51703         (__pthread_rwlock_rdlock): Likewise.
51704         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51705         (__pthread_rwlock_tryrdlock): Likewise.
51706         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51707         (__pthread_rwlock_wrlock): Likewise.
51708         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51709         (__pthread_rwlock_trywrlock): Likewise.
51710         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51711         (__pthread_rwlock_unlock): Likewise.
51712         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51713         (__pthread_key_create): Likewise.
51714         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51715         (__pthread_setspecific): Likewise.
51716         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51717         (__pthread_getspecific): Likewise.
51718         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
51719         Likewise.
51720         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51721         (_pthread_cleanup_push_defer): Likewise.
51722         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51723         (_pthread_cleanup_pop_restore): Likewise.
51724         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51725         (pthread_setcancelstate): Likewise.
51726         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
51727         <bp-sym.h>.
51728         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
51729         (memchr): Do not use BP_SYM in weak_alias.
51730         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
51731         (fegetenv): Do not use BP_SYM in versioned symbols.
51732         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
51733         (fesetenv): Do not use BP_SYM in versioned symbols.
51734         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51735         (feupdateenv): Do not use BP_SYM in versioned symbols.
51736         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51737         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51738         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
51739         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
51740         (open64): Do not use BP_SYM in weak_alias.
51741         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
51742         (fegetenv): Do not use BP_SYM in versioned symbols.
51743         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
51744         (fesetenv): Do not use BP_SYM in versioned symbols.
51745         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51746         (feupdateenv): Do not use BP_SYM in versioned symbols.
51747         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
51748         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
51749         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
51750         (feraiseexcept): Do not use BP_SYM in versioned symbols.
51751         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51752         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51753         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
51754         <bp-sym.h>.
51755         (__libc_start_main): Do not use BP_SYM.
51757 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51759         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
51760         redundant return line.
51761         (norm): Likewise.
51762         (denorm): Likewise.
51763         (dbl_mp): Likewise.
51764         (sub_magnitudes): Likewise.
51765         (__add): Likewise.
51766         (__sub): Likewise.
51767         (__mul): Likewise.
51768         (__inv): Likewise.
51769         (__dvd): Likewise.
51770         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
51771         (norm): Likewise.
51772         (denorm): Likewise.
51773         (dbl_mp): Likewise.
51774         (sub_magnitudes): Likewise.
51775         (__add): Likewise.
51776         (__sub): Likewise.
51777         (__mul): Likewise.
51778         (__inv): Likewise.
51779         (__dvd): Likewise.
51781         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
51782         instead of __mul.
51783         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51784         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
51785         (cc32): Likewise.
51787         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
51788         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
51789         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
51790         of __mul for squares.
51791         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
51792         function
51793         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
51794         Likewise.
51795         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
51796         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51798 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
51800         [BZ #13550]
51801         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
51802         code.
51803         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
51804         prototype or function definition.  Rename ubp_* variables and
51805         parameters.  Remove argv definitions conditional on
51806         [__BOUNDED_POINTERS__].
51807         * debug/backtrace.c (__backtrace): Do not use __unbounded.
51808         * elf/dl-runtime.c (_dl_fixup): Likewise.
51809         * include/set-hooks.h (RUN_HOOK): Likewise.
51810         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
51811         definition.
51812         * string/strcpy.c (strcpy): Do not use __unbounded.
51813         * sysdeps/generic/frame.h (struct layout): Likewise.
51814         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
51815         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
51816         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
51817         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
51818         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
51819         (__backtrace): Likewise.
51820         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
51821         use __ptrvalue.
51822         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
51823         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51824         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
51825         Likewise.
51826         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
51827         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
51828         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51829         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51830         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
51831         Do not use __unbounded.
51832         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
51833         Rename __unboundedrlimits parameter to rlimits in prototype.
51834         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
51835         Do not use __unbounded.
51836         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
51837         not use __ptrvalue.
51838         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51839         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
51840         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51841         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
51842         __ptrvalue or __unbounded.
51843         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
51844         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
51845         use __unbounded.
51846         (__new_msgctl): Do not use __ptrvalue.
51847         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
51848         __unbounded.
51849         (__libc_msgrcv): Do not use __ptrvalue.
51850         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
51851         startup_info): Do not use __unbounded.
51852         (__libc_start_main): Likewise.  Rename ubp_* variables and
51853         parameters.  Remove argv definitions conditional on
51854         [__BOUNDED_POINTERS__].
51855         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
51856         __ptrvalue.
51857         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
51858         use __unbounded.
51859         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
51860         or __ptrvalue.
51861         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
51862         use __unbounded.
51863         (__new_shmctl): Do not use __ptrvalue.
51864         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
51865         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
51866         Likewise.
51867         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
51868         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
51869         (__libc_sigaction): Likewise.
51870         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
51871         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
51872         Likewise.
51873         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51875 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
51877         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
51879         * string/mempcpy.c: Implement by calling memcpy.
51881 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51883         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
51885         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
51886         evaluation.
51888         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
51889         values in the mantissa.
51891         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
51892         minimize writes to Z.
51893         (sub_magnitudes): Simplify code a bit.
51895 2013-02-12  Roland McGrath  <roland@hack.frob.com>
51897         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
51898         from the message.  The linker prefixes all warnings with that already.
51900 2013-02-12  Andreas Schwab  <schwab@suse.de>
51902         [BZ #15078]
51903         * posix/regexec.c (extend_buffers): Add parameter min_len.
51904         (check_matching): Pass minimum needed length.
51905         (clean_state_log_if_needed): Likewise.
51906         (get_subexp): Likewise.
51907         * posix/Makefile (tests): Add bug-regex34.
51908         (bug-regex34-ENV): Define.
51909         * posix/bug-regex34.c: New file.
51911         [BZ #11561]
51912         * posix/regcomp.c (parse_bracket_exp): When looking up collating
51913         elements compare against the byte sequence of it, not its name.
51914         * posix/Makefile (tests): Add bug-regex35.
51915         (bug-regex35-ENV): Define.
51916         * posix/bug-regex35.c: New file.
51918 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51920         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
51921         comment.
51922         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
51923         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
51924         (CHECK_EOL): Add undef.
51926 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
51928         * bits/stdlib-bsearch.h: New file.
51929         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
51930         * stdlib/stdlib.h: Likewise.
51932 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51934         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
51935         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
51936         declaration.
51937         * manual/search.texi (Array Search Function): Add missing const in
51938         lfind prototype.
51939         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
51940         declaration to use rlim_t.
51941         (Basic Scheduling Functions): Remove erroneous const from
51942         sched_getparam prototype.  Remove erroneous * from
51943         sched_get_priority_max and sched_get_priority_min prototypes.
51944         (Resource Usage): Fix summary @comment on vtimes to refer to
51945         sys/vtimes.h rather than vtimes.h.
51946         Add missing *s in vtimes prototype.
51947         (Limits on Resources): Fix ulimit prototype to return long int.
51948         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
51949         prototypes to use long int rather than double.
51950         (BSD Random): Fix initstate and setstate to use char *, not void *.
51951         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
51952         prototype to make second argument 'struct aiocb64 *const[]'.
51953         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
51954         (Status of AIO Operations): Remove erroneous const in aio_return and
51955         aio_return64 prototypes.
51956         (Synchronizing I/O): Fix sync prototype to return void.
51957         * manual/startup.texi (Suboptions): Remove an erroneous const in
51958         getsubopt prototype.
51959         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
51960         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
51961         use size_t rather than int.
51962         (Scanning All Users): Likewise for getpwent_r.
51963         (Setting Groups): Add missing const to setgroups prototype.
51964         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
51965         * manual/socket.texi (Host Names): Fix gethostbyaddr and
51966         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
51967         'const void *' rather than 'const char *'.
51968         (Host Address Functions): Likewise for inet_ntop.
51969         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
51970         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
51971         ssize_t for return value.
51972         (Sending Data): Likewise for send, sendto, sendmsg.
51973         (Socket Option Functions): Add a missing const in setsockopt prototype.
51974         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
51975         use wchar_t for the argument.
51976         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
51977         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
51978         take no arguments.
51979         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
51980         double/float/long double for second argument.
51981         Fix return types of significand, significandf, significandl.
51982         * manual/filesys.texi (Setting Permissions): Use mode_t for second
51983         argument in fchmod prototype.
51984         (File Owner): Use uid_t and gid_t in fchown prototype.
51985         (File Times): Add const to utimes, futimes, and lutimes prototypes.
51986         (Making Special Files): Use mode_t and dev_t in mknod prototype.
51987         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
51988         use 'const struct dirent **' as argument types to CMP function pointer
51989         argument.
51990         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
51991         (File Times): Fix summary magic @comment for struct utimbuf and utime
51992         to refer to utime.h, not time.h.
51993         * manual/string.texi (Argz Functions): Add missing const in
51994         argz_extract and argz_next prototypes.
51995         (Finding Tokens in a String): Likewise for basename.
51996         (String/Array Comparison): Fix typo in wcscasecmp prototype.
51997         (Copying and Concatenation): Fix typo in wmemmove prototype.
51998         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
51999         (Signal Stack): Remove erroneous const in sigstack prototype.
52000         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
52001         prototype.
52002         (Simple Calendar Time): Likewise for stime.
52003         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
52004         prototype.
52005         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
52006         say sys/sysctl.h instead.
52007         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
52008         and vsyslog prototypes.
52010 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52012         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
52013         Remove.
52015 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52017         * misc/sys/mman.h: Fix typo in mremap comment.
52019 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52021         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
52022         the '\0' terminator.
52024 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52026         [BZ #13550]
52027         * debug/segfault.c: Don't include <bp-checks.h>.
52028         * sysdeps/generic/bp-checks.h: Remove file.
52029         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
52030         (__GETDENTS): Don't use CHECK_N.
52031         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
52032         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
52033         (__getgroups): Don't use CHECK_N.
52034         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
52035         (setgroups): Don't use CHECK_N.
52036         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
52037         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
52038         (__libc_msgrcv): Don't use CHECK_N.
52039         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
52040         (__libc_msgsnd): Don't use CHECK_N.
52041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
52042         <bp-checks.h>.
52043         (__libc_pread): Don't use CHECK_N.
52044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
52045         include <bp-checks.h>.
52046         (__libc_pread64): Don't use CHECK_N.
52047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
52048         include <bp-checks.h>.
52049         (__libc_pwrite): Don't use CHECK_N.
52050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
52051         include <bp-checks.h>.
52052         (__libc_pwrite64): Don't use CHECK_N.
52053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
52054         <bp-checks.h>.
52055         (__libc_pread): Don't use CHECK_N.
52056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
52057         include <bp-checks.h>.
52058         (__libc_pread64): Don't use CHECK_N.
52059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
52060         include <bp-checks.h>.
52061         (__libc_pwrite): Don't use CHECK_N.
52062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
52063         include <bp-checks.h>.
52064         (__libc_pwrite64): Don't use CHECK_N.
52065         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
52066         (do_pread): Don't use CHECK_N.
52067         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
52068         (do_pread64): Don't use CHECK_N.
52069         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
52070         (do_pwrite): Don't use CHECK_N.
52071         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
52072         (do_pwrite64): Don't use CHECK_N.
52073         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
52074         (__libc_readv): Don't use CHECK_N.
52075         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
52076         (semop): Don't use CHECK_N.
52077         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
52078         <bp-checks.h>.
52079         (semtimedop): Don't use CHECK_N.
52080         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
52081         (__libc_pread): Don't use CHECK_N.
52082         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
52083         <bp-checks.h>.
52084         (__libc_pread64): Don't use CHECK_N.
52085         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
52086         <bp-checks.h>.
52087         (__libc_pwrite): Don't use CHECK_N.
52088         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
52089         <bp-checks.h>.
52090         (__libc_pwrite64): Don't use CHECK_N.
52091         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
52092         <bp-checks.h>.
52093         (__libc_msgrcv): Don't use CHECK_N.
52094         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
52095         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
52096         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
52097         (__libc_writev): Don't use CHECK_N.
52099 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52101         * string/strcpy.c: Removed unused variable.
52103         * Makeconfig (+sysdep-includes): Define with := rather than =.
52104         Use an existing include/ subdir of each sysdeps dir before it.
52106 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52108         * nscd/connection.c (register_traced_file): Comment function.
52109         [HAVE_INOTIFY] (union __inev): Define.
52110         [HAVE_INOTIFY] (inotify_check_files): New function.
52111         [HAVE_INOTIFY] (clear_db_cache): Likewise.
52112         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
52113         clear_db_cache.
52114         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
52116 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52118         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
52119         loaded if not already and that a failure is permanent.
52121 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52123         [BZ #15006]
52124         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
52125         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
52127 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52129         [BZ #13550]
52130         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
52131         (CHECK_1_NULL_OK): Likewise.
52132         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
52133         (__fxstat): Do not use CHECK_1.
52134         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
52135         <bp-checks.h>.
52136         (___fxstat64): Do not use CHECK_1.
52137         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
52138         <bp-checks.h>.
52139         (__fxstatat): Do not use CHECK_1.
52140         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
52141         <bp-checks.h>.
52142         (__fxstatat64): Do not use CHECK_1.
52143         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
52144         <bp-checks.h>.
52145         (__fxstat): Do not use CHECK_1.
52146         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
52147         <bp-checks.h>.
52148         (__fxstatat): Do not use CHECK_1.
52149         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52150         <bp-checks.h>.
52151         (__getresgid): Do not use CHECK_1.
52152         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
52153         <bp-checks.h>.
52154         (__getresuid): Do not use CHECK_1.
52155         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
52156         <bp-checks.h>.
52157         (__lxstat): Do not use CHECK_1.
52158         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52159         <bp-checks.h>.
52160         (__old_msgctl): Do not use CHECK_1.
52161         (__new_msgctl): Likewise.
52162         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
52163         <bp-checks.h>.
52164         (__new_setrlimit): Do not use CHECK_1.
52165         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
52166         <bp-checks.h>.
52167         (__old_shmctl): Do not use CHECK_1.
52168         (__new_shmctl): Likewise.
52169         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
52170         <bp-checks.h>.
52171         (__xstat): Do not use CHECK_1.
52172         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
52173         (__lxstat): Do not use CHECK_1.
52174         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
52175         <bp-checks.h>.
52176         (___lxstat64): Do not use CHECK_1.
52177         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
52178         (__old_msgctl): Do not use CHECK_1.
52179         (__new_msgctl): Likewise.
52180         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
52181         <bp-checks.h>.
52182         (__gettimeofday): Do not use CHECK_1.
52183         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
52184         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
52185         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
52186         <bp-checks.h>.
52187         (__gettimeofday): Do not use CHECK_1.
52188         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
52189         (__old_shmctl): Do not use CHECK_1_NULL_OK.
52190         (__new_shmctl): Do not use CHECK_1.
52191         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
52192         <bp-checks.h>.
52193         (do_sigtimedwait): Do not use CHECK_1.
52194         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
52195         <bp-checks.h>.
52196         (do_sigwaitinfo): Do not use CHECK_1.
52197         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
52198         <bp-checks.h>.
52199         (msgctl): Do not use CHECK_1.
52200         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
52201         <bp-checks.h>.
52202         (shmctl): Do not use CHECK_1.
52203         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
52204         (ustat): Do not use CHECK_1.
52205         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
52206         <bp-checks.h>.
52207         (__fxstat): Do not use CHECK_1.
52208         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
52209         <bp-checks.h>.
52210         (__fxstatat): Do not use CHECK_1.
52211         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
52212         <bp-checks.h>.
52213         (__lxstat): Do not use CHECK_1.
52214         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
52215         <bp-checks.h>.
52216         (__xstat): Do not use CHECK_1.
52217         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
52218         (__xstat): Do not use CHECK_1.
52219         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
52220         (___xstat64): Do not use CHECK_1.
52222         [BZ #13550]
52223         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
52224         definitions.
52225         (CHECK_BOUNDS_HIGH): Likewise.
52226         * string/strcpy.c: Do not include <bp-checks.h>.
52227         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
52229 2013-02-07  Roland McGrath  <roland@hack.frob.com>
52231         * nscd/nscd-client.h (__nscd_drop_map_ref):
52232         Add __attribute__ ((unused)).
52233         * nis/nss-nisplus.h (niserr2nss): Likewise.
52235         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
52236         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
52238         * csu/libc-tls.c (init_static_tls, init_slotinfo):
52239         Remove inline keyword.
52240         * include/rounding-mode.h (round_away): Likewise.
52241         * libio/wfileops.c (adjust_wide_data): Likewise.
52242         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
52243         (__m128i_strloadu_tolower): Likewise.
52244         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
52245         (__m128i_strloadu_tolower): Likewise.
52246         * time/mktime.c (ydhms_diff): Likewise.
52247         * locale/elem-hash.h (elem_hash): Likewise.
52248         * locale/setlocale.c (setdata): Likewise.
52249         * posix/regex_internal.h (re_string_char_size_at): Likewise.
52250         (re_string_wchar_at): Likewise.
52251         (bitset_not, bitset_merge, bitset_mask): Likewise.
52252         [!(__GNUC__ > 3)] (inline): Remove macro.
52253         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
52254         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
52255         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
52256         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
52257         * string/memcmp.c (memcmp_bytes): Likewise.
52258         * locale/programs/locarchive.c (compute_hashval): Likewise.
52259         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
52260         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
52261         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
52262         * nss/getent.c (print_rpc, print_protocols): Likewise.
52263         (print_passwd, print_group, print_aliases): Likewise.
52264         * nis/nss-nisplus.h (niserr2nss): Likewise.
52265         * nscd/connections.c (restart_p): Likewise.
52266         Change return type to bool.
52268 2013-02-05  Roland McGrath  <roland@hack.frob.com>
52270         * Makeconfig (all-Depend-files): Add existing
52271         $(sorted-subdirs:=/Depend) files.
52272         (all-subdirs): Remove nss.
52273         * sysdeps/unix/inet/Subdirs: Add it here instead.
52274         * hesiod/Depend: New file.
52276         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
52277         instead of calling alloca.
52279         * io/lseek.c (__lseek): Rename to __libc_lseek.
52280         Define __lseek as an alias.
52282         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
52284 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
52286         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
52287         else clause and remove check for non-standard endianness.
52289 2013-02-04  David S. Miller  <davem@davemloft.net>
52291         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52293 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
52295         [BZ #13550]
52296         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
52297         (__ubp_memchr): Remove prototype.
52298         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
52299         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52300         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
52301         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52302         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
52303         Remove alias.
52304         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
52305         (__ubp_memchr): Likewise.
52306         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
52307         (__ubp_memchr): Likewise.
52308         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
52309         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
52310         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
52311         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
52312         CHECK_STRING.
52313         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52314         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
52315         (__getcwd): Do not use CHECK_STRING.
52316         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
52317         <bp-checks.h>.
52318         (__real_chown): Do not use CHECK_STRING.
52319         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
52320         <bp-checks.h>.
52321         (fchownat): Do not use CHECK_STRING.
52322         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
52323         CHECK_STRING.
52324         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
52325         <bp-checks.h>.
52326         (__lchown): Do not use CHECK_STRING.
52327         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52328         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52329         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52330         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
52331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
52332         include <bp-checks.h>.
52333         (truncate64): Do not use CHECK_STRING.
52334         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
52335         <bp-checks.h>.
52336         (__real_chown): Do not use CHECK_STRING.
52337         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
52338         <bp-checks.h>.
52339         (__lchown): Do not use CHECK_STRING.
52340         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
52341         <bp-checks.h>.
52342         (__chown): Do not use CHECK_STRING.
52343         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
52344         <bp-checks.h>.
52345         (truncate64): Do not use CHECK_STRING.
52346         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
52347         Likewise.
52348         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
52349         (__xmknod): Do not use CHECK_STRING.
52350         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
52351         <bp-checks.h>.
52352         (__xmknodat): Do not use CHECK_STRING.
52353         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52354         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
52356 2013-02-04  Andreas Schwab  <schwab@suse.de>
52358         [BZ #14142]
52359         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
52360         * include/netdb.h: Likewise for h_errno.
52361         * elf/tst-stackguard1.c: Include <tls.h>.
52363 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
52365         * elf/link.h (struct link_map): Extend the l_addr comment.
52366         * include/link.h (struct link_map): Likewise.
52368 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
52370         [BZ #13550]
52371         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
52372         (BOUNDED_1): Remove macro.
52373         * debug/backtrace.c: Don't include <bp-checks.h>.
52374         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
52375         (__backtrace): Likewise.
52376         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
52377         <bp-checks.h>.
52378         (__backtrace): Don't use BOUNDED_1.
52379         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
52380         <bp-checks.h>.
52381         (__backtrace): Don't use BOUNDED_1.
52382         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
52383         (__backtrace): Don't use BOUNDED_1.
52384         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
52385         (shmat): Don't use BOUNDED_N.
52387 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
52389         [BZ #13550]
52390         * sysdeps/generic/bp-start.h: Remove file.
52391         * csu/libc-start.c: Don't include <bp-start.h>.
52392         (LIBC_START_MAIN): Set up __environ directly instead of using
52393         INIT_ARGV_and_ENVIRON.
52394         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
52395         <bp-start.h>.
52397         [BZ #13550]
52398         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
52399         definitions.
52400         (CHECK_FCNTL): Likewise.
52401         (CHECK_N_PAGES): Likewise.
52403         [BZ #13550]
52404         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
52405         definitions.
52406         (CHECK_SIGSET_NULL_OK): Likewise.
52407         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
52408         <bp-checks.h>.
52409         (sigpending): Don't use CHECK_SIGSET.
52410         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
52411         <bp-checks.h>.
52412         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52413         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
52414         <bp-checks.h>.
52415         (do_sigsuspend): Don't use CHECK_SIGSET.
52416         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
52417         use CHECK_SIGSET.
52418         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
52419         (do_sigwait): Don't use CHECK_SIGSET.
52420         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
52421         use CHECK_SIGSET.
52422         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
52423         include <bp-checks.h>.
52424         (sigpending): Don't use CHECK_SIGSET.
52425         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
52426         include <bp-checks.h>.
52427         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52428         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
52429         <bp-checks.h>.
52430         (sigpending): Don't use CHECK_SIGSET.
52431         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
52432         <bp-checks.h>.
52433         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52435         [BZ #13550]
52436         * sysdeps/generic/bp-semctl.h: Remove file.
52437         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
52438         <bp-checks.h> and <bp-semctl.h>.
52439         (__old_semctl): Don't use CHECK_SEMCTL.
52440         (__new_semctl): Likewise.
52441         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
52442         and <bp-semctl.h>.
52443         (__old_semctl): Don't use CHECK_SEMCTL.
52444         (__new_semctl): Likewise.
52445         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
52446         <bp-checks.h> and <bp-semctl.h>.
52447         (__old_semctl): Don't use CHECK_SEMCTL.
52448         (__new_semctl): Likewise.
52449         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
52450         <bp-checks.h> and <bp-semctl.h>.
52451         (semctl): Don't use CHECK_SEMCTL.
52453         [BZ #13550]
52454         * Makerules (elide-bp-thunks): Remove variable.
52455         (elide-routines.oS): Don't use $(elide-bp-thunks).
52456         (elide-routines.os): Likewise.
52457         (elide-routines.o): Likewise.
52458         (elide-routines.op): Likewise.
52459         (elide-routines.og): Likewise.
52460         (objects): Don't use $(bp-thunks).
52461         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
52462         include.
52463         (common-generated): Do not add s-proto-bp.d.
52464         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
52465         (int): Likewise.
52466         (typ): Likewise.
52467         Do not generate makefile rules for bounded-pointer thunks.
52468         * sysdeps/generic/bp-thunks.h: Remove file.
52469         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
52470         * sysdeps/unix/s-proto-bp.S: Likewise.
52472         [BZ #15062]
52473         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
52474         parts of result separately when argument is not close to line from
52475         -i to i and one part of argument is small.
52476         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52477         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52478         * math/libm-test.inc (cacos_test): Add more tests.
52479         (casin_test): Likewise.
52480         (casinh_test): Likewise.
52481         * sysdeps/i386/fpu/libm-test-ulps: Update.
52482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52484 2013-01-31  David S. Miller  <davem@davemloft.net>
52486         * po/de.po: Update from translation team.
52488 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
52490         * time/tzfile.c: Include stdint.h for SIZE_MAX.
52492 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
52494         * configure.in (_AC_PROG_CC_C89): New definition.
52495         * configure: Regenerate.
52497         * configure.in (AC_PROG_CPP): New definition.
52498         * configure: Regenerate.
52500 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52502         * debug/tst-backtrace.h: New file.
52503         * debug/tst-backtrace2.c: Include tst-backtrace.h.
52504         (ret): Remove variable.
52505         (x): Likewise.
52506         (FAIL): Remove macro.
52507         (NO_INLINE): Likewise.
52508         (fn1): Use match function instead of strstr.
52509         * debug/tst-backtrace3.c: Include tst-backtrace.h.
52510         (ret): Remove variable.
52511         (x): Likewise.
52512         (FAIL): Remove macro.
52513         (NO_INLINE): Likewise.
52514         (fn): Use match function instead of strstr.
52515         * debug/tst-backtrace4.c: Include tst-backtrace.h.
52516         (ret): Remove variable.
52517         (x): Likewise.
52518         (FAIL): Remove macro.
52519         (NO_INLINE): Likewise.
52520         (handle_signal): Use match function instead of strstr.
52521         * debug/tst-backtrace5.c: Include tst-backtrace.h.
52522         (ret): Remove variable.
52523         (x): Likewise.
52524         (FAIL): Remove macro.
52525         (NO_INLINE): Likewise.
52526         (handle_signal): Use match function instead of strstr.
52528 2013-01-23  Roland McGrath  <roland@hack.frob.com>
52530         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
52532 2013-01-23  David S. Miller  <davem@davemloft.net>
52534         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
52535         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
52536         argument of CAS if possible.
52537         * sysdeps/sparc/sparc64/bits/atomic.h
52538         (__arch_compare_and_exchange_val_32_acq): Likewise.
52539         (__arch_compare_and_exchange_val_64_acq): Likewise.
52541 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
52543         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
52544         * sysdeps/posix/ulimit.c: ... this.
52545         Include <limits.h>.
52546         * sysdeps/unix/bsd/ulimit.c: Remove file.
52548 2013-01-23  Adam Conrad  <adconrad@0c3.net>
52550         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
52551         (LDFLAGS-tst-array5): Likewise.
52553 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52555         [BZ #15036]
52556         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
52557         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
52558         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
52559         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
52561 2013-01-21  David S. Miller  <davem@davemloft.net>
52563         * sysdeps/sparc/backtrace.c: New file.
52564         * sysdeps/sparc/sparc32/backtrace.h: New file.
52565         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
52566         * sysdeps/sparc/sparc64/backtrace.h: New file.
52567         * sysdeps/sparc/sparc64/backtrace.c: Delete.
52568         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
52569         -funwind-tables.
52571 2013-01-21  Andreas Schwab  <schwab@suse.de>
52573         [BZ #15020]
52574         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
52575         closed its stdout.
52577 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
52579         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
52580         "mpa2.h".
52581         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52583 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
52584             Mark Mitchell  <mark@codesourcery.com>
52585             Tom de Vries  <tom@codesourcery.com>
52586             Paul Pluzhnikov  <ppluzhnikov@google.com>
52588         * debug/tst-backtrace2.c: New file.
52589         * debug/tst-backtrace3.c: Likewise.
52590         * debug/tst-backtrace4.c: Likewise.
52591         * debug/tst-backtrace5.c: Likewise.
52592         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
52593         (CFLAGS-tst-backtrace3.c): Likewise.
52594         (CFLAGS-tst-backtrace4.c): Likewise.
52595         (CFLAGS-tst-backtrace5.c): Likewise.
52596         (LDFLAGS-tst-backtrace2): Likewise.
52597         (LDFLAGS-tst-backtrace3): Likewise.
52598         (LDFLAGS-tst-backtrace4): Likewise.
52599         (LDFLAGS-tst-backtrace5): Likewise.
52600         (tests): Add new tests tst-backtrace2, tst-backtrace3,
52601         tst-backtrace4 and tst-backtrace5.
52603 2013-01-18  Anton Blanchard  <anton@samba.org>
52604             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52606         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
52607         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
52608         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
52609         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
52610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52611         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
52612         "+r" and remove output regs list as redundant.  Add explicit inline
52613         asm to specify register of return val to work around compiler codegen
52614         bug.  Remove (int) cast on return value.  Add return type parameter to
52615         use in macro so that this macro does not truncate return value for
52616         64-bit values.
52617         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
52618         pass to INTERNAL_VSYSCALL_NCS.
52619         (INLINE_VSYSCALL): Add 'long int' as return type to
52620         INTERNAL_VSYSCALL_NCS macro invocation.
52621         (INTERNAL_VSYSCALL): Add 'long int' as return type to
52622         INTERNAL_VSYSCALL_NCS macro invocation.
52623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52625 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52627         [BZ #14496]
52628         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
52629         Fix application of SIMD FP exception mask.
52631         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
52632         mp_no from a power of two.
52633         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
52634         __mpexp_twomm1.  Use __pow_mp.
52636         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
52637         multiplication.
52639 2013-01-17  David S. Miller  <davem@davemloft.net>
52641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52643 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52645         [BZ #15023]
52646         * include/complex.h: Condition contents on [!_COMPLEX_H].
52647         (__kernel_casinhf): New prototype.
52648         (__kernel_casinh): Likewise.
52649         (__kernel_casinhl): Likewise.
52650         * math/Makefile (libm_calls): Add k_casinh.
52651         * math/k_casinh.c: New file.
52652         * math/k_casinhf.c: Likewise.
52653         * math/k_casinhl.c: Likewise.
52654         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
52655         finite nonzero arguments.
52656         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
52657         finite nonzero arguments.
52658         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
52659         finite nonzero arguments.
52660         * math/s_casinh.c: Do not include <float.h>.
52661         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
52662         * math/s_casinhf.c: Do not include <float.h>.
52663         (__casinhf): Move code for finite nonzero arguments to
52664         k_casinhf.c.
52665         * math/s_casinhl.c: Do not include <float.h>.
52666         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
52667         redefine.
52668         (__casinhl): Move code for finite nonzero arguments to
52669         k_casinhl.c.
52670         * math/libm-test.inc (cacos_test): Add more tests.
52671         * sysdeps/i386/fpu/libm-test-ulps: Update.
52672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52674 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
52676         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
52677         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
52678         [!HAVE_MREMAP]: Remove [defined linux] case.
52679         * malloc/arena.c: Do not include <malloc-sysdep.h>.
52681 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52683         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
52685 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
52687         * elf/elf.h (R_386_SIZE32): New relocation.
52688         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
52689         R_386_SIZE32.
52690         (elf_machine_rela): Likewise.
52691         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52692         R_X86_64_SIZE64 and R_X86_64_SIZE32.
52694 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52696         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
52697         (FP_FAST_FMA): Do not define.
52698         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
52699         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
52700         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
52701         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
52702         !_SOFT_FLOAT]: Likewise.
52703         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
52704         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
52705         value.
52706         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
52707         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
52708         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
52709         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
52710         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
52711         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
52712         file.
52714 2013-01-16  Andreas Schwab  <schwab@suse.de>
52716         [BZ #14327]
52717         * include/stdlib.h (__mktemp): Add declaration.
52718         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
52719         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
52721 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52723         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
52724         definitions.
52725         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52726         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
52727         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
52728         definitions here.
52729         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
52730         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
52731         definitions.
52732         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
52733         and ONE.
52734         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
52735         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
52736         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
52737         definitions.
52738         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
52739         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
52740         definitions.
52741         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52743         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
52745 2013-01-15  David S. Miller  <davem@davemloft.net>
52747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52748         trunc{,f} to libm-sysdep_routes.
52749         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
52751         file.
52752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
52753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
52754         file.
52755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
52756         file.
52757         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
52758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
52759         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
52760         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
52761         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
52762         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
52763         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
52764         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
52766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52767         nearbyint{,f} to libm-sysdep_routes.
52768         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
52770         New file.
52771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
52772         file.
52773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
52774         New file.
52775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
52776         file.
52777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
52778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
52779         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
52780         file.
52781         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
52782         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
52783         file.
52784         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
52785         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
52786         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
52788         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
52789         libc_feholdexcept and libc_fesetenv.
52791 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
52793         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
52795 2013-01-14  David S. Miller  <davem@davemloft.net>
52797         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
52798         (SPARC_ASM_VIS2_IFUNC): Likewise.
52799         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
52800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
52801         use of 'siam' instruction.
52802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
52803         Likewise.
52804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
52805         Likewise.
52806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
52807         Likewise.
52808         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
52809         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
52810         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
52811         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
52812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
52813         file.
52814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
52815         file.
52816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
52817         file.
52818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
52819         file.
52820         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
52821         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
52822         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
52823         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
52824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
52825         new VIS2 routines.
52826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52829         Likewise.
52830         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52831         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52832         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52833         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
52835         routines to libm-sysdep_routines.
52836         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52839         fdim/fdimf to libm-sysdep_routines.
52840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
52841         file.
52842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
52843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
52844         file.
52845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
52846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
52847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
52848         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
52849         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
52850         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
52851         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
52853 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52855         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
52856         to optimize copies.
52858         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
52859         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52860         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52862         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
52863         local variable MPTWO.
52864         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52865         Likewise.
52867 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52869         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
52870         GLOB_NOESCAPE.
52872 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52874         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
52876 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52878         * manual/pattern.texi (glob_t): Document gl_flags.
52879         (glob64_t): Likewise.
52881 2013-01-11  David S. Miller  <davem@davemloft.net>
52883         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
52884         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
52885         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
52886         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
52887         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
52888         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
52889         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
52890         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
52891         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
52892         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
52893         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
52894         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
52895         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
52897         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52898         sparc V9 rather than using V8 code.
52899         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52900         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52902         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52903         Move to...
52904         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
52905         Here.
52907 2013-01-11  Roland McGrath  <roland@hack.frob.com>
52909         [BZ #14941]
52910         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
52911         not in the main loop.
52912         * configure: Regenerated.
52914 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
52916         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
52917         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
52918         to just #else.
52919         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
52920         [!__GLIBC_HAVE_LONG_LONG] case.
52921         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
52922         condition to just #else.
52923         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
52924         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
52925         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
52926         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
52927         unconditional.
52928         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
52929         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52930         #elif condition to just #else.
52931         * sysdeps/unix/sysv/linux/sys/sysmacros.h
52932         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
52933         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52934         #elif condition to just #else.
52936 2013-01-11  Steve Ellcey  <sellcey@mips.com>
52938         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
52939         (EF_MIPS_ARCH_64): Fix value.
52940         (EF_MIPS_ARCH_32R2): New.
52941         (EF_MIPS_ARCH_64R2): New.
52943 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
52945         * Makeconfig (+link-pie-before-libc): New.
52946         (+link-pie-after-libc): Likewise.
52947         (+link-pie-tests): Likewise.
52948         (+link-pie): Rewritten.
52949         (link-before-libc): Remove $(config-LDFLAGS).
52950         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
52951         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
52952         (config-LDFLAGS): Renamed to ...
52953         (rtld-LDFLAGS): This.
52954         (rtld-tests-LDFLAGS): New macro.
52955         (link-libc-rpath-link): Likewise.
52956         (link-libc-tests-rpath-link): Likewise.
52957         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
52958         (link-libc): Prepand $(link-libc-rpath-link).
52959         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
52960         (test-program-prefix): New macro.
52961         (test-via-rtld-prefix): Likewise.
52962         (test-program-cmd): Likewise.
52963         (host-test-program-cmd): Likewise.
52964         * Makefile ($(common-objpfx)testrun.sh): Replace
52965         $(run-program-prefix) with $(test-program-prefix).
52966         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
52967         $(rtld-LDFLAGS).
52968         ($(common-objpfx)shlib.lds): Likewise.
52969         (build-module-helper): Likewise.
52970         ($(common-objpfx)format.lds): Likewise.
52971         * Rules (binaries-pie-tests): New.
52972         (binaries-pie-notests): Likewise.
52973         (binaries-pie): Rewritten.
52974         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
52975         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
52976         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
52977         (make-test-out): Replace $(host-built-program-cmd) with
52978         $(host-test-program-cmd).
52979         * config.make.in (build-hardcoded-path-in-tests): New variable.
52980         * configure.in (--enable-hardcoded-path-in-tests): New configure
52981         option.
52982         (hardcoded_path_in_tests): New AC_SUBST.
52983         * configure: Regenerated.
52984         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
52985         $(built-program-cmd) with $(test-program-cmd).
52986         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
52987         (test_program_cmd): This.
52988         * elf/Makefile ($(objpfx)order.out): Run test with
52989         $(test-program-prefix).
52990         ($(objpfx)order2.out): Likewise.
52991         ($(objpfx)tst-initorder.out): Likewise.
52992         ($(objpfx)tst-initorder2.out): Likewise.
52993         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
52994         $(test-program-cmd).
52995         ($(objpfx)tst-array1-static.out): Likewise.
52996         ($(objpfx)tst-array2.out): Likewise.
52997         ($(objpfx)tst-array3.out): Likewise.
52998         ($(objpfx)tst-array4.out): Likewise.
52999         ($(objpfx)tst-array5.out): Likewise.
53000         ($(objpfx)tst-array5-static.out): Likewise.
53001         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
53002         $(test-program-cmd).
53003         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
53004         $(run-program-prefix) with $(test-program-prefix).
53005         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
53006         (test_program_prefix): This.
53007         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
53008         $(run-program-prefix) with $(test-program-prefix).
53009         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
53010         (test_program_prefix): This.
53011         * iconvdata/tst-tables.sh: Likewise.
53012         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
53013         $(run-program-prefix) with $(test-program-prefix).
53014         ($(objpfx)tst-translit.out): Likewise.
53015         ($(objpfx)tst-gettext2.out): Likewise.
53016         ($(objpfx)tst-gettext4.out): Likewise.
53017         ($(objpfx)tst-gettext6.out): Likewise.
53018         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
53019         (test_program_prefix): This.
53020         * intl/tst-gettext2.sh: Likewise.
53021         * intl/tst-gettext4.sh  Likewise.
53022         * intl/tst-gettext6.sh: Likewise.
53023         * intl/tst-translit.sh: Likewise.
53024         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
53025         with $(test-program-cmd).
53026         * libio/Makefile ($(objpfx)test-freopen.out): Replace
53027         $(run-program-prefix) with $(test-program-prefix).
53028         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
53029         (test_program_prefix): This.
53030         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
53031         $(run-program-prefix) with $(test-program-prefix).
53032         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
53033         (test_program_prefix): This.
53034         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
53035         * posix/Makefile ($(objpfx)globtest.out): Replace
53036         $(run-via-rtld-prefix) and $(test-wrapper) with
53037         $(test-program-prefix) and $(test-via-rtld-prefix).
53038         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
53039         $(test-program-prefix).
53040         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
53041         $(host-test-program-cmd).
53042         (tst-spawn-ARGS): Likewise.
53043         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
53044         $(test-program-prefix).
53045         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
53046         (test_via_rtld_prefix): This.
53047         (test_wrapper): Renamed to ...
53048         (test_program_prefix): This.
53049         (run_program_prefix): Replaced by test_program_prefix.
53050         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
53051         (test_program_prefix): This.
53052         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
53053         with $(host-test-program-cmd).
53054         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
53055         $(run-program-prefix) with $(test-program-prefix).
53056         ($(objpfx)tst-printf.out): Likewise.
53057         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
53058         $(test-program-cmd).
53059         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
53060         (test_program_prefix): This.
53061         * stdio-common/tst-unbputc.sh: Likewise.
53062         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
53063         $(run-program-prefix) with $(test-program-prefix).
53064         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
53065         (test_program_prefix): This.
53066         * string/Makefile ($(objpfx)tst-svc.out):  Replace
53067         $(built-program-cmd) with $(test-program-cmd).
53069 2013-01-11  Andreas Jaeger  <aj@suse.de>
53071         [BZ #15003]
53072         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
53073         value. Sync with Linux 3.7.
53075 2013-01-10  David S. Miller  <davem@davemloft.net>
53077         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
53078         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53079         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53081 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53083         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
53084         never set.
53085         * configure: Regenerated.
53087 2013-01-10  David S. Miller  <davem@davemloft.net>
53089         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53090         sparc V9 rather than using V8 code.
53091         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53092         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53094 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53096         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
53097         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
53098         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
53099         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
53100         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
53101         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
53102         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
53103         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
53104         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
53105         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
53106         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
53107         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
53108         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
53109         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
53110         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
53111         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
53112         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
53113         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
53114         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
53115         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
53116         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
53117         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
53118         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
53119         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
53120         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
53121         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
53122         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
53124 2013-01-10  David S. Miller  <davem@davemloft.net>
53126         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53128 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53130         * posix/Makefile (tests-static): New variable.
53131         (tests): Add $(tests-static).
53132         (tst-exec-static-ARGS): New variable.
53133         (tst-spawn-static-ARGS): Likewise.
53134         * posix/tst-exec-static.c: New file.
53135         * posix/tst-spawn-static.c: Likewise.
53136         * posix/tst-exec.c: Support run directly.
53137         * posix/tst-spawn.c: Likewise.
53139 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
53141         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
53142         long.
53143         * math/bits/mathcalls.h (llrint): Likewise.
53144         (llround): Likewise.
53145         * stdlib/stdlib.h (struct drand48_data): Likewise.
53146         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
53147         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
53148         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
53149         Likewise.
53150         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
53151         Likewise.
53152         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
53153         (elf_greg_t): Likewise.
53154         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
53155         (__jmp_buf): Likewise.
53156         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
53157         definitions.
53158         (llrint): Likewise, for all definitions.
53159         (llrintl): Likewise.
53161         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
53162         Remove [__GNUC__] condition.
53163         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
53164         condition to just [__USE_ISOC99].
53165         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
53167 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53169         [BZ #14200]
53170         * sysdeps/unix/sysv/linux/x86/bits/environments.h
53171         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
53172         defined.
53173         (_POSIX_V6_ILP32_OFF32): Likewise.
53174         (_XBS5_ILP32_OFF32): Likewise.
53175         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
53176         (__ILP32_OFFBIG_LDFLAGS): Likewise.
53178 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53180         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
53182         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
53183         doubles __mpexp_twomm1.  Adjust usage.
53184         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
53185         Remove.
53187 2013-01-10  Andreas Schwab  <schwab@suse.de>
53189         [BZ #14964]
53190         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
53191         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
53193 2013-01-09  David S. Miller  <davem@davemloft.net>
53195         [BZ #15003]
53196         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
53197         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
53198         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
53199         (TCP_FASTOPEN): Define.
53200         (tcp_repair_opt): New structure.
53201         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
53202         enum values.
53203         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
53204         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
53205         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
53206         (tcp_cookie_transactions): New structure.
53208 2013-01-09  Anton Blanchard  <anton@samba.org>
53210         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
53211         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
53212         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
53213         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
53215 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
53217         * include/features.h (__USE_ANSI): Remove.
53219 2013-01-09  Roland McGrath  <roland@hack.frob.com>
53221         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
53223         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
53225 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
53227         * sysdeps/s390/fpu/libm-test-ulps: Update.
53229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53231         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
53232         (__acr): Likewise.
53233         (__cpy): Likewise.
53234         (norm): Likewise.
53235         (denorm): Likewise.
53236         (__mp_dbl): Likewise.
53237         (__dbl_mp): Likewise.
53238         (add_magnitudes): Likewise.
53239         (sub_magnitudes): Likewise.
53240         (__add): Likewise.
53241         (__sub): Likewise.
53242         (__mul): Likewise.
53243         (__inv): Likewise.
53244         (__dvd): Likewise.
53245         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
53246         (__acr): Likewise.
53247         (__cpy): Likewise.
53248         (norm): Likewise.
53249         (denorm): Likewise.
53250         (__mp_dbl): Likewise.
53251         (__dbl_mp): Likewise.
53252         (add_magnitudes): Likewise.
53253         (sub_magnitudes): Likewise.
53254         (__add): Likewise.
53255         (__sub): Likewise.
53256         (__mul): Likewise.
53257         (__inv): Likewise.
53258         (__dvd): Likewise.
53259         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
53260         (__acr): Likewise.
53261         (__cpy): Likewise.
53262         (norm): Likewise.
53263         (denorm): Likewise.
53264         (__mp_dbl): Likewise.
53265         (__dbl_mp): Likewise.
53266         (add_magnitudes): Likewise.
53267         (sub_magnitudes): Likewise.
53268         (__add): Likewise.
53269         (__sub): Likewise.
53270         (__mul): Likewise.
53271         (__inv): Likewise.
53272         (__dvd): Likewise.
53274 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
53276         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
53277         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
53278         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
53279         2 && __USE_EXTERN_INLINES]: Likewise.
53281 2013-01-08  Andreas Jaeger  <aj@suse.de>
53283         [BZ# 14985]
53284         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
53285         Remove.
53286         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53287         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53289 2013-01-07  Anton Blanchard  <anton@samba.org>
53291         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
53292         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
53293         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
53294         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
53295         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53296         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53297         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
53298         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53299         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53300         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53301         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53302         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53303         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53304         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53305         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
53306         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53307         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53308         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53309         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
53310         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53311         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
53312         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
53313         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53314         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
53315         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
53316         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53317         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53318         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
53319         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
53320         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53321         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53322         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53323         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53324         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53325         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53326         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53327         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53328         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53329         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
53330         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
53331         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
53332         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53333         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53335 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
53337         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
53338         (__MALLOC_PMT): Likewise.
53339         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
53340         [__GNUC__], only on [_LIBC].
53341         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53342         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
53343         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53344         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
53345         forward declaration.
53346         (realloc_hook_ini): Likewise.
53347         (memalign_hook_ini): Likewise.
53348         (__libc_memalign): Do not use __MALLOC_PMT in variable
53349         declaration.
53350         (__libc_valloc): Likewise.
53351         (__libc_pvalloc): Likewise.
53352         (__libc_calloc): Likewise.
53353         (__posix_memalign): Likewise.
53355         [BZ #14996]
53356         * math/s_casinh.c: Include <float.h>.
53357         (__casinh): Do not do computation with squaring and square root
53358         for large arguments.
53359         * math/s_casinhf.c: Include <float.h>.
53360         (__casinhf): Do not do computation with squaring and square root
53361         for large arguments.
53362         * math/s_casinhl.c: Include <float.h>.
53363         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
53364         (__casinhl): Do not do computation with squaring and square root
53365         for large arguments.
53366         * math/libm-test.inc (casin_test): Add more tests.
53367         (casinh_test): Likewise.
53368         * sysdeps/i386/fpu/libm-test-ulps: Update.
53369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53371 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
53373         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
53374         (__x86_64_raw_data_cache_size): Likewise.
53375         (__x86_64_data_cache_size_half): Likewise.
53376         (__x86_64_raw_data_cache_size_half): Likewise.
53377         (__x86_64_shared_cache_size): Likewise.
53378         (__x86_64_raw_shared_cache_size): Likewise.
53379         (__x86_64_shared_cache_size_half): Likewise.
53380         (__x86_64_raw_shared_cache_size_half): Likewise.
53381         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
53382         to ...
53383         (__x86_data_cache_size): This.
53384         (__x86_64_raw_data_cache_size): Renamed to ...
53385         (__x86_raw_data_cache_size): This.
53386         (__x86_64_data_cache_size_half): Renamed to ...
53387         (__x86_data_cache_size_half): This.
53388         (__x86_64_raw_data_cache_size_half): Renamed to ...
53389         (__x86_raw_data_cache_size_half): This.
53390         (__x86_64_shared_cache_size): Renamed to ...
53391         (__x86_shared_cache_size): This.
53392         (__x86_64_raw_shared_cache_size): Renamed to ...
53393         (__x86_raw_shared_cache_size): This.
53394         (__x86_64_shared_cache_size_half): Renamed to ...
53395         (__x86_shared_cache_size_half): This.
53396         (__x86_64_raw_shared_cache_size_half): Renamed to ...
53397         (__x86_raw_shared_cache_size_half): This.
53398         * sysdeps/x86_64/memcpy.S: Updated.
53399         * sysdeps/x86_64/memset.S: Likewise.
53400         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53401         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53402         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53404 2013-01-04  David S. Miller  <davem@davemloft.net>
53406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53408 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
53410         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
53411         1 to avoid redefinition warning.
53412         (__USE_GNU): Don't define.
53413         (init_signaling_nan): Protoize.
53415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53417 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53419         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
53420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
53421         (__cpymn): Likewise.
53422         (norm): Remove commented code.
53423         (denorm): Likewise.
53424         (__mp_dbl): Likewise.
53425         (__inv): Likewise.
53426         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
53427         (__cpymn): Likewise.
53428         (norm): Remove commented code.
53429         (denorm): Likewise.
53430         (__mp_dbl): Likewise.
53431         (__inv): Likewise.
53433         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
53434         mp_no value for 1.0 and 2.0.
53435         (norm): Use RADIXI instead of radixi.d.
53436         (denorm): Likewise.
53437         (__mul): Use 0.0 instead of zero.d.
53438         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
53439         mp_no value for 1.0 and 2.0.
53440         (norm): Use RADIXI instead of radixi.d.
53441         (denorm): Likewise.
53442         (__mul): Use 0.0 instead of zero.d.
53444 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
53446         [BZ #14994]
53447         * math/s_casinh.c (__casinh): Reduce finite argument to first
53448         quadrant then set signs of results at the end.
53449         * math/s_casinhf.c (__casinhf): Likewise.
53450         * math/s_casinhl.c (__casinhl): Likewise.
53451         * math/libm-test.inc (casin_test): Add more tests.
53452         (casinh_test): Likewise.
53453         * sysdeps/i386/fpu/libm-test-ulps: Update.
53454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53456 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53458         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
53460         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
53462         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
53463         declarations.
53464         (denorm): Likewise.
53465         (__mp_dbl): Likewise.
53466         (__inv): Likewise.
53468         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
53469         and adjust the header comment.
53471         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
53472         variable name from declaration.
53474 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
53476         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53477         Initialize COMMON_CPUID_INDEX_7 element.
53478         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
53479         (CPUID_RTM): Likewise.
53480         (HAS_RTM): Likewise.
53481         (COMMON_CPUID_INDEX_7): New enum.
53483 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
53485         [BZ #14981]
53486         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
53487         size is zero, record memory as freed.
53489 2013-01-03  Andreas Jaeger  <aj@suse.de>
53491         * po/ia.po: Add new Interlingua translation.
53493 2012-01-03  Allan McRae  <allan@archlinux.org>
53495         * locale/programs/localedef.c: Fix description of '--posix' flag.
53497 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
53499         * NEWS: Update dates in second copyright notice.
53500         * README: Update copyright dates in example.
53501         * manual/libc.texinfo: Update copyright dates.
53502         * scripts/test-installation.pl: Update copyright date in --version
53503         output.
53505         * hurd/ctty-input.c: Fix copyright notice formatting.
53506         * hurd/ctty-output.c: Likewise.
53507         * hurd/dtable.c: Likewise.
53508         * hurd/hurd-raise.c: Likewise.
53509         * hurd/hurdprio.c: Likewise.
53510         * hurd/msgportdemux.c: Likewise.
53511         * misc/sys/file.h: Likewise.
53512         * misc/sys/ioctl.h: Likewise.
53513         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53514         * sysdeps/mach/hurd/chdir.c: Likewise.
53515         * sysdeps/mach/hurd/fchdir.c: Likewise.
53516         * sysdeps/mach/hurd/rename.c: Likewise.
53517         * sysdeps/mach/hurd/rmdir.c: Likewise.
53518         * sysdeps/mach/hurd/seekdir.c: Likewise.
53519         * sysdeps/mach/hurd/setsid.c: Likewise.
53520         * sysdeps/posix/wait3.c: Likewise.
53522         * All files with FSF copyright notices: Update copyright dates
53523         using scripts/update-copyrights.
53524         * intl/plural.c: Regenerated.
53525         * locale/programs/charmap-kw.h: Likewise.
53526         * locale/programs/locfile-kw.h: Likewise.
53528 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53530         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
53531         four values.
53533         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
53534         calculation loop and add branch prediction.
53536         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
53537         check access beyond bounds of m1np.
53539         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53540         MPTWO.
53541         (__inv): Remove local variable MPTWO to use the global
53542         constant.
53543         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
53544         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53545         variable MPTWO.
53546         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
53547         MP3HALFS static const.
53549 2013-01-01  David S. Miller  <davem@davemloft.net>
53551         * po/ca.po: Update from translation team.
53553 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
53555         * scripts/update-copyrights: New file.
53556         * Makeconfig: Reformat copyright notice.
53557         * ctype/ctype.h: Likewise.
53558         * debug/swprintf_chk.c: Likewise.
53559         * elf/dl-cache.c: Likewise.
53560         * elf/dl-debug.c: Likewise.
53561         * elf/dl-object.c: Likewise.
53562         * grp/initgroups.c: Likewise.
53563         * hurd/Makefile: Likewise.
53564         * hurd/hurd/signal.h: Likewise.
53565         * hurd/hurdfault.c: Likewise.
53566         * hurd/hurdioctl.c: Likewise.
53567         * hurd/hurdlookup.c: Likewise.
53568         * hurd/intr-msg.c: Likewise.
53569         * iconv/gconv_open.c: Likewise.
53570         * libio/swprintf.c: Likewise.
53571         * locale/lc-ctype.c: Likewise.
53572         * locale/nl_langinfo.c: Likewise.
53573         * mach/Machrules: Likewise.
53574         * mach/Makefile: Likewise.
53575         * malloc/obstack.h: Likewise.
53576         * manual/Makefile: Likewise.
53577         * manual/tsort.awk: Likewise.
53578         * misc/bits/stab.def: Likewise.
53579         * nis/nis_print_group_entry.c: Likewise.
53580         * nis/nis_table.c: Likewise.
53581         * nis/nss_compat/compat-pwd.c: Likewise.
53582         * nis/nss_compat/compat-spwd.c: Likewise.
53583         * po/Makefile: Likewise.
53584         * posix/fnmatch.c: Likewise.
53585         * posix/regex.h: Likewise.
53586         * resolv/Makefile: Likewise.
53587         * resolv/nss_dns/dns-network.c: Likewise.
53588         * resolv/res_hconf.c: Likewise.
53589         * scripts/gen-sorted.awk: Likewise.
53590         * soft-fp/soft-fp.h: Likewise.
53591         * stdio-common/printf.h: Likewise.
53592         * stdlib/monetary.h: Likewise.
53593         * stdlib/random.c: Likewise.
53594         * stdlib/random_r.c: Likewise.
53595         * sysdeps/generic/Makefile: Likewise.
53596         * sysdeps/gnu/Makefile: Likewise.
53597         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53598         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53599         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53600         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53601         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53602         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53603         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53604         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53605         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53606         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53607         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53608         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53609         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53610         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53611         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
53612         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53613         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53614         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53615         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53616         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53617         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53618         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53619         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53620         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
53621         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
53622         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53623         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
53624         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
53625         * sysdeps/mach/hurd/errnos.awk: Likewise.
53626         * sysdeps/mach/hurd/fork.c: Likewise.
53627         * sysdeps/mach/hurd/getcwd.c: Likewise.
53628         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
53629         * sysdeps/mach/hurd/mmap.c: Likewise.
53630         * sysdeps/mach/hurd/utimes.c: Likewise.
53631         * sysdeps/mach/hurd/xmknod.c: Likewise.
53632         * sysdeps/posix/profil.c: Likewise.
53633         * sysdeps/posix/readdir_r.c: Likewise.
53634         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53635         * sysdeps/powerpc/bits/setjmp.h: Likewise.
53636         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
53637         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53638         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53639         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53640         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53641         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53642         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53643         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53644         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53645         * sysdeps/pthread/lio_listio.c: Likewise.
53646         * sysdeps/sparc/dl-procinfo.h: Likewise.
53647         * sysdeps/unix/i386/sysdep.S: Likewise.
53648         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
53649         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
53650         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
53651         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
53652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53653         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
53654         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
53655         * sysdeps/unix/sysv/linux/speed.c: Likewise.
53656         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
53657         * sysdeps/wordsize-32/divdi3.c: Likewise.
53658         * time/sys/time.h: Likewise.
53659         * wcsmbs/Makefile: Likewise.
53661 2013-01-01  David S. Miller  <davem@davemloft.net>
53663         * po/fr.po: Update from translation team.
53665         * catgets/gencat.c: Update copyright year.
53666         * csu/version.c: Likewise.
53667         * debug/catchsegv.sh: Likewise.
53668         * debug/pcprofiledump.c: Likewise.
53669         * debug/xtrace.sh: Likewise.
53670         * elf/ldconfig.c: Likewise.
53671         * elf/ldd.bash.in: Likewise.
53672         * elf/pldd.c: Likewise.
53673         * elf/sotruss.ksh: Likewise.
53674         * elf/sprof.c: Likewise.
53675         * iconv/iconv_prog.c: Likewise.
53676         * iconv/iconvconfig.c: Likewise.
53677         * locale/programs/locale.c: Likewise.
53678         * locale/programs/localedef.c: Likewise.
53679         * login/programs/pt_chown.c: Likewise.
53680         * malloc/memusage.sh: Likewise.
53681         * malloc/memusagestat.c: Likewise.
53682         * malloc/mtrace.pl: Likewise.
53683         * nscd/nscd.c: Likewise.
53684         * nss/getent.c: Likewise.
53685         * nss/makedb.c: Likewise.
53686         * posix/getconf.c: Likewise.
53688 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53690         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
53691         numbers.
53693 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
53695         * math/bits/mathcalls.h (modf): Use __nonnull.
53697 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53699         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
53700         (split): Use macro CN instead of the bare value.
53701         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
53702         could be used.
53703         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
53704         instead of the bare value.
53705         (power1): Likewise.
53707 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53709         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
53710         __ATAN_TWOM.
53711         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53713         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
53714         their values.
53715         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53716         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53717         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
53718         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53720 2012-12-28  Andreas Jaeger  <aj@suse.de>
53722         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
53723         values are from Linux 3.7.
53725         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
53726         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
53728 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53730         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
53731         TRUE case.
53733         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
53734         (norm): Likewise.
53735         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
53736         variables with preprocessor constants.
53737         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53738         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53739         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53741 2012-12-27  Bruno Haible  <bruno@clisp.org>
53743         [BZ #14317]
53744         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
53745         only if needed.
53747 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53749         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
53750         and use variable directly.
53751         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
53753         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53754         MPONE.
53755         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
53756         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53757         variable MPONE.
53758         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53759         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53760         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
53761         include directive.  Remove local variable MPONE.
53762         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
53763         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
53764         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53766 2012-12-25  David S. Miller  <davem@davemloft.net>
53768         * version.h (RELEASE): Set to "development".
53769         (VERSION): Set to "2.17.90".
53770         * NEWS: Add 2.18 section.
53772 2012-12-21  David S. Miller  <davem@davemloft.net>
53774         * po/hr.po: Update from translation team.
53776 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53778         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
53780 2012-12-19  Steve Ellcey  <sellcey@mips.com>
53782         * NEWS:  Mention new memcpy for MIPS.
53784 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53786         * manual/contrib.texi (Contributors): Spelling correction.
53788 2012-12-15  David S. Miller  <davem@davemloft.net>
53790         * po/ru.po: Update from translation team.
53792 2012-12-13  David S. Miller  <davem@davemloft.net>
53794         * NEWS: Mention IFUNC testsuite enhancements.
53796         * po/pl.po: Update from translation team.
53797         * po/bg.po: Likewise.
53799         * manual/contrib.texi (Contributors): Update entries for Hongjiu
53800         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
53802 2012-12-11  David S. Miller  <davem@davemloft.net>
53804         * po/sv.po: Update from translation team.
53806         * po/vi.po: Update from translation team.
53808         * po/cs.po: Update from translation team.
53810         * po/de.po: Update from translation team.
53811         * po/eo.po: Likewise.
53812         * po/nl.po: Likewise.
53814 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53816         [BZ #14246]
53817         * manual/argp.texi (Argp Helper Functions): Move node to follow
53818         Argp Parsing State.
53820         [BZ #14872]
53821         * manual/conf.texi (Limits on File System Capacity): Mention if
53822         terminating null is included in the max size.
53824 2012-12-10  Andreas Jaeger  <aj@suse.de>
53826         * po/cs.po: Update from translation team.
53828 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53830         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
53831         void pointer and cast to uintptr_t.
53832         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
53833         path.
53834         * sysdeps/s390/s390-64/memcpy.S: Likewise.
53835         * sysdeps/s390/s390-64/memset.S: Likewise.
53837 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
53839         [BZ #14833]
53840         * menual/message.texi (Message Translation): Fix typos.
53841         (Helper programs for gettext): Likewise.
53843 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
53845         [BZ #14898]
53846         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
53847         Change to -1.
53849 2012-12-07  David S. Miller  <davem@davemloft.net>
53851         * po/libc.pot: Update.
53853 2012-12-07  Richard Henderson  <rth@redhat.com>
53855         [BZ #10114]
53856         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
53857         normal/normal case to before the switch.
53858         (_FP_DIV): Likewise.
53860 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
53861             Mike Frysinger  <vapier@gentoo.org>
53863         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
53864         check for __NR_fadvise64_64.
53866 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
53868         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
53869         0, not just to plain "0" as a statement.
53870         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
53871         with cw.
53873 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
53875         * NEWS: Use sourceware.org in Bugzilla URL.
53877 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
53880         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53882         * stdio-common/tst-put-error.c (do_test): Add newline to the
53883         padded test to ensure flush.
53885 2012-12-05  Jeff Law  <law@redhat.com>
53887         * sunrpc/etc.rpc (fedfs_admin): Add entry.
53889 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
53891         * README: Don't refer to ports add-on as distributed separately.
53892         Mention AArch64 in list of systems supported in the ports add-on.
53894         * LICENSES: Add more non-FSF copyright and license notices.
53896         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
53897         ((unused)).
53899         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
53901         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
53902         10000 as width of padded output.
53904 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53906         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
53908         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
53909         variable LX with __attribute__ ((unused)).
53910         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
53911         Likewise.
53912         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
53913         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53914         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
53915         with __attribute__ ((unused)).
53917 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
53919         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
53921 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53923         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
53924         (CFLAGS-nldbl-acos.c): New variable.
53925         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
53926         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
53927         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
53928         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
53929         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
53930         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
53931         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
53932         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
53933         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
53934         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
53935         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
53936         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
53937         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
53938         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
53939         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
53940         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
53941         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
53942         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
53943         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
53944         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
53945         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
53946         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
53947         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
53948         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
53949         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
53950         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
53951         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
53952         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
53953         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
53954         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
53955         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
53956         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
53957         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
53958         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
53959         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
53960         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
53961         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
53962         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
53963         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
53964         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
53965         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
53966         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
53967         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
53968         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
53969         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
53970         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
53971         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
53972         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
53973         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
53974         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
53975         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
53976         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
53977         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
53978         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
53979         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
53980         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
53981         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
53982         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
53983         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
53984         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
53985         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
53986         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
53987         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
53988         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
53989         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
53990         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
53991         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
53992         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
53993         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
53994         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
53995         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
53996         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
53997         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
53998         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
53999         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
54000         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
54001         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
54002         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
54003         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
54004         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
54005         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
54006         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
54007         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
54008         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
54009         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
54010         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
54011         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
54012         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
54013         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
54014         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
54015         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
54016         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
54017         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
54018         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
54019         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
54020         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
54021         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
54023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54024         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54026         [BZ #14914]
54027         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
54028         whole low double instead of just low 47 bits when splitting values
54029         into two parts.
54031 2012-12-03  Allan McRae  <allan@archlinux.org>
54033         * manual/stdio.texi (Predefined Printf Handlers): Remove
54034         @hsep and @vsep usage.
54036 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
54038         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
54039         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
54041 2012-12-03  Jeff Law  <law@redhat.com>
54043         * time/sys/time.h (settimeofday): Do not mark TV argument
54044         as __nonnull.
54046 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
54048         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
54049         when currently writing and seek to current position when not.
54050         * libio/Makefile (tests): Remove bug-fclose1.
54051         * libio/bug-fclose1.c: Delete.
54053 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
54055         * manual/arith.texi (feenableexcept): Fix typo.
54056         (fedisableexcept): Likewise.
54058 2012-11-30  Roland McGrath  <roland@hack.frob.com>
54060         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
54061         second, differently-typed declaration, rather than a cast.
54063 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54065         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
54066         * include/rpc/svc.h: ... here.
54068 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
54070         [BZ #13013]
54071         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
54072         depending n and resplen2 to catch cases where answer
54073         equals answerp2.
54075 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
54077         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
54078         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
54080 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
54082         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
54084 2012-11-29  Roland McGrath  <roland@hack.frob.com>
54086         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
54088 2012-11-28  Jeff Law  <law@redhat.com>
54090         [BZ #13761]
54091         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
54092         dataset_temporary.  Track alloca usage into alloca_used.
54093         If dataset is large allocate and release it via malloc/free.
54095 2012-06-04  Florian Weimer  <fweimer@redhat.com>
54097         [BZ #14197]
54098         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
54100 2012-11-28  David S. Miller  <davem@davemloft.net>
54102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54104 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54106         [BZ #14803]
54107         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
54108         of pi/2 rounded to nearest to 64 bits.
54109         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
54110         nearest to 64 bits.
54111         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
54112         bits.
54114 2012-11-28  Jeff Law <law@redhat.com>
54115             Martin Osvald <mosvald@redhat.com>
54117         [BZ #14889]
54118         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
54119         * sunrpc/svc.c: Include time.h.
54120         (__svc_accept_failed): New function.
54121         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
54122         any reason other than EINTR, call __svc_accept_failed.
54123         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
54124         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
54126 2012-11-28  Andreas Schwab  <schwab@suse.de>
54128         * scripts/abilist.awk: Also handle indirect functions in .opd
54129         section.
54131 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54133         [BZ #13881]
54134         * sysdeps/x86/fpu/powl_helper.c: New file.
54135         * sysdeps/x86/fpu/Makefile: Likewise.
54136         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
54137         (p3): New object.
54138         (__ieee754_powl): Use __powl_helper for finite arguments except
54139         integer exponents below 8.
54140         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
54141         (p3): New object.
54142         (__ieee754_powl): Use __powl_helper for finite arguments except
54143         integer exponents below 8.
54144         * math/libm-test.inc (pow_test): Add more tests and enable some
54145         previously disabled tests.
54146         * sysdeps/i386/fpu/libm-test-ulps: Update.
54147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54149 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54150             Carlos O'Donell  <carlos_odonell@mentor.com>
54152         * nss/makedb.c (is_prime): Assert that input is odd and greater
54153         than 4.  Note that fact in a comment too.
54154         (next_prime): Add 4 to input.
54156 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54158         [BZ #11741]
54159         * libio/Makefile (tests): Add test case tst-fwrite-error.
54160         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
54161         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
54162         * libio/tst-fwrite-error.c: New test case.
54164 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
54166         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
54167         before casting to void *.
54168         * include/libc-internal.h (__pointer_type): New macro.
54169         (__integer_if_pointer_type_sub): Likewise.
54170         (__integer_if_pointer_type): Likewise.
54171         (cast_to_integer): Likewise.
54172         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
54173         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
54174         before casting to atomic64_t.
54175         (atomic_exchange_acq): Likewise.
54176         (__arch_exchange_and_add_body): Likewise.
54177         (__arch_add_body): Likewise.
54178         (atomic_add_negative): Likewise.
54179         (atomic_add_zero): Likewise.
54181 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
54183         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
54184         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
54185         (add_fdes): Likewise.
54186         (linear_search_fdes): Likewise.
54187         (binary_search_unencoded_fdes): Likewise.
54189 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
54191         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
54193 2012-11-24  Adam Conrad  <adconrad@0c3.net>
54195         * configure.in: Autodetect C++ header directories.
54196         * configure: Regenerated.
54198 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
54200         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
54202 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
54204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54206 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
54208         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
54209         LDBL_MANT_DIG == 106]: Disable some tests.
54210         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54211         Likewise.
54212         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54213         Likewise.
54215         [BZ #14871]
54216         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
54217         input for small inputs.  Return +/- pi/2 for large inputs.
54218         * math/libm-test.inc (atan_test): Add more tests.
54220         * sysdeps/generic/unwind-dw2-fde-glibc.c
54221         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
54222         __attribute__ ((unused)).
54224         [BZ #14645]
54225         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
54226         x * y if x and y are nonzero and z is zero.
54228         [BZ #14811]
54229         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
54230         nonzero exponents with absolute value below 0x1p-117 to +/-
54231         0x1p-117.
54233         [BZ #14869]
54234         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
54235         up arguments below 2**-450, not just those below 2**-500.
54236         * math/libm-test.inc (hypot_test): Add another test.
54238         [BZ #14868]
54239         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
54240         Return a+b for ratio over 2**120, not 2**60.
54241         * math/libm-test.inc (hypot_test): Add another test.
54243         * math/libm-test.inc (clog_test): Use
54244         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
54245         (clog10_test): Likewise.
54247         [BZ #6778]
54248         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
54250 2012-11-22  Andreas Schwab  <schwab@suse.de>
54252         * sysdeps/i386/fpu/libm-test-ulps: Update.
54254 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
54256         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
54257         printf output with newline.
54259 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
54261         [BZ #14865]
54262         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
54263         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
54264         -z nodlopen, -z initfirst and -z execstack support.
54265         * configure: Regenerated.
54267         * elf/elf.h (DF_1_NODIRECT): New macro.
54268         (DF_1_IGNMULDEF): Likewise.
54269         (DF_1_NOKSYMS): Likewise.
54270         (DF_1_NOHDR): Likewise.
54271         (DF_1_EDITED): Likewise.
54272         (DF_1_NORELOC): Likewise.
54273         (DF_1_SYMINTPOSE): Likewise.
54274         (DF_1_GLOBAUDIT): Likewise.
54275         (DF_1_SINGLETON): Likewise.
54276         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
54277         DT_1_SUPPORTED_MASK bits.
54278         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
54280 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
54282         * sysdeps/unix/make-syscalls.sh: Document prefixes.
54284 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
54286         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
54287         macro.
54289         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
54290         (sendmmsg): Move declarations...
54291         * socket/sys/socket.h: ... here.
54292         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
54293         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
54294         include it from...
54295         * socket/recvmmsg.c: ... this new file.
54296         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
54297         (sendmmsg): Rename to __sendmmsg, create weak alias and make
54298         definition of __sendmmsg hidden.
54299         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
54300         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
54301         Move ENOSYS stub into and include it from...
54302         * socket/sendmmsg.c: ... this new file.
54303         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
54304         (sysdep_routines): Move recvmmsg and sendmmsg...
54305         * socket/Makefile (routines): ... here.
54306         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
54307         (GLIBC_PRIVATE): Add __sendmmsg.
54308         * include/sys/socket.h (__sendmmsg): Add declarations.
54309         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
54310         sendmmsg.
54312 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
54314         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
54315         variable I1 with __attribute__ ((unused)).
54316         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54318 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54320         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
54321         DUMMY variables with __attribute__ ((unused)).
54323         * bits/byteswap.h: Include <bits/types.h>.
54324         (__bswap_64): Use __uint64_t instead of unsigned long long int.
54326 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54328         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
54329         string_t.  Do not manually set errno.
54330         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
54331         length with __strnlen.  Make sure to both set errno and return it on
54332         failure.
54334 2012-11-19  David S. Miller  <davem@davemloft.net>
54336         With help from Joseph Myers.
54337         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
54338         very large arguments properly.
54339         * math/libm-test.inc (atan_test): New tests.
54340         (atan2_test): New tests.
54341         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54342         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54344 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54346         [BZ #14856]
54347         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
54348         Define to 3.
54350         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
54351         [POSIX] (EADDRNOTAVAIL): Likewise.
54352         [POSIX] (EAFNOSUPPORT): Likewise.
54353         [POSIX] (EALREADY): Likewise.
54354         [POSIX] (ECONNABORTED): Likewise.
54355         [POSIX] (ECONNREFUSED): Likewise.
54356         [POSIX] (ECONNRESET): Likewise.
54357         [POSIX] (EDESTADDRREQ): Likewise.
54358         [POSIX] (EDQUOT): Likewise.
54359         [POSIX] (EHOSTUNREACH): Likewise.
54360         [POSIX] (EIDRM): Likewise.
54361         [POSIX] (EISCONN): Likewise.
54362         [POSIX] (ELOOP): Likewise.
54363         [POSIX] (EMULTIHOP): Likewise.
54364         [POSIX] (ENETDOWN): Likewise.
54365         [POSIX] (ENETUNREACH): Likewise.
54366         [POSIX] (ENOBUFS): Likewise.
54367         [POSIX] (ENODATA): Likewise.
54368         [POSIX] (ENOLINK): Likewise.
54369         [POSIX] (ENOMSG): Likewise.
54370         [POSIX] (ENOPROTOOPT): Likewise.
54371         [POSIX] (ENOSR): Likewise.
54372         [POSIX] (ENOSTR): Likewise.
54373         [POSIX] (ENOTCONN): Likewise.
54374         [POSIX] (ENOTSOCK): Likewise.
54375         [POSIX] (EOPNOTSUPP): Likewise.
54376         [POSIX] (EOVERFLOW): Likewise.
54377         [POSIX] (EPROTO): Likewise.
54378         [POSIX] (EPROTONOSUPPORT): Likewise.
54379         [POSIX] (EPROTOTYPE): Likewise.
54380         [POSIX] (ESTALE): Likewise.
54381         [POSIX] (ETIME): Likewise.
54382         [POSIX] (ETXTBSY): Likewise.
54383         [POSIX] (EWOULDBLOCK): Likewise.
54384         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
54385         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
54386         [POSIX] (SEEK_CUR): Likewise.
54387         [POSIX] (SEEK_END): Likewise.
54388         [POSIX || UNIX98] (mode_t): Do not require.
54389         [POSIX] (off_t): Likewise.
54390         [POSIX] (pid_t): Likewise.
54391         [POSIX] (sys/stat.h): Do not allow header.
54392         [POSIX] (unistd.h): Likewise.
54393         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
54394         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
54395         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
54396         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
54397         require.
54398         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
54399         sigevent): Specify elements.
54400         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
54401         entry.
54402         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
54403         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
54405         * conform/data/cpio.h-data [POSIX]: Disable whole file.
54406         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
54407         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
54408         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
54409         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
54410         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
54411         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
54412         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
54413         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
54414         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
54415         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
54416         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
54417         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
54418         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
54419         Likewise.
54420         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
54421         Likewise.
54422         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
54423         Likewise.
54424         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
54425         Likewise.
54426         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
54427         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
54428         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
54429         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
54430         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
54431         Specify lower bound on value.
54432         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
54433         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
54434         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
54435         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
54436         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
54437         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
54438         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
54439         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
54440         value.
54441         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
54442         as optional.
54443         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
54444         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
54445         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
54446         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
54447         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
54448         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
54449         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
54450         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
54451         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
54452         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
54453         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
54454         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
54455         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
54456         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
54457         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
54458         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
54459         entry.
54460         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
54461         optional.
54462         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
54463         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
54464         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
54465         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
54466         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
54467         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
54468         Likewise.
54469         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
54470         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
54471         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
54472         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
54473         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
54474         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
54475         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
54476         as optional.
54477         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
54478         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
54479         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
54480         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
54481         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
54482         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
54483         specify as optional.
54484         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
54485         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
54486         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
54487         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
54488         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
54489         [XPG3] (NL_LANGMAX): Likewise.
54490         [POSIX || XPG3] (NL_MSGMAX): Likewise.
54491         [POSIX || XPG3] (NL_NMAX): Likewise.
54492         [POSIX || XPG3] (NL_SETMAX): Likewise.
54493         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
54494         [XPG3] (NZERO): Likewise.
54495         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
54496         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
54497         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
54498         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
54499         (REG_ERANGE): Expect.
54500         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
54501         optional-constant.
54502         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
54503         Use (void) in prototype.
54504         [POSIX] (*_t): Allow.
54505         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
54506         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
54507         (WRDE_BADVAL): Expect.
54509         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
54510         expect.
54511         [XPG3 || XPG4] (O_RSYNC): Likewise.
54512         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
54513         Likewise.
54514         [XPG3 || XPG4] (pthread_sigmask): Likewise.
54515         [XPG3 || XPG4] (sigqueue): Likewise.
54516         [XPG3 || XPG4] (sigtimedwait): Likewise.
54517         [XPG3 || XPG4] (sigwaitinfo): Likewise.
54518         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
54519         [XPG3 || XPG4] (vsnprintf): Likewise.
54520         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
54521         Likewise.
54522         [XPG3 || XPG4] (blksize_t): Likewise.
54523         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
54524         Likewise.
54525         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
54526         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
54527         [XPG3 || XPG4] (struct itimerspec): Likewise.
54528         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
54529         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
54530         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
54531         [XPG3 || XPG4] (clockid_t): Likewise.
54532         [XPG3 || XPG4] (timer_t): Likewise.
54533         [XPG3 || XPG4] (clock_getres): Likewise.
54534         [XPG3 || XPG4] (clock_gettime): Likewise.
54535         [XPG3 || XPG4] (clock_settime): Likewise.
54536         [XPG3 || XPG4] (nanosleep): Likewise.
54537         [XPG3 || XPG4] (timer_create): Likewise.
54538         [XPG3 || XPG4] (timer_delete): Likewise.
54539         [XPG3 || XPG4] (timer_gettime): Likewise.
54540         [XPG3 || XPG4] (timer_getoverrun): Likewise.
54541         [XPG3 || XPG4] (timer_settime): Likewise.
54542         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
54543         [XPG3 || XPG4] (getlogin_r): Likewise.
54544         [XPG3 || XPG4] (pread): Likewise.
54545         [XPG3 || XPG4] (pthread_atfork): Likewise.
54546         [XPG3 || XPG4] (pwrite): Likewise.
54548         [BZ #14835]
54549         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
54550         <bits/siginfo.h>.
54552 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54554         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
54555         finalizing MALLSTREAM.
54557         * sysdeps/mach/hurd/syncfs.c: New file.
54559 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54561         [BZ #14719]
54562         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
54563         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
54564         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
54565         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
54566         (_nss_dns_gethostbyname4_r): Likewise.
54567         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
54568         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
54570 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
54572         [BZ #13763]
54573         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
54575 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
54577         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
54578         * elf/cache.c (print_entry): Print ",AArch64" for
54579         FLAG_AARCH64_LIB64
54581         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
54582         * elf/cache.c (print_entry): Print ",hard-float" for
54583         FLAG_ARM_LIBHF.
54585 2012-11-18  David S. Miller  <davem@davemloft.net>
54587         With help from Joseph Myers.
54588         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
54589         cutoff to 2**-13.
54590         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
54591         cutoff to 2**-25.
54592         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
54593         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
54594         small.
54595         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
54596         * math/libm-test.inc (y0_test): New tests.
54597         (y1_test): New tests.
54598         * sysdeps/i386/fpu/libm-test-ulps: Update.
54599         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54602 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
54604         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
54605         64-bit targets.
54606         * configure: Regenerated.
54608 2012-11-17  David S. Miller  <davem@davemloft.net>
54610         [BZ #14811]
54611         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
54612         nonzero exponents with absolute value below 0x1p-128 to +/-
54613         0x1p-128.
54615 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
54617         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
54619         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
54621         * posix/getconf-speclist.c: New file.
54622         * posix/posix-envs.def: Likewise.
54623         * posix/confstr.c (START_ENV_GROUP): New macro.
54624         (END_ENV_GROUP): Likewise.
54625         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54626         (KNOWN_PRESENT_ENV_STRING): Likewise.
54627         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54628         (UNKNOWN_ENVIRONMENT): Likewise.
54629         (confstr): Include posix-envs.def instead of handling
54630         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
54631         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
54632         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
54633         (END_ENV_GROUP): Likewise.
54634         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54635         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54636         (UNKNOWN_ENVIRONMENT): Likewise.
54637         (__sysconf): Include posix-envs.def instead of handling associated
54638         cases directly here.
54639         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
54640         preprocessing getconf-speclist.c rather than running getconf or
54641         generating empty file.
54643 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
54645         * scripts/check-local-headers.sh: Ignore 'mach' headers.
54647 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
54649         [BZ #14672]
54650         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
54652 2012-11-16  David S. Miller  <davem@davemloft.net>
54654         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
54655         smaller than LDBL_EPSILON/2.0L, just return xm1.
54657 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
54659         * elf/tst-array1.c (init): Set constructor priority to 1000.
54660         (fini): Set destructor priority to 1000.
54661         * elf/tst-array2dep.c: Likewise.
54663 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54665         [BZ #11741]
54666         * libio/fileops.c (_IO_new_file_write): Correctly return error.
54667         (_IO_new_file_xsputn): Also return EOF if none of the input
54668         data was written when overflow failed.
54669         * libio/iopadn.c (_IO_padn): Likewise.
54670         * libio/iowpadn.c (_IO_wpadn): Likewise.
54671         * stdio-common/tst-put-error.c: Add copyright notice.
54672         (do_test): Add case for printing padded string.
54673         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
54674         _IO_padn returned error.
54675         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
54676         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
54677         return EOF.
54679 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54681         * libio/libioP.h: Add comment note that the references to C++
54682         bits are now obsolete.
54684 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54686         * math/libm-test.inc (check_complex): Use asprintf.
54688 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
54690         * debug/pcprofiledump.c (print_version): Update copyright year.
54691         * malloc/memusagestat.c (print_version): Likewise.
54693 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
54695         [BZ #14831]
54696         * elf/Makefile (tests): Add tst-audit8.
54697         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
54698         ($(objpfx)tst-audit8.out): New target.
54699         (tst-audit8-ENV): New variable.
54700         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
54701         audit if l_reloc_result is NULL.
54702         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
54703         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
54704         * elf/tst-audit8.c: New file.
54706 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54708         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
54709         * misc/Makefile (CFLAGS-select.c): Define.
54710         * posix/Makefile (CFLAGS-pause.c): Define.
54712 2012-11-13  David S. Miller  <davem@davemloft.net>
54714         * crypt/Makefile: Move test targets after toplevel Rules
54715         inclusion.  Grab any necessary sysdep routines when linking.
54716         * crypt/md5.c (md5_process_block): Remove define, we will always
54717         name it __md5_process_block.
54718         (md5_finish_ctx): Update md5_process_block call.
54719         (md5_stream): Likewise.
54720         (md5_process_bytes): Likewise.
54721         (md5_process_block): Rename to __md5_process_block and move to ...
54722         * crypt/md5-block.c: ... here.
54723         * crypt/sha256.c (sha256_process_block): Move to ...
54724         * crypt/sha256-block.c: ... here.
54725         * crypt/sha512.c (sha512_process_block): Move to ...
54726         * crypt/sha512-block.c: ... here.
54727         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
54728         path.
54729         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
54730         * sysdeps/sparc/sparc64/multiarch/Makefile
54731         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
54732         crypt subdir.
54733         (localedef-aux): Add md5 crypto assembler when in locale subdir.
54734         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
54735         multiarch changes.
54736         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
54737         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
54738         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
54739         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
54740         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
54741         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
54742         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
54743         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
54744         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
54745         file.
54746         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
54747         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
54748         file.
54749         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
54751 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
54753         * timezone/tzselect.ksh: Update from tzcode git revision
54754         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
54755         * timezone/zdump.c: Likewise.
54756         * timezone/zic.c: Likewise.
54757         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
54758         in TZVERSION setting, not $(PKGVERSION).
54759         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
54760         REPORT_BUGS_TO settings.
54762         [BZ #14838]
54763         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
54764         macro.
54766 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54768         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
54769         detection to immediately after _FP_ROUND().
54770         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
54771         bits are 0.
54773 2012-11-11  David S. Miller  <davem@davemloft.net>
54775         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
54776         inttypes.h
54777         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
54778         __close rather than their public counterparts.
54780 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
54782         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
54783         file.
54784         [UNIX98] (sem_timedwait): Do not expect.
54785         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
54786         [XPG4 || UNIX98] (sockatmark): Do not expect.
54787         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
54788         (clock_getcpuclockid): Do not expect.
54789         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
54790         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
54791         Do not expect.
54792         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
54793         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
54794         [UNIX98] (vwscanf): Likewise.
54795         [UNIX98] (vswscanf): Likewise.
54797 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
54799         * timezone/version.h: Remove file.
54800         * timezone/README: Do not refer to version.h.
54801         * timezone/Makefile ($(objpfx)zic.o): New dependency on
54802         $(objpfx)version.h.
54803         ($(objpfx)zdump.o): Likewise.
54804         ($(objpfx)version.h): New target.
54806         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
54807         2012i.
54808         * timezone/README: Don't mention modification to tzselect.ksh.
54809         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
54810         work on unmodified tzselect.ksh.  Substitute version numbers in
54811         tzselect.ksh.
54813         * Makefile (format-me): Remove.
54814         (INSTALL): Adjust indentation.  Use commands directly instead of
54815         using $(format-me).
54817         * aclocal.m4 (ACX_PKGVERSION): New macro.
54818         (ACX_BUGURL): Likewise.
54819         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
54820         (PKGVERSION): New AC_DEFINE_UNQUOTED.
54821         (REPORT_BUGS_TO): Likewise.
54822         * configure: Regenerated.
54823         * config.h.in (PKGVERSION): New macro.
54824         (REPORT_BUGS_TO): Likewise.
54825         * config.make.in (PKGVERSION): New variable.
54826         (PKGVERSION_TEXI): Likewise.
54827         (REPORT_BUGS_TO): Likewise.
54828         (REPORT_BUGS_TEXI): Likewise.
54829         * Makefile (format-me): Use -I$(common-objpfx)manual.
54830         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
54831         ($(common-objpfx)manual/%): New target.
54832         (manual/%): Remove target.
54833         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
54834         (print_version): Use PKGVERSION.
54835         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
54836         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
54837         and REPORT_BUGS_TO.
54838         ($(objpfx)xtrace): Likewise.
54839         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
54840         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
54841         (print_version): Use PKGVERSION.
54842         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
54843         (do_version): Use PKGVERSION.
54844         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
54845         REPORT_BUGS_TO.
54846         (common-ldd-rewrite): Likewise.
54847         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
54848         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
54849         (print_version): Use PKGVERSION.
54850         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
54851         * elf/pldd.c (argp_program_bug_address): Remove variable.
54852         (more_help): New function.
54853         (argp): Use more_help.
54854         (print_version): Use PKGVERSION.
54855         * elf/sln.c (main): Use PKGVERSION.
54856         (usage): Use REPORT_BUGS_TO.
54857         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
54858         (top level): Use PKGVERSION.
54859         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
54860         (print_version): Use PKGVERSION.
54861         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
54862         (print_version): Use PKGVERSION.
54863         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
54864         (print_version): Use PKGVERSION.
54865         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
54866         (print_version): Use PKGVERSION.
54867         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
54868         (print_version): Use PKGVERSION.
54869         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
54870         (print_version): Use PKGVERSION.
54871         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
54872         and BUGURL.
54873         ($(objpfx)memusage): Likewise.
54874         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
54875         (do_version): Use PKGVERSION.
54876         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
54877         (print_version): Use PKGVERSION.
54878         * malloc/mtrace.pl ($PACKAGE): Remove variable.
54879         ($PKGVERSION): New variable.
54880         ($REPORT_BUGS_TO): Likewise.
54881         (usage): Use $REPORT_BUGS_TO.
54882         (top level): Use $PKGVERSION.
54883         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
54884         ($(objpfx)pkgvers.texi): New rule.
54885         ($(objpfx)stamp-pkgvers): Likewise.
54886         * manual/install.texi: Include pkgvers.texi.
54887         (--with-pkgversion): Document new configure option.
54888         (--with-bugurl): Likewise.
54889         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
54890         than necessarily for this particular distribution.  Use
54891         REPORT_BUGS_TO for where to report bugs.
54892         * INSTALL: Regenerated.
54893         * manual/libc.texinfo: Include pkgvers.texi.
54894         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
54895         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
54896         (print_version): Use PKGVERSION.
54897         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
54898         (print_version): Use PKGVERSION.
54899         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
54900         (print_version): Use PKGVERSION.
54901         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
54902         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
54903         macro.
54904         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
54905         (print_version): Use PKGVERSION.
54906         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
54907         (print_version): Use PKGVERSION.
54908         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
54909         and PKGVERSION.
54911         * timezone/checktab.awk: Update from tzcode 2012i.
54912         * timezone/ialloc.c: Likewise.
54913         * timezone/private.h: Likewise.
54914         * timezone/scheck.c: Likewise.
54915         * timezone/tzfile.h: Likewise.
54916         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
54917         (TZVERSION): Hardcode tzcode version number.
54918         * timezone/zdump.c: Update from tzcode 2012i.
54919         * timezone/zic.c: Likewise.
54920         * timezone/version.h: New file.
54921         * timezone/README: Describe version.h.  Update upstream location.
54923         [BZ #14824]
54924         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
54925         (mktemp): Enable declaration.
54926         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
54927         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
54928         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
54929         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
54930         Likewise.
54931         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
54932         Likewise.
54933         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
54934         Likewise.
54935         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
54936         Likewise.
54937         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
54938         Likewise.
54939         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
54940         Likewise.
54942         [BZ #14821]
54943         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
54944         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
54945         for copies of such integer values.
54946         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54947         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54949 2012-11-09  Andreas Jaeger  <aj@suse.de>
54951         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
54952         definitions and declarations that are provided by
54953         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
54955 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54957         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
54958         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
54959         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
54960         definition.
54962 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54964         * elf/elf.h: Update comment before AArch64 relocations.
54966 2012-11-07  David S. Miller  <davem@davemloft.net>
54968         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
54969         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54970         (__start_context): Declare.
54971         (__makecontext_ret): Delete.
54972         (__makecontext): Hook up __start_context instead of
54973         __makecontext_ret.
54974         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
54975         (sysdep_routines): Add __start_context when in stdlib.
54977 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54979         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
54980         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
54981         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
54982         hardcoded "nm".
54983         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
54984         (READELF): New variable.  Use it instead of hardcoded "readelf".
54986 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
54988         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
54989         * sysdeps/x86/Makefile: Here.
54990         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
54991         * sysdeps/x86/tst-xmmymm.sh: This.
54993 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54995         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
54996         expectations.
54997         [UNIX98] (pthread_barrier_t): Do not expect.
54998         [UNIX98] (pthread_barrierattr_t): Likewise.
54999         [UNIX98] (pthread_spinlock_t): Likewise.
55000         [UNIX98] (pthread_barrier_destroy): Likewise.
55001         [UNIX98] (pthread_barrier_init): Likewise.
55002         [UNIX98] (pthread_barrier_wait): Likewise.
55003         [UNIX98] (pthread_barrierattr_destroy): Likewise.
55004         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
55005         [UNIX98] (pthread_barrierattr_init): Likewise.
55006         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
55007         [UNIX98] (pthread_getcpuclockid): Likewise.
55008         [UNIX98] (pthread_mutex_timedlock): Likewise.
55009         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
55010         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
55011         [UNIX98] (pthread_sigmask): Likewise.
55012         [UNIX98] (pthread_spin_destroy): Likewise.
55013         [UNIX98] (pthread_spin_init): Likewise.
55014         [UNIX98] (pthread_spin_lock): Likewise.
55015         [UNIX98] (pthread_spin_trylock): Likewise.
55016         [UNIX98] (pthread_spin_unlock): Likewise.
55017         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
55018         Do not expect.
55019         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
55020         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
55021         [XPG3 || XPG4] (pthread_cond_t): Likewise.
55022         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
55023         [XPG3 || XPG4] (pthread_key_t): Likewise.
55024         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
55025         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
55026         [XPG3 || XPG4] (pthread_once_t): Likewise.
55027         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
55028         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
55029         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
55030         [XPG3 || XPG4] (pthread_t): Likewise.
55032         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
55033         not expect.
55034         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
55036         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
55037         Change function return type to int.
55039         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
55040         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
55041         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
55042         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
55043         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
55044         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
55045         [!POSIX] (posix_madvise): Likewise.
55046         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
55047         && !UNIX98].
55048         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
55049         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
55050         (mode_t): Likewise.
55051         (posix_mem_offset): Likewise.
55052         (posix_typed_mem_get_info): Likewise.
55053         (posix_typed_mem_open): Likewise.
55055         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
55056         Change condition to [XOPEN2K8].
55058         * conform/conformtest.pl: Preprocess allow-header data with -x c
55059         instead of from stdin.
55060         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
55061         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
55062         [C99-based standards] (cerfc): Likewise.
55063         [C99-based standards] (cexp2): Likewise.
55064         [C99-based standards] (cexpm1): Likewise.
55065         [C99-based standards] (clog10): Likewise.
55066         [C99-based standards] (clog1p): Likewise.
55067         [C99-based standards] (clog2): Likewise.
55068         [C99-based standards] (clgamma): Likewise.
55069         [C99-based standards] (ctgamma): Likewise.
55070         [C99-based standards] (cerff): Likewise.
55071         [C99-based standards] (cerfcf): Likewise.
55072         [C99-based standards] (cexp2f): Likewise.
55073         [C99-based standards] (cexpm1f): Likewise.
55074         [C99-based standards] (clog10f): Likewise.
55075         [C99-based standards] (clog1pf): Likewise.
55076         [C99-based standards] (clog2f): Likewise.
55077         [C99-based standards] (clgammaf): Likewise.
55078         [C99-based standards] (ctgammaf): Likewise.
55079         [C99-based standards] (cerfl): Likewise.
55080         [C99-based standards] (cerfcl): Likewise.
55081         [C99-based standards] (cexp2l): Likewise.
55082         [C99-based standards] (cexpm1l): Likewise.
55083         [C99-based standards] (clog10l): Likewise.
55084         [C99-based standards] (clog1pl): Likewise.
55085         [C99-based standards] (clog2l): Likewise.
55086         [C99-based standards] (clgammal): Likewise.
55087         [C99-based standards] (ctgammal): Likewise.
55088         * conform/data/inttypes.h-data [C99-based standards]: Include
55089         stdint.h-data.  Remove all expectations for stdint.h contents.
55090         [C99-based standards] (PRI*): Do not allow.
55091         [C99-based standards] (SCN*): Likewise.
55092         [C99-based standards] (*_t): Likewise.
55093         [C99-based-standards] (PRId8): Expect macro.
55094         [C99-based-standards] (PRIi8): Likewise.
55095         [C99-based-standards] (PRIo8): Likewise.
55096         [C99-based-standards] (PRIu8): Likewise.
55097         [C99-based-standards] (PRIx8): Likewise.
55098         [C99-based-standards] (PRIX8): Likewise.
55099         [C99-based-standards] (SCNd8): Likewise.
55100         [C99-based-standards] (SCNi8): Likewise.
55101         [C99-based-standards] (SCNo8): Likewise.
55102         [C99-based-standards] (SCNu8): Likewise.
55103         [C99-based-standards] (SCNx8): Likewise.
55104         [C99-based-standards] (PRIdLEAST8): Likewise.
55105         [C99-based-standards] (PRIiLEAST8): Likewise.
55106         [C99-based-standards] (PRIoLEAST8): Likewise.
55107         [C99-based-standards] (PRIuLEAST8): Likewise.
55108         [C99-based-standards] (PRIxLEAST8): Likewise.
55109         [C99-based-standards] (PRIXLEAST8): Likewise.
55110         [C99-based-standards] (SCNdLEAST8): Likewise.
55111         [C99-based-standards] (SCNiLEAST8): Likewise.
55112         [C99-based-standards] (SCNoLEAST8): Likewise.
55113         [C99-based-standards] (SCNuLEAST8): Likewise.
55114         [C99-based-standards] (SCNxLEAST8): Likewise.
55115         [C99-based-standards] (PRIdFAST8): Likewise.
55116         [C99-based-standards] (PRIiFAST8): Likewise.
55117         [C99-based-standards] (PRIoFAST8): Likewise.
55118         [C99-based-standards] (PRIuFAST8): Likewise.
55119         [C99-based-standards] (PRIxFAST8): Likewise.
55120         [C99-based-standards] (PRIXFAST8): Likewise.
55121         [C99-based-standards] (SCNdFAST8): Likewise.
55122         [C99-based-standards] (SCNiFAST8): Likewise.
55123         [C99-based-standards] (SCNoFAST8): Likewise.
55124         [C99-based-standards] (SCNuFAST8): Likewise.
55125         [C99-based-standards] (SCNxFAST8): Likewise.
55126         [C99-based-standards] (PRId16): Likewise.
55127         [C99-based-standards] (PRIi16): Likewise.
55128         [C99-based-standards] (PRIo16): Likewise.
55129         [C99-based-standards] (PRIu16): Likewise.
55130         [C99-based-standards] (PRIx16): Likewise.
55131         [C99-based-standards] (PRIX16): Likewise.
55132         [C99-based-standards] (SCNd16): Likewise.
55133         [C99-based-standards] (SCNi16): Likewise.
55134         [C99-based-standards] (SCNo16): Likewise.
55135         [C99-based-standards] (SCNu16): Likewise.
55136         [C99-based-standards] (SCNx16): Likewise.
55137         [C99-based-standards] (PRIdLEAST16): Likewise.
55138         [C99-based-standards] (PRIiLEAST16): Likewise.
55139         [C99-based-standards] (PRIoLEAST16): Likewise.
55140         [C99-based-standards] (PRIuLEAST16): Likewise.
55141         [C99-based-standards] (PRIxLEAST16): Likewise.
55142         [C99-based-standards] (PRIXLEAST16): Likewise.
55143         [C99-based-standards] (SCNdLEAST16): Likewise.
55144         [C99-based-standards] (SCNiLEAST16): Likewise.
55145         [C99-based-standards] (SCNoLEAST16): Likewise.
55146         [C99-based-standards] (SCNuLEAST16): Likewise.
55147         [C99-based-standards] (SCNxLEAST16): Likewise.
55148         [C99-based-standards] (PRIdFAST16): Likewise.
55149         [C99-based-standards] (PRIiFAST16): Likewise.
55150         [C99-based-standards] (PRIoFAST16): Likewise.
55151         [C99-based-standards] (PRIuFAST16): Likewise.
55152         [C99-based-standards] (PRIxFAST16): Likewise.
55153         [C99-based-standards] (PRIXFAST16): Likewise.
55154         [C99-based-standards] (SCNdFAST16): Likewise.
55155         [C99-based-standards] (SCNiFAST16): Likewise.
55156         [C99-based-standards] (SCNoFAST16): Likewise.
55157         [C99-based-standards] (SCNuFAST16): Likewise.
55158         [C99-based-standards] (SCNxFAST16): Likewise.
55159         [C99-based-standards] (PRId32): Likewise.
55160         [C99-based-standards] (PRIi32): Likewise.
55161         [C99-based-standards] (PRIo32): Likewise.
55162         [C99-based-standards] (PRIu32): Likewise.
55163         [C99-based-standards] (PRIx32): Likewise.
55164         [C99-based-standards] (PRIX32): Likewise.
55165         [C99-based-standards] (SCNd32): Likewise.
55166         [C99-based-standards] (SCNi32): Likewise.
55167         [C99-based-standards] (SCNo32): Likewise.
55168         [C99-based-standards] (SCNu32): Likewise.
55169         [C99-based-standards] (SCNx32): Likewise.
55170         [C99-based-standards] (PRIdLEAST32): Likewise.
55171         [C99-based-standards] (PRIiLEAST32): Likewise.
55172         [C99-based-standards] (PRIoLEAST32): Likewise.
55173         [C99-based-standards] (PRIuLEAST32): Likewise.
55174         [C99-based-standards] (PRIxLEAST32): Likewise.
55175         [C99-based-standards] (PRIXLEAST32): Likewise.
55176         [C99-based-standards] (SCNdLEAST32): Likewise.
55177         [C99-based-standards] (SCNiLEAST32): Likewise.
55178         [C99-based-standards] (SCNoLEAST32): Likewise.
55179         [C99-based-standards] (SCNuLEAST32): Likewise.
55180         [C99-based-standards] (SCNxLEAST32): Likewise.
55181         [C99-based-standards] (PRIdFAST32): Likewise.
55182         [C99-based-standards] (PRIiFAST32): Likewise.
55183         [C99-based-standards] (PRIoFAST32): Likewise.
55184         [C99-based-standards] (PRIuFAST32): Likewise.
55185         [C99-based-standards] (PRIxFAST32): Likewise.
55186         [C99-based-standards] (PRIXFAST32): Likewise.
55187         [C99-based-standards] (SCNdFAST32): Likewise.
55188         [C99-based-standards] (SCNiFAST32): Likewise.
55189         [C99-based-standards] (SCNoFAST32): Likewise.
55190         [C99-based-standards] (SCNuFAST32): Likewise.
55191         [C99-based-standards] (SCNxFAST32): Likewise.
55192         [C99-based-standards] (PRId64): Likewise.
55193         [C99-based-standards] (PRIi64): Likewise.
55194         [C99-based-standards] (PRIo64): Likewise.
55195         [C99-based-standards] (PRIu64): Likewise.
55196         [C99-based-standards] (PRIx64): Likewise.
55197         [C99-based-standards] (PRIX64): Likewise.
55198         [C99-based-standards] (SCNd64): Likewise.
55199         [C99-based-standards] (SCNi64): Likewise.
55200         [C99-based-standards] (SCNo64): Likewise.
55201         [C99-based-standards] (SCNu64): Likewise.
55202         [C99-based-standards] (SCNx64): Likewise.
55203         [C99-based-standards] (PRIdLEAST64): Likewise.
55204         [C99-based-standards] (PRIiLEAST64): Likewise.
55205         [C99-based-standards] (PRIoLEAST64): Likewise.
55206         [C99-based-standards] (PRIuLEAST64): Likewise.
55207         [C99-based-standards] (PRIxLEAST64): Likewise.
55208         [C99-based-standards] (PRIXLEAST64): Likewise.
55209         [C99-based-standards] (SCNdLEAST64): Likewise.
55210         [C99-based-standards] (SCNiLEAST64): Likewise.
55211         [C99-based-standards] (SCNoLEAST64): Likewise.
55212         [C99-based-standards] (SCNuLEAST64): Likewise.
55213         [C99-based-standards] (SCNxLEAST64): Likewise.
55214         [C99-based-standards] (PRIdFAST64): Likewise.
55215         [C99-based-standards] (PRIiFAST64): Likewise.
55216         [C99-based-standards] (PRIoFAST64): Likewise.
55217         [C99-based-standards] (PRIuFAST64): Likewise.
55218         [C99-based-standards] (PRIxFAST64): Likewise.
55219         [C99-based-standards] (PRIXFAST64): Likewise.
55220         [C99-based-standards] (SCNdFAST64): Likewise.
55221         [C99-based-standards] (SCNiFAST64): Likewise.
55222         [C99-based-standards] (SCNoFAST64): Likewise.
55223         [C99-based-standards] (SCNuFAST64): Likewise.
55224         [C99-based-standards] (SCNxFAST64): Likewise.
55225         [C99-based-standards] (PRIdMAX): Likewise.
55226         [C99-based-standards] (PRIiMAX): Likewise.
55227         [C99-based-standards] (PRIoMAX): Likewise.
55228         [C99-based-standards] (PRIuMAX): Likewise.
55229         [C99-based-standards] (PRIxMAX): Likewise.
55230         [C99-based-standards] (PRIXMAX): Likewise.
55231         [C99-based-standards] (SCNdMAX): Likewise.
55232         [C99-based-standards] (SCNiMAX): Likewise.
55233         [C99-based-standards] (SCNoMAX): Likewise.
55234         [C99-based-standards] (SCNuMAX): Likewise.
55235         [C99-based-standards] (SCNxMAX): Likewise.
55236         [C99-based-standards] (PRIdPTR): Likewise.
55237         [C99-based-standards] (PRIiPTR): Likewise.
55238         [C99-based-standards] (PRIoPTR): Likewise.
55239         [C99-based-standards] (PRIuPTR): Likewise.
55240         [C99-based-standards] (PRIxPTR): Likewise.
55241         [C99-based-standards] (PRIXPTR): Likewise.
55242         [C99-based-standards] (SCNdPTR): Likewise.
55243         [C99-based-standards] (SCNiPTR): Likewise.
55244         [C99-based-standards] (SCNoPTR): Likewise.
55245         [C99-based-standards] (SCNuPTR): Likewise.
55246         [C99-based-standards] (SCNxPTR): Likewise.
55247         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
55248         allow.
55249         * conform/data/stdint.h-data: Update comments to clarify
55250         requirements.
55251         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
55252         type.
55253         [C99-based standards] (INT8_MAX): Likewise.
55254         [C99-based standards] (INT16_MIN): Likewise.
55255         [C99-based standards] (INT16_MAX): Likewise.
55256         [C99-based standards] (INT32_MIN): Likewise.
55257         [C99-based standards] (INT32_MAX): Likewise.
55258         [C99-based standards] (INT64_MIN): Likewise.
55259         [C99-based standards] (INT64_MAX): Likewise.
55260         [C99-based standards] (UINT8_MAX): Likewise.
55261         [C99-based standards] (UINT16_MAX): Likewise.
55262         [C99-based standards] (UINT32_MAX): Likewise.
55263         [C99-based standards] (UINT64_MAX): Likewise.
55264         [C99-based standards] (INT_LEAST8_MIN): Likewise.
55265         [C99-based standards] (INT_LEAST8_MAX): Likewise.
55266         [C99-based standards] (INT_LEAST16_MIN): Likewise.
55267         [C99-based standards] (INT_LEAST16_MAX): Likewise.
55268         [C99-based standards] (INT_LEAST32_MIN): Likewise.
55269         [C99-based standards] (INT_LEAST32_MAX): Likewise.
55270         [C99-based standards] (INT_LEAST64_MIN): Likewise.
55271         [C99-based standards] (INT_LEAST64_MAX): Likewise.
55272         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
55273         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
55274         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
55275         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
55276         [C99-based standards] (INT_FAST8_MIN): Likewise.
55277         [C99-based standards] (INT_FAST8_MAX): Likewise.
55278         [C99-based standards] (INT_FAST16_MIN): Likewise.
55279         [C99-based standards] (INT_FAST16_MAX): Likewise.
55280         [C99-based standards] (INT_FAST32_MIN): Likewise.
55281         [C99-based standards] (INT_FAST32_MAX): Likewise.
55282         [C99-based standards] (INT_FAST64_MIN): Likewise.
55283         [C99-based standards] (INT_FAST64_MAX): Likewise.
55284         [C99-based standards] (UINT_FAST8_MAX): Likewise.
55285         [C99-based standards] (UINT_FAST16_MAX): Likewise.
55286         [C99-based standards] (UINT_FAST32_MAX): Likewise.
55287         [C99-based standards] (UINT_FAST64_MAX): Likewise.
55288         [C99-based standards] (INTPTR_MIN): Likewise.
55289         [C99-based standards] (INTPTR_MAX): Likewise.
55290         [C99-based standards] (UINTPTR_MAX): Likewise.
55291         [C99-based standards] (INTMAX_MIN): Likewise.
55292         [C99-based standards] (INTMAX_MAX): Likewise.
55293         [C99-based standards] (UINTMAX_MAX): Likewise.
55294         [C99-based standards] (PTRDIFF_MIN): Likewise.
55295         [C99-based standards] (PTRDIFF_MAX): Likewise.
55296         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
55297         [C99-based standards] (SIZE_MAX): Likewise.
55298         [C99-based standards] (WCHAR_MAX): Likewise.
55299         [C99-based standards] (WINT_MAX): Likewise.
55300         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
55301         constraint on value.
55302         [C99-based standards] (WCHAR_MIN): Likewise.
55303         [C99-based standards] (WINT_MIN): Likewise.
55304         [C99-based standards] (*_t): Allow.
55305         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
55306         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
55307         Include math.h-data and complex.h-data.  Remove all expectations
55308         of math.h and complex.h contents.
55309         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
55310         at end of line.
55311         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
55312         (struct tm): Expect tag.
55313         [C99-based-standards] (wcstof): Expect function.
55314         [C99-based-standards] (wcstold): Likewise.
55315         [C99-based-standards] (wcstoll): Likewise.
55316         [C99-based-standards] (wcstoull): Likewise.
55317         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
55318         macro-int-constant.  Specify type.
55319         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
55320         constraint on value.
55321         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55322         Specify type.
55323         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
55324         Specify value.
55325         [ISO C standards]: Do not allow headers.
55326         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
55327         wcs[abcdefghijklmnopqrstuvwxyz]*.
55328         [ISO C standards] (*_t): Do not allow.
55329         * conform/data/wctype.h-data [C99-based standards] (iswblank):
55330         Expect function.
55331         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
55332         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55333         Specify type.
55334         [ISO C standards]: Do not allow headers.
55335         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
55336         is[abcdefghijklmnopqrstuvwxyz]*.
55337         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
55338         to[abcdefghijklmnopqrstuvwxyz]*.
55339         [ISO C standards] (*_t): Do not allow.
55340         * conform/data/stdalign.h-data: New file.
55341         * conform/data/stdbool.h-data: Likewise.
55342         * conform/data/stdnoreturn.h-data: Likewise.
55344 2012-11-07  Roland McGrath  <roland@hack.frob.com>
55346         [BZ #14815]
55347         * manual/filesys.texi (Directory Entries): Typo fix.
55348         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
55350 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55352         * elf/elf.h (EM_AARCH64): New macro.
55353         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
55354         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
55355         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
55356         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
55357         (R_AARCH64_TLSDESC): Likewise.
55358         (NT_ARM_TLS): Likewise.
55359         (NT_ARM_HW_BREAK): Likewise.
55360         (NT_ARM_HW_WATCH): Likewise.
55362 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55364         [BZ #14811]
55365         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
55366         (__ieee754_powl): Saturate nonzero exponents with absolute value
55367         below 0x1p-79 to +/- 0x1p-79.
55368         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
55369         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
55370         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
55371         nonzero exponents with absolute value below 0x1p-32 to +/-
55372         0x1p-32.
55373         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
55374         (__ieee754_powl): Saturate nonzero exponents with absolute value
55375         below 0x1p-79 to +/- 0x1p-79.
55376         * math/libm-test.inc (pow_test): Add more tests.
55378 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55380         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
55381         _dl_s390_cap_flags with kernel. Increase string length.
55382         (_dl_s390_platforms): Add z196 and zEC12.
55384 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55386         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
55387         Change XOPEN21K to XOPEN2K.
55389 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
55391         * string/memmove.c: Use memcpy when possible.
55393 2012-11-06  Andreas Jaeger  <aj@suse.de>
55395         * po/eo.po: Update from translation team.
55397 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
55399         [BZ #14793]
55400         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
55401         exponent and small x and y exponents, scale x or y up.  Increase
55402         by 2 the exponent used in scaling up.
55403         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55404         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55405         * math/libm-test.inc (fma_test): Add more tests.
55406         (fma_test_towardzero): Likewise.
55407         (fma_test_downward): Likewise.
55408         (fma_test_upward): Likewise.
55410 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
55412         [BZ #14805]
55413         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
55414         fenv_t *.
55416         [BZ #14801]
55417         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
55418         namespace for names of struct fields.
55419         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
55420         fenv_t fields.
55421         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
55422         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
55424 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55426         [BZ #3665]
55427         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
55429 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55431         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
55432         PTR_DEMANGLE.
55434         [BZ #5246]
55435         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
55436         PTR_DEMANGLE.
55438 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
55440         [BZ #14797]
55441         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
55442         definitely overflow as x * y not x * y + z.
55443         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55444         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55445         * math/libm-test.inc (fma_test): Add more tests.
55446         (fma_test_towardzero): Likewise.
55447         (fma_test_downward): Likewise.
55448         (fma_test_upward): Likewise.
55450 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55452         [BZ #157]
55454         * include/stub-tag.h: Remove file.
55455         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
55456         '#include' of it.
55457         * manual/maint.texi (Porting): Don't reference it.
55458         * Makerules ($(objpfx)stubs): Likewise.
55459         * dirent/closedir.c: Don't include <stub-tag.h>.
55460         * dirent/dirfd.c: Likewise.
55461         * dirent/fdopendir.c: Likewise.
55462         * dirent/getdents.c: Likewise.
55463         * dirent/getdents64.c: Likewise.
55464         * dirent/opendir.c: Likewise.
55465         * dirent/readdir.c: Likewise.
55466         * dirent/readdir64.c: Likewise.
55467         * dirent/readdir64_r.c: Likewise.
55468         * dirent/readdir_r.c: Likewise.
55469         * dirent/rewinddir.c: Likewise.
55470         * dirent/seekdir.c: Likewise.
55471         * dirent/telldir.c: Likewise.
55472         * gmon/profil.c: Likewise.
55473         * grp/setgroups.c: Likewise.
55474         * inet/if_index.c: Likewise.
55475         * io/access.c: Likewise.
55476         * io/chdir.c: Likewise.
55477         * io/chmod.c: Likewise.
55478         * io/chown.c: Likewise.
55479         * io/close.c: Likewise.
55480         * io/dup.c: Likewise.
55481         * io/dup2.c: Likewise.
55482         * io/dup3.c: Likewise.
55483         * io/euidaccess.c: Likewise.
55484         * io/faccessat.c: Likewise.
55485         * io/fchdir.c: Likewise.
55486         * io/fchmod.c: Likewise.
55487         * io/fchmodat.c: Likewise.
55488         * io/fchown.c: Likewise.
55489         * io/fchownat.c: Likewise.
55490         * io/fcntl.c: Likewise.
55491         * io/flock.c: Likewise.
55492         * io/fstatfs.c: Likewise.
55493         * io/fstatfs64.c: Likewise.
55494         * io/fstatvfs.c: Likewise.
55495         * io/fstatvfs64.c: Likewise.
55496         * io/futimens.c: Likewise.
55497         * io/fxstat.c: Likewise.
55498         * io/fxstat64.c: Likewise.
55499         * io/fxstatat.c: Likewise.
55500         * io/fxstatat64.c: Likewise.
55501         * io/getcwd.c: Likewise.
55502         * io/isatty.c: Likewise.
55503         * io/lchmod.c: Likewise.
55504         * io/lchown.c: Likewise.
55505         * io/link.c: Likewise.
55506         * io/linkat.c: Likewise.
55507         * io/lseek.c: Likewise.
55508         * io/lseek64.c: Likewise.
55509         * io/lxstat64.c: Likewise.
55510         * io/mkdir.c: Likewise.
55511         * io/mkdirat.c: Likewise.
55512         * io/mkfifo.c: Likewise.
55513         * io/mkfifoat.c: Likewise.
55514         * io/open.c: Likewise.
55515         * io/open64.c: Likewise.
55516         * io/openat.c: Likewise.
55517         * io/openat64.c: Likewise.
55518         * io/pipe.c: Likewise.
55519         * io/pipe2.c: Likewise.
55520         * io/poll.c: Likewise.
55521         * io/posix_fadvise.c: Likewise.
55522         * io/posix_fadvise64.c: Likewise.
55523         * io/posix_fallocate.c: Likewise.
55524         * io/posix_fallocate64.c: Likewise.
55525         * io/read.c: Likewise.
55526         * io/readlink.c: Likewise.
55527         * io/readlinkat.c: Likewise.
55528         * io/rmdir.c: Likewise.
55529         * io/sendfile.c: Likewise.
55530         * io/sendfile64.c: Likewise.
55531         * io/statfs.c: Likewise.
55532         * io/statfs64.c: Likewise.
55533         * io/statvfs.c: Likewise.
55534         * io/statvfs64.c: Likewise.
55535         * io/symlink.c: Likewise.
55536         * io/symlinkat.c: Likewise.
55537         * io/ttyname.c: Likewise.
55538         * io/ttyname_r.c: Likewise.
55539         * io/umask.c: Likewise.
55540         * io/unlink.c: Likewise.
55541         * io/unlinkat.c: Likewise.
55542         * io/utime.c: Likewise.
55543         * io/utimensat.c: Likewise.
55544         * io/write.c: Likewise.
55545         * io/xmknod.c: Likewise.
55546         * io/xmknodat.c: Likewise.
55547         * io/xstat.c: Likewise.
55548         * io/xstat64.c: Likewise.
55549         * login/getpt.c: Likewise.
55550         * login/grantpt.c: Likewise.
55551         * login/unlockpt.c: Likewise.
55552         * math/e_acoshl.c: Likewise.
55553         * math/e_acosl.c: Likewise.
55554         * math/e_asinl.c: Likewise.
55555         * math/e_atan2l.c: Likewise.
55556         * math/e_atanhl.c: Likewise.
55557         * math/e_coshl.c: Likewise.
55558         * math/e_expl.c: Likewise.
55559         * math/e_fmodl.c: Likewise.
55560         * math/e_gammal_r.c: Likewise.
55561         * math/e_hypotl.c: Likewise.
55562         * math/e_j0l.c: Likewise.
55563         * math/e_j1l.c: Likewise.
55564         * math/e_jnl.c: Likewise.
55565         * math/e_lgammal_r.c: Likewise.
55566         * math/e_log10l.c: Likewise.
55567         * math/e_log2l.c: Likewise.
55568         * math/e_logl.c: Likewise.
55569         * math/e_powl.c: Likewise.
55570         * math/e_rem_pio2l.c: Likewise.
55571         * math/e_sinhl.c: Likewise.
55572         * math/e_sqrtl.c: Likewise.
55573         * math/fclrexcpt.c: Likewise.
55574         * math/fedisblxcpt.c: Likewise.
55575         * math/feenablxcpt.c: Likewise.
55576         * math/fegetenv.c: Likewise.
55577         * math/fegetexcept.c: Likewise.
55578         * math/fegetround.c: Likewise.
55579         * math/feholdexcpt.c: Likewise.
55580         * math/fesetenv.c: Likewise.
55581         * math/fesetround.c: Likewise.
55582         * math/feupdateenv.c: Likewise.
55583         * math/fgetexcptflg.c: Likewise.
55584         * math/fraiseexcpt.c: Likewise.
55585         * math/fsetexcptflg.c: Likewise.
55586         * math/ftestexcept.c: Likewise.
55587         * math/k_cosl.c: Likewise.
55588         * math/k_rem_pio2l.c: Likewise.
55589         * math/k_sinl.c: Likewise.
55590         * math/k_tanl.c: Likewise.
55591         * math/s_asinhl.c: Likewise.
55592         * math/s_atanl.c: Likewise.
55593         * math/s_cbrtl.c: Likewise.
55594         * math/s_erfl.c: Likewise.
55595         * math/s_expm1l.c: Likewise.
55596         * math/s_log1pl.c: Likewise.
55597         * math/s_tanhl.c: Likewise.
55598         * misc/acct.c: Likewise.
55599         * misc/brk.c: Likewise.
55600         * misc/chflags.c: Likewise.
55601         * misc/chroot.c: Likewise.
55602         * misc/fchflags.c: Likewise.
55603         * misc/fgetxattr.c: Likewise.
55604         * misc/flistxattr.c: Likewise.
55605         * misc/fremovexattr.c: Likewise.
55606         * misc/fsetxattr.c: Likewise.
55607         * misc/fsync.c: Likewise.
55608         * misc/ftruncate.c: Likewise.
55609         * misc/futimes.c: Likewise.
55610         * misc/futimesat.c: Likewise.
55611         * misc/getdomain.c: Likewise.
55612         * misc/getdtsz.c: Likewise.
55613         * misc/gethostid.c: Likewise.
55614         * misc/gethostname.c: Likewise.
55615         * misc/getloadavg.c: Likewise.
55616         * misc/getpagesize.c: Likewise.
55617         * misc/getsysstats.c: Likewise.
55618         * misc/getxattr.c: Likewise.
55619         * misc/gtty.c: Likewise.
55620         * misc/ioctl.c: Likewise.
55621         * misc/lgetxattr.c: Likewise.
55622         * misc/listxattr.c: Likewise.
55623         * misc/llistxattr.c: Likewise.
55624         * misc/lremovexattr.c: Likewise.
55625         * misc/lsetxattr.c: Likewise.
55626         * misc/lutimes.c: Likewise.
55627         * misc/madvise.c: Likewise.
55628         * misc/mincore.c: Likewise.
55629         * misc/mlock.c: Likewise.
55630         * misc/mlockall.c: Likewise.
55631         * misc/mmap.c: Likewise.
55632         * misc/mprotect.c: Likewise.
55633         * misc/msync.c: Likewise.
55634         * misc/munlock.c: Likewise.
55635         * misc/munlockall.c: Likewise.
55636         * misc/munmap.c: Likewise.
55637         * misc/preadv.c: Likewise.
55638         * misc/preadv64.c: Likewise.
55639         * misc/ptrace.c: Likewise.
55640         * misc/pwritev.c: Likewise.
55641         * misc/pwritev64.c: Likewise.
55642         * misc/readv.c: Likewise.
55643         * misc/reboot.c: Likewise.
55644         * misc/remap_file_pages.c: Likewise.
55645         * misc/removexattr.c: Likewise.
55646         * misc/revoke.c: Likewise.
55647         * misc/select.c: Likewise.
55648         * misc/setdomain.c: Likewise.
55649         * misc/setegid.c: Likewise.
55650         * misc/seteuid.c: Likewise.
55651         * misc/sethostid.c: Likewise.
55652         * misc/sethostname.c: Likewise.
55653         * misc/setregid.c: Likewise.
55654         * misc/setreuid.c: Likewise.
55655         * misc/setxattr.c: Likewise.
55656         * misc/sstk.c: Likewise.
55657         * misc/stty.c: Likewise.
55658         * misc/swapoff.c: Likewise.
55659         * misc/swapon.c: Likewise.
55660         * misc/sync.c: Likewise.
55661         * misc/syncfs.c: Likewise.
55662         * misc/syscall.c: Likewise.
55663         * misc/truncate.c: Likewise.
55664         * misc/ualarm.c: Likewise.
55665         * misc/usleep.c: Likewise.
55666         * misc/ustat.c: Likewise.
55667         * misc/utimes.c: Likewise.
55668         * misc/vhangup.c: Likewise.
55669         * misc/writev.c: Likewise.
55670         * posix/_exit.c: Likewise.
55671         * posix/alarm.c: Likewise.
55672         * posix/execve.c: Likewise.
55673         * posix/fexecve.c: Likewise.
55674         * posix/fork.c: Likewise.
55675         * posix/fpathconf.c: Likewise.
55676         * posix/getaddrinfo.c: Likewise.
55677         * posix/getegid.c: Likewise.
55678         * posix/geteuid.c: Likewise.
55679         * posix/getgid.c: Likewise.
55680         * posix/getgroups.c: Likewise.
55681         * posix/getlogin.c: Likewise.
55682         * posix/getlogin_r.c: Likewise.
55683         * posix/getpgid.c: Likewise.
55684         * posix/getpid.c: Likewise.
55685         * posix/getppid.c: Likewise.
55686         * posix/getresgid.c: Likewise.
55687         * posix/getresuid.c: Likewise.
55688         * posix/getsid.c: Likewise.
55689         * posix/getuid.c: Likewise.
55690         * posix/glob64.c: Likewise.
55691         * posix/nanosleep.c: Likewise.
55692         * posix/pathconf.c: Likewise.
55693         * posix/pause.c: Likewise.
55694         * posix/posix_madvise.c: Likewise.
55695         * posix/pread.c: Likewise.
55696         * posix/pread64.c: Likewise.
55697         * posix/pwrite.c: Likewise.
55698         * posix/pwrite64.c: Likewise.
55699         * posix/sched_getaffinity.c: Likewise.
55700         * posix/sched_getp.c: Likewise.
55701         * posix/sched_gets.c: Likewise.
55702         * posix/sched_primax.c: Likewise.
55703         * posix/sched_primin.c: Likewise.
55704         * posix/sched_rr_gi.c: Likewise.
55705         * posix/sched_setaffinity.c: Likewise.
55706         * posix/sched_setp.c: Likewise.
55707         * posix/sched_sets.c: Likewise.
55708         * posix/sched_yield.c: Likewise.
55709         * posix/setgid.c: Likewise.
55710         * posix/setlogin.c: Likewise.
55711         * posix/setpgid.c: Likewise.
55712         * posix/setresgid.c: Likewise.
55713         * posix/setresuid.c: Likewise.
55714         * posix/setsid.c: Likewise.
55715         * posix/setuid.c: Likewise.
55716         * posix/sleep.c: Likewise.
55717         * posix/spawni.c: Likewise.
55718         * posix/sysconf.c: Likewise.
55719         * posix/times.c: Likewise.
55720         * posix/wait.c: Likewise.
55721         * posix/wait3.c: Likewise.
55722         * posix/wait4.c: Likewise.
55723         * posix/waitpid.c: Likewise.
55724         * resolv/gai_sigqueue.c: Likewise.
55725         * resource/getpriority.c: Likewise.
55726         * resource/getrlimit.c: Likewise.
55727         * resource/getrusage.c: Likewise.
55728         * resource/nice.c: Likewise.
55729         * resource/setpriority.c: Likewise.
55730         * resource/setrlimit.c: Likewise.
55731         * resource/ulimit.c: Likewise.
55732         * rt/aio_cancel.c: Likewise.
55733         * rt/aio_fsync.c: Likewise.
55734         * rt/aio_read.c: Likewise.
55735         * rt/aio_sigqueue.c: Likewise.
55736         * rt/aio_suspend.c: Likewise.
55737         * rt/aio_write.c: Likewise.
55738         * rt/clock_getres.c: Likewise.
55739         * rt/clock_gettime.c: Likewise.
55740         * rt/clock_nanosleep.c: Likewise.
55741         * rt/clock_settime.c: Likewise.
55742         * rt/lio_listio.c: Likewise.
55743         * rt/mq_close.c: Likewise.
55744         * rt/mq_getattr.c: Likewise.
55745         * rt/mq_notify.c: Likewise.
55746         * rt/mq_open.c: Likewise.
55747         * rt/mq_receive.c: Likewise.
55748         * rt/mq_send.c: Likewise.
55749         * rt/mq_setattr.c: Likewise.
55750         * rt/mq_timedreceive.c: Likewise.
55751         * rt/mq_timedsend.c: Likewise.
55752         * rt/mq_unlink.c: Likewise.
55753         * rt/shm_open.c: Likewise.
55754         * rt/shm_unlink.c: Likewise.
55755         * rt/timer_create.c: Likewise.
55756         * rt/timer_delete.c: Likewise.
55757         * rt/timer_getoverr.c: Likewise.
55758         * rt/timer_gettime.c: Likewise.
55759         * rt/timer_settime.c: Likewise.
55760         * setjmp/__longjmp.c: Likewise.
55761         * setjmp/setjmp.c: Likewise.
55762         * signal/kill.c: Likewise.
55763         * signal/killpg.c: Likewise.
55764         * signal/raise.c: Likewise.
55765         * signal/sigaction.c: Likewise.
55766         * signal/sigaltstack.c: Likewise.
55767         * signal/sigblock.c: Likewise.
55768         * signal/sigignore.c: Likewise.
55769         * signal/sigintr.c: Likewise.
55770         * signal/signal.c: Likewise.
55771         * signal/sigpause.c: Likewise.
55772         * signal/sigpending.c: Likewise.
55773         * signal/sigqueue.c: Likewise.
55774         * signal/sigreturn.c: Likewise.
55775         * signal/sigset.c: Likewise.
55776         * signal/sigsetmask.c: Likewise.
55777         * signal/sigstack.c: Likewise.
55778         * signal/sigsuspend.c: Likewise.
55779         * signal/sigtimedwait.c: Likewise.
55780         * signal/sigvec.c: Likewise.
55781         * signal/sigwait.c: Likewise.
55782         * signal/sigwaitinfo.c: Likewise.
55783         * signal/sysv_signal.c: Likewise.
55784         * socket/accept.c: Likewise.
55785         * socket/accept4.c: Likewise.
55786         * socket/bind.c: Likewise.
55787         * socket/connect.c: Likewise.
55788         * socket/getpeername.c: Likewise.
55789         * socket/getsockname.c: Likewise.
55790         * socket/getsockopt.c: Likewise.
55791         * socket/isfdtype.c: Likewise.
55792         * socket/listen.c: Likewise.
55793         * socket/recv.c: Likewise.
55794         * socket/recvfrom.c: Likewise.
55795         * socket/recvmsg.c: Likewise.
55796         * socket/send.c: Likewise.
55797         * socket/sendmsg.c: Likewise.
55798         * socket/sendto.c: Likewise.
55799         * socket/setsockopt.c: Likewise.
55800         * socket/shutdown.c: Likewise.
55801         * socket/sockatmark.c: Likewise.
55802         * socket/socket.c: Likewise.
55803         * socket/socketpair.c: Likewise.
55804         * stdio-common/ctermid.c: Likewise.
55805         * stdio-common/cuserid.c: Likewise.
55806         * stdio-common/remove.c: Likewise.
55807         * stdio-common/rename.c: Likewise.
55808         * stdio-common/renameat.c: Likewise.
55809         * stdio-common/tempname.c: Likewise.
55810         * stdlib/getcontext.c: Likewise.
55811         * stdlib/makecontext.c: Likewise.
55812         * stdlib/setcontext.c: Likewise.
55813         * stdlib/swapcontext.c: Likewise.
55814         * stdlib/system.c: Likewise.
55815         * streams/fattach.c: Likewise.
55816         * streams/fdetach.c: Likewise.
55817         * streams/getmsg.c: Likewise.
55818         * streams/getpmsg.c: Likewise.
55819         * streams/putmsg.c: Likewise.
55820         * streams/putpmsg.c: Likewise.
55821         * sysdeps/unix/bsd/getpt.c: Likewise.
55822         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
55823         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
55824         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
55825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55826         Likewise.
55827         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
55828         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55829         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
55830         * sysvipc/msgctl.c: Likewise.
55831         * sysvipc/msgget.c: Likewise.
55832         * sysvipc/msgrcv.c: Likewise.
55833         * sysvipc/msgsnd.c: Likewise.
55834         * sysvipc/semctl.c: Likewise.
55835         * sysvipc/semget.c: Likewise.
55836         * sysvipc/semop.c: Likewise.
55837         * sysvipc/semtimedop.c: Likewise.
55838         * sysvipc/shmat.c: Likewise.
55839         * sysvipc/shmctl.c: Likewise.
55840         * sysvipc/shmdt.c: Likewise.
55841         * sysvipc/shmget.c: Likewise.
55842         * termios/tcdrain.c: Likewise.
55843         * termios/tcflow.c: Likewise.
55844         * termios/tcflush.c: Likewise.
55845         * termios/tcgetattr.c: Likewise.
55846         * termios/tcgetpgrp.c: Likewise.
55847         * termios/tcsendbrk.c: Likewise.
55848         * termios/tcsetattr.c: Likewise.
55849         * termios/tcsetpgrp.c: Likewise.
55850         * time/adjtime.c: Likewise.
55851         * time/clock.c: Likewise.
55852         * time/getitimer.c: Likewise.
55853         * time/gettimeofday.c: Likewise.
55854         * time/setitimer.c: Likewise.
55855         * time/settimeofday.c: Likewise.
55856         * time/stime.c: Likewise.
55857         * time/time.c: Likewise.
55859 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
55861         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
55862         /usr/old/bin.
55864         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
55865         instead of spaces.
55866         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
55868 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
55870         [BZ #14796]
55871         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
55872         FE_TONEAREST before applying Dekker multiplication and Knuth
55873         addition.  Clear inexact exceptions and check for exact zero
55874         results afterwards.
55875         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55876         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55877         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55878         * math/libm-test.inc (fma_test): Add more tests.
55879         (fma_test_towardzero): Likewise.
55880         (fma_test_downward): Likewise.
55881         (fma_test_upward): Likewise.
55882         * sysdeps/generic/math_private.h (default_libc_fesetround): New
55883         function.
55884         (libc_fesetround): New macro.
55885         (libc_fesetroundf): Likewise.
55886         (libc_fesetroundl): Likewise.
55887         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
55888         function.
55889         (libc_fesetround_387): Likewise.
55890         (libc_fesetroundf): New macro.
55891         (libc_fesetround): Likewise.
55892         (libc_fesetroundl): Likewise.
55893         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
55894         function.
55895         (libc_fesetroundf): New macro.
55896         (libc_fesetround): Likewise.
55897         (libc_fesetroundl): Likewise.
55898         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
55899         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
55900         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
55901         libm_hidden_ver.
55902         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
55903         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
55904         libm_hidden_def.
55905         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
55906         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
55907         libm_hidden_ver.
55908         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
55909         libm_hidden_def.
55911         [BZ #3439]
55912         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
55913         integer constant usable in #if and use that to give value to enum
55914         constant.
55915         (FE_DIVBYZERO): Likewise.
55916         (FE_UNDERFLOW): Likewise.
55917         (FE_OVERFLOW): Likewise.
55918         (FE_INVALID): Likewise.
55919         (FE_INVALID_SNAN): Likewise.
55920         (FE_INVALID_ISI): Likewise.
55921         (FE_INVALID_IDI): Likewise.
55922         (FE_INVALID_ZDZ): Likewise.
55923         (FE_INVALID_IMZ): Likewise.
55924         (FE_INVALID_COMPARE): Likewise.
55925         (FE_INVALID_SOFTWARE): Likewise.
55926         (FE_INVALID_SQRT): Likewise.
55927         (FE_INVALID_INTEGER_CONVERSION): Likewise.
55928         (FE_TONEAREST): Likewise.
55929         (FE_TOWARDZERO): Likewise.
55930         (FE_UPWARD): Likewise.
55931         (FE_DOWNWARD): Likewise.
55932         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
55933         (FE_DIVBYZERO): Likewise.
55934         (FE_OVERFLOW): Likewise.
55935         (FE_UNDERFLOW): Likewise.
55936         (FE_INEXACT): Likewise.
55937         (FE_TONEAREST): Likewise.
55938         (FE_DOWNWARD): Likewise.
55939         (FE_UPWARD): Likewise.
55940         (FE_TOWARDZERO): Likewise.
55941         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
55942         (FE_UNDERFLOW): Likewise.
55943         (FE_OVERFLOW): Likewise.
55944         (FE_DIVBYZERO): Likewise.
55945         (FE_INVALID): Likewise.
55946         (FE_TONEAREST): Likewise.
55947         (FE_TOWARDZERO): Likewise.
55948         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
55949         (FE_OVERFLOW): Likewise.
55950         (FE_UNDERFLOW): Likewise.
55951         (FE_DIVBYZERO): Likewise.
55952         (FE_INEXACT): Likewise.
55953         (FE_TONEAREST): Likewise.
55954         (FE_TOWARDZERO): Likewise.
55955         (FE_UPWARD): Likewise.
55956         (FE_DOWNWARD): Likewise.
55957         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
55958         (FE_DIVBYZERO): Likewise.
55959         (FE_OVERFLOW): Likewise.
55960         (FE_UNDERFLOW): Likewise.
55961         (FE_INEXACT): Likewise.
55962         (FE_TONEAREST): Likewise.
55963         (FE_DOWNWARD): Likewise.
55964         (FE_UPWARD): Likewise.
55965         (FE_TOWARDZERO): Likewise.
55967 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
55969         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
55971 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
55973         * scripts/cross-test-ssh.sh (command): Use newlines to separate
55974         commands.  Quote $PWD.
55975         (blacklist_exports): Don't use remove_newlines.  Replace "declare
55976         -x" by "export".
55977         (remove_newlines): Remove.
55979 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
55981         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
55982         * stdlib/stdlib.h (atof): Moved to ...
55983         * include/bits/stdlib-float.h: Here.  New file.
55984         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
55985         * stdlib/bits/stdlib-float.h: New file.
55986         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
55987         -mno-sse -mno-mmx.
55988         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
55989         <xmmintrin.h>.
55991 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55993         * conform/conformtest.pl (@headers): Add fenv.h.
55994         * conform/data/fenv.h-data: New file.
55995         * include/fenv.h [_ISOMAC]: Disable all contents of file except
55996         include of <math/fenv.h>.
55998         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
55999         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
56000         && !UNIX98].  Enables tests for XOPEN2K8.
56001         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
56002         POSIX2008]: Likewise.
56004         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
56005         (struct rusage): Do not expect type or its members.
56007         [BZ #3439]
56008         * math/math.h (FP_NAN): Define macro to integer constant usable in
56009         #if and use that to give value to enum constant.
56010         (FP_INFINITE): Likewise.
56011         (FP_ZERO): Likewise.
56012         (FP_SUBNORMAL): Likewise.
56013         (FP_NORMAL): Likewise.
56015 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
56017         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
56018         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
56019         arguments.
56021 2012-11-02  Roland McGrath  <roland@hack.frob.com>
56023         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
56024         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
56025         autoconf-time if not.
56026         * configure.in: Remove AC_PREREQ.
56028 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56030         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
56031         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
56032         of the internal implementation.
56034 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56036         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
56037         except include of <misc/sys/syslog.h>.
56039 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
56042         function returns with a NULL context exit with zero.
56044 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56046         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
56048 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
56050         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
56051         (run_program_cmd): This.
56052         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
56053         (tst_langinfo): New variable.  Use it.
56055 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
56057         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
56058         floating point opcodes.
56060 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56062         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
56063         variable.
56065         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
56067         * sysdeps/mach/hurd/powerpc: Remove directory.
56068         * sysdeps/mach/powerpc: Likewise.
56070 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56072         * scripts/check-local-headers.sh: Ignore c++ headers.
56074 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56076         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
56077         __libc_cleanup_region_start argument.
56079 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
56081         [BZ #14784]
56082         [BZ #14785]
56083         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
56084         x * y using scaling, not as x * y + z.
56085         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56086         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56087         * math/libm-test.inc (fma_test): Add more tests.
56088         (fma_test_towardzero): Likewise.
56089         (fma_test_downward): Likewise.
56090         (fma_test_upward): Likewise.
56092 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56094         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
56096 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56098         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
56099         New variable.
56101 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
56103         * rt/tst-shm.c (worker): Correct checking for mmap failure.
56105 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56108         Fix sort order.
56109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56110         Likewise.
56112 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56115         Fix the order of the list for glibc 2.17.
56116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56117         Likewise.
56119 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56123 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56125         [BZ #14610]
56126         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
56127         for low part of x being zero before using __atanl (y).
56128         * math/libm-test.inc (atan2_test): Add another test.
56130         * manual/install.texi (Configuring and compiling): Document
56131         general use of test-wrapper and test-wrapper-env.
56132         * INSTALL: Regenerated.
56134         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
56135         (__fma): Do not extract and scale down low bits on after-rounding
56136         systems when result rounded to normal precision would have normal
56137         exponent.
56138         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
56139         (__fmal): Do not extract and scale down low bits on after-rounding
56140         systems when result rounded to normal precision would have normal
56141         exponent.
56142         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
56143         (__fmal): Do not extract and scale down low bits on after-rounding
56144         systems when result rounded to normal precision would have normal
56145         exponent.
56146         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
56147         macro.
56148         (fma_test): Add more tests.
56149         (fma_test_towardzero): Likewise.
56150         (fma_test_downward): Likewise.
56151         (fma_test_upward): Likewise.
56153 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
56155         * sysdeps/i386/tininess.h: Renamed to ...
56156         * sysdeps/x86/tininess.h: This.
56157         * sysdeps/x86_64/tininess.h: Removed.
56159 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56161         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
56162         input.  Use $(build-program-cmd).
56163         ($(objpfx)tst-array1-static.out): Likewise.
56164         ($(objpfx)tst-array2.out): Likewise.
56165         ($(objpfx)tst-array3.out): Likewise.
56166         ($(objpfx)tst-array4.out): Likewise.
56167         ($(objpfx)tst-array5.out): Likewise.
56168         ($(objpfx)tst-array5-static.out): Likewise.
56170 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
56172         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
56173         if defined.
56175         * nss/nsswitch.h (nss_interface_function): Provide new
56176         macro for use with NSS functions.
56177         * grp/initgroups.c: Use new macro.
56178         * nss/getXXbyYY.c: Likewise.
56179         * nss/getXXbyYY_r.c: Likewise.
56180         * nss/getXXent.c: Likewise.
56181         * nss/getXXent_r.c: Likewise.
56182         * sysdeps/posix/getaddrinfo.c: Likewise.
56184 2012-10-30  Andreas Jaeger  <aj@suse.de>
56186         * po/ru.po: Update Russion translation from translation project.
56188 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56190         [BZ #14152]
56191         [BZ #14783]
56192         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
56193         result and shift together with sticky bit instead of replicating
56194         round-to-nearest rounding.
56195         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56196         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56197         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
56198         missing underflow exceptions.
56199         (fma_test_towardzero): Add more tests.
56200         (fma_test_downward): Likewise.
56201         (fma_test_upward): Likewise.
56203         [BZ #14047]
56204         * sysdeps/generic/tininess.h: New file.
56205         * sysdeps/i386/tininess.h: Likewise.
56206         * sysdeps/sh/tininess.h: Likewise.
56207         * sysdeps/x86_64/tininess.h: Likewise.
56208         * stdlib/tst-strtod-underflow.c: Likewise.
56209         * stdlib/tst-tininess.c: Likewise.
56210         * stdlib/strtod_l.c: Include <tininess.h>.
56211         (round_and_return): Do not set errno for exact underflow cases.
56212         Force an underflow exception when setting errno for underflow.
56213         Determine underflow based on rounding to normal precision if
56214         TININESS_AFTER_ROUNDING.
56215         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
56216         ERANGE for exact underflow cases.
56217         * stdlib/Makefile (tests): Add tst-tininess and
56218         tst-strtod-underflow.
56219         ($(objpfx)tst-tininess): Use $(link-libm).
56220         ($(objpfx)tst-strtod-underflow): Likewise.
56222 2012-10-30  Andreas Jaeger  <aj@suse.de>
56224         [BZ#14767]
56225         * elf/Makefile (tests): Remove conditional for have-initfini-array
56226         since this is now always required and the variable does not exist
56227         anymore.
56228         (tests-static): Likewise.
56229         (modules-names): Likewise.
56231         * po/eo.po: Add Esperanto translation from translation project.
56233         * elf/tst-array1.c (fini_array): Make writeable so that it can be
56234         merged with constructor/destructor.
56235         (init_array): Likewise.
56236         * elf/tst-array2dep.c (fini_array): Likewise.
56237         (init_array): Likewise.
56239 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
56241         * manual/message.texi: Delete @cartouche tags.
56243 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
56245         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
56246         EOPNOTSUPP.
56247         * sysdeps/mach/hurd/fsync.c: Likewise.
56249         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
56250         [_POSIX_REALTIME_SIGNALS]: Change condition to
56251         [_POSIX_REALTIME_SIGNALS > 0].
56253 2012-10-27  Andreas Jaeger  <aj@suse.de>
56255         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
56256         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
56257         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
56258         [__WORDSIZE != 64]: Likewise.
56260 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
56262         *  iconvdata/tst-table.sh: Remove ${SHELL}.
56263         *  iconvdata/tst-tables.sh: Likewise.
56265 2012-10-25  David S. Miller  <davem@davemloft.net>
56267         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56268         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
56269         of strtoull.
56271         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
56272         ifunc-impl-list.c
56273         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56274         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
56275         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
56276         file.
56278 2012-10-25  Roland McGrath  <roland@hack.frob.com>
56280         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56281         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
56282         __getdirentries.
56284 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56285             Jim Blandy  <jimb@codesourcery.com>
56287         * scripts/cross-test-ssh.sh: New file.
56288         * manual/install.texi (Configuring and compiling): Document use of
56289         cross-test-ssh.sh.
56290         * INSTALL: Regenerated.
56292 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
56294         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
56295         EOPNOTSUPP.
56297 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56299         * Makeconfig (run-program-prefix): Fix comment.
56301 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56302             Jim Blandy  <jimb@codesourcery.com>
56304         * Makeconfig (test-wrapper): New variable,
56305         (test-wrapper-env): Likewise.
56306         [$(cross-compiling) = yes && $(test-wrapper) != ""]
56307         (run-built-tests): Define to yes.
56308         (run-program-prefix): Use $(test-wrapper).
56309         (built-program-cmd): Likewise.
56310         * Rules (make-test-out): Use $(test-wrapper-env) and
56311         $(host-built-program-cmd).
56312         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
56313         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
56314         tst-pathopt.sh.
56315         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
56316         $(test-wrapper-env) to tst-rtld-load-self.sh.
56317         ($(objpfx)order2.out): Use $(test-wrapper).
56318         ($(objpfx)tst-initorder.out): Likewise.
56319         ($(objpfx)tst-initorder2.out): Likewise.
56320         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
56321         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
56322         (test_wrapper_env): New variable.  Use it to run ld.so.
56323         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
56324         Use it to run ld.so.
56325         (test_wrapper_env): Likewise.
56326         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
56327         $(test-wrapper) to run-iconv-test.sh.
56328         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
56329         (ICONV): Use $test_wrapper.
56330         * posix/Makefile ($(objpfx)globtest.out): Pass
56331         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
56332         globtest.sh, not $(run-program-prefix).
56333         * posix/globtest.sh (run_via_rtld_prefix): New variable.
56334         (test_wrapper): Likewise.
56335         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
56336         set together with run_via_rtld_prefix.
56337         (run_program_prefix): Define in terms of test_wrapper and
56338         run_via_rtld_prefix.
56340 2012-10-24  Roland McGrath  <roland@hack.frob.com>
56342         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
56343         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
56344         Targets removed.
56346         [BZ #14743]
56347         * include/time.h: Remove librt_hidden_proto (clock_gettime).
56348         Declare __clock_getres, __clock_gettime, __clock_settime,
56349         __clock_nanosleep, and __clock_getcpuclockid.
56350         * rt/clock_gettime.c: Define __clock_gettime as an alias.
56351         Remove librt_hidden_def (clock_gettime).
56352         * sysdeps/unix/clock_gettime.c: Likewise.
56353         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
56354         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
56355         * rt/clock_getres.c: Define __clock_getres as an alias.
56356         * sysdeps/posix/clock_getres.c: Likewise.
56357         * rt/clock_settime.c: Define __clock_settime as an alias.
56358         * sysdeps/unix/clock_settime.c: Likewise.
56359         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
56360         * sysdeps/unix/clock_nanosleep.c: Likewise.
56361         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
56362         * rt/clock-compat.c: New file.
56363         * rt/Makefile (librt-routines): Add clock-compat and move
56364         $(clock-routines) to ...
56365         (routines): ... here, new variable.
56366         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
56367         Don't add get_clockfreq here.
56368         * rt/Versions (libc: GLIBC_2.17): New version set.
56369         Add clock_* symbols here.
56370         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
56371         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
56372         (GLIBC_2.17): Add clock_* symbols.
56373         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56375         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56377         Likewise.
56378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56379         Likewise.
56380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56381         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56383         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56384         * NEWS: Mention the move.
56386         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56387         Use __open, __read, __close rather than their public counterparts.
56388         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56389         (__get_clockfreq_via_cpuinfo): Likewise.
56390         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
56391         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
56393         * config.h.in (HAVE_IFUNC): New #undef.
56394         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
56395         was successful.
56396         * configure: Regenerated.
56398 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56400         * configure.in: Move READELF check to start of file.
56401         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
56402         libc_cv_asm_gnu_indirect_function in the process.
56403         * configure: Regenerated.
56405 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56407         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
56408         send the output to /dev/null.
56409         (libc_cv_cc_with_libunwind): Likewise.
56410         (libc_cv_as_noexecstack): Likewise.
56411         * configure: Regenerate.
56413 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56415         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
56417         * posix/globtest.sh (TMPDIR): Do not set.
56418         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
56419         (testout): Likewise.
56421 2012-10-24  Andreas Jaeger  <aj@suse.de>
56423         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
56424         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
56425         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
56426         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
56427         posix_fadvise64, posix_fallocate64.
56429         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
56430         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
56431         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
56432         Likewise.
56433         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
56434         Likewise.
56435         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
56437         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
56438         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
56439         <bits/fcntl-linux.h>.
56440         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
56442         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
56443         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
56444         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
56445         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
56446         [__WORDSIZE != 64]: Likewise.
56448 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56450         * Makeconfig (run-built-tests): New variable.
56451         * Rules [$(cross-compiling) = yes]: Change condition to
56452         [$(run-built-tests) = no].
56453         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
56454         to [$(run-built-tests) = yes].
56455         * elf/Makefile [$(cross-compiling) = no]: Likewise.
56456         * grp/Makefile [$(cross-compiling) = no]: Likewise.
56457         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
56458         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
56459         * intl/Makefile [$(cross-compiling) = no]: Likewise.
56460         * io/Makefile [$(cross-compiling) = no]: Likewise.
56461         * libio/Makefile [$(cross-compiling) = no]: Likewise.
56462         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
56463         * misc/Makefile [$(cross-compiling) = no]: Likewise.
56464         * posix/Makefile [$(cross-compiling) = no]: Likewise.
56465         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
56466         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
56467         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
56468         * string/Makefile [$(cross-compiling) = no]: Likewise.
56470         * posix/Makefile ($(objpfx)globtest.out): Pass
56471         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
56472         $(rtld-installed-name).
56473         * posix/globtest.sh (elf_objpfx): Remove variable.
56474         (rtld_installed_name): Likewise.
56475         (library_path): Likewise.
56476         (run_program_prefix): New variable.  Use for running globtest
56477         binary.
56479 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
56480             Joseph Myers  <joseph@codesourcery.com>
56482         * Makeconfig (host-built-program-cmd): New variable.
56483         * elf/Makefile (tst-stackguard1-ARGS): Use
56484         $(host-built-program-cmd).
56485         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
56486         (tst-spawn-ARGS): Likewise.
56487         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
56489 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56490             Jim Blandy  <jimb@codesourcery.com>
56492         * Makeconfig (run-via-rtld-prefix): New variable.
56493         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
56494         (built-program-cmd): Likewise.
56496 2012-10-22  Andreas Jaeger  <aj@suse.de>
56498         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
56499         __O_RSYNC if it exists, otherwise to O_SYNC.
56501 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
56502             Joseph Myers  <joseph@codesourcery.com>
56504         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
56505         /dev/null.
56506         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
56507         from /dev/null
56508         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
56509         /dev/null.
56511 2012-10-22  Andreas Jaeger  <aj@suse.de>
56513         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
56514         Define always.
56515         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
56517         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56518         bits/fcntl-linux.h.
56520         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
56521         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
56523         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
56524         to __O_LARGEFILE.
56525         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
56526         to __O_LARGEFILE.
56528 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
56529             Joseph Myers  <joseph@codesourcery.com>
56531         * config.make.in (NM): New variable.
56533 2012-10-21  Andreas Jaeger  <aj@suse.de>
56535         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
56536         definitions and declarations that are provided by
56537         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56539 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56541         [BZ #14683]
56542         * elf/Makefile (tests-static): Add tst-leaks1-static.
56543         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
56544         ($(objpfx)tst-leaks1-static): New rule.
56545         ($(objpfx)tst-leaks1-static-mem): Likewise.
56546         (tst-leaks1-static-ENV): New macro.
56547         * elf/dl-open.c (dl_open_worker): Check the main application
56548         only if SHARED is defined.
56549         * elf/tst-leaks1-static.c: New file.
56551 2012-10-20  Andreas Jaeger  <aj@suse.de>
56553         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
56554         generic values for Linux.
56555         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
56556         and declarations that are provided by <bits/fcntl-linux.h> and
56557         include <bits/fcntl-linux.h>.
56558         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56559         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56561 2012-10-20  Roland McGrath  <roland@hack.frob.com>
56563         * io/fcntl.h: Move include of <bits/types.h> to the top and
56564         include it unconditionally.
56566 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56568         * wcsmbs/Makefile (tests-ifunc): New variable.
56569         (tests): Add $(tests-ifunc).
56570         * wcsmbs/test-wcschr-ifunc.c: New file.
56571         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
56572         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
56573         * wcsmbs/test-wcslen-ifunc.c: Likewise.
56574         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
56575         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
56577         * string/Makefile (tests-ifunc): New variable.
56578         (tests): Add $(tests-ifunc).
56579         * string/test-memccpy.c (TEST_NAME): New macro.
56580         * string/test-memchr.c (TEST_NAME): Likewise.
56581         * string/test-memcmp.c (TEST_NAME): Likewise.
56582         * string/test-memcpy.c (TEST_NAME): Likewise.
56583         * string/test-memmem.c (TEST_NAME): Likewise.
56584         * string/test-memmove.c (TEST_NAME): Likewise.
56585         * string/test-memset.c (TEST_NAME): Likewise.
56586         * string/test-rawmemchr.c (TEST_NAME): Likewise.
56587         * string/test-stpcpy.c (TEST_NAME): Likewise.
56588         * string/test-stpncpy.c (TEST_NAME): Likewise.
56589         * string/test-strcasecmp.c (TEST_NAME): Likewise.
56590         * string/test-strcasestr.c (TEST_NAME): Likewise.
56591         * string/test-strcat.c (TEST_NAME): Likewise.
56592         * string/test-strchr.c (TEST_NAME): Likewise.
56593         * string/test-strcmp.c(TEST_NAME): Likewise.
56594         * string/test-strcpy.c (TEST_NAME): Likewise.
56595         * string/test-strcspn.c (TEST_NAME): Likewise.
56596         * string/test-strlen.c (TEST_NAME): Likewise.
56597         * string/test-strncasecmp.c (TEST_NAME): Likewise.
56598         * string/test-strncmp.c (TEST_NAME): Likewise.
56599         * string/test-strncpy.c (TEST_NAME): Likewise.
56600         * string/test-strnlen.c (TEST_NAME): Likewise.
56601         * string/test-strpbrk.c (TEST_NAME): Likewise.
56602         * string/test-strrchr.c (TEST_NAME): Likewise.
56603         * string/test-strspn.c (TEST_NAME): Likewise.
56604         * string/test-strstr.c (TEST_NAME): Likewise.
56605         * string/test-bcopy-ifunc.c: New file.
56606         * string/test-bzero-ifunc.c: Likewise.
56607         * string/test-memccpy-ifunc.c: Likewise.
56608         * string/test-memchr-ifunc.c: Likewise.
56609         * string/test-memcmp-ifunc.c: Likewise.
56610         * string/test-memcpy-ifunc.c: Likewise.
56611         * string/test-memmem-ifunc.c: Likewise.
56612         * string/test-memmove-ifunc.c: Likewise.
56613         * string/test-mempcpy-ifunc.c: Likewise.
56614         * string/test-memset-ifunc.c: Likewise.
56615         * string/test-rawmemchr-ifunc.c: Likewise.
56616         * string/test-stpcpy-ifunc.c: Likewise.
56617         * string/test-stpncpy-ifunc.c: Likewise.
56618         * string/test-strcasecmp-ifunc.c: Likewise.
56619         * string/test-strcasestr-ifunc.c: Likewise.
56620         * string/test-strcat-ifunc.c: Likewise.
56621         * string/test-strchr-ifunc.c: Likewise.
56622         * string/test-strchrnul-ifunc.c: Likewise.
56623         * string/test-strcmp-ifunc.c: Likewise.
56624         * string/test-strcpy-ifunc.c: Likewise.
56625         * string/test-strcspn-ifunc.c: Likewise.
56626         * string/test-strlen-ifunc.c: Likewise.
56627         * string/test-strncasecmp-ifunc.c: Likewise.
56628         * string/test-strncat-ifunc.c: Likewise.
56629         * string/test-strncmp-ifunc.c: Likewise.
56630         * string/test-strncpy-ifunc.c: Likewise.
56631         * string/test-strnlen-ifunc.c: Likewise.
56632         * string/test-strpbrk-ifunc.c: Likewise.
56633         * string/test-strrchr-ifunc.c: Likewise.
56634         * string/test-strspn-ifunc.c: Likewise.
56635         * string/test-strstr-ifunc.c: Likewise.
56637         * debug/Makefile (tests-ifunc): New variable.
56638         (tests): Add $(tests-ifunc).
56639         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
56640         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
56641         * debug/test-stpcpy_chk-ifunc.c: New file.
56642         * debug/test-strcpy_chk-ifunc.c: Likewise.
56644 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56646         [BZ #13601]
56647         * elf/dl-load.c (open_verify): Retry read if the entire ELF
56648         header is not read in.
56650 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
56652         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
56653         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
56654         directly.  Pass built executable to script as
56655         $(built-program-cmd).
56656         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
56657         $testprogram without using LD_LIBRARY_PATH and $ldso.
56659         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
56660         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
56661         $(rtld-installed-name).
56662         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
56663         (rtld_installed_name): Likewise.
56664         (library_path): Likewise.
56665         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
56666         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
56667         $(run-program-prefix) to tst-tables.sh.
56668         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
56669         it to run tst-table-from and tst-table-to.
56670         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
56671         Pass it to tst-table.sh.
56672         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
56673         $(run-program-prefix) to tst-gettext.sh.
56674         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
56675         tst-translit.sh.
56676         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
56677         tst-gettext2.sh.
56678         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
56679         to run tst-gettext.
56680         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
56681         to run tst-gettext2.
56682         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
56683         to run tst-translit.
56684         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
56685         $(run-program-prefix) to tst-mtrace.sh.
56686         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
56687         to run tst-mtrace.
56688         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
56689         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
56690         $(rtld-installed-name).
56691         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
56692         (rtld_installed_name): Likewise.
56693         (run_program_prefix): New variable.  Use it to run wordexp-test.
56695         * Makeconfig (ARCH): Remove all definitions.
56696         (machine): Likewise.
56697         [ARCH]: Remove conditional code.
56698         [!objdir]: Give error.
56699         [!objdir] (objpfx): Remove.
56700         [!objdir] (common-objpfx): Likewise.
56701         [!objdir] (common-objdir): Likewise.
56702         * configure.in (config_makefile): Remove.  Hardcode Makefile in
56703         AC_CONFIG_FILES call.
56704         * configure: Regenerated.
56706         [BZ #13888]
56707         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
56708         or TMPDIR.
56709         (testout): Likewise.
56711         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
56712         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
56713         $(rtld-installed-name).
56714         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
56715         (rtld_installed_name): Likwise.
56716         (runit): Remove function.
56717         (run_getconf): New variable,  Use it for running getconf binary.
56719 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
56721         [BZ #14716]
56722         * string/test-memmem.c (check_result): New function.
56723         (do_one_test): Use it.
56724         (check1): New function.
56725         (test_main): Use it.
56727 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
56729         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
56731 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
56733         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
56734         (_G_LSEEK64): Likewise.
56735         (_G_MMAP64): Likewise.
56736         (_G_FSTAT64): Likewise.
56737         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
56738         (_G_LSEEK64): Likewise.
56739         (_G_MMAP64): Likewise.
56740         (_G_FSTAT64): Likewise.
56741         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
56742         unconditional.  Call __mmap64 directly.
56743         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
56744         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
56745         __lseek64 directly.
56746         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
56747         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
56748         __mmap64 directly.
56749         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
56750         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56751         __lseek64 directly.
56752         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
56753         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56754         __lseek64 directly.
56755         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
56756         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
56757         __lseek64 directly.
56758         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
56759         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
56760         __fxstat64 directly.
56761         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
56762         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
56763         unconditional.
56764         (freopen64) [!_G_OPEN64]: Remove conditional code.
56765         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
56766         unconditional.
56767         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
56768         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
56769         unconditional.
56770         (ftello64) [!_G_LSEEK64]: Remove conditional code.
56771         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
56772         unconditional.
56773         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56774         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
56775         unconditional.
56776         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
56777         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
56778         unconditional.
56779         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56780         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
56781         unconditional.
56782         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56783         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
56784         unconditional.
56785         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56787 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56789         [BZ #12140]
56790         * manual/memory.texi (Malloc Tunable Parameters): Add note
56791         about free list pointers overwriting some perturb bytes.
56792         Wording suggested by Roland McGrath.
56794 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
56796         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
56797         (lgamma_test): Likewise.
56798         (tgamma_test): Likewise.
56800 2012-10-16  Florian Weimer  <fweimer@redhat.com>
56802         [BZ #14700]
56803         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
56804         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
56806 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
56808         * NEWS: Mention BZ #14716.
56809         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
56810         when removing AVAILABLE1_USES_J macro.
56812 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
56814         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
56815         (__bswap_64): __uint64_t for unsigned 64-bit int.
56817 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
56819         * include/string.h (memmem): Declare libc hidden alias.
56820         * string/memmem.c (memmem): Define libc hidden alias.
56821         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
56822         __read, __close instead of open, read, close.
56824 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
56826         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
56827         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
56828         global and hidden.
56829         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
56830         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
56831         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
56832         Likewise.
56833         (__rawmemchr_sse2): Likewise.
56834         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
56835         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
56836         (__strchr_sse2): Likewise.
56837         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
56838         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
56839         (__strcasecmp_sse2): Likewise.
56840         (__strncasecmp_sse2): Likewise.
56841         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
56842         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
56843         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
56844         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
56845         (__strrchr_sse2): Likewise.
56846         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
56847         ifunc-impl-list.c.
56848         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
56849         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
56850         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
56851         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56852         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
56853         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
56854         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56855         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56856         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
56857         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
56858         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
56859         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
56860         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
56861         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
56862         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
56863         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
56864         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
56865         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
56866         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
56867         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
56868         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
56869         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
56870         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
56871         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56872         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
56873         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56874         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
56875         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
56876         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
56877         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
56879         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
56880         global and hidden.
56881         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
56882         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
56883         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
56884         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
56885         Likewise.
56886         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
56887         Likewise.
56888         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
56889         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
56890         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
56891         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
56892         ifunc-impl-list.c.
56893         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56894         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56895         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56896         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56897         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56898         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56899         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56900         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56901         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56902         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56903         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56904         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56905         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56906         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
56907         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
56908         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56909         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
56910         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
56911         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56912         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56913         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56914         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56915         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56916         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56917         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56918         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
56919         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
56920         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
56921         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
56922         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56923         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
56924         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56925         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56926         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
56927         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56928         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56929         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56930         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56931         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56932         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56933         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
56935         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
56936         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
56937         * include/ifunc-impl-list.h: New file.
56938         * misc/ifunc-impl-list.c: Likewise.
56939         * misc/Makefile (routines): Add ifunc-impl-list.
56940         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
56941         * string/test-string.h: Include <ifunc-impl-list.h>.
56942         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
56943         TEST_NAME]: New variables.
56944         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
56945         are defined.
56946         (test_init): Call __libc_ifunc_impl_list to initialize
56947         func_list if TEST_IFUNC and TEST_NAME are defined.
56949         * string/Makefile (strop-tests): Add bcopy and bzero.
56950         * string/test-bcopy.c: New file.
56951         * string/test-bzero.c: Likewise.
56952         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
56953         defined.
56954         * string/test-memset.c: Support bzero test if TEST_BZERO is
56955         defined.
56956         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
56957         __libc_memmove.
56958         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
56959         __libc_memset.
56960         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
56961         of memset.
56963 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
56965         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
56966         * configure: Regenerated.
56968         * Makeconfig (+link-static-before-libc): Don't include
56969         $(link-static-libc).
56971         * libio/libio.h (_IO_pos_t): Remove.
56973 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56975         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
56976         McGrath.
56978 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56980         * crypt/crypt-entry.c: Include fips-private.h.
56981         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
56982         * crypt/md5c-test.c (main): Tolerate disabled MD5.
56983         * sysdeps/unix/sysv/linux/fips-private.h: New file.
56984         * sysdeps/generic/fips-private.h: New file, dummy fallback.
56986 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56988         * crypt/crypt-private.h: Include stdbool.h.
56989         (_ufc_setup_salt_r): Return bool.
56990         * crypt/crypt-entry.c: Include errno.h.
56991         (__crypt_r): Return NULL with EINVAL for bad salt.
56992         * crypt/crypt_util.c (bad_for_salt): New.
56993         (_ufc_setup_salt_r): Check that salt is long enough and within
56994         the specified alphabet.
56995         * crypt/badsalttest.c: New file.
56996         * crypt/Makefile (tests): Add it.
56997         ($(objpfx)badsalttest): New.
56999 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
57001         * NEWS: Add entry for BZ #14602.
57003 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57005         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
57006         type-generic.
57007         * math/libm-test.inc: Update comment listing what functions and
57008         macros are tested.
57009         (isgreater_test): New function.
57010         (isgreaterequal_test): Likewise.
57011         (isless_test): Likewise.
57012         (islessequal_test): Likewise.
57013         (islessgreater_test): Likewise.
57014         (isunordered_test): Likewise.
57015         (main): Call the new functions.
57017 2012-10-09  Roland McGrath  <roland@hack.frob.com>
57019         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
57020         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
57021         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
57022         * sysdeps/i386/configure: Regenerated.
57023         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
57024         * sysdeps/mach/configure: Regenerated.
57025         * sysdeps/mach/hurd/configure: Regenerated.
57026         * sysdeps/powerpc/configure: Regenerated.
57027         * sysdeps/powerpc/powerpc32/configure: Regenerated.
57028         * sysdeps/powerpc/powerpc64/configure: Regenerated.
57029         * sysdeps/s390/s390-32/configure: Regenerated.
57030         * sysdeps/s390/s390-64/configure: Regenerated.
57031         * sysdeps/sh/configure: Regenerated.
57032         * sysdeps/sparc/configure: Regenerated.
57033         * sysdeps/unix/sysv/linux/configure: Regenerated.
57034         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
57035         * sysdeps/x86_64/configure: Regenerated.
57037         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
57038         defined.  Don't check if MAP is NULL.
57040 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57042         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
57043         (_G_stat64): Likewise.
57044         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
57045         (_G_stat64): Likewise.
57046         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
57047         instead of struct _G_stat64.
57048         * libio/fileops.c (mmap_remap_check): Likewise.
57049         (decide_maybe_mmap): Likewise.
57050         (_IO_new_file_seekoff): Likewise.
57051         (_IO_file_stat): Likewise.
57052         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
57053         _G_off64_t.
57054         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
57055         instead of struct _G_stat64.
57056         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57058 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
57060         [BZ #14602]
57061         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57062         Replace with ...
57063         (CHECK_EOL): New macro.
57064         (two_way_short_needle): Check beginning of haystack for EOL.  Use
57065         CHECK_EOL.
57066         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57067         Replace with CHECK_EOL.
57068         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57069         Replace with CHECK_EOL.
57071 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
57073         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
57074         type-generic.
57075         * math/libm-test.inc: Update comment listing what functions and
57076         macros are tested.
57077         (finite_test): New function.
57078         (isinf_test): Likewise.
57079         (isnan_test): Likewise.
57080         (fpclassify_test): Test subnormal input.
57081         (isfinite_test): Likewise.
57082         (isnormal_test): Likewise.
57083         (main): Call the new functions.
57085 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
57087         [BZ #14660]
57088         * Makerules (%.dynsym): Force C locale when running
57089         $(OBJDUMP) --dynamic-syms.
57091 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
57093         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
57094         <stdint.h>.
57096 2012-10-06  David S. Miller  <davem@davemloft.net>
57098         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
57099         upper 32-bits of the length value in %o2 since we use branch-on-register
57100         tests which consider the entire 64-bit register.
57102 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
57104         * string/test-strstr.c (check2): Add a test for page boundary.
57106 2012-10-05  David S. Miller  <davem@davemloft.net>
57108         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
57109         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
57110         file.
57111         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57112         sysdep_routines.
57113         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57114         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
57115         and bzero when HWCAP_SPARC_CRYPTO is present.
57117 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
57119         [BZ #14602]
57120         * string/test-strstr.c (check2): New function.
57121         (test_main): Call check2.
57123         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
57124         and bug-strchr1.
57125         * string/bug-strcasestr1.c (do_test): Moved to ...
57126         * string/test-strcasestr.c (check1): Here.  New function.
57127         (do_one_test): Break out result checking code into ...
57128         (check_result): This.  New function.
57129         (do_one_test): Call check_result.
57130         (test_main): Call check1.
57131         * string/bug-strchr1.c (do_test): Moved to ...
57132         * string/test-strchr.c (check1): Here.  New function.
57133         (do_one_test): Break out result checking code into ...
57134         (check_result): This.  New function.
57135         (do_one_test): Call check_result.
57136         (test_main): Call check1.
57137         * string/bug-strstr1.c (main): Moved to ...
57138         * string/test-strstr.c (check1): Here.  New function.
57139         (do_one_test): Break out result checking code into ...
57140         (check_result): This.  New function.
57141         (do_one_test): Call check_result.
57142         (test_main): Call check1.
57143         * string/bug-strcasestr1.c: Removed.
57144         * string/bug-strchr1.c: Likewise.
57145         * string/bug-strstr1.c: Likewise.
57147         * elf/Makefile (dl-routines): Add hwcaps.
57148         * elf/dl-support.c (_dl_important_hwcaps): Removed.
57149         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
57150         (_dl_important_hwcaps): Moved to ...
57151         * elf/dl-hwcaps.c: Here.  New file.
57152         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
57154         [BZ #14557]
57155         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
57156         if IS_IN_rtld isn't defined.
57158         * elf/dl-support.c (_dl_sysinfo_map): New.
57159         Include "get-dynamic-info.h" and "setup-vdso.h".
57160         (_dl_non_dynamic_init): Call setup_vdso.
57161         * elf/dynamic-link.h: Don't include <assert.h>.
57162         (elf_get_dynamic_info): Moved to ...
57163         * elf/get-dynamic-info.h: Here.  New file.
57164         * elf/dynamic-link.h: Include "get-dynamic-info.h".
57165         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
57166         * elf/setup-vdso.h: Here.  New file.
57167         * elf/rtld.c: Include "setup-vdso.h".
57168         (dl_main): Call setup_vdso.
57170 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
57172         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
57173         creal in comment listing functions tested.  List finite, isinf,
57174         isnan, isless, islessequal, isgreater, isgreaterequal,
57175         islessgreater, isunordered, lgamma_r and pow10 as functions and
57176         macros not tested.  Mention which functions not tested are aliases
57177         for other functions.  Fix typo.  Note that signs of NaNs are not
57178         tested.
57180         * scripts/config.guess: Update from config.git.
57181         * scripts/config.sub: Likewise.
57183 2012-10-04  Roland McGrath  <roland@hack.frob.com>
57185         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
57186         * misc/madvise.c (madvise): Renamed to __madvise.
57187         Make madvise a weak alias.
57188         * include/sys/mman.h: Declare __madvise.
57189         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
57190         * sysdeps/unix/syscalls.list
57191         (madvise): Make __madvise the strong name, and madvise a weak alias.
57192         * sysdeps/unix/sysv/linux/syscalls.list
57193         (madvise, mmap): Remove redundant entries.
57194         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
57195         * malloc/malloc.c (mtrim): Likewise.
57196         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
57198 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57200         * sysdeps/mach/hurd/dl-cache.c: File removed.
57201         * config.h.in (USE_LDCONFIG): New #undef.
57202         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
57203         * configure: Regenerated.
57204         * elf/Makefile (dl-routines): Add dl-cache only under
57205         [$(use-ldconfig) = yes].
57206         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
57207         cache on [USE_LDCONFIG].
57208         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
57209         [USE_LDCONFIG].
57210         * elf/rtld.c (dl_main): Likewise.
57212 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
57214         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
57215         _SC_LEVEL4_CACHE_LINESIZE.
57217 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57219         * sysdeps/unix/bsd/confstr.h: File removed.
57221 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
57223         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
57224         sys/sdt-config.h.
57226 2012-10-02  Roland McGrath  <roland@hack.frob.com>
57228         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
57229         Make 'mapoff' field ElfW(Off) rather than off_t.
57231 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
57233         * nscd/Makefile: Remove nscd-cflags and all its users.
57234         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
57235         (CFLAGS-nonlib): Add compiler flags for nscd modules.
57237         [BZ #10631]
57238         * malloc.c (malloc_printerr): Clarify error message.
57240 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
57242         [BZ #14648]
57243         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57244         Set bit_FMA_Usable if FMA is supported.
57245         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
57246         macro.
57247         (bit_FMA4_Usable): Updated.
57248         (index_FMA_Usable): New macro.
57249         (CPUID_FMA): Likewise.
57250         (HAS_FMA): Defined with bit_FMA_Usable.
57252 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57254         * bits/types.h (__swblk_t): Type removed.
57255         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
57256         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
57257         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57258         (__SWBLK_T_TYPE): Likewise.
57259         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57260         (__SWBLK_T_TYPE): Likewise.
57261         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57262         (__SWBLK_T_TYPE): Likewise.
57263         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57264         (__SWBLK_T_TYPE): Likewise.
57266 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
57267             Honza Horak <hhorak@redhat.com>
57269         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
57270         (xdr_mapname): Use YPMAXMAP as maxsize.
57271         (xdr_peername): Use YPMAXPEER as maxsize.
57272         (xdr_keydat): Use YPAXRECORD as maxsize.
57273         (xdr_valdat): Use YPMAXRECORD as maxsize.
57275 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57277         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
57279         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
57280         * csu/init-first.c: ... here.
57281         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
57282         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
57283         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
57284         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
57285         * sysdeps/i386/init-first.c: File removed.
57286         * sysdeps/sh/init-first.c: File removed.
57288 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
57290         [BZ #14645]
57291         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
57292         if x * y might underflow to zero and z is zero.
57293         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57294         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57295         * math/libm-test.inc (min_subnorm_value): New variable.
57296         (fma_test): Add more tests.
57297         (fma_test_towardzero): Likewise.
57298         (fma_test_downward): Likewise.
57299         (fma_test_upward): Likewise.
57300         (initialize): Set min_subnorm_value.
57302 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
57304         [BZ #14638]
57305         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
57306         0 + 0.
57307         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
57308         mode for addition resulting in exact zero.
57309         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
57310         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
57311         exact 0 + 0.
57312         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57313         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57314         * math/libm-test.inc (fma_test): Add more tests.
57315         (fma_test_towardzero): New function.
57316         (fma_test_downward): Likewise.
57317         (fma_test_upward): Likewise.
57318         (main): Call the new functions.
57320 2012-09-28  David S. Miller  <davem@davemloft.net>
57322         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
57324 2012-09-28  Roland McGrath  <roland@hack.frob.com>
57326         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
57327         instead of SIGALRM.
57329         * sysdeps/gnu/_G_config.h: Moved to ...
57330         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
57331         * sysdeps/mach/hurd/_G_config.h: Moved to ...
57332         * sysdeps/generic/_G_config.h: ... here.
57334         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
57336         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
57338         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
57339         Conditionalize target on [libnss_test1.so-version].
57341         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
57343         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
57344         (elfobjdir): Move out of conditionals.
57346         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
57347         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
57348         (__nss_lookup_function): Conditionalize label remove_from_tree on
57349         [!DO_STATIC_NSS || SHARED], matching its only use.
57351 2012-09-28  David S. Miller  <davem@davemloft.net>
57353         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
57354         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
57355         file.
57356         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57357         sysdep_routines.
57358         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57359         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
57360         when HWCAP_SPARC_CRYPTO is present.
57362 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57364         * io/tst-mknodat.c: Create a FIFO instead of a socket.
57366 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
57368         [BZ #6530]
57369         * stdio-common/vfprintf.c (process_string_arg): Revert
57370         2000-07-22 change.
57372 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
57374         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
57375         for testcase.
57376         * stdio-common/tst-sprintf.c: Include <locale.h>
57377         (main): Test sprintf's handling of incomplete multibyte
57378         characters.
57380 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
57382         * elf/dl-runtime.c (VERSYMIDX): Removed.
57383         * elf/dl-version.c (VERSYMIDX): Likewise.
57384         * elf/do-rel.h (VERSYMIDX): Likewise.
57385         (VALIDX): Likewise.
57386         * elf/dynamic-link.h (VERSYMIDX): Likewise.
57387         * elf/rtld.c (VALIDX): Likewise.
57388         (ADDRIDX): Likewise.
57389         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
57390         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
57391         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
57392         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
57393         (VALIDX): Likewise.
57394         (ADDRIDX): Likewise.
57396 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57398         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
57400 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
57402         [BZ #11438]
57403         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
57404         to global scope.
57405         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
57406         addresses are in the same scope as 192.0.2/24.
57407         * posix/gai.conf: Document new scope table defaults.
57409 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57411         [BZ #5298]
57412         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
57413         for ftell.  Compute offsets from write pointers instead.
57414         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57416 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57418         [BZ #14543]
57419         * libio/Makefile (tests): New test case tst-fseek.
57420         * libio/tst-fseek.c: New test case to verify that fseek/ftell
57421         combination works in wide mode.
57422         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
57423         state when the external buffer state changes.
57425 2012-09-27  David S. Miller  <davem@davemloft.net>
57427         [BZ #14376]
57428         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
57429         pass reloc->r_addend in as the 'high' argument to
57430         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
57432         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57434 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57436         * rt/tst-aio2.c: Include <pthread.h>.
57437         * rt/tst-aio3.c: Likewise.
57439 2012-09-27  Steve Ellcey  <sellcey@mips.com>
57441         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
57443 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
57445         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
57446         contents on [SHARED].
57448 2012-09-26  Marek Polacek  <polacek@redhat.com>
57450         [BZ #14530]
57451         [BZ #13741]
57452         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
57453         for C++ and GCC <4.3 as well as for non GCC compilers.
57455 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
57457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57459 2012-09-25  Roland McGrath  <roland@hack.frob.com>
57461         * Makefile.in (all, install): Declare with .PHONY.
57462         Reported by Michael Hope <michael.hope@linaro.org>.
57464 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57466         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
57467         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
57468         system header.
57469         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
57470         Likewise.
57471         (sydep_routines): Add the new and the internal functions.
57472         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
57473         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
57474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
57475         (GLIBC_2.17): Add the new function.
57476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57477         (GLIBC_2.17): Likewise.
57478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
57479         (GLIBC_2.17): Likewise.
57480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
57481         (GLIBC_2.17): Likewise.
57482         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
57484 2012-09-25  Alan Modra  <amodra@gmail.com>
57486         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
57487         Add release barrier before setting once_control to say
57488         initialisation is done.  Add hints on lwarx.  Use macro in
57489         place of isync.
57490         (clear_once_control): Add release barrier.
57492 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57494         [BZ #13629]
57495         * math/s_clog.c (__clog): Handle more values close to |z| = 1
57496         specially.
57497         * math/s_clog10.c (__clog10): Likewise.
57498         * math/s_clog10f.c (__clog10f): Likewise.
57499         * math/s_clog10l.c (__clog10l): Likewise.
57500         * math/s_clogf.c (__clogf): Likewise.
57501         * math/s_clogl.c (__clogl): Likewise.
57502         * math/Makefile (libm-calls): Add x2y2m1.
57503         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
57504         (__x2y2m1): Likewise.
57505         (__x2y2m1l): Likewise.
57506         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
57507         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
57508         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
57509         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57510         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
57511         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
57512         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
57513         * sysdeps/i386/fpu/libm-test-ulps: Update.
57514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57516         [BZ #14621]
57517         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
57518         int as type of variable DEPTH.
57519         (glob): Use size_t instead of int as type of variables NEWCOUNT
57520         and OLD_PATHC.
57522 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57524         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57525         Add s_sincosf-sse2.
57526         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
57527         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
57528         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
57529         macros for using routine as __sincosf_ia32.
57530         Use macro for function declaration and weak_alias.
57531         * sysdeps/i386/fpu/libm-test-ulps: Update.
57533         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
57534         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57536         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
57537         subnormal argument.
57538         * math/s_cexpf.c (__cexpf): Likewise.
57539         * math/s_csinf.c (__csinf): Likewise.
57540         * math/s_csinhf.c (__csinhf): Likewise.
57541         * math/s_ctanf.c (__ctanf): Likewise.
57542         * math/s_ctanhf.c (__ctanhf): Likewise.
57543         * math/s_ccosh.c (__ccoshf): Likewise.
57544         * math/s_cexp.c (__cexpl): Likewise.
57545         * math/s_csin.c (__csin): Likewise.
57546         * math/s_csinh.c (__csinh): Likewise.
57547         * math/s_ctan.c (__ctan): Likewise.
57548         * math/s_ctanh.c (ctanh): Likewise.
57549         * math/s_ccoshl.c (__ccoshl): Likewise.
57550         * math/s_cexpl.c (__cexpl): Likewise.
57551         * math/s_csinl.c (__csinl): Likewise.
57552         * math/s_csinhl.c (__csinhl): Likewise.
57553         * math/s_ctanl.c (__ctanl): Likewise.
57554         * math/s_ctanhl.c (__ctanhl): Likewise.
57556 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57558         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
57559         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
57560         (_IO_off_t): Define to __off_t, not _G_off_t.
57561         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
57562         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
57563         (_IO_wint_t): Define to wint_t, not _G_wint_t.
57564         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
57565         type of __dummy and __dummy2 fields.
57566         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
57567         (_G_ssize_t): Likewise.
57568         (_G_off_t): Likewise.
57569         (_G_pid_t): Likewise.
57570         (_G_uid_t): Likewise.
57571         (_G_wchar_t): Likewise.
57572         (_G_wint_t): Likewise.
57573         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
57574         (_G_ssize_t): Likewise.
57575         (_G_off_t): Likewise.
57576         (_G_pid_t): Likewise.
57577         (_G_uid_t): Likewise.
57578         (_G_wchar_t): Likewise.
57579         (_G_wint_t): Likewise.
57580         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
57581         (_G_ssize_t): Likewise.
57582         (_G_off_t): Likewise.
57583         (_G_pid_t): Likewise.
57584         (_G_uid_t): Likewise.
57585         (_G_wchar_t): Likewise.
57586         (_G_wint_t): Likewise.
57588 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57590         * malloc/arena.c: Include malloc-sysdep.h.
57591         (shrink_heap): Use check_may_shrink_heap to decide if madvise
57592         is sufficient to shrink the heap or an unmap is needed.
57593         * sysdeps/generic/malloc-sysdep.h: New file.  Define
57594         new function check_may_shrink_heap.
57595         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
57596         new function check_may_shrink_heap.
57598 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57600         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
57601         comments.
57603 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
57605         * catgets/test-gencat.sh: Add "set -e".
57606         * elf/tst-pathopt.sh: Likewise.
57607         * grp/tst_fgetgrent.sh: Likewise.
57608         * iconvdata/run-iconv-test.sh: Likewise.
57609         * intl/tst-gettext.sh: Likewise.
57610         * intl/tst-gettext2.sh: Likewise.
57611         * intl/tst-gettext4.sh: Likewise.
57612         * intl/tst-gettext6.sh: Likewise.
57613         * intl/tst-translit.sh: Likewise.
57614         * io/ftwtest-sh: Likewise.
57615         * libio/test-freopen.sh: Likewise.
57616         * malloc/tst-mtrace.sh: Likewise.
57617         * posix/globtest.sh: Likewise.
57618         * posix/tst-getconf.sh: Likewise.
57619         * posix/wordexp-tst.sh: Likewise.
57620         * stdio-common/tst-printf.sh: Likewise.
57621         * stdio-common/tst-unbputc.sh: Likewise.
57622         * stdlib/tst-fmtmsg.sh: Likewise.
57623         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57624         * catgets/Makefile: Do not specify -e option when running
57625         testsuite shell scripts.
57626         * elf/Makefile: Likewise.
57627         * grp/Makefile: Likewise.
57628         * iconvdata/Makefile: Likewise.
57629         * intl/Makefile: Likewise.
57630         * io/Makefile: Likewise.
57631         * libio/Makefile: Likewise.
57632         * malloc/Makefile: Likewise.
57633         * posix/Makefile: Likewise.
57634         * stdio-common/Makefile: Likewise.
57635         * stdlib/Makefile: Likewise.
57636         * sysdeps/x86_64/Makefile: Likewise.
57638         * io/ftwtest-sh: Add copyright header.
57639         * posix/globtest.sh: Likewise.
57640         * posix/tst-getconf.sh: Likewise.
57641         * posix/wordexp-tst.sh: Likewise.
57642         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57644 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
57646         [BZ #13679]
57647         * Makeconfig (+link): Defined as $(+link-static) if
57648         $(build-shared) isn't yes.
57649         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
57650         isn't yes.
57651         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
57653         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
57655         [BZ #14562]
57656         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
57657         new chunk size with MALLOC_ALIGN_MASK.
57659 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
57661         [BZ #5044]
57662         * stdio-common/printf_fphex.c: Include <stdbool.h> and
57663         <rounding-mode.h>.
57664         (__printf_fphex): Determine rounding using get_rounding_mode and
57665         round_away.
57666         * stdio-common/tst-printf-round.c (struct hex_test): New
57667         structure.
57668         (hex_tests): New variable.
57669         (test_hex_in_one_mode): New function.
57670         (do_test): Also run tests for hex float output.
57672 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
57674         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57675         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57676         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
57677         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57678         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57679         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
57680         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57681         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57683 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
57685         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
57686         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
57687         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
57688         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
57690 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
57692         [BZ #14579]
57693         * elf/rtld.c (dl_main): Limit the check for self loading to normal
57694         mode only.
57695         * elf/tst-rtld-load-self.sh: New test.
57696         * elf/Makefile: Run it.
57698 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
57700         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
57701         (tst-writev-ENV): Remove.
57702         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
57704 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
57706         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
57708 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
57710         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
57711         unconditional.
57712         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
57713         Likewise.
57714         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
57715         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
57716         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
57717         Likewise.
57719 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
57721         [BZ #14587]
57722         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
57723         * config.make.in (have-cpp-asm-debuginfo): Removed.
57724         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
57725         * configure: Regenerated.
57727 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
57729         [BZ #5044]
57730         * stdio-common/printf_fp.c: Include <stdbool.h> and
57731         <rounding-mode.h>.
57732         (___printf_fp): Determine rounding using get_rounding_mode and
57733         round_away.
57734         * stdio-common/tst-printf-round.c: New file.
57735         * stdio-common/Makefile (tests): Add tst-printf-round.
57736         (link-libm): New variable.
57737         ($(objpfx)tst-printf-round): Depend in $(link-libm).
57739 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
57741         [BZ #14576]
57742         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
57743         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
57744         Likewise.
57745         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
57746         Likewise.
57748 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
57750         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
57751         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57752         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57753         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57755 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
57757         [BZ #14518]
57758         * include/rounding-mode.h: New file.
57759         * sysdeps/generic/get-rounding-mode.h: Likewise.
57760         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
57761         * stdlib/strtod_l.c: Include <rounding-mode.h>.
57762         (MAX_VALUE): New macro.
57763         (MIN_VALUE): Likewise.
57764         (overflow_value): New function.
57765         (underflow_value): Likewise.
57766         (round_and_return): Use overflow_value and underflow_value to
57767         determine return values in overflow and underflow cases.  Use
57768         round_away to determine rounding depending on rounding mode.
57769         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
57770         determine return values in overflow and underflow cases.
57771         * stdlib/tst-strtod-round.c: Include <fenv.h>.
57772         (struct test_results): New structure.
57773         (struct test): Use struct test_results to store expected results
57774         for all rounding modes.
57775         (TEST): Include expected results for all rounding modes.
57776         (test_in_one_mode): New function.
57777         (do_test): Use test_in_one_mode to compute and check results.
57778         Check results for all rounding modes.
57779         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
57780         $(link-libm).
57782 2012-12-09  Allan McRae  <allan@archlinux.org>
57784         * sysdeps/i386/fpu/libm-test-ulps: Update
57786 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
57788         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
57789         (_G_int32_t): Likewise.
57790         (_G_uint16_t): Likewise.
57791         (_G_uint32_t): Likewise.
57792         (_G_HAVE_BOOL): Likewise.
57793         (_G_HAVE_ATEXIT): Likewise.
57794         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57795         (_G_HAVE_IO_FILE_OPEN): Likewise.
57796         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
57797         (_G_int32_t): Likewise.
57798         (_G_uint16_t): Likewise.
57799         (_G_uint32_t): Likewise.
57800         (_G_HAVE_BOOL): Likewise.
57801         (_G_HAVE_ATEXIT): Likewise.
57802         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57803         (_G_HAVE_IO_FILE_OPEN): Likewise.
57804         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
57805         (_G_int32_t): Likewise.
57806         (_G_uint16_t): Likewise.
57807         (_G_uint32_t): Likewise.
57808         (_G_HAVE_BOOL): Likewise.
57809         (_G_HAVE_ATEXIT): Likewise.
57810         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57811         (_G_HAVE_IO_FILE_OPEN): Likewise.
57813 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
57815         * csu/libc-tls.c: Update copyright years.
57817 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
57819         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
57820         [!_G_USING_THUNKS]: Remove conditional code.
57821         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
57822         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
57824         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
57825         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
57826         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57827         (_G_VTABLE_LABEL_PREFIX): Likewise.
57828         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57829         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57830         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57831         (_G_VTABLE_LABEL_PREFIX): Likewise.
57832         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57833         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57834         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57835         (_G_VTABLE_LABEL_PREFIX): Likewise.
57836         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57838 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
57840         * libio/Makefile: Include ../Makeconfig before tests.
57841         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
57842         only if $(build-shared) is yes.
57844         * iconv/gconv_db.c: Update copyright years.
57846 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57848         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
57849         unwind info if defined PIC. Fix special cases description.
57850         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
57852         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
57853         DP_HI_MASK entry.
57854         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
57856 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
57858         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
57860         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
57861         is NULL.
57863         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
57864         (LDLIBS-tst-chk4): This.
57865         (LDFLAGS-tst-chk5): Renamed to ...
57866         (LDLIBS-tst-chk5): This.
57867         (LDFLAGS-tst-chk6): Renamed to ...
57868         (LDLIBS-tst-chk6): This.
57869         (LDFLAGS-tst-lfschk4): Renamed to ...
57870         (LDLIBS-tst-lfschk4): This.
57871         (LDFLAGS-tst-lfschk5): Renamed to ...
57872         (LDLIBS-tst-lfschk5): This.
57873         (LDFLAGS-tst-lfschk6): Renamed to ...
57874         (LDLIBS-tst-lfschk6): This.
57876         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
57877         on $(common-objpfx)soversions.mk.
57879 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
57881         [BZ #10014]
57882         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
57883         example host name.
57885 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
57887         * malloc/arena.c (arena_get_retry): New function that gets
57888         another arena for the caller to try its request on.
57889         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
57890         current arena cannot fulfill the request.
57891         (__libc_memalign): Likewise.
57892         (__libc_memalign): Likewise.
57893         (__libc_pvalloc): Likewise.
57894         (__libc_calloc): Likewise.
57896 2012-09-05  John Tobey  <john.tobey@gmail.com>
57898         [BZ #13542]
57899         * manual/arith.texi (Operations on Complex): Fix description
57900         of carg branch cut.
57902 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57904         [BZ #10014]
57905         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
57906         host name.
57908         [BZ #10038]
57909         * manual/memory.texi (Memory): Make order of menu items match
57910         order of sections.
57912 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57914         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
57915         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
57916         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
57918 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57920         * csu/libc-tls.c (static_dtv): Renamed to ...
57921         (_dl_static_dtv): This.  Make it global.
57922         (_dl_initial_dtv): Removed.
57923         (__libc_setup_tls): Updated.
57924         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
57925         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
57926         DL_INITIAL_DTV.
57928 2012-09-06  Petr Machata  <pmachata@redhat.com>
57930         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
57931         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
57932         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
57933         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
57935 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57937         [BZ #14545]
57938         * csu/libc-tls.c (_dl_initial_dtv): New variable.
57939         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
57940         freeing dtv[-1].
57942 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57944         [BZ #14544]
57945         * Makeconfig (link-static-before-libc): Replace $(+prector)
57946         with $(+prectorT).
57947         (link-static-after-libc): Replace $(+postctor) with
57948         $(+postctorT).
57949         (link-bounded): Replace $(+prector)/$(+postctor) with
57950         $(+prectorT)/$(+postctorT).
57951         (+prectorT): New macro.
57952         (+postctorT): Likewise.
57954 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57956         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
57957         (round_str): Handle values above the maximum for IBM long double
57958         as inexact.
57959         * stdlib/tst-strtod-round.c (tests): Regenerated.
57961 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57963         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
57964         assembler flag.
57965         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
57966         zarch_nohighgprs around the zarch optimized routines.
57967         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
57968         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
57969         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
57970         for zarch.
57972 2012-09-05  David S. Miller  <davem@davemloft.net>
57974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57976         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
57977         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
57978         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
57979         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57980         entries.
57982 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57984         * malloc/arena.c: Fold copyright years.
57985         * malloc/mcheck.c, malloc/memusage.c: Likewise.
57987 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57989         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
57991 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57993         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
57995 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57997         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
57998         change internal state upon failure.
58000 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58002         * malloc/mcheck.c (mcheck_check_all): Fix typo.
58003         * malloc/memusage.c (mmap): Likewise.
58004         (mmap64, mremap): Likewise.  Adjust name in comment.
58006 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58008         * libio/fileops.c: Fix typos in comments.
58009         * libio/oldfileops.c: Likewise.
58010         * libio/wfileops.c: Likewise.
58012 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58014         [BZ #1349]
58015         * malloc/Makefile (tests): Add tst-malloc-usable test case.
58016         (tst-malloc-usable-ENV): Set environment for test case.
58017         * malloc/hooks.c (malloc_check_get_size): New function to get
58018         requested size.
58019         * malloc/malloc.c (musable): Use malloc_check_get_size.
58020         * malloc/tst-malloc-usable.c: New test case.
58022 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58024         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
58026 2012-09-05  Allan McRae  <allan@archlinux.org>
58028         [BZ #13966]
58029         * configure.in (CXX_SYSINCLUDES): Use compiler output to
58030         determine header location.
58031         * configure: Regenerated.
58033 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58035         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
58036         float format.
58037         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
58038         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
58039         format.
58040         (test): Regenerate.
58042 2012-09-04  David S. Miller  <davem@davemloft.net>
58044         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
58045         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
58046         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
58048 2012-09-04  Florian Weimer  <fweimer@redhat.com>
58050         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
58051         failures.
58053         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
58055 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
58057         [BZ #9914]
58058         * libio/iogetdelim.c: Include <limits.h>.
58059         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
58060         + len + 1 would overflow.
58062 2012-09-03  Andreas Jaeger  <aj@suse.de>
58064         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58065         * sysdeps/i386/fpu/libm-test-ulps: Update.
58067 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58069         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58070         Add s_sinf-sse2, s_conf-sse2.
58072         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
58073         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
58074         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
58075         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
58077         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
58078         for using routine as __sinf_ia32.
58079         Use macro for function declaration and weak_alias.
58080         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
58081         for using routine as __cosf_ia32.
58082         Use macro for function declaration and weak_alias.
58084         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
58085         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
58087         * sysdeps/x86_64/fpu/s_sinf.S: New file.
58088         * sysdeps/x86_64/fpu/s_cosf.S: New file.
58089         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58091         * math/libm-test.inc (cos_test): Add more test cases.
58092         (sin_test): Likewise.
58093         (sincos_test): Likewise.
58095 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58097         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
58098         (IFUNC_RESOLVE): Make pointers to the specialized implementations
58099         hidden.
58100         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58102 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
58104         [BZ #14538]
58105         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
58106         first element of the GOT.
58107         (elf_machine_load_address): Return the difference between
58108         the runtime address of _DYNAMIC and elf_machine_dynamic ().
58110 2012-09-01  Allan McRae  <allan@archlinux.org>
58112         [BZ #13412]
58113         * configure.in (AWK): Require gawk version 3.0 or later.
58114         * configure: Regenerated.
58116 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
58118         * sysdeps/unix/sysv/linux/kernel-features.h
58119         (__ASSUME_POSIX_CPU_TIMERS): Remove.
58120         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58121         [__NR_clock_getres]: Make code unconditional.
58122         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
58123         (clock_getcpuclockid): Remove code left unreachable by removal of
58124         conditionals.
58125         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
58126         code unconditional.
58127         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58128         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58129         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
58130         Make code unconditional.
58131         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58132         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58133         * sysdeps/unix/sysv/linux/clock_settime.c
58134         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
58135         conditional code.
58136         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
58137         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58139 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
58141         [BZ #14476]
58142         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
58143         scripts/test-installation.pl.
58145         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
58146         and $ld_so_version if it is set.
58148 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58150         [BZ #14516]
58151         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
58152         failure if reading from procfs failed.
58153         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
58155 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58157         * sysdeps/unix/sysv/linux/kernel-features.h
58158         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
58159         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58160         Remove conditional code.
58161         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58162         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
58163         Remove conditional code.
58164         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58165         * sysdeps/unix/sysv/linux/i386/fxstat.c
58166         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58167         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58168         * sysdeps/unix/sysv/linux/i386/fxstatat.c
58169         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58170         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58171         * sysdeps/unix/sysv/linux/i386/lxstat.c
58172         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58173         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58174         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
58175         Remove conditional code.
58176         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58177         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58178         Remove conditional code.
58179         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58180         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
58181         <kernel-features.h>.
58182         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
58183         Remove.
58184         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
58185         Remove conditional code.
58186         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58187         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
58188         Remove conditional.
58190 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
58192         [BZ #5400]
58193         * NEWS: Add fixed bug number.
58195 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58197         [BZ #14519]
58198         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
58199         underflowing exponent in case of negative sign.
58200         * stdlib/tst-strtod-round-data: Add more tests.
58201         * stdlib/tst-strtod-round.c (tests): Regenerated.
58203         [BZ #3479]
58204         * stdlib/strtod_l.c (NDIG): Remove.
58205         (HEXNDIG): Likewise.
58206         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
58207         smallest representable value.
58208         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
58209         lie within an exact representation of 1/2 ulp of the result.
58210         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
58211         unconditionally.
58212         (TENS_P9_IDX): Define unconditionally.
58213         (TENS_P9_SIZE): Likewise.
58214         (TENS_P10_IDX): Likewise.
58215         (TENS_P10_SIZE): Likewise.
58216         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
58217         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
58218         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
58219         entries for 10^2^13 and 10^2^14.
58220         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
58221         (TENS_P13_IDX): Define.
58222         (TENS_P13_SIZE): Likewise.
58223         (TENS_P14_IDX): Likewise.
58224         (TENS_P14_SIZE): Likewise.
58225         (_fpioconst_pow10): Change array size to
58226         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
58227         unconditional.
58228         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
58229         1024]: Add entries for 10^2^13 and 10^2^14.
58230         [LAST_POW10 > _LAST_POW10]: Remove #error.
58231         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
58232         (_fpioconst_pow10): Change array size to
58233         FPIOCONST_POW10_ARRAY_SIZE.
58234         * stdlib/gen-fpioconst.c: New file.
58235         * stdlib/gen-tst-strtod-round.c: Likewise.
58236         * stdlib/tst-strtod-round-data: Likewise.
58237         * stdlib/tst-strtod-round.c: Likewise.
58238         * stdlib/Makefile (tests): Add tst-strtod-round.
58240         [BZ #14459]
58241         * stdlib/strtod_l.c: Include <stdint.h>.
58242         (NDEBUG): Do not define.
58243         (round_and_return): Change EXPONENT parameter to type intmax_t.
58244         Rearrange calculations to avoid internal overflow possibilities.
58245         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
58246         Rearrange calculations to avoid internal overflow possibilities.
58247         Assert that number fits inside MPNSIZE limbs.
58248         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
58249         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
58250         calculations and add assertions to avoid internal overflow
58251         possibilities.  Add casts to avoid signed/unsigned operations.
58252         * stdlib/tst-strtod-overflow.c: New file.
58253         * stdlib/Makefile (tests): Add tst-strtod-overflow.
58255 2012-08-25  Marek Polacek  <polacek@redhat.com>
58257         * time/time.h: Fix some typos in comments.
58259 2012-08-23  Roland McGrath  <roland@hack.frob.com>
58261         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
58262         * posix/tst-rfc3484-2.c: Likewise.
58263         * posix/tst-rfc3484-3.c: Likewise.
58265 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
58267         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
58268         (EF_ARM_ABI_FLOAT_HARD): Likewise.
58270 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
58272         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
58273         #include of fxstatat64.c.
58275 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58277         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
58278         * shadow/getspent_r.c: Likewise.
58279         * shadow/getspnam.c: Likewise.
58280         * shadow/getspnam_r.c: Likewise.
58281         * gshadow/getsgent.c: Likewise.
58282         * gshadow/getsgent_r.c: Likewise.
58283         * gshadow/getsgnam.c: Likewise.
58284         * gshadow/getsgnam_r.c: Likewise.
58285         * inet/getnetbyad.c: Likewise.
58286         * inet/getnetbyad_r.c: Likewise.
58287         * inet/getnetbynm.c: Likewise.
58288         * inet/getnetbynm_r.c: Likewise.
58289         * inet/getnetent.c: Likewise.
58290         * inet/getnetent_r.c: Likewise.
58291         * inet/getproto.c: Likewise.
58292         * inet/getproto_r.c: Likewise.
58293         * inet/getprtent.c: Likewise.
58294         * inet/getprtent_r.c: Likewise.
58295         * inet/getprtname.c: Likewise.
58296         * inet/getprtname_r.c: Likewise.
58297         * inet/getrpcbyname.c: Likewise.
58298         * inet/getrpcbyname_r.c: Likewise.
58299         * inet/getrpcbynumber.c: Likewise.
58300         * inet/getrpcbynumber_r.c: Likewise.
58301         * inet/getrpcent.c: Likewise.
58302         * inet/getrpcent_r.c: Likewise.
58303         * inet/getaliasent.c: Likewise.
58304         * inet/getaliasent_r.c: Likewise.
58305         * inet/getaliasname.c: Likewise.
58306         * inet/getaliasname_r.c: Likewise.
58307         * nscd/getgrgid_r.c: Likewise.
58308         * nscd/getgrnam_r.c: Likewise.
58309         * nscd/gethstbyad_r.c: Likewise.
58310         * nscd/gethstbynm3_r.c: Likewise.
58311         * nscd/getpwnam_r.c: Likewise.
58312         * nscd/getpwuid_r.c: Likewise.
58313         * nscd/getsrvbynm_r.c: Likewise.
58314         * nscd/getsrvbypt_r.c: Likewise.
58315         * nscd/gai.c: Likewise.
58317         * configure.in (build_nscd): New substituted variable, set
58318         by --disable-build-nscd and defaults to $use_nscd.
58319         * configure: Regenerated.
58320         * config.make.in (build-nscd): New substituted variable.
58321         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
58322         Change conditional to require [$(build-nscd) = yes] as well.
58323         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
58325         [BZ# 13696]
58326         * configure.in (use_nscd): New substituted variable, set by
58327         --disable-nscd.  If enabled, define USE_NSCD.
58328         * configure: Regenerated.
58329         * config.h.in: Add USE_NSCD.
58330         * config.make.in (use-nscd): New substituted variable.
58331         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
58332         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
58333         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
58334         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
58335         (CFLAGS-getgrnam_r.c): Likewise.
58336         (CFLAGS-initgroups.c): Likewise.
58337         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
58338         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
58339         Variables removed.
58340         * inet/getnetgrent_r.c
58341         (nscd_setnetgrent): New function, broken out of ...
58342         (setnetgrent): ... here.  Call it.
58343         (innetgr): Conditionalize nscd bits on [USE_NSCD].
58344         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
58345         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
58346         * nscd/Makefile (routines, aux): Move definitions after include of
58347         Makeconfig.  Conditionalize on [$(use-nscd) != no].
58348         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
58349         Conditionalize on [USE_NSCD].
58350         (is_nscd, nscd_init_cb): Likewise.
58351         (nss_load_library): Conditionalize init callback on [USE_NSCD].
58352         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
58353         * nss/nss_db/db-init.c: Likewise.
58354         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
58355         [USE_NSCD].
58356         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
58357         (make_request): Use it.
58358         (cache_valid_p): New function.
58359         (__check_pf): Use it.
58360         * NEWS: Add item for --disable-nscd.
58362 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
58364         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
58365         to support sed >= 4.2.1-20-ga9bf076.
58366         * configure: Regenerated.
58368 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58370         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
58371         Conditionalize whole body on [IREL].
58373 2012-08-22  Jeff Law <law@redhat.com>
58375         [BZ #14505]
58376         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
58377         if the family is PF_UNSPEC.
58379 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
58381         * Makerules (lib-version): Rename from V.
58382         (install-lib-nosubdir): Change V to lib-version.
58384 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
58386         [BZ #14252]
58387         * powerpc32/power6/wcschr.c: New file.
58388         * powerpc32/power6/wcscpy.c: New file.
58389         * powerpc32/power6/wcsrchr.c: New file.
58390         * powerpc64/power6/wcschr.c: New file.
58391         * powerpc64/power6/wcscpy.c: New file.
58392         * powerpc64/power6/wcsrchr.c: New file.
58394 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58396         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
58397         (two_way_short_needle): Use it.
58398         * string/strstr.c (AVAILABLE1_USES_J): Define.
58399         * string/strcasestr.c: Likewise.
58401         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
58402         array references.
58403         * string/strcasestr.c (TOLOWER): Make side-effect safe.
58405         [BZ #11607]
58406         * NEWS: Add an entry.
58407         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
58408         define their defaults.
58409         (two_way_short_needle): Detect end-of-string on-the-fly.
58410         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
58411         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
58412         * string/bug-strcasestr1.c: New test.
58413         * string/Makefile: Run it.
58415 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58417         [BZ #11607]
58418         * string/str-two-way.h (two_way_short_needle): Optimize matching of
58419         the first character.
58421 2012-08-21  Roland McGrath  <roland@hack.frob.com>
58423         * csu/elf-init.c (__libc_csu_irel): Function removed.
58424         * csu/libc-start.c (apply_irel): New function.
58425         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
58427 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
58429         * sysdeps/unix/sysv/linux/kernel-features.h
58430         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
58431         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
58432         <kernel-features.h>.
58433         [__NR_fadvise64_64]: Make code unconditional.
58434         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
58435         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58436         !__NR_fadvise64_64)]: Likewise.
58437         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58438         !__NR_fadvise64_64))]: Likewise.
58439         [__NR_fadvise64]: Make code unconditional.
58440         [!__NR_fadvise64]: Remove conditional code.
58441         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
58442         <kernel-features.h>.
58443         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58444         unconditional.
58445         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58446         conditional code.
58447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
58448         not include <kernel-features.h>.
58449         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58450         unconditional.
58451         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58452         conditional code.
58453         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
58454         include <kernel-features.h>.
58455         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58456         unconditional.
58457         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58458         conditional code.
58460 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
58462         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
58463         slight instruction rearrangements per scrollpipe analysis.
58464         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58466 2012-08-20  Roland McGrath  <roland@hack.frob.com>
58468         * manual/syslog.texi (syslog; vsyslog, closelog):
58469         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
58470         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
58472         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
58473         DSOCAPS to match condition on defining it.
58475 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
58477         * sysdeps/unix/sysv/linux/kernel-features.h
58478         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
58479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
58480         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58481         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
58483         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58484         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
58486         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58487         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58489         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
58490         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
58492         * sysdeps/unix/sysv/linux/kernel-features.h
58493         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
58494         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
58495         unconditional.
58496         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58497         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
58498         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58499         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58500         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
58501         Make code unconditional.
58502         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58503         (__mmap64) [!__NR_mmap2]: Likewise.
58504         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
58505         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58506         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58507         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
58508         [__NR_mmap2]: Make code unconditional.
58509         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58510         (__mmap64) [!__NR_mmap2]: Likewise.
58512 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58514         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
58516 2012-08-18  Andreas Jaeger  <aj@suse.de>
58518         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
58520 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58522         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
58523         * include/unistd.h (__have_sock_cloexec): Likewise.
58524         (__have_pipe2): Likewise.
58525         (__have_dup3): Likewise.
58527 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58529         [BZ #9685]
58530         * include/unistd.h (__have_pipe2): Change define into an extern int.
58531         (__have_dup3): Likewise.
58532         * socket/have_sock_cloexec.c: Include fcntl.h.
58533         (__have_pipe2): New variable.
58534         (__have_dup3): Likewise.
58536 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
58538         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
58540 2012-08-17  Marek Polacek  <polacek@redhat.com>
58542         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
58543         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
58545 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58547         * configure.in: Add AC_SUBST for sysheaders.
58548         * configure: Regenerated.
58549         * config.make.in (sysheaders): New substituted variable.
58551         * sysdeps/unix/mkfifo.c: Moved ...
58552         * sysdeps/posix/mkfifo.c: ... here.
58553         * sysdeps/unix/mkfifoat.c: Moved ...
58554         * sysdeps/posix/mkfifoat.c: ... here.
58556         * sysdeps/unix/utime.c: Moved ...
58557         * sysdeps/posix/utime.c: ... here.
58559         * sysdeps/unix/time.c: Moved ...
58560         * sysdeps/posix/time.c: ... here.
58561         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
58562         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
58564         * sysdeps/unix/nice.c: Moved ...
58565         * sysdeps/posix/nice.c: ... here.
58567         * sysdeps/unix/alarm.c: Moved ...
58568         * sysdeps/posix/alarm.c: ... here.
58570         * intl/Makefile ($(codeset_mo)): Depend on the input file.
58572 2012-08-17  Jeff Law <law@redhat.com>
58574         * intl/Makefile (codeset_mo): New variable.
58575         ($(codeset_mo)): New target.
58576         (tst-codeset.out): Depend on that.  Remove explicit rule.
58577         (tst-gettext3.out, tst-gettext5.out): Likewise.
58578         (LOCPATH-ENV, tst-codeset-ENV): New variables.
58579         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
58580         * intl/tst-codeset.sh: Remove.
58581         * intl/tst-gettext3.sh: Likewise.
58582         * intl/tst-gettext5.sh: Likewise.
58584 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58586         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
58587         * sysdeps/unix/syscalls.list: ... here.
58589         * sysdeps/posix/getaddrinfo.c
58590         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
58591         (gaiconf_init, gaiconf_reload): Use them.
58592         [!_STATBUF_ST_NSEC]
58593         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
58594         Define using time_t rather than struct timespec.
58596         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
58597         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
58598         Macros removed.
58599         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
58600         [!NO_THREADS].
58601         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
58602         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
58603         Likewise.
58605         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
58606         __libc_cleanup_push argument.
58608         * bits/param.h: New file.
58609         * misc/sys/param.h: New file.
58610         * include/sys/param.h: New file.
58611         * misc/Makefile (headers): Add bits/param.h.
58612         * sysdeps/generic/sys/param.h: File removed.
58613         * sysdeps/unix/sysv/linux/bits/param.h: New file.
58614         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
58615         * sysdeps/mach/hurd/bits/param.h: New file.
58616         * sysdeps/mach/hurd/sys/param.h: File removed.
58618         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
58619         last change.
58621         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
58622         [_IO_MTSAFE_IO].
58623         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
58624         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
58625         New macros.
58627         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
58628         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
58629         rather than -D_IO_MTSAFE_IO conditionally.
58630         * stdio-common/Makefile (CPPFLAGS): Likewise.
58631         * wcsmbs/Makefile (CPPFLAGS): Likewise.
58632         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
58633         Use $(libio-mtsafe).
58634         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
58635         of -D_IO_MTSAFE_IO.
58636         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
58637         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
58638         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
58639         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
58640         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
58641         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
58642         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
58643         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
58644         (CFLAGS-fread_u_chk.c): Likewise.
58645         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
58646         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
58647         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
58648         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
58649         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
58650         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
58651         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
58652         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
58653         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
58655         * libio/Makefile: Test [$(libc-reentrant) = yes]
58656         instead of [$(filter %REENTRANT, $(defines)) nonempty].
58658         * Makeconfig
58659         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
58660         * sysdeps/pthread/configure: File removed.
58661         * sysdeps/pthread/Makeconfig: New file.
58662         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
58663         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
58665 2012-08-16  Gary Benson  <gbenson@redhat.com>
58667         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
58668         unmapping the first object in a namespace.
58670 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58672         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
58673         (__internal_setnetgrent): ... this.  Add internal_function to
58674         definition.  Add libc_hidden_def.
58675         (setnetgrent): Update caller.
58676         (internal_endnetgrent): Renamed to ...
58677         (__internal_endnetgrent): ... this.  Add internal_function to
58678         definition.  Add libc_hidden_def.
58679         (endnetgrent): Update caller.
58680         (internal_getnetgrent_r): Renamed to ...
58681         (__internal_getnetgrent_r): ... this.  Add internal_function to
58682         definition.  Add libc_hidden_def.
58683         (__getnetgrent_r): Update caller.
58684         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
58686 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58688         * stdlib/longlong.h: Update from GCC.
58690 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58692         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
58693         on _QL, which is set by umul_ppmm but never used.
58694         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
58695         variables, which are set by GMP macros but never used.
58696         * stdio-common/_itowa.c (_itowa): Likewise.
58697         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
58698         * stdlib/mod_1.c (mpn_mod_1): Likewise.
58700 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
58702         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
58703         struct La_sh_regs is not constant.
58704         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
58705         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
58706         and struct La_sparc64_regs are not constant.
58708 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58710         * sysdeps/unix/sysv/linux/kernel-features.h
58711         (__ASSUME_POSIX_TIMERS): Remove.
58712         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58713         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58714         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
58715         Make code unconditional.
58716         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58717         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
58718         Make code unconditional.
58719         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58720         * sysdeps/unix/sysv/linux/clock_nanosleep.c
58721         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
58722         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58723         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
58724         Make code unconditional.
58725         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58726         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
58727         (__libc_missing_posix_timers): Remove.
58729 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58731         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
58732         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
58734         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
58736         * elf/dl-sym.c: Include <stdlib.h>.
58738         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
58739         constants, which avoids warnings in 32-bit builds.
58741         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
58742         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
58744         * misc/lseek.c: File moved to ...
58745         * io/lseek.c: ... here.
58747         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
58749         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
58750         shifting LEN more than 31 bits at once.
58752 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58754         [BZ #14195]
58755         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
58756         segmentation fault for a case of two empty input strings.
58757         * string/test-strncasecmp.c (check1): Renamed to...
58758         (bz12205): ...this.
58759         (bz14195): Add new testcase for two empty input strings and N > 0.
58760         (test_main): Call new testcase, adapt for renamed function.
58762 2012-08-15  Andreas Jaeger  <aj@suse.de>
58764         [BZ #14090]
58765         * crypt/md5test2.c: New test, based on test supplied by Serge
58766         Belyshev <belyshev@depni.sinp.msu.ru>.
58767         * crypt/Makefile (xtests): Add md5test-giant..
58768         * crypt/Makefile ($(objpfx)md5test-giant): Add.
58770 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
58772         [BZ #14090]
58773         * crypt/md5.c (md5_process_block): Don't assume the buffer
58774         length is less than 2**32.
58775         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
58776         length is less than 2**64.
58778 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58780         * string/str-two-way.h: Include <sys/param.h>.
58781         (MAX): Macro removed.
58783         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
58784         Move #define and #undef of memmove to just before and after
58785         including <string.h>.
58787         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
58788         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
58789         and after including <string.h>.  Move declarations of
58790         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
58791         to before #include "string/memmove.c".
58793         * include/dirent.h: Declare __getdirentries.
58795         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
58796         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
58798 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
58800         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
58801         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
58802         * sysdeps/i386/configure: Regenerated.
58803         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
58804         STABS_CURRENT_FILE, and STABS_FUN.
58805         (END): Remove call to STABS_FUN_END.
58806         (STABS_CURRENT_FILE1): Delete.
58807         (STABS_CURRENT_FILE): Likewise.
58808         (STABS_FUN): Likewise.
58809         (STABS_FUN_END): Likewise.
58810         (STABS_FUN2): Likewise.
58811         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
58812         * sysdeps/x86_64/configure: Regenerated.
58814 2012-08-14  Roland McGrath  <roland@hack.frob.com>
58816         * elf/dl-open.c: Include <atomic.h>.
58817         * elf/dl-lookup.c: Likewise.
58819 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
58821         * sysdeps/unix/sysv/linux/kernel-features.h
58822         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
58823         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
58824         unconditionally.
58825         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
58826         unconditionally.
58827         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
58828         condition on __ASSUME_CLONE_THREAD_FLAGS.
58830 2012-08-14  Andreas Jaeger  <aj@suse.de>
58832         * sysdeps/i386/fpu/libm-test-ulps: Update.
58834 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
58836         * include/atomic.h (atomic_exchange_and_add): Split into ...
58837         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
58838         New atomic macros.
58840 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
58842         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58844 2012-08-13  Jeff Law <law@redhat.com>
58846         * manual/stdio.texi (snprintf): Clarify handling of the trailing
58847         null byte in the output string.
58849 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
58851         * sysdeps/unix/sysv/linux/kernel-features.h
58852         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
58853         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
58854         (__ASSUME_ARG_MAX_STACK_BASED): Define.
58855         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
58856         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
58857         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
58858         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
58860 2012-08-09  Jeff Law <law@redhat.com>
58862         [BZ #13939]
58863         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
58864         When avoid_arena is set, don't retry in the that arena.  Pick the
58865         next one, whatever it might be.
58866         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
58867         (arena_lock): Pass in new parameter to arena_get2.
58868         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
58869         arena_get2.
58870         (__libc_malloc): Unify retrying after main arena failure with
58871         __libc_memalign version.
58872         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
58874 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
58876         [BZ #14166]
58877         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
58878         to __redirect_strstr.
58879         (__strstr_sse42): Use typeof __redirect_strstr.
58880         (__strstr_ia32): Likewise.
58881         (__libc_strstr): New prototype.
58882         (strstr): Renamed to ...
58883         (__libc_strstr): This.
58884         (strstr): New strong alias of __libc_strstr.
58885         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58886         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
58887         __redirect_time.
58888         Include <time.h>.
58889         (__libc_time): New prototype.
58890         (time_ifunc): Replace time with __libc_time.
58891         (time): New strong alias and hidden definition of __libc_time.
58892         (__GI_time): Remove strong alias.
58893         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
58894         Include <stddef.h>.
58895         (memmove): Redefined to __redirect_memmove.
58896         (__memmove_sse2): Use typeof __redirect_memmove.
58897         (__memmove_ssse3): Likewise.
58898         (__memmove_ssse3_back): Likewise.
58899         (__libc_memmove): New prototype.
58900         (memmove): Renamed to ...
58901         (__libc_memmove): This.
58902         (memmove): New strong alias of __libc_memmove.
58904 2012-08-08  Mark Salter  <msalter@redhat.com>
58906         * elf/elf.h
58907         (R_MN10300_TLS_GD): Define.
58908         (R_MN10300_TLS_LD): Likewise.
58909         (R_MN10300_TLS_LDO): Likewise.
58910         (R_MN10300_TLS_GOTIE): Likewise.
58911         (R_MN10300_TLS_IE): Likewise.
58912         (R_MN10300_TLS_LE): Likewise.
58913         (R_MN10300_TLS_DTPMOD): Likewise.
58914         (R_MN10300_TLS_DTPOFF): Likewise.
58915         (R_MN10300_TLS_TPOFF): Likewise.
58916         (R_MN10300_SYM_DIFF): Likewise.
58917         (R_MN10300_ALIGN): Likewise.
58918         (R_MN10300_NUM): Update.
58920 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
58922         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
58923         Remove.
58925 2012-08-08  Roland McGrath  <roland@hack.frob.com>
58927         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
58929         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
58930         sysdeps/unix -> sysdeps/posix move.
58931         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58933 2012-08-07      Allan McRae     <allan@archlinux.org>
58935         [BZ #14303]
58936         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
58937         (SUNOS_CPP): Likewise.
58938         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
58939         not found.
58940         (open_input): Call CPP using execvp.
58942 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58944         * sysdeps/unix/sysv/linux/kernel-features.h
58945         (__ASSUME_PROT_GROWSUPDOWN): Remove.
58946         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58947         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58948         (__ASSUME_WAITID_SYSCALL): Likewise.
58949         * sysdeps/unix/sysv/linux/dl-execstack.c
58950         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
58951         code unconditional.
58952         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
58953         conditional code.
58954         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
58955         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
58956         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
58957         code.
58958         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
58959         unconditional.
58960         [__ASSUME_WAITID_SYSCALL]: Likewise.
58961         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
58963 2012-08-07  Roland McGrath  <roland@hack.frob.com>
58965         * sysdeps/unix/closedir.c: Renamed to ...
58966         * sysdeps/posix/closedir.c: ... here.
58967         * sysdeps/unix/dirfd.c: Renamed to ...
58968         * sysdeps/posix/dirfd.c: ... here.
58969         * sysdeps/unix/dirstream.h: Renamed to ...
58970         * sysdeps/posix/dirstream.h: ... here.
58971         * sysdeps/unix/fdopendir.c: Renamed to ...
58972         * sysdeps/posix/fdopendir.c: ... here.
58973         * sysdeps/unix/opendir.c: Renamed to ...
58974         * sysdeps/posix/opendir.c: ... here.
58975         * sysdeps/unix/readdir.c: Renamed to ...
58976         * sysdeps/posix/readdir.c: ... here.
58977         * sysdeps/unix/readdir_r.c: Renamed to ...
58978         * sysdeps/posix/readdir_r.c: ... here.
58979         * sysdeps/unix/rewinddir.c: Renamed to ...
58980         * sysdeps/posix/rewinddir.c: ... here.
58981         * sysdeps/unix/seekdir.c: Renamed to ...
58982         * sysdeps/posix/seekdir.c: ... here.
58983         * sysdeps/unix/telldir.c: Renamed to ...
58984         * sysdeps/posix/telldir.c: ... here.
58985         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
58986         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
58987         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
58988         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
58990         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
58991         * bits/fcntl.h: ... here.
58993         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
58994         not 0.
58995         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
58996         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
58997         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
58998         (struct flock): Move l_start, l_len to the beginning.
58999         Use __pid_t for l_pid.
59000         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
59001         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
59002         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
59003         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
59004         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
59005         [__USE_LARGEFILE64] (struct flock64): New type.
59006         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
59008         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
59009         * bits/dirent.h: ... here.
59011         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
59012         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
59014 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59016         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59017         Change from 2.6.0 to 2.6.16.
59018         * sysdeps/unix/sysv/linux/configure: Regenerated.
59019         * sysdeps/unix/sysv/linux/kernel-features.h
59020         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
59021         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
59022         version.
59023         (__ASSUME_UTIMES): Likewise.
59024         (__ASSUME_CLONE_STOPPED): Remove.
59025         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
59026         architectures, not kernel version.
59027         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
59028         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59029         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59030         (__ASSUME_WAITID_SYSCALL): Likewise.
59031         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
59032         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
59033         * README: State 2.6.16 as minimum Linux kernel version.  Do not
59034         refer to older versions.
59036 2012-08-06  Roland McGrath  <roland@hack.frob.com>
59038         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
59039         Define alphasort64 as an alias.
59040         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
59041         Define versionsort64 as an alias.
59042         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
59043         Define scandir64 as an alias.
59044         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
59045         Define scandirat64 as an alias.
59046         * dirent/alphasort64.c (alphasort64):
59047         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
59048         * dirent/versionsort64.c: Likewise.
59049         * dirent/scandir64.c: Likewise.
59050         * dirent/scandirat64.c: Likewise.
59051         * sysdeps/wordsize-64/alphasort.c: File removed.
59052         * sysdeps/wordsize-64/alphasort64.c: File removed.
59053         * sysdeps/wordsize-64/scandir.c: File removed.
59054         * sysdeps/wordsize-64/scandir64.c: File removed.
59055         * sysdeps/wordsize-64/scandirat.c: File removed.
59056         * sysdeps/wordsize-64/scandirat64.c: File removed.
59057         * sysdeps/wordsize-64/versionsort.c: File removed.
59058         * sysdeps/wordsize-64/versionsort64.c: File removed.
59059         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
59060         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
59061         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
59062         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
59063         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
59064         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
59065         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
59066         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
59068         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
59069         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59070         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
59071         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59072         [defined __arch64__ || defined __sparcv9]
59073         (__INO_T_MATCHES_INO64_T): New macro.
59074         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59075         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
59076         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
59077         * sysdeps/unix/sysv/linux/bits/dirent.h
59078         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
59079         (_DIRENT_MATCHES_DIRENT64): New macro.
59081         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
59082         Define lockf64 as an alias.
59083         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
59084         Define fseeko64 as an alias.
59085         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
59086         Define ftello64 as an alias.
59087         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
59088         Define _IO_fgetpos64 and fgetpos64 as aliases.
59089         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
59090         Define _IO_fsetpos64 and fsetpos64 as aliases.
59091         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
59092         Conditionalize body on this.
59093         * libio/fseeko64.c: Likewise.
59094         * libio/ftello64.c: Likewise.
59095         * libio/iofgetpos64.c: Likewise.
59096         * libio/iofsetpos64.c: Likewise.
59097         * sysdeps/wordsize-64/lockf.c: File removed.
59098         * sysdeps/wordsize-64/lockf64.c: File removed.
59099         * sysdeps/wordsize-64/fseeko.c: File removed.
59100         * sysdeps/wordsize-64/fseeko64.c: File removed.
59101         * sysdeps/wordsize-64/ftello.c: File removed.
59102         * sysdeps/wordsize-64/ftello64.c: File removed.
59103         * sysdeps/wordsize-64/iofgetpos.c: File removed.
59104         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
59105         * sysdeps/wordsize-64/iofsetpos.c: File removed.
59106         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
59107         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
59108         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
59109         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
59110         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
59111         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
59112         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
59113         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
59114         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
59115         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
59116         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
59118         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59119         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59120         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
59121         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59122         [defined __arch64__ || defined __sparcv9]
59123         (__OFF_T_MATCHES_OFF64_T): New macro.
59124         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59125         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59126         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59127         (__OFF_T_MATCHES_OFF64_T): New macro.
59129 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59131         * stdlib/secure-getenv.c (__secure_getenv): Replace
59132         GLIBC_2_16 with GLIBC_2_17.
59134 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59136         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
59137         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59139 2012-08-03  David S. Miller  <davem@davemloft.net>
59141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59143 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59145         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
59146         Remove.
59147         (__ASSUME_CORRECT_SI_PID): Likewise.
59148         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
59149         (__ASSUME_TMPFS_NAME): Likewise.
59150         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
59151         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
59152         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
59153         (HAVE_AUX_SECURE): Make definition unconditional.
59154         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
59155         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
59157 2012-08-03  Roland McGrath  <roland@hack.frob.com>
59159         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
59160         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
59161         * sysdeps/mach/hurd/eloop-threshold.h: New file.
59162         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59163         __eloop_threshold instead of SYMLOOP_MAX.
59165         * sysdeps/generic/eloop-threshold.h: New file.
59166         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
59167         of MAXSYMLINKS.
59168         * elf/chroot_canon.c (chroot_canon): Likewise.
59170 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59172         [BZ #13717]
59173         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59174         Change to 2.6.0 everywhere.
59175         * sysdeps/unix/sysv/linux/configure: Regenerated.
59176         * sysdeps/unix/sysv/linux/kernel-features.h
59177         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
59178         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
59179         kernel versions.
59180         (__ASSUME_POSIX_TIMERS): Define unconditionally.
59181         (__ASSUME_FUTEX_REQUEUE): Remove.
59182         (__ASSUME_STATFS64): Define unconditionally.
59183         (__ASSUME_AT_SECURE): Likewise.
59184         (__ASSUME_CORRECT_SI_PID): Likewise.
59185         (__ASSUME_TGKILL): Define without depending on kernel version for
59186         i386.
59187         (__ASSUME_UTIMES): Likewise.
59188         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
59189         kernel version.
59190         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
59191         (__ASSUME_TMPFS_NAME): Likewise.
59192         * README: Update reference to Linux kernel versions.
59194 2012-08-02  Marek Polacek  <polacek@redhat.com>
59196         [BZ# 14150]
59197         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
59198         libc_cv_asm_type_prefix with %.
59199         * configure: Regenerated.
59200         * include/libc-symbols.h: Remove comment about
59201         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59202         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
59203         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
59204         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
59205         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
59206         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59207         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
59208         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
59209         * elf/tst-unique2mod1.c: Likewise.
59210         * elf/tst-unique1mod2.c: Likewise.
59211         * elf/tst-unique1mod1.c: Likewise.
59212         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
59213         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
59214         Replace ASM_TYPE_DIRECTIVE with .type.
59215         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59216         * sysdeps/i386/sysdep.h: Likewise.
59217         * sysdeps/x86_64/sysdep.h: Likewise.
59218         * sysdeps/sh/sysdep.h: Likewise.
59219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59220         Do not define ASM_TYPE_DIRECTIVE.
59221         * sysdeps/powerpc/sysdep.h: Likewise.
59222         * sysdeps/powerpc/powerpc32/sysdep.h:
59223         Replace ASM_TYPE_DIRECTIVE with .type.
59224         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59225         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59226         * sysdeps/i386/fpu/e_powf.S: Likewise.
59227         * sysdeps/i386/fpu/e_expl.S: Likewise.
59228         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59229         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59230         * sysdeps/i386/fpu/e_pow.S: Likewise.
59231         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
59232         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59233         * sysdeps/i386/fpu/s_expm1.S: Likewise.
59234         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
59235         * sysdeps/i386/fpu/e_log2.S: Likewise.
59236         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59237         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59238         * sysdeps/i386/fpu/e_powl.S: Likewise.
59239         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59240         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
59241         * sysdeps/i386/fpu/e_logl.S: Likewise.
59242         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
59243         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
59244         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
59245         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59246         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59247         * sysdeps/i386/fpu/e_log.S: Likewise.
59248         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59249         * sysdeps/i386/fpu/e_logf.S: Likewise.
59250         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59251         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59252         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
59253         * sysdeps/i386/fpu/e_log10.S: Likewise.
59254         * sysdeps/i386/fpu/s_frexp.S: Likewise.
59255         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59256         * sysdeps/i386/fpu/s_asinh.S: Likewise.
59257         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
59258         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59259         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
59260         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
59261         * sysdeps/i386/i686/strtok.S: Likewise.
59262         * sysdeps/i386/i386-mcount.S: Likewise.
59263         * sysdeps/i386/strtok.S: Likewise.
59264         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
59265         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59266         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59267         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59268         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59269         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59270         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
59271         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
59272         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59273         * sysdeps/x86_64/_mcount.S: Likewise.
59274         * sysdeps/x86_64/strtok.S: Likewise.
59275         * sysdeps/sh/_mcount.S: Likewise.
59277 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59279         * libio/iofopen.c: Include <fcntl.h>.
59280         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
59281         (_IO_fopen64, fopen64): Define as aliases.
59282         * libio/iofopen64.c: Include <fcntl.h>.
59283         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
59284         Conditionalize body on this.
59285         * sysdeps/wordsize-64/iofopen.c: File removed.
59286         * sysdeps/wordsize-64/iofopen64.c: File removed.
59288 2012-08-01  Marek Polacek  <polacek@redhat.com>
59290         * libc/Makeconfig: Use elf in place of binfmt-subdir.
59291         Use dlfcn directly instead of a variable.
59292         (binfmt-subdir): Do not define.
59293         (dlfcn): Likewise.
59295 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
59297         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
59298         Remove all definitions.
59299         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
59300         <kernel-features.h>.
59301         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59302         (miss_F_GETOWN_EX): Remove all definitions.
59303         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
59304         macro definition.
59305         [!__ASSUME_FCNTL64]: Remove conditional code.
59306         [__ASSUME_FCNTL64]: Make code unconditional.
59307         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
59308         <kernel-features.h>.
59309         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59310         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
59311         (lockf64) [__NR_fcntl64]: Make code unconditional.
59312         (lockf64) [__ASSUME_FCNTL64]: Likewise.
59314         * sysdeps/unix/sysv/linux/kernel-features.h
59315         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
59316         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
59317         Make code unconditional.
59318         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59319         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
59321         [__NR_vfork]: Make code unconditional.
59322         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59323         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
59325         [__NR_vfork]: Make code unconditional.
59326         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59327         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59329 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59331         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
59332         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
59334         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59335         Define mkstemp64 as an alias.
59336         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59337         Define mkstemps64 as an alias.
59338         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59339         Define mkostemp64 as an alias.
59340         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59341         Define mkostemps64 as an alias.
59342         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
59343         Conditionalize body on this.
59344         * misc/mkostemp64.c: Likewise.
59345         * misc/mkostemps64.c: Likewise.
59346         * misc/mkstemps64.c: Likewise.
59347         * sysdeps/wordsize-64/mkstemp64.c: File removed.
59348         * sysdeps/wordsize-64/mkostemp64.c: File removed.
59349         * sysdeps/wordsize-64/mkostemp.c: File removed.
59350         * sysdeps/wordsize-64/mkstemp.c: File removed.
59351         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
59352         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
59353         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
59354         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
59356         [BZ #14138]
59357         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
59358         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
59359         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
59360         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
59362         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
59363         compat_symbol macros from <shlib-compat.h> rather than the underlying
59364         default_symbol_version and symbol_version macros, so that DEFAULT
59365         lines in shlib-versions are respected.
59366         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
59368 2012-08-01  Florian Weimer  <fweimer@redhat.com>
59370         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
59371         Declare with warn_unused_result.
59372         (setgid, setregid, setegid, setresgid): Likewise.
59373         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
59374         Likewise.
59375         * WUR-REPORT: Remove set*id functions.
59377 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
59379         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
59381 2012-07-31  Roland McGrath  <roland@hack.frob.com>
59383         [BZ #10191]
59384         * include/sys/socket.h (__libc_accept, __libc_accept4):
59385         Add attribute_hidden.
59386         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
59388         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
59389         use of PTR_MANGLE.
59390         * inet/getnetgrent_r.c (setup): Likewise.
59392         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
59394 2012-07-31  David S. Miller  <davem@davemloft.net>
59396         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59398 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
59400         [BZ #13629]
59401         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
59402         value between 1.0 and 2.0 and smaller part has absolute value less
59403         than 1.0.
59404         * math/s_clog10.c (__clog10): Likewise.
59405         * math/s_clog10f.c (__clog10f): Likewise.
59406         * math/s_clog10l.c (__clog10l): Likewise.
59407         * math/s_clogf.c (__clogf): Likewise.
59408         * math/s_clogl.c (__clogl): Likewise.
59409         * math/libm-test.inc (clog_test): Add more tests.
59410         (clog10_test): Likewise.
59411         * sysdeps/i386/fpu/libm-test-ulps: Update.
59412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59414 2012-07-31  Florian Weimer  <fweimer@redhat.com>
59416         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
59417         Exit with zero in case no suitable GID is found, and write a
59418         message to standard error.
59420 2012-07-30  Roland McGrath  <roland@hack.frob.com>
59422         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
59423         rather than to 1.
59424         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
59425         (MAXPATHLEN): Removed.
59426         (NOGROUP, NODEV): New macros.
59427         (setbit, clrbit, isset, isclr): New macros.
59428         (howmany, roundup, powerof2): New macros.
59429         (DEV_BSIZE): New macro.
59431         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
59432         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
59434         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
59435         definition on [!__NO_LONG_DOUBLE_MATH].
59437         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
59438         PTR_MANGLE and PTR_DEMANGLE.
59440         * socket/accept4.c (accept4): Rename to __libc_accept4.
59441         Define accept4 as a weak alias.
59443         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
59444         on [_DIRENT_HAVE_D_TYPE].
59445         * io/ftw.c (ftw_dir): Likewise.
59447         * io/xmknod.c (__xmknod): Don't check PATH for being null.
59449         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
59451         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
59452         Use the BSD numbers rather than the arbitrary ones we had.
59453         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
59454         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
59455         (SIGXCPU, SIGXFSZ): New macros.
59456         (_NSIG): Now 32.
59458         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
59459         initializer on [_LIBC_REENTRANT].
59461         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
59462         definitions inside [_POSIX_MAPPED_FILES].
59464         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
59466         * dirent/opendir.c: Include <fcntl.h>.
59468         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
59469         (__libc_getspecific): Likewise.
59470         (__libc_key_create): Likewise.
59472         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
59473         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
59474         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
59475         (tmpfile64): Define as alias.
59476         * sysdeps/wordsize-64/tmpfile.c: File removed.
59477         * sysdeps/wordsize-64/tmpfile64.c: File removed.
59478         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
59479         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
59481         * stdio-common/vfscanf.c: Include <stdbool.h>.
59482         * nss/makedb.c: Likewise.
59483         * stdio-common/_i18n_number.h: Likewise.
59484         * argp/argp-help.c: Likewise.
59485         * posix/wordexp.c: Likewise.
59486         * sysdeps/posix/spawni.c: Likewise.
59487         * nss/nss_files/files-initgroups.c: Likewise.
59488         * stdio-common/reg-modifier.c: Include <stdlib.h>.
59489         * nss/nss_files/files-initgroups.c: Likewise.
59490         * nss/nss_db/db-netgrp.c: Likewise.
59491         * nss/nss_db/db-initgroups.c: Likewise.
59492         * io/fchmodat.c: Include <sys/stat.h>.
59494         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
59495         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
59497         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
59498         [HAVE_MMAP].
59500         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
59501         Add multiple inclusion protection.
59503 2012-07-27  David S. Miller  <davem@davemloft.net>
59505         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59507 2012-07-27  Gary Benson  <gbenson@redhat.com>
59509         [BZ #14298]
59510         * elf/rtld.c: Include <stap-probe.h>.
59511         (dl_main): Added static probes "init_start" and "init_complete".
59512         * elf/dl-load.c: Include <stap-probe.h>.
59513         (lose): Take new parameter "nsid".
59514         Added static probe "map_failed".
59515         (_dl_map_object_from_fd): Pass namespace id to lose.
59516         Added static probe "map_start".
59517         (open_verify): Pass namespace id to lose.
59518         * elf/dl-open.c: Include <stap-probe.h>.
59519         (dl_open_worker) Added static probes "map_complete", "reloc_start"
59520         and "reloc_complete".
59521         * elf/dl-close.c: Include <stap-probe.h>.
59522         (_dl_close_worker): Added static probes "unmap_start" and
59523         "unmap_complete".
59524         * elf/rtld-debugger-interface.txt: New file documenting the above.
59526 2012-07-26  Roland McGrath  <roland@hack.frob.com>
59528         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
59529         rather than a string variable.
59530         * sunrpc/rpc_main.c (h_output): Likewise.
59531         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
59533 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
59535         * inet/check_native.c: New file.
59537 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
59539         [BZ #13629]
59540         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
59541         if larger part has absolute value 1.0.
59542         * math/s_clog10.c (__clog10): Likewise.
59543         * math/s_clog10f.c (__clog10f): Likewise.
59544         * math/s_clog10l.c (__clog10l): Likewise.
59545         * math/s_clogf.c (__clogf): Likewise.
59546         * math/s_clogl.c (__clogl): Likewise.
59547         * math/libm-test.inc (clog_test): Add more tests.
59548         (clog10_test): Likewise.
59549         * sysdeps/i386/fpu/libm-test-ulps: Update.
59550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59552         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
59553         (pltexit): Likewise.
59554         (La_regs): Likewise.
59555         (La_retval): Likewise.
59556         (int_retval): Likewise.
59557         Update #error for removed macros to refer only to definitions in
59558         tst-audit.h.
59559         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
59560         macro.
59561         (pltexit): Likewise.
59562         (La_regs): Likewise.
59563         (La_retval): Likewise.
59564         (int_retval): Likewise.
59565         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
59566         macro.
59567         (pltexit): Likewise.
59568         (La_regs): Likewise.
59569         (La_retval): Likewise.
59570         (int_retval): Likewise.
59571         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
59572         macro.
59573         (pltexit): Likewise.
59574         (La_regs): Likewise.
59575         (La_retval): Likewise.
59576         (int_retval): Likewise.
59577         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
59578         macro.
59579         (pltexit): Likewise.
59580         (La_regs): Likewise.
59581         (La_retval): Likewise.
59582         (int_retval): Likewise.
59583         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
59584         macro.
59585         (pltexit): Likewise.
59586         (La_regs): Likewise.
59587         (La_retval): Likewise.
59588         (int_retval): Likewise.
59589         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
59590         macro.
59591         (pltexit): Likewise.
59592         (La_regs): Likewise.
59593         (La_retval): Likewise.
59594         (int_retval): Likewise.
59595         * sysdeps/generic/tst-audit.h: Update comment to refer only to
59596         macro definitions in tst-audit.h.
59597         * sysdeps/i386/tst-audit.h: New file.
59598         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
59599         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
59600         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
59601         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
59602         * sysdeps/sh/tst-audit.h: Likewise.
59603         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
59604         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
59605         * sysdeps/x86_64/tst-audit.h: Likewise.
59607 2012-07-26  Andreas Jaeger  <aj@suse.de>
59609         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
59610         ptrace.
59612         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
59613         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
59614         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
59615         PTRACE_O_MASK.
59616         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
59617         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
59618         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
59620         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
59621         value.
59623         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
59624         _sigsys.
59625         (si_call_addr, si_syscall, si_arch): Define new macro.
59626         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
59627         _sigsys.
59628         (si_call_addr, si_syscall, si_arch): Define new marcro.
59629         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
59630         _sigsys.
59631         (si_call_addr, si_syscall, si_arch): Define new macro.
59632         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
59633         _sigsys.
59634         (si_call_addr, si_syscall, si_arch): Define new macro.
59636 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59638         [BZ #13717]
59639         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59640         Change to 2.4.21 where previously 2.4.1.
59641         * sysdeps/unix/sysv/linux/configure: Regenerated.
59642         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
59643         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
59644         Linux kernel version.
59645         (__ASSUME_STD_AUXV): Remove.
59646         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
59647         kernel version.
59648         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
59649         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
59650         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
59651         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
59652         (__ASSUME_NETLINK_SUPPORT): Likewise.
59653         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
59654         (__no_netlink_support): Remove conditional definition.
59655         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
59656         Remove.
59657         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59658         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
59659         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
59660         (if_nameindex_ioctl): Remove.
59661         (if_nameindex_netlink): Do not handle __no_netlink_support.
59662         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59663         code.
59664         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
59665         Remove conditional code.
59666         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59667         code.
59668         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
59669         unconditional.
59670         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59671         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
59672         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
59673         Remove.
59674         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
59675         [!__ASSUME_STD_AUXV]: Remove conditional code.
59676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
59677         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
59678         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
59679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
59680         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
59681         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59682         code.
59683         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59685         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
59686         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59687         conditional code.
59688         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59690         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59691         code.
59692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59693         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59694         conditional code.
59695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
59696         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59697         code unconditional.
59698         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59699         conditional code.
59700         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59701         unconditional.
59702         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59703         conditional code.
59704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59705         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59706         unconditional.
59707         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59708         conditional code.
59709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
59710         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59711         code unconditional.
59712         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59713         conditional code.
59714         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59715         unconditional.
59716         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59717         conditional code.
59718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
59719         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59720         code unconditional.
59721         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59722         conditional code.
59723         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59724         unconditional.
59725         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59726         conditional code.
59728 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
59730         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
59731         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
59732         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
59733         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
59734         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
59735         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
59736         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
59737         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
59738         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
59739         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
59740         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
59741         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
59742         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
59743         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
59744         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
59745         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
59746         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
59747         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
59748         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
59749         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
59750         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
59751         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
59752         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59754 2012-07-25  Florian Weimer  <fweimer@redhat.com>
59756         * Versions.def: Add GLIBC_2.17.
59757         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
59758         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
59759         Introduce __libc_secure_getenv.
59760         * stdlib/Versions (2.17): Add secure_getenv
59761         (GLIBC_PRIVATE): Add __libc_secure_getenv.
59762         * stdlib/secure-getenv.c: Rename __secure_getenv to
59763         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
59764         symbol __secure_getenv for GLIBC_2.0.
59765         * stdlib/tst-secure-getenv.c: New.
59766         * stdlib/Makefile (tests): Add testcase.
59767         * manual/startup.texi (Environment Access): Document
59768         secure_getenv.
59769         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
59770         __libc_secure_getenv.
59771         * inet/ruserpass.c (ruserpass): Likewise.
59772         * malloc/mtrace.c (mtrace): Likewise.
59773         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
59774         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
59775         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
59776         * sysdeps/posix/tempname.c: Likewise.  Evaluate
59777         HAVE_SECURE_GETENV.
59778         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
59779         __secure_getenv to __libc_secure_getenv.
59780         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
59781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59782         Likewise.
59783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59784         Likewise.
59785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59786         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59787         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59790         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59793 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59795         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
59796         (struct La_i86_retval): Likewise.
59797         (struct La_x86_64_regs): Likewise.
59798         (struct La_x86_64_retval): Likewise.
59799         (struct La_x32_regs): Likewise.
59800         (struct La_x32_retval): Likewise.
59801         (struct La_ppc32_regs): Likewise.
59802         (struct La_ppc32_retval): Likewise.
59803         (struct La_ppc64_regs): Likewise.
59804         (struct La_ppc64_retval): Likewise.
59805         (struct La_sh_regs): Likewise.
59806         (struct La_sh_retval): Likewise.
59807         (struct La_s390_32_regs): Likewise.
59808         (struct La_s390_32_retval): Likewise.
59809         (struct La_s390_64_regs): Likewise.
59810         (struct La_s390_64_retval): Likewise.
59811         (struct La_sparc32_regs): Likewise.
59812         (struct La_sparc32_retval): Likewise.
59813         (struct La_sparc64_regs): Likewise.
59814         (struct La_sparc64_retval): Likewise.
59815         (struct audit_ifaces): Remove architecture-specific pltenter and
59816         pltexit members.
59817         * sysdeps/i386/ldsodefs.h: New file.
59818         * sysdeps/powerpc/ldsodefs.h: Likewise.
59819         * sysdeps/s390/ldsodefs.h: Likewise.
59820         * sysdeps/sh/ldsodefs.h: Likewise.
59821         * sysdeps/sparc/ldsodefs.h: Likewise.
59822         * sysdeps/x86_64/ldsodefs.h: Likewise.
59824 2012-07-25  Marek Polacek  <polacek@redhat.com>
59826         [BZ #6808]
59827         * math/libm-test.inc (yn_test): Add another test.
59828         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
59829         to ERANGE when the result is +-Inf.
59830         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
59831         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
59832         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
59833         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
59835 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
59837         * conform/data/time.h-data (NULL): Use macro-constant.  Require
59838         equal to 0.
59839         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
59840         clock_t.
59841         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
59843 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
59845         * configure.in <sysdeps resolving>: Correct printing
59846         Implies_before.
59847         * configure: Regenerate.
59849 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
59851         * math/w_ilogb.c: Include <limits.h>.
59852         * math/w_ilogbl.c: Likewise.
59854 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59856         * manual/lang.texi (__va_copy): Document primarily as ISO C99
59857         va_copy.  Document allowing for unavailable va_copy only as
59858         pre-C99 compatibility.
59859         * manual/string.texi (Copying and Concatenation): Use va_copy
59860         instead of __va_copy in concat example.
59862 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
59864         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
59865         (__sendto): Use create_address_port.  Initialize APORT and deallocate
59866         it if not null.
59868         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
59869         with O_NOLINK passed to __file_name_lookup.
59871         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
59872         with O_NOLINK passed to __file_name_lookup.
59874         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
59875         negative N or less than NGIDS.
59877         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
59878         type to string_t.  Set ERANGE as errno and return it if NAME is not big
59879         enough.  Use memcpy instead of strncpy.
59881 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59883         * elf/Makefile (check-data): Remove.
59884         (localplt.data): New vpath directive.
59885         ($(objpfx)check-localplt.out): Use localplt.data from vpath
59886         instead of $(check-data).
59887         * scripts/data/localplt-generic.data: Move to ...
59888         * sysdeps/generic/localplt.data: ... here.
59889         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
59890         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
59891         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
59892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
59893         ... here.
59894         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
59895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
59896         ... here.
59897         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
59898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
59899         ... here.
59900         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
59901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
59902         ... here.
59903         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
59904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
59905         ... here.
59906         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
59907         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
59908         ... here.
59910 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59912         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
59913         PPC32 and PPC64 files.
59914         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
59915         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
59917 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59919         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
59920         __makecontext_ret to ...
59921         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
59922         ... here and call exit if uc_link is NULL.  New file.
59923         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
59924         __makecontext_ret.S.
59925         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
59926         __makecontext_ret to ...
59927         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
59928         ... here and call exit if uc_link is NULL.  New file.
59929         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
59930         __makecontext_ret.S.
59932 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59934         * elf/elf.h (R_390_IRELATIVE): New definition.
59935         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
59936         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
59937         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
59938         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59939         (elf_machine_lazy_rel): Likewise.
59940         * sysdeps/s390/dl-irel.h: New file.
59941         * sysdeps/s390/s390-64/memcpy.S: New asm code.
59942         * sysdeps/s390/s390-64/memset.S: New asm code.
59943         * sysdeps/s390/s390-64/memcmp.S: New asm code.
59944         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
59945         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
59946         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
59947         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
59948         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
59949         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
59950         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
59951         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
59952         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
59953         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
59954         * sysdeps/s390/s390-32/memcpy.S: New asm code.
59955         * sysdeps/s390/s390-32/memset.S: New asm code.
59956         * sysdeps/s390/s390-32/memcmp.S: New asm code.
59958 2012-07-17  Marek Polacek  <polacek@redhat.com>
59960         [BZ #14349]
59961         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
59962         * sysdeps/s390/s390-64/configure.in: Likewise.
59963         * sysdeps/sparc/configure.in: Likewise.
59964         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
59965         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
59966         * sysdeps/i386/configure.in: Likewise.
59967         * sysdeps/x86_64/configure.in: Likewise.
59968         * sysdeps/sh/configure.in: Likewise.
59969         * sysdeps/s390/s390-32/configure: Regenerated.
59970         * sysdeps/s390/s390-64/configure: Likewise.
59971         * sysdeps/x86_64/configure: Likewise.
59972         * sysdeps/sh/configure: Likewise.
59973         * sysdeps/powerpc/powerpc64/configure: Likewise.
59974         * sysdeps/powerpc/powerpc32/configure: Likewise.
59975         * sysdeps/sparc/configure: Likwise.
59976         * sysdeps/i386/configure: Likewise.
59978         * elf/dl-open.c: Comment fixes.
59980 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
59982         * Makefile [CXX] (check-data): Remove.
59983         [CXX] (c++-types.data): New vpath directive.
59984         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
59985         vpath.  Do not allow for C++ type data being missing.
59986         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
59987         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
59988         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
59989         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
59990         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
59991         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
59992         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
59993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
59994         ... here.
59995         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
59996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
59997         ... here.
59998         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
59999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
60000         ... here.
60001         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
60002         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
60003         ... here.
60004         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
60005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
60006         ... here.
60007         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
60008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
60009         ... here.
60010         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
60011         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
60012         ... here.
60013         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
60014         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
60016         * elf/tls-macros.h (TLS_LE): Move architecture-specific
60017         definitions to architecture-specific files.
60018         (TLS_IE): Likewise.
60019         (TLS_LD): Likewise.
60020         (TLS_GD): Likewise.
60021         * sysdeps/i386/tls-macros.h: New file.
60022         * sysdeps/powerpc/tls-macros.h: Likewise.
60023         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
60024         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
60025         * sysdeps/sh/tls-macros.h: Likewise.
60026         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
60027         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
60028         * sysdeps/x86_64/tls-macros.h: Likewise.
60030 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60032         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
60033         zero value for regular exit case.
60035         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
60036         (__start_context): Preserve zero value for regular exit case.
60038 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60039             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60041         * manual/setjmp.texi (setcontext): Clarify normal process
60042         termination when uc_link is the null pointer.
60043         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
60044         exit call.
60046 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
60048         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
60049         preprocessor.  Test for each exception mask separately.
60051 2012-07-16  Andreas Jaeger  <aj@suse.de>
60053         * po/ru.po: Update from translation team.
60055 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
60057         * conform/data/string.h-data (NULL): Use macro-constant.  Require
60058         equal to 0.
60059         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60060         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60061         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
60062         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
60063         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60065 2012-07-13  Andreas Jaeger  <aj@suse.de>
60067         * po/fr.po: Update from translation team.
60069 2012-07-12  Marek Polacek  <polacek@redhat.com>
60071         [BZ #14173]
60072         * math/libm-test.inc (yn_test): Add test for BZ #14173.
60073         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
60074         loop condition.
60076 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
60078         [BZ #13717]
60079         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60080         Change to 2.4.1 where previously 2.4.0.
60081         * sysdeps/unix/sysv/linux/configure: Regenerated.
60082         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
60083         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
60084         version.
60085         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
60086         (__ASSUME_AT_CLKTCK): Remove.
60087         (__ASSUME_AT_PAGESIZE): Likewise.
60088         (__ASSUME_AT_XID): Likewise.
60089         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
60090         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
60091         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
60092         unconditionally.
60093         (HAVE_AUX_PAGESIZE): Likewise.
60094         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
60095         [__ASSUME_AT_CLKTCK]: Make code unconditional.
60096         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
60098 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
60100         [BZ #14307]
60101         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
60102         the temporary buffer used to invoke __gethostbyname2_r,
60103         __gethostbyaddr_r and gethostbyname4_r to make room for struct
60104         host_data / struct gaih_addrtuple.
60105         * resolv/nss_dns/dns-host.c (global scope): Move definition of
60106         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
60107         header file nss/nsswitch.h.
60108         * nss/nsswitch.h (global scope): Add definition of implementation
60109         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
60110         resolv/nss_dns/dns-host.c).
60112 2012-07-11  Andreas Jaeger  <aj@suse.de>
60114         * po/fr.po: Update from translation team.
60116         * po/sv.po: Update from translation team
60117         * po/fr.po: Another update from translation team.
60119 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60121         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
60122         for subnormals or multiply small sinh result by itself.
60123         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60126 2012-07-11  David S. Miller  <davem@davemloft.net>
60128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60130 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
60132         [BZ #14347]
60133         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
60134         (INTERNAL_MARK): Shift it here.
60136 2012-07-10  Marek Polacek  <polacek@redhat.com>
60138         [BZ #14151]
60139         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
60140         libc_cv_asm_global_directive with .globl.
60141         * configure: Regenerated.
60142         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
60143         with .globl.
60144         * sysdeps/i386/configure: Regenerated.
60145         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
60146         with .globl.
60147         * sysdeps/x86_64/configure: Regenerated.
60148         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
60149         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
60150         * elf/tst-unique2mod2.c: Likewise.
60151         * elf/tst-unique2mod1.c: Likewise.
60152         * elf/tst-unique1mod2.c: Likewise.
60153         * elf/tst-unique1mod1.c: Likewise.
60154         * sysdeps/s390/s390-32/sysdep.h: Likewise.
60155         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60156         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60157         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60158         * sysdeps/mach/sysdep.h: Likewise.
60159         * sysdeps/i386/sysdep.h: Likewise.
60160         * sysdeps/i386/i386-mcount.S: Likewise.
60161         * sysdeps/x86_64/_mcount.S: Likewise.
60162         * sysdeps/x86_64/sysdep.h: Likewise.
60163         * sysdeps/sh/_mcount.S: Likewise.
60164         * sysdeps/sh/sysdep.h: Likewise.
60165         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
60166         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
60167         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
60168         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60169         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
60170         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
60171         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
60172         * locale/localeinfo.h: Likewise.
60173         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
60174         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
60176 2012-07-09  Roland McGrath  <roland@hack.frob.com>
60178         [BZ #14336]
60179         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
60180         system".
60181         * manual/message.texi (The Uniforum approach): Likewise.
60182         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
60183         (glibc iconv Implementation): Likewise.
60185 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
60187         [BZ #14337]
60188         * math/s_clog.c (__clog): Avoid scaling a value down where that
60189         could result in underflow.
60190         * math/s_clog10.c (__clog10): Likewise.
60191         * math/s_clog10f.c (__clog10f): Likewise.
60192         * math/s_clog10l.c (__clog10l): Likewise.
60193         * math/s_clogf.c (__clogf): Likewise.
60194         * math/s_clogl.c (__clogl): Likewise.
60195         * math/libm-test.inc (clog_test): Add more tests.
60196         (clog10_test): Likewise.
60197         * sysdeps/i386/fpu/libm-test-ulps: Update.
60198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60200 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
60202         [BZ #14283]
60203         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
60204         by 7 not 8 to examine high bit of fractional part.
60206         [BZ #14042]
60207         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
60208         for call to __mcount_internal.
60209         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
60210         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
60211         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
60213 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
60215         [BZ #14154]
60216         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
60217         approximation for values within 0x1p-13f of an odd multiple of
60218         pi/4.
60219         * math/libm-test.inc (tan_test): Do not allow spurious underflow
60220         exception.  Add more tests.
60221         * sysdeps/i386/fpu/libm-test-ulps: Update.
60223         [BZ #6778]
60224         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
60225         inputs and return -1 for them.  Do not check for +Inf in case not
60226         reachable for +Inf.
60227         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
60228         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
60229         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60230         and return -1 for them.  Do not check for +Inf in case not
60231         reachable for +Inf.
60232         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
60233         define.
60234         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60235         and return -1 for them.  Do not check for +Inf in case not
60236         reachable for +Inf.
60237         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
60238         spurious underflow.
60239         * sysdeps/i386/fpu/libm-test-ulps: Update.
60240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60242 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
60244         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
60246 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
60248         [BZ #14157]
60249         [BZ #14331]
60250         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
60251         could result in spurious underflow.  Scale down values above
60252         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
60253         * math/s_csqrtf.c (__csqrtf): Likewise.
60254         * math/s_csqrtl.c (__csqrtl): Likewise.
60255         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
60256         spurious underflow.
60257         * sysdeps/i386/fpu/libm-test-ulps: Update.
60258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60260 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
60262         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
60263         xopen-msg.sed.
60264         * catgets/xopen-msg.awk: New file.
60265         * catgets/xopen-msg.sed: Removed.
60267         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
60268         po2text.sed.
60269         * intl/po2test.awk: New file.
60270         * intl/po2test.sed: Removed.
60272 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
60274         [BZ #14328]
60275         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
60276         or multiply small sinh result by itself.
60277         * math/s_ctanf.c (__ctanf): Likewise.
60278         * math/s_ctanh.c (__ctanh): Likewise.
60279         * math/s_ctanhf.c (__ctanhf): Likewise.
60280         * math/s_ctanhl.c (__ctanhl): Likewise.
60281         * math/s_ctanl.c (__ctanl): Likewise.
60282         * math/libm-test.inc (ctan_test_tonearest): New function.
60283         (ctan_test_towardzero): Likewise.
60284         (ctan_test_downward): Likewise.
60285         (ctan_test_upward): Likewise.
60286         (ctanh_test_tonearest): Likewise.
60287         (ctanh_test_towardzero): Likewise.
60288         (ctanh_test_downward): Likewise.
60289         (ctanh_test_upward): Likewise.
60290         (main): Call these new functions.
60291         * sysdeps/i386/fpu/libm-test-ulps: Update.
60292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60294 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
60296         * .gitignore: Delete /ports entry.
60298 2012-07-03  Andreas Jaeger  <aj@suse.de>
60300         * po/bg.po: Update from translation team.
60301         * po/cs.po: Likewise.
60302         * po/de.po: Likewise.
60303         * po/hr.po: Likewise.
60304         * po/nl.pl: Likewise.
60305         * po/pl.po: Likewise.
60306         * po/vi.po: Likewise.
60308 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
60310         * Makeconfig [!+link] (+link-before-libc): New variable.
60311         [!+link] (+link-after-libc): Likewise.
60312         [!+link] (+link-tests): Likewise.
60313         [!+link] (+link): Define in terms of $(+link-before-libc) and
60314         $(+link-after-libc).
60315         [!+link-static] (+link-static-before-libc): New variable.
60316         [!+link-static] (+link-static-after-libc): Likewise.
60317         [!+link-static] (+link-static-tests): Likewise.
60318         [!+link-static] (+link-static): Define in terms of
60319         $(+link-static-before-libc) and $(+link-static-after-libc).
60320         [build-shared] (link-libc-before-gnulib): New variable.
60321         [build-shared] (link-libc-tests): Likewise.
60322         [build-shared] (link-libc): Define in terms of
60323         $(link-libc-before-gnulib).
60324         [!build-shared] (link-libc-tests): New variable.
60325         (link-libc-static-tests): New variable.
60326         [!gnulib] (gnulib-arch): New variable.
60327         [!gnulib] (gnulib-tests): Likewise.
60328         [!gnulib] (static-gnulib-arch): Likewise.
60329         [!gnulib] (static-gnulib-tests): Likewise.
60330         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
60331         Define with "=" instead of ":=".
60332         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
60333         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
60334         * Rules (binaries-all-notests): New variable.
60335         (binaries-all-tests): Likewise.
60336         (binaries-static-notests): Likewise.
60337         (binaries-static-tests): Likewise.
60338         (binaries-all): Define using $(binaries-all-notests) and
60339         $(binaries-all-tests).
60340         (binaries-static): Define using $(binaries-static-notests) and
60341         $(binaries-static-tests).
60342         (binaries-shared-tests): New variable.
60343         (binaries-shared-notests): Likewise.
60344         (binaries-shared): Remove variable.
60345         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
60346         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
60347         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
60348         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
60349         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
60350         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
60351         * elf/Makefile (sln-modules): New variable.
60352         (extra-objs): Add $(sln-modules:=.o).
60353         (ldconfig-modules): Add static-stubs.
60354         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
60355         * elf/static-stubs.c: New file.
60357         [BZ #14283]
60358         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
60359         by 7 not 8 to examine high bit of fractional part.  Use volatile
60360         variables when splitting into final array of floats if
60361         __FLT_EVAL_METHOD__ != 0.
60362         * math/libm-test.inc (cos_test): Add another test.
60363         (sin_test): Likewise.
60364         * sysdeps/i386/fpu/libm-test-ulps: Update.
60366         [BZ #14273]
60367         * math/libm-test.inc (cosh_test): Add more tests.
60369         * version.h (RELEASE): Set to "development".
60370         (VERSION): Set to "2.16.90".
60372 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
60374         * NEWS: Update copyright. Remove last-updated date.
60375         Mention math library bug fixes and timezone data changes.
60376         * README: Mention GNU/Hurd, x32, and HPPA support status.
60378 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
60380         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
60382 2012-06-27  Andreas Jaeger  <aj@suse.de>
60384         * manual/contrib.texi (Contributors): Add Samuel Thibault.
60386 2012-06-25  Andreas Jaeger  <aj@suse.de>
60388         * sysdeps/s390/fpu/libm-test-ulps: Update.
60390 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
60391             Thomas Schwinge  <thomas@codesourcery.com>
60393         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
60394         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
60395         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
60396         fanotify_mark.
60398 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
60400         * sysdeps/mach/start.c: Remove file.
60401         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
60402         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
60403         * sysdeps/sh/init-first.c: Likewise.
60405         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
60406         registers for frame unwinding purposes, add CFI directives.
60407         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60408         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
60409         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
60410         Likewise.
60412         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
60413         __fortify_fail returning.
60414         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60416         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
60417         sysdeps/sh/____longjmp_chk.S.
60418         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
60419         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
60420         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
60421         (gen-as-const-headers): Append sigaltstack-offsets.sym.
60423         * sysdeps/sh/abort-instr.h: New file.
60424         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
60425         process in case exit returns.
60427         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
60428         initialize the GOT register before use.
60430         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
60431         calculation of ARGC > 4.
60433         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
60434         meaningful names to some local labels.
60436 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60437             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60439         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
60440         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
60441         (__arch_compare_and_exchange_val_16_acq): Likewise.
60442         (__arch_compare_and_exchange_val_32_acq): Likewise.
60443         (atomic_exchange_and_add): Fix gUSA sequence.
60444         (atomic_add): Likewise.
60445         (atomic_add_negative): Likewise.
60446         (atomic_add_zero): Likewise.
60447         (atomic_bit_test_set): Likewise.
60449 2012-06-22  Andreas Schwab  <schwab@redhat.com>
60451         [BZ #13579]
60452         * include/link.h (struct link_map): Add l_free_initfini.
60453         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
60454         l_initfini.
60455         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
60456         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
60457         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
60458         set.
60460 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
60462         * configure.in: Use AC_LANG_SOURCE.
60463         * configure: Regenerate.
60465 2012-06-22  Roland McGrath  <roland@hack.frob.com>
60467         * configure.in (libc_cv_localstatedir): New substituted variable.
60468         * configure: Regenerated.
60469         * config.make.in (localstatedir): New variable, substituted from
60470         libc_cv_localstatedir.
60471         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
60472         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
60473         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
60474         * sysdeps/gnu/configure: Regenerated.
60476 2012-06-21  Jeff Law  <law@redhat.com>
60478         [BZ #14277]
60479         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
60480         free.  Simplify list management for _LIBC case.
60482 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
60484         [BZ #14273]
60485         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
60486         Clear sign bit of 64-bit integer value before comparing against
60487         overflow value.
60489         * sysdeps/mach/configure: Regenerated.
60491 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
60493         [BZ #14278]
60494         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
60496 2012-06-21  Jeff Law  <law@redhat.com>
60498         [BZ #13882]
60499         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
60500         uint16_t for elements in the "seen" array to avoid char overflows.
60501         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60502         * elf/dl-open.c (dl_open_worker): Likewise.
60504 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
60506         * scripts/list-sources.sh: Scan PORTS for translations.
60507         * po/libc.pot: Regenerated.
60509 2012-06-21  Andreas Jaeger  <aj@suse.de>
60511         [BZ #12194]
60512         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
60513         warning.
60514         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
60515         * bits/byteswap-16.h (__bswap_16): Likewise.
60516         * bits/byteswap.h (__bswap_constant_16): Likewise.
60518 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
60520         [BZ #14117]
60521         * sysdeps/i386/fpu_control.h: Removed.
60522         * sysdeps/x86_64/fpu_control.h: Moved to ...
60523         * sysdeps/x86/fpu_control.h: Here.
60525         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
60526         (_FPU_SETCW): Likewise.
60528 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
60530         [BZ #14117]
60531         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
60532         * sysdeps/x86/fpu/bits/mathinline.h: This.
60533         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
60535         [BZ #14050]
60536         [BZ #14117]
60537         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
60538         functions if __x86_64__ is defined.
60540 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
60542         * string/endian.h: Add !__ASSEMBLER__ condition for including
60543         conversion interfaces.
60545 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
60547         [BZ #14241]
60548         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
60549         of ABS(x) in calculating zero to negative powers other than odd
60550         integers.
60551         * math/libm-test.inc (pow_test): Add more tests.
60553 2012-06-15  Andreas Jaeger  <aj@suse.de>
60555         * manual/contrib.texi (Contributors): Update entry of Liubov
60556         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
60557         Machado Filho.
60559 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
60561         * string/string.h: Add __wur to GNU version of strerror_r.
60563 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
60565         [BZ #14229]
60566         * string/Makefile (tests): Add tst-strtok_r.
60567         * string/tst-strtok_r.c: New file.
60568         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
60569         RAX_LP/RDX_LP on SAVE_PTR.
60571 2012-06-14  Roland McGrath  <roland@hack.frob.com>
60573         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
60575 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
60577         * libm_test.inc (csqrt_test): Allow more spurious underflow
60578         exceptions.
60579         (j0_test): Likewise.
60580         (j1_test): Likewise.
60581         (y0_test): Likewise.
60582         (y1_test): Likewise.
60584 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
60586         * po/Makefile (libc.pot): Use UTF-8 charset.
60588 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
60590         [BZ #14210]
60591         Suppress sign-conversion warning from FD_SET.
60592         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
60593         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
60594         not unsigned long int.
60595         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
60597 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
60599         [BZ #14050]
60600         [BZ #14117]
60601         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
60602         __extern_always_inline instead of __extern_inline.
60603         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
60604         (__signbit): Likewise.
60605         (__signbitl): Support C++ namespace.
60606         (lrintf): New inline function.
60607         (lrint): Likewise.
60608         (llrintf): Likewise.
60609         (llrint): Likewise.
60610         (fmaxf): Likewise.
60611         (fmax): Likewise.
60612         (fminf): Likewise.
60613         (fmin): Likewise.
60614         (rint): Likewise.
60615         (rintf): Likewise.
60616         (ceil): Likewise.
60617         (ceilf): Likewise.
60618         (floor): Likewise.
60619         (floorf): Likewise.
60620         (nearbyint): Likewise.
60621         (nearbyintf): Likewise.
60623 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
60625         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
60626         non-default versions.
60628 2012-06-11  Roland McGrath  <roland@hack.frob.com>
60630         [BZ #14218]
60631         * manual/argp.texi (Argp): Reword argp_parse description slightly.
60633 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
60635         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
60636         (FE_UPWARD, FE_DOWNWARD): Don't define.
60637         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
60638         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60640         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
60641         reading it.
60642         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60643         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60645 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60647         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60648         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
60649         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
60650         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
60652 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
60654         [BZ #14117]
60655         * sysdeps/i386/fpu/bits/fenv.h: Removed.
60656         * sysdeps/i386/fpu/Implies: New file.
60657         * sysdeps/x86_64/fpu/Implies: Likewise.
60658         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
60659         * sysdeps/x86/fpu/bits/fenv.h: This.
60661         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
60662         __SSE_MATH__.
60664 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60666         [BZ #14134]
60667         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
60668         character 0xffff that matches the last element of the
60669         conversion table.
60671 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60673         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
60674         fmodl commit.
60676 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60678         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
60679         values higher than 25.6283.
60681 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60683         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
60684         subnormal exponent extraction and add some __builtin_expect.
60685         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
60686         Fix for subnormal mantissa calculation.
60688 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
60690         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
60691         cpu2 is -1 and errno is not ENOSYS.
60693 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
60695         [BZ #14117]
60696         * sysdeps/i386/i486/bits/string.h: Renamed to ...
60697         * sysdeps/x86/bits/string.h: This.
60698         * sysdeps/x86_64/bits/string.h: Removed.
60700         * sysdeps/i386/i486/bits/string.h: Define inline functions only
60701         if not compiling for x86-64, but compiling for >= i486.
60703         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
60704         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
60706         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
60707         New macro from Linux kernel 3.4.0.
60708         (FP_XSTATE_MAGIC2): Likewise.
60709         (FP_XSTATE_MAGIC2_SIZE): Likewise.
60710         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
60711         (struct _fpx_sw_bytes): New struct.
60712         (struct _xsave_hdr): Likewise.
60713         (struct _ymmh_state): Likewise.
60714         (struct _xstate): Likewise.
60716         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
60717         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
60718         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
60719         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
60720         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
60721         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
60723         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
60724         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
60725         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
60726         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
60727         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
60728         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
60730 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60732         [BZ #13743]
60733         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
60734         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
60735         (sysdep_headers): Include sys/platform/ppc.h.
60736         * sysdeps/powerpc/test-gettimebase.c: Test for
60737         __ppc_get_timebase() to catch future ISA opcode/insn changes.
60738         * manual/Makefile (appendices): Include platform.texi.
60739         * manual/contrib.texi (Contributors): Update @node pointers.
60740         * manual/maint.texi (Maintenance): Likewise.
60741         (Platform): New node.
60742         * manual/platform.texi: New file.  Document the new features.
60744 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60745             Jakub Jelinek  <jakub@redhat.com>
60747         [BZ #14188]
60748         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
60749         where __builtin_expect is unavailable.
60751 2012-06-03  David S. Miller  <davem@davemloft.net>
60753         * stdlib/longlong.h: Updated from GCC.
60755 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
60757         [BZ #14042]
60758         * sysdeps/powerpc/powerpc32/mcount.c: New file.
60759         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
60760         __mcount_internal.
60761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60762         (GLIBC_2.16): Likewise.
60764 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60766         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
60768 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
60770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
60771         (default-abi): New variable.
60772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
60773         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
60774         variable.
60775         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
60776         Likewise.
60777         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
60778         Likewise.
60779         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
60780         Likewise.
60782         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
60783         definition.  Document in comment.
60785 2012-06-01  David S. Miller  <davem@davemloft.net>
60787         * stdlib/longlong.h: Updated from GCC.
60789 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60791         [BZ #14117]
60792         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
60793         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
60794         sys/debugreg.h sys/io.h here.
60795         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
60796         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
60797         sys/io.h.
60798         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
60799         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
60800         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
60801         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
60802         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
60803         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
60805         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
60806         Define only if __x86_64__ is defined.
60808 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
60810         [BZ #14048]
60811         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
60812         Use int64_t for variable i.
60813         * math/libm-test.inc (fmod_test): Add more tests.
60815         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
60816         z computation is not scheduled after fetestexcept.
60817         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
60818         Use math_force_eval instead of asm to ensure calculation scheduled
60819         before exception test.
60820         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
60821         Ensure a1 + u.d computation is not scheduled after fetestexcept.
60823 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
60825         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
60826         computation is not scheduled after fetestexcept.
60828 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60830         [BZ #14117]
60831         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
60832         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
60834 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60836         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
60837         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
60839 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60841         [BZ #14117]
60842         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
60843         <bits/wordsize.h>.
60844         (__WCHAR_MIN): Support __WORDSIZE == 64.
60845         (__WCHAR_MAX): Likewise.
60847         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
60848         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
60850         [BZ #14183]
60851         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
60852         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
60854         [BZ #14117]
60855         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
60856         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
60858         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
60859         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
60861         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
60862         Defined to 1 if __x86_64__ isn't defined.
60863         (_STAT_VER_LINUX_OLD): New.
60864         (st_atime): Remove duplicate.
60865         (st_mtime): Likewise.
60866         (st_ctime): Likewise.
60868 2012-05-31  David S. Miller  <davem@davemloft.net>
60870         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
60871         entries.
60873 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
60875         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
60876         gen-libm-test.pl.
60878         [BZ #14132]
60879         * elf/dl-reloc.c: Include <_itoa.h>.
60880         (_dl_reloc_bad_type): Remove use of INTUSE.
60881         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
60882         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
60883         * stdio-common/psiginfo.c (psiginfo): Likewise.
60884         * stdio-common/psignal.c (psignal): Likewise.
60885         * string/strsignal.c (strsignal): Likewise.
60886         * include/signal.h (_sys_siglist): Declare hidden proto.
60887         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
60888         INTVARDEF with libc_hidden_data_def.
60889         * stdio-common/itoa-udigits.c: Likewise.
60890         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
60891         (_itoa_lower_digits_internal): Remove declaration.
60892         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
60893         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
60894         (_sys_sigabbrev_internal): Remove aliases.
60895         (_sys_siglist): Define hidden alias.
60897 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
60899         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60900         bits/sysctl.h.
60902 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60904         [BZ #14117]
60905         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
60906         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
60908         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
60909         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
60910         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
60911         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
60912         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
60913         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
60915         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
60916         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
60917         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
60919         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
60920         with __addr.
60921         (insw): Likewise.
60922         (insl): Likewise.
60923         (outsb): Likewise.
60924         (outsw): Likewise.
60925         (outsl): Likewise.
60927         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
60928         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
60929         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
60931         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
60932         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
60933         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
60934         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
60935         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
60936         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
60938         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
60939         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
60941         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
60942         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
60944         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
60945         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
60946         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
60948         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
60949         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
60950         to ...
60951         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
60953         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
60954         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
60955         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
60957         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
60958         for x86-64.
60959         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
60961 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
60963         * math/math.h (M_El): Use two more decimal places.
60964         (M_LOG2El): Likewise.
60965         (M_LOG10El): Likewise.
60966         (M_LN2l): Likewise.
60967         (M_LN10l): Likewise.
60968         (M_PIl): Likewise.
60969         (M_PI_2l): Likewise.
60970         (M_PI_4l): Likewise.
60971         (M_1_PIl): Likewise.
60972         (M_2_PIl): Likewise.
60973         (M_2_SQRTPIl): Likewise.
60974         (M_SQRT2l): Likewise.
60975         (M_SQRT1_2l): Likewise.
60977 2012-05-31  David S. Miller  <davem@davemloft.net>
60979         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
60980         values between float registers.
60981         * sysdeps/sparc/sparc64/memset.S: Likewise.
60982         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60984 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
60986         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
60987         -D_FORTIFY_SOURCE=1.
60988         (CPPFLAGS-tst-longjmp_chk.c): Define.
60989         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
60990         (CPPFLAGS-tst-longjmp_chk2.c): Define.
60991         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
60992         CFLAGS-tst-wchar-h.c.
60994 2012-05-31  Marek Polacek  <polacek@redhat.com>
60996         [BZ #14132]
60997         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
60998         __endmntent_internal): Remove declaration.
60999         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
61000         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
61001         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
61003 2012-05-30  David S. Miller  <davem@davemloft.net>
61005         * sysdeps/sparc/sparc32/soft-fp/q_util.c
61006         (___Q_simulate_exceptions): Use real FP ops rather than writing
61007         into the %fsr.
61008         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
61009         Likewise.
61011 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61013         [BZ #14117]
61014         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
61015         * sysdeps/x86/bits/xtitypes.h: This.
61017         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
61018         * sysdeps/x86/bits/wordsize.h: This.
61020         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
61021         * sysdeps/x86/bits/huge_vall.h: This.
61023         * sysdeps/i386/bits/select.h: Removed.
61024         * sysdeps/x86_64/bits/select.h: Renamed to ...
61025         * sysdeps/x86/bits/select.h: This.
61027         * sysdeps/i386/bits/setjmp.h: Removed.
61028         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
61029         * sysdeps/x86/bits/setjmp.h: This.
61031         * sysdeps/i386/bits/mathdef.h: Removed.
61032         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
61033         * sysdeps/x86/bits/mathdef.h: This.
61035 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
61037         [BZ #14132]
61038         * include/sys/socket.h (__connect_internal)
61039         (__libc_sa_len_internal): Remove declaration.
61040         (__connect, __libc_sa_len): Declare hidden_proto.
61041         (SA_LEN): Remove use of INTUSE.
61042         * socket/connect.c: Add libc_hidden_def.
61043         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
61044         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
61045         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
61046         alias.
61047         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
61048         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
61049         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
61050         of adding _internal alias.
61052 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61054         [BZ #14117]
61055         * sysdeps/i386/bits/link.h: Removed.
61056         * sysdeps/i386/bits/linkmap.h: Likewise.
61057         * sysdeps/x86_64/bits/link.h: Renamed to ...
61058         * sysdeps/x86/bits/link.h: This.
61059         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
61060         * sysdeps/x86/bits/linkmap.h: This.
61062         * sysdeps/i386/bits/endian.h: Removed.
61063         * sysdeps/x86_64/bits/endian.h: Renamed to ...
61064         * sysdeps/x86/bits/endian.h: This.
61066         * sysdeps/i386/bits/byteswap.h: Removed.
61067         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61068         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
61069         * sysdeps/x86/bits/byteswap.h: This.
61070         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
61071         * sysdeps/x86/bits/byteswap-16.h: This.
61072         * sysdeps/i386/Implies: Add x86.
61073         * sysdeps/x86_64/Implies: Likewise.
61075 2012-05-30  David S. Miller  <davem@davemloft.net>
61077         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
61078         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
61079         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
61080         (FP_TRAPPING_EXCEPTIONS): Define.
61081         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
61082         (FP_TRAPPING_EXCEPTIONS): Define.
61083         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
61084         subnormals only when inexact has been signalled or underflow
61085         exceptions are enabled.
61086         (_FP_PACK_CANONICAL): Likewise.
61088 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61090         [BZ #14183]
61091         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
61092         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
61094 2012-05-30  Richard Henderson  <rth@twiddle.net>
61096         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
61097         with #ifndef NOT_IN_libc.
61099         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
61100         marked to avoid plt entry.
61102 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61104         [BZ #14112]
61105         * Makeconfig (default-abi): New macro.
61106         (abi-includes): Likewise.
61107         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
61108         $(abi-$(default-abi)-lib-soname) for soname if defined.
61109         ($(common-objpfx)gnu/lib-names.stmp): Generate from
61110         abi-variants.
61111         * Makefile (installed-stubs): Likewise.
61112         * include/stubs-biarch.h: Removed.
61113         * scripts/lib-names.awk: Only handle one library at a time.
61114         * scripts/soversions.awk: Remove WORDSIZE support.
61115         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
61116         entries.
61117         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
61118         Removed.
61119         (syscall-list-default-condition): Likewise.
61120         (syscall-list-default-condition): Likewise.
61121         (syscall-list-includes): Likewise.
61122         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
61123         syscall-list-* with abi-*.  Handle undefined abi-variants.
61124         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
61125         * sysdeps/unix/sysv/linux/i386/Implies: New file.
61126         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
61127         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
61128         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
61129         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
61130         Removed.
61131         (syscall-list-32-options): Likewise.
61132         (syscall-list-32-condition): Likewise.
61133         (syscall-list-64-options): Likewise.
61134         (syscall-list-64-condition): Likewise.
61135         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
61136         macro.
61137         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
61138         Renamed to ...
61139         (abi-*): This.
61140         (abi-64-ld-soname): New macro.
61141         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
61142         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
61143         Renamed to ...
61144         (abi-*): This.
61145         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
61146         * sysdeps/x86_64/x32/shlib-versions: Likewise.
61148 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
61150         * sysdeps/unix/sysv/linux/kernel-features.h
61151         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
61152         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
61153         include <kernel-features.h>.
61154         [!__NR_ftruncate64]: Remove conditional code.
61155         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61156         [__NR_ftruncate64]: Make code unconditional.
61157         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61158         * sysdeps/unix/sysv/linux/truncate64.c: Do not
61159         include <kernel-features.h>.
61160         [!__NR_ftruncate64]: Remove conditional code.
61161         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61162         [__NR_ftruncate64]: Make code unconditional.
61163         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
61165         include <kernel-features.h>.
61166         [!__NR_ftruncate64]: Remove conditional code.
61167         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61168         [__NR_ftruncate64]: Make code unconditional.
61169         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61171         include <kernel-features.h>.
61172         [!__NR_ftruncate64]: Remove conditional code.
61173         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61174         [__NR_ftruncate64]: Make code unconditional.
61175         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61177         * configure.in (libc_cv_fpie): Weaken to a compile test using
61178         LIBC_TRY_CC_OPTION.
61179         * configure: Regenerated.
61181 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
61184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
61185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
61186         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61187         Refreshed.
61188         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
61189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
61190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
61191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
61192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
61193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61194         Refreshed.
61196 2012-05-27  David S. Miller  <davem@davemloft.net>
61198         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
61199         (___Q_zero): New.
61200         (__Q_simulate_exceptions): Return void.  Change to simulate
61201         exceptions by writing into the %fsr.
61202         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
61203         (__Qp_handle_exceptions): Likewise.
61204         (numbers): Delete.
61205         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
61206         __Qp_handle_exceptions.
61207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
61208         __Qp_handle_exceptions.
61209         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61210         as unused and give dummy FP_RND_NEAREST initializer.
61211         (FP_INHIBIT_RESULTS): Define.
61212         (___Q_simulate_exceptions): Update declaration.
61213         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
61214         formatting.
61215         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61216         as unused and give dummy FP_RND_NEAREST initializer.
61217         (__Qp_handle_exceptions): Update declaration.
61218         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
61219         formatting.
61221 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
61223         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
61224         the temporary FPU control word.
61225         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
61226         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
61227         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
61228         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61229         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61230         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
61231         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
61232         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61233         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
61234         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
61235         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61237 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61239         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
61240         fields.
61242 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
61244         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
61245         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
61246         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
61247         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
61248         Likewise.
61249         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
61250         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
61251         Likewise.
61253 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
61255         * po/h.po: Update from translation team.
61257 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
61259         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
61261         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
61262         handling of denormals.
61263         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61264         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
61265         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61266         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61267         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61268         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
61269         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
61270         Likewise.
61272 2012-05-26  Marek Polacek  <polacek@redhat.com>
61274         [BZ #14152]
61275         * math/libm-test.inc (fma_test): Don't always expect underflow
61276         exception.
61278 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61280         [BZ #12416]
61281         * elf/tst-execstack.c: Include stackinfo.h.
61282         (do_test): Adjust test case to ensure that pthread_getattr_np
61283         behaviour remains the same after marking stack executable.
61285 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61287         * sysdeps/unix/sysv/linux/kernel-features.h
61288         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
61289         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
61290         kernel-features.h.
61291         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61292         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61293         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
61294         kernel-features.h.
61295         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61296         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61298 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
61300         * configure.in: Define the default includes to being none.
61301         * configure: Regenerated.
61303 2012-05-25  Roland McGrath  <roland@hack.frob.com>
61305         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
61306         * sysdeps/x86_64/setjmp.S: Likewise.
61307         * sysdeps/i386/bsd-setjmp.S: Likewise.
61308         * sysdeps/i386/bsd-_setjmp.S: Likewise.
61309         * sysdeps/i386/setjmp.S: Likewise.
61310         * sysdeps/i386/__longjmp.S: Likewise.
61311         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61312         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
61314         * include/stap-probe.h: New file.
61315         * configure.in: Handle --enable-systemtap.
61316         * configure: Regenerated.
61317         * config.h.in (USE_STAP_PROBE): New #undef.
61318         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
61319         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
61320         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
61322 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61324         [BZ #13717]
61325         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61326         to 2.4.0 where earlier.
61327         * sysdeps/unix/sysv/linux/configure: Regenerated.
61328         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61329         <kernel-features.h>.
61330         [__ASSUME_32BITUIDS]: Make code unconditional.
61331         [!__ASSUME_32BITUIDS]: Remove conditional code.
61332         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
61333         <kernel-features.h>.
61334         [__ASSUME_32BITUIDS]: Make code unconditional.
61335         [!__ASSUME_32BITUIDS]: Remove conditional code.
61336         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
61337         [__ASSUME_32BITUIDS]: Make code unconditional.
61338         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
61339         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
61340         <kernel-features.h>.
61341         [__ASSUME_32BITUIDS]: Make code unconditional.
61342         [!__ASSUME_32BITUIDS]: Remove conditional code.
61343         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
61344         <kernel-features.h>.
61345         [__ASSUME_32BITUIDS]: Make code unconditional.
61346         [!__ASSUME_32BITUIDS]: Remove conditional code.
61347         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
61348         <kernel-features.h>.
61349         [__ASSUME_32BITUIDS]: Make code unconditional.
61350         [!__ASSUME_32BITUIDS]: Remove conditional code.
61351         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
61352         <kernel-features.h>.
61353         [__ASSUME_32BITUIDS]: Make code unconditional.
61354         [!__ASSUME_32BITUIDS]: Remove conditional code.
61355         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61356         <kernel-features.h>.
61357         [__ASSUME_32BITUIDS]: Make code unconditional.
61358         [!__ASSUME_32BITUIDS]: Remove conditional code.
61359         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61360         <kernel-features.h>.
61361         [__ASSUME_32BITUIDS]: Make code unconditional.
61362         [!__ASSUME_32BITUIDS]: Remove conditional code.
61363         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
61364         <kernel-features.h>.
61365         [__ASSUME_32BITUIDS]: Make code unconditional.
61366         [!__ASSUME_32BITUIDS]: Remove conditional code.
61367         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61368         <kernel-features.h>.
61369         [__ASSUME_32BITUIDS]: Make code unconditional.
61370         [!__ASSUME_32BITUIDS]: Remove conditional code.
61371         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61372         <kernel-features.h>.
61373         [__ASSUME_32BITUIDS]: Make code unconditional.
61374         [!__ASSUME_32BITUIDS]: Remove conditional code.
61375         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
61376         <kernel-features.h>.
61377         [__ASSUME_32BITUIDS]: Make code unconditional.
61378         [!__ASSUME_32BITUIDS]: Remove conditional code.
61379         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
61380         <kernel-features.h>.
61381         [__NR_setresgid] (__setresgid): Do not declare.
61382         [__ASSUME_32BITUIDS]: Make code unconditional.
61383         [!__ASSUME_32BITUIDS]: Remove conditional code.
61384         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
61385         <kernel-features.h>.
61386         [__NR_setresuid] (__setresuid): Do not declare.
61387         [__ASSUME_32BITUIDS]: Make code unconditional.
61388         [!__ASSUME_32BITUIDS]: Remove conditional code.
61389         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
61390         <kernel-features.h>.
61391         [__ASSUME_32BITUIDS]: Make code unconditional.
61392         [!__ASSUME_32BITUIDS]: Remove conditional code.
61393         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
61394         <kernel-features.h>.
61395         [__ASSUME_32BITUIDS]: Make code unconditional.
61396         [!__ASSUME_32BITUIDS]: Remove conditional code.
61397         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
61398         <kernel-features.h>.
61399         [__ASSUME_32BITUIDS]: Make code unconditional.
61400         [!__ASSUME_32BITUIDS]: Remove conditional code.
61401         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
61402         <kernel-features.h>.
61403         [__ASSUME_32BITUIDS]: Make code unconditional.
61404         [!__ASSUME_32BITUIDS]: Remove conditional code.
61405         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
61406         <kernel-features.h>.
61407         [__ASSUME_32BITUIDS]: Make code unconditional.
61408         [!__ASSUME_32BITUIDS]: Remove conditional code.
61409         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
61410         <kernel-features.h>.
61411         [__ASSUME_32BITUIDS]: Make code unconditional.
61412         [!__ASSUME_32BITUIDS]: Remove conditional code.
61413         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
61414         <kernel-features.h>.
61415         [__ASSUME_32BITUIDS]: Make code unconditional.
61416         [!__ASSUME_32BITUIDS]: Remove conditional code.
61417         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
61418         <kernel-features.h>.
61419         [__ASSUME_32BITUIDS]: Make code unconditional.
61420         [!__ASSUME_32BITUIDS]: Remove conditional code.
61421         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
61422         <kernel-features.h>.
61423         [__ASSUME_32BITUIDS]: Make code unconditional.
61424         [!__ASSUME_32BITUIDS]: Remove conditional code.
61425         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61426         <kernel-features.h>.
61427         [__ASSUME_32BITUIDS]: Make code unconditional.
61428         [!__ASSUME_32BITUIDS]: Remove conditional code.
61429         * sysdeps/unix/sysv/linux/kernel-features.h
61430         (__ASSUME_SETRESUID_SYSCALL): Remove.
61431         (__ASSUME_SETRESGID_SYSCALL): Likewise.
61432         (__ASSUME_32BITUIDS): Likewise.
61433         (__ASSUME_LDT_WORKS): Likewise.
61434         (__ASSUME_O_DIRECTORY): Likewise.
61435         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
61436         architecture but not kernel version.
61437         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
61438         (__ASSUME_MMAP2_SYSCALL): Likewise.
61439         (__ASSUME_STAT64_SYSCALL): Likewise.
61440         (__ASSUME_IPC64): Likewise.
61441         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
61442         <kernel-features.h>.
61443         [__ASSUME_32BITUIDS]: Make code unconditional.
61444         [!__ASSUME_32BITUIDS]: Remove conditional code.
61445         * sysdeps/unix/sysv/linux/opendir.c: Do not include
61446         <kernel-features.h>.
61447         [__ASSUME_O_DIRECTORY]: Make code unconditional.
61448         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
61449         132096]: Remove conditional code.
61450         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
61451         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61452         <kernel-features.h>.
61453         [__ASSUME_32BITUIDS]: Make code unconditional.
61454         [!__ASSUME_32BITUIDS]: Remove conditional code.
61455         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61456         <kernel-features.h>.
61457         [__ASSUME_32BITUIDS]: Make code unconditional.
61458         [!__ASSUME_32BITUIDS]: Remove conditional code.
61459         * sysdeps/unix/sysv/linux/setegid.c: Do not include
61460         <kernel-features.h>.
61461         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
61462         unconditional.
61463         (__setresgid): Do not declare.
61464         [__ASSUME_32BITUIDS]: Make code unconditional.
61465         [!__ASSUME_32BITUIDS]: Remove conditional code.
61466         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
61467         <kernel-features.h>.
61468         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
61469         unconditional.
61470         (__setresuid): Do not declare.
61471         [__ASSUME_32BITUIDS]: Make code unconditional.
61472         [!__ASSUME_32BITUIDS]: Remove conditional code.
61473         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61474         <kernel-features.h>.
61475         [__ASSUME_32BITUIDS]: Make code unconditional.
61476         [!__ASSUME_32BITUIDS]: Remove conditional code.
61477         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
61478         <kernel-features.h>.
61479         [__ASSUME_32BITUIDS]: Make code unconditional.
61480         [!__ASSUME_32BITUIDS]: Remove conditional code.
61482 2012-05-25  Richard Henderson  <rth@twiddle.net>
61484         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
61485         dl_hwcap to ifunc resolver.
61486         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
61487         elf_ifunc_invoke.
61488         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
61489         dl_hwcap to ifunc resolver.
61490         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
61492 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61494         [BZ #14153]
61495         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
61496         for |x| <= 2**-26, not 2**-57.
61497         * math/libm-test.inc (acos_test): Do not allow spurious underflow
61498         exception.
61500 2012-05-24  Jeff Law  <law@redhat.com>
61502         * stdio-common/Makefile (tests): Add bug25.
61503         * stdio-common/bug25.c: New test.
61505 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61507         [BZ #13576]
61508         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
61509         multiple of MALLOC_ALIGNMENT in size.
61510         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
61512 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61514         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
61515         Require >= 256.
61516         (FILENAME_MAX): Use macro-int-constant.
61517         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
61518         (_IOFBF): Use macro-int-constant.
61519         (_IOLBF): Likewise.
61520         (_IONBF): Likewise.
61521         (SEEK_CUR): Likewise.
61522         (SEEK_END): Likewise.
61523         (SEEK_SET): Likewise.
61524         (TMP_MAX): Likewise.
61525         (EOF): Use macro-int-constant.  Require < 0.
61526         (NULL): Use macro-constant.  Require == 0.
61527         (stdin): Require type to be FILE *.
61528         (stdout): Likewise.
61529         (stderr): Likewise.
61530         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
61531         macro-int-constant.
61532         (EXIT_SUCCESS): Likewise.
61533         (NULL): Use macro-constant.  Require == 0.
61534         (RAND_MAX): Use macro-int-constant.
61535         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
61536         [C99-based standards] (strtof): Require function.
61537         [C99-based standards] (strtold): Likewise.
61538         [C99-based standards] (strtoll): Likewise.
61539         [C99-based standards] (strtoull): Likewise.
61540         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61541         [ISO || ISO99 || ISO11] (limits.h): Likewise.
61542         [ISO || ISO99 || ISO11] (math.h): Likewise.
61543         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
61544         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61545         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61547 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
61549         [BZ #14132]
61550         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
61551         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
61552         * intl/dgettext.c (DCGETTEXT): Likewise.
61553         * intl/gettext.c (DCGETTEXT): Likewise.
61554         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
61555         * posix/regex_internal.h (gettext): Likewise.
61556         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
61557         Remove declaration.
61558         * include/argz.h (__argz_count_internal)
61559         (__argz_stringify_internal): Remove declaration.
61560         (__argz_count, __argz_stringify): Declare hidden proto.
61561         * intl/dcgettext.c: Remove use of INTDEF.
61562         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
61563         * string/argz-stringify.c: Likewise.
61564         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61565         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61566         Declare hidden proto.
61567         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61568         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61569         Declare hidden proto.
61570         * include/stdio.h (__asprintf_internal): Don't declare.
61571         (__asprintf): Don't define as macro.  Declare hidden proto.
61572         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
61573         (__fsetlocking): Declare hidden proto.
61574         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
61575         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
61576         hidden proto.
61577         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
61578         (_IO_setlinebuf): Remove use of INTUSE.
61579         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
61580         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
61581         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
61582         Remove declaration.
61583         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
61584         (_IO_do_flush): Remove use of INTUSE.
61585         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
61586         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
61587         (_IO_adjust_column, _IO_least_wmarker)
61588         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
61589         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
61590         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
61591         (_IO_default_doallocate, _IO_wdefault_doallocate)
61592         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
61593         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
61594         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
61595         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
61596         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
61597         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
61598         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
61599         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
61600         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
61601         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
61602         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
61603         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
61604         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
61605         proto.
61606         (_IO_flush_all_internal, _IO_adjust_column_internal)
61607         (_IO_default_uflow_internal, _IO_default_finish_internal)
61608         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
61609         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
61610         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
61611         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
61612         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
61613         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
61614         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
61615         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
61616         (_IO_file_close_internal, _IO_file_close_it_internal)
61617         (_IO_file_underflow_internal, _IO_file_overflow_internal)
61618         (_IO_file_init_internal, _IO_file_attach_internal)
61619         (_IO_file_fopen_internal, _IO_file_read_internal)
61620         (_IO_file_sync_internal, _IO_file_seek_internal)
61621         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
61622         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
61623         (_IO_str_underflow_internal, _IO_str_overflow_internal)
61624         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
61625         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
61626         (_IO_list_all_internal, _IO_link_in_internal)
61627         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
61628         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
61629         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
61630         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
61631         (_IO_do_write_internal, _IO_padn_internal)
61632         (_IO_getline_info_internal, _IO_getline_internal)
61633         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
61634         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
61635         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
61636         (_IO_vfscanf_internal, _IO_vfprintf_internal)
61637         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
61638         (_IO_init_internal, _IO_un_link_internal): Don't declare.
61639         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
61640         with libc_hidden_ver, remove use of INTUSE.
61641         * libio/genops.c: Likewise.
61642         * libio/freopen.c: Likewise.
61643         * libio/freopen64.c: Likewise.
61644         * libio/iofclose.c: Likewise.
61645         * libio/iofdopen.c: Likewise.
61646         * libio/iofflush.c: Likewise.
61647         * libio/iofflush_u.c: Likewise.
61648         * libio/iofgets.c: Likewise.
61649         * libio/iofgets_u.c: Likewise.
61650         * libio/iofopen.c: Likewise.
61651         * libio/iofopncook.c: Likewise.
61652         * libio/iofread.c: Likewise.
61653         * libio/iofread_u.c: Likewise.
61654         * libio/ioftell.c: Likewise.
61655         * libio/iofwrite.c: Likewise.
61656         * libio/iogetline.c: Likewise.
61657         * libio/iogets.c: Likewise.
61658         * libio/iogetwline.c: Likewise.
61659         * libio/iopadn.c: Likewise.
61660         * libio/iopopen.c: Likewise.
61661         * libio/ioseekoff.c: Likewise.
61662         * libio/ioseekpos.c: Likewise.
61663         * libio/iosetbuffer.c: Likewise.
61664         * libio/iosetvbuf.c: Likewise.
61665         * libio/ioungetc.c: Likewise.
61666         * libio/ioungetwc.c: Likewise.
61667         * libio/iovdprintf.c: Likewise.
61668         * libio/iovsprintf.c: Likewise.
61669         * libio/iovsscanf.c: Likewise.
61670         * libio/memstream.c: Likewise.
61671         * libio/obprintf.c: Likewise.
61672         * libio/oldfileops.c: Likewise.
61673         * libio/oldiofclose.c: Likewise.
61674         * libio/oldiofdopen.c: Likewise.
61675         * libio/oldiofopen.c: Likewise.
61676         * libio/oldiopopen.c: Likewise.
61677         * libio/oldstdfiles.c: Likewise.
61678         * libio/putc.c: Likewise.
61679         * libio/setbuf.c: Likewise.
61680         * libio/setlinebuf.c: Likewise.
61681         * libio/stdfiles.c: Likewise.
61682         * libio/strops.c: Likewise.
61683         * libio/vasprintf.c: Likewise.
61684         * libio/vscanf.c: Likewise.
61685         * libio/vsnprintf.c: Likewise.
61686         * libio/vswprintf.c: Likewise.
61687         * libio/wfiledoalloc.c: Likewise.
61688         * libio/wfileops.c: Likewise.
61689         * libio/wgenops.c: Likewise.
61690         * libio/wmemstream.c: Likewise.
61691         * libio/wstrops.c: Likewise.
61692         * libio/__fpurge.c: Likewise.
61693         * libio/__fsetlocking.c: Likewise.
61694         * assert/assert.c: Likewise.
61695         * debug/fgets_chk.c: Likewise.
61696         * debug/fgets_u_chk.c: Likewise.
61697         * debug/fread_chk.c: Likewise.
61698         * debug/fread_u_chk.c: Likewise.
61699         * debug/gets_chk.c: Likewise.
61700         * debug/obprintf_chk.c: Likewise.
61701         * debug/vasprintf_chk.c: Likewise.
61702         * debug/vdprintf_chk.c: Likewise.
61703         * debug/vsnprintf_chk.c: Likewise.
61704         * debug/vsprintf_chk.c: Likewise.
61705         * malloc/mtrace.c: Likewise.
61706         * misc/error.c: Likewise.
61707         * misc/syslog.c: Likewise.
61708         * stdio-common/asprintf.c: Likewise.
61709         * stdio-common/fxprintf.c: Likewise.
61710         * stdio-common/getw.c: Likewise.
61711         * stdio-common/isoc99_fscanf.c: Likewise.
61712         * stdio-common/isoc99_scanf.c: Likewise.
61713         * stdio-common/isoc99_vfscanf.c: Likewise.
61714         * stdio-common/isoc99_vscanf.c: Likewise.
61715         * stdio-common/isoc99_vsscanf.c: Likewise.
61716         * stdio-common/printf-prs.c: Likewise.
61717         * stdio-common/printf_fp.c: Likewise.
61718         * stdio-common/printf_fphex.c: Likewise.
61719         * stdio-common/printf_size.c: Likewise.
61720         * stdio-common/putw.c: Likewise.
61721         * stdio-common/scanf.c: Likewise.
61722         * stdio-common/sprintf.c: Likewise.
61723         * stdio-common/tmpfile.c: Likewise.
61724         * stdio-common/vfprintf.c: Likewise.
61725         * stdio-common/vfscanf.c: Likewise.
61726         * stdlib/strfmon_l.c: Likewise.
61727         * sunrpc/openchild.c: Likewise.
61728         * sunrpc/xdr_stdio.c: Likewise.
61729         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
61730         * sysdeps/mach/hurd/tmpfile.c: Likewise.
61732 2012-05-24  Roland McGrath  <roland@hack.frob.com>
61734         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61736         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
61737         in the third column, to generate for the shared library an IFUNC
61738         that uses _dl_vdso_vsym.
61739         * Makerules (COMPILE.c, compile-stdin.c): New variables.
61740         * Makeconfig (object-suffixes-noshared): New variable.
61742         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
61743         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
61744         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
61745         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
61747         [BZ #14132]
61748         * include/sys/time.h (__gettimeofday): Remove macro.
61749         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
61750         * time/gettimeofday.c (__gettimeofday): Remove #undef.
61751         Remove INTDEF.
61752         (__gettimeofday): Add libc_hidden_def.
61753         (gettimeofday): Add libc_hidden_weak.
61754         * sysdeps/mach/gettimeofday.c: Likewise.
61755         * sysdeps/posix/gettimeofday.c: Likewise.
61756         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
61757         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
61758         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
61759         (__gettimeofday_internal): Remove strong_alias.
61760         (__gettimeofday): Add libc_hidden_def.
61761         (gettimeofday): Add libc_hidden_weak.
61762         * sysdeps/unix/syscalls.list (gettimeofday):
61763         Remove __gettimeofday_internal alias.
61765 2012-05-24  Daniel Jacobowitz  <drow@false.org>
61766             H.J. Lu  <hongjiu.lu@intel.com>
61768         [BZ #12495]
61769         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
61770         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
61771         (largebin_index_32_big): New.
61772         (largebin_index): Use it for 16-byte alignment.
61773         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
61774         correction with front_misalign.
61776 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
61779         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
61780         Likewise.
61781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
61782         Likewise.
61783         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
61784         Likewise.
61785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
61786         Likewise.
61787         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
61788         Likewise.
61789         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
61790         Likewise.
61791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
61792         Likewise.
61793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
61794         Likewise.
61795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
61796         Likewise.
61797         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
61798         Likewise.
61799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
61800         Likewise.
61801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
61802         Likewise.
61804         * scripts/data/c++-types-x32-linux-gnu.data: New file.
61805         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
61807 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61809         [BZ #10846]
61810         [BZ #14036]
61811         * math/libm-test.inc (exp_test): Add test from bug 14036.
61812         (pow_test): Add test from bug 10846.
61814         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
61815         and other flags.
61816         (special_function): Do not include flags in test name.
61817         (parse_args): Likewise.
61818         * sysdeps/i386/fpu/libm-test-ulps: Update.
61819         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61820         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61821         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61824         * math/gen-libm-test.pl (%beautify): Add entries for underflow
61825         exceptions.
61826         * math/libm-test.inc ("Philosophy"): Update comment about
61827         exception testing.
61828         (UNDERFLOW_EXCEPTION): New macro.
61829         (UNDERFLOW_EXCEPTION_OK): Likewise.
61830         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
61831         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
61832         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
61833         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
61834         (INVALID_EXCEPTION_OK): Update value.
61835         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61836         (OVERFLOW_EXCEPTION_OK): Likewise.
61837         (IGNORE_ZERO_INF_SIGN): Likewise.
61838         (test_exceptions): Handle underflow exceptions.
61839         (acos_test): Update for underflow exception expectations.
61840         (cexp_test): Likewise.
61841         (clog_test): Likewise.
61842         (clog10_test): Likewise.
61843         (csqrt_test): Likewise.
61844         (ctan_test): Likewise.
61845         (ctanh_test): Likewise.
61846         (exp_test): Likewise.
61847         (exp10_test): Likewise.
61848         (exp2_test): Likewise.
61849         (expm1_test): Likewise.
61850         (fma_test): Likewise.
61851         (j0_test): Likewise.
61852         (jn_test): Likewise.
61853         (nexttoward_test): Likewise.
61854         (pow_test): Likewise.
61855         (scalbn_test): Likewise.
61856         (scalbln_test): Likewise.
61857         (tan_test): Likewise.
61858         (y1_test): Likewise.
61859         * sysdeps/i386/fpu/libm-test-ulps: Update.
61860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61862 2012-05-23  David S. Miller  <davem@davemloft.net>
61864         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61865         (__libc_sigaction): Remove unused local variables.
61867 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61869         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
61871 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
61873         mktime: avoid signed integer overflow
61874         * time/mktime.c (__mktime_internal): Do not mishandle the case
61875         where diff == INT_MIN.
61877         mktime: simplify computation of average
61878         * time/mktime.c (ranged_convert): Use new time_t_avg function
61879         instead of rolling our own (probably-slower) code.
61881         mktime: do not assume signed right shift propagates sign bit
61882         * time/mktime.c (isdst_differ): New static function.
61883         (__mktime_internal): No need to normalize tm_isdst now.
61884         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
61885         tm_isdst values.
61887         mktime: merge another wrapv change from gnulib
61888         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
61889         from some compilers.
61891         mktime: remove incorrect attempt at unusual arithmetics
61892         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
61893         The code didn't really work on such machines anyway.
61894         (TYPE_MINIMUM): Assume two's complement.
61895         (twos_complement_arithmetic): Verify that long_int and time_t
61896         are two's complement (or unsigned, in the latter case).
61898         mktime: check signed shifts on long_int and time_t, too
61899         * time/mktime.c (SHR): Check that shifts work as desired
61900         on the types long_int and time_t too, as SHR is used on
61901         such types.
61903         mktime: do not assume 'long' is wide enough
61904         * time/mktime.c (verify): Move decl up.
61905         (long_int): New type.
61906         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
61907         to remove assumption in the code that 'long' is wide enough to
61908         store year values.  This assumption is not true on x32 and on
61909         some non-glibc platforms.
61911         mktime: merge wrapv change from gnulib
61912         * time/mktime.c (WRAPV): New macro.
61913         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
61914         (guess_time_tm, __mktime_internal): Do not assume that signed
61915         integer overflow wraps around; modern compilers generate code
61916         where this assumption is no longer valid.
61918 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61920         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61921         Replace "jmp L(pseudo_end)" with "ret".
61922         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
61923         Likewise.
61925 2012-05-23  Andreas Jaeger  <aj@suse.de>
61927         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
61928         * sysdeps/unix/sysv/linux/poll.c: Remove file.
61930 2012-05-23  Andreas Jaeger  <aj@suse.de>
61931             Maximilian Attems  <max@stro.at>
61933         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
61934         New macros.
61936 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61938         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
61939         code so that pseudo_end is just ret and the stack pointer is
61940         correct also for static library in error case.
61942 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
61944         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
61945         move to syscalls.list.
61946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
61947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
61948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
61949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
61951         * manual/install.texi (Running make install): Do not mention Linux
61952         kernel version for which pt_chown is not needed.
61953         (Linux): Do not mention problems with nscd with 2.0 kernels.
61954         * INSTALL: Regenerated.
61956 2012-05-23  Andreas Jaeger  <aj@suse.de>
61958         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
61959         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
61960         macro.
61961         * sysdeps/unix/sysv/linux/s390/bits/mman.h
61962         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61963         * sysdeps/unix/sysv/linux/sh/bits/mman.h
61964         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61965         * sysdeps/unix/sysv/linux/i386/bits/mman.h
61966         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61967         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
61968         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61969         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
61970         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61971         * sysdeps/unix/sysv/linux/bits/in.h
61972         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
61974 2012-05-22  Roland McGrath  <roland@hack.frob.com>
61976         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
61977         (PREPARE_VERSION): Just use assert instead, it will be elided
61978         under [NDEBUG] anyway.
61980 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61982         * sysdeps/unix/sysv/linux/Makefile: Include
61983         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
61984         (sysdep_routines): Remove sysctl.
61985         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
61986         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
61987         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
61988         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
61989         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
61991 2012-05-22  Andreas Jaeger  <aj@suse.de>
61993         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
61994         that pseudo_end is just ret and the stack pointer is correct also
61995         for static library in error case.
61997 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
61999         [BZ #14122]
62000         * nss/nsswitch.c (defconfig_entries): New variable.
62001         (__nss_database_lookup): Don't leak defconfig entries.
62002         (nss_parse_service_list): Don't leak on error paths.
62003         (free_database_entries): New function.
62004         (free_defconfig): New function.
62005         (free_mem): Move common code to free_database_entries.
62007 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62009         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
62010         Add arch_prctl.
62011         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
62013         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
62014         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
62015         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
62016         New macro.
62017         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
62018         (INTERNAL_SYSCALL_TYPES): Likewise.
62019         (LOAD_ARGS_TYPES_[1-6]): Likewise.
62020         (LOAD_REGS_TYPES_[1-6]): Likewise.
62021         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
62022         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
62024 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62026         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
62027         copysignl for GLIBC_2_0.
62028         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
62029         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
62030         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
62031         logbl for GLIBC_2_0.
62032         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
62033         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
62035 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62037         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
62038         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62040         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62041         Use "neg %eax".
62043         * time/mktime.c: Update copyright years.
62045 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
62047         mktime: merge comment-quoting-style change from gnulib
62048         * time/mktime.c: Quote 'like this' in comments.
62049         The GNU coding standards suggest that we no longer quote `like this',
62050         as "`" and "'" are typically rendered asymmetrically nowadays.
62051         The typical gnulib style is to quote 'like this' when quoting
62052         code, and "like this" when quoting English.
62054         * time/mktime.c (compile-command): Add "-I.".
62056         mktime: merge mktime-internal.h change from gnulib
62057         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
62059         mktime: merge time_r change from gnulib
62060         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
62062         mktime: merge DEBUG change from gnulib
62063         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
62064         case system <time.h> has a #define.
62066         mktime: merge <sys/types.h> change from gnulib
62067         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
62068         since <time.t> is now guaranteed to define time_t.
62070         mktime: merge HAVE_CONFIG_H change from gnulib
62071         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
62073 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62075         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62076         Use "neg %eax".
62078         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
62079         __rlim_t cast.
62080         (struct rusage): Use anonymous union to pad each field to
62081         __syscall_slong_t.
62083 2012-05-21  David S. Miller  <davem@davemloft.net>
62085         * Makefules (o-iterator): Remove .s cases.
62086         (compile-command.s): Delete.
62087         (COMPILE.s): Delete.
62088         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
62090 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
62092         * configure.in (libc_cv_predef_stack_protector): Only consider
62093         "foobar" and "__stack_chk_fail" lines in libc_undefs.
62094         * configure: Regenerated.
62096 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62098         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62099         New macro.  Use R*LP on int and pointer.
62100         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
62101         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
62102         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
62103         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
62105         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
62106         [__WORDSIZE_TIME64_COMPAT32] instead of
62107         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
62108         (struct utmp): Likewise.
62109         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
62110         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
62111         Renamed to ...
62112         (__WORDSIZE_TIME64_COMPAT32): This.
62113         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
62114         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
62115         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
62116         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
62117         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
62118         (__WORDSIZE_TIME64_COMPAT32): New macro.
62120 2012-05-21  Andreas Jaeger  <aj@suse.de>
62122         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
62123         only if [SHARED]. Add prototype for __wcschr_ia32.
62125 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62127         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
62128         of %rbp unmolested in the jmp_buf while mangling the low bits.
62129         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
62130         unmolested high bits of %rbp while demangling the low bits.
62131         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62133 2012-05-21  Andreas Jaeger  <aj@suse.de>
62135         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
62136         * sunrpc/svc_simple.c: Use it for registerrpc.
62137         * sunrpc/xcrypt.c: Use it for passwd2des.
62139         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
62141 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62143         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
62144         Don't define if [__SYSCALL_WORDSIZE != 32].
62145         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
62146         New macro.
62148 2012-05-21  Bruno Haible  <bruno@clisp.org>
62149             Andreas Jaeger  <aj@suse.de>
62151         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
62152         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
62153         inptr and inend for must_buffer_ch.
62154         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
62155         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
62156         * stdio-common/Makefile (tests): Remove bug15.
62157         (bug15-ENV): Remove macro.
62158         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
62159         anymore.
62161 2012-05-19  Andreas Jaeger  <aj@suse.de>
62162             Roland McGrath  <roland@hack.frob.com>
62164         * manual/contrib.texi: Completely rewritten. It contains now an
62165         alphabetical list of contributors and their contributions.
62167 2012-05-21  Richard Henderson  <rth@twiddle.net>
62169         * misc/getauxval.c (__getauxval): Use unsigned long int.
62170         * misc/sys/auxv.h: Include <sys/cdefs.h>.
62171         (getauxval): Use unsigned long int.
62173 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62175         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62177 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62179         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
62180         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
62181         __alignof__ (long double).
62183 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62187 2012-05-20  Richard Henderson  <rth@twiddle.net>
62189         * misc/getauxval.c: New file.
62190         * misc/sys/auxv.h: New file.
62191         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
62192         (routines): Add getauxval.
62193         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
62194         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
62195         * elf/dl-sysdep.c (_dl_auxv): Remove.
62196         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
62197         * elf/dl-support.c (_dl_auxv): New variable.
62198         (_dl_aux_init): Initialize it.
62199         * manual/startup.texi (Auxiliary Vector): New node.
62200         * sysdeps/generic/bits/hwcap.h: New file.
62201         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
62202         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
62203         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
62204         * sysdeps/sparc/sysdep.h: ... here.  Include it.
62205         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
62206         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
62207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62208         Update.
62209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
62210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
62211         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
62212         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
62213         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
62216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
62218 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62222 2012-05-19  David S. Miller  <davem@davemloft.net>
62224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62226 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62228         [BZ #14123]
62229         * math/s_ccosh.c: Include <float.h>
62230         (__ccosh): Avoid internal overflow calculating sinh and cosh
62231         values before multiplying by sin and cos values.
62232         * math/s_ccoshf.c: Likewise.
62233         * math/s_ccoshl.c: Likewise.
62234         * math/s_csin.c: Likewise.
62235         * math/s_csinf.c: Likewise.
62236         * math/s_csinl.c: Likewise.
62237         * math/s_csinh.c: Likewise.
62238         * math/s_csinhf.c: Likewise.
62239         * math/s_csinhl.c: Likewise.
62240         * math/libm-test.inc (ccos_test): Add more tests.
62241         (ccosh_test): Likewise.
62242         (csin_test): Likewise.
62243         (csinh_test): Likewise.
62244         * sysdeps/i386/fpu/libm-test-ulps: Update.
62245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62247 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
62249         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
62250         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
62252         * sysdeps/x86_64/x32/_itoa.h: Add comment.
62254 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62256         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
62257         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
62258         * sysdeps/powerpc/soft-fp/Versions: Likewise.
62259         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
62260         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
62261         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
62262         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
62263         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
62264         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
62265         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
62266         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
62267         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
62268         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
62269         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
62270         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
62271         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
62272         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
62273         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
62274         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
62275         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
62276         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
62277         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
62278         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
62279         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
62280         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
62281         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
62282         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
62283         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
62284         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
62285         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
62286         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
62288 2012-05-18  Andreas Jaeger  <aj@suse.de>
62290         * csu/.gitignore: Delete.
62292 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62294         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
62295         (timex): Use __syscall_slong_t.
62297 2012-05-18  Andreas Jaeger  <aj@suse.de>
62298             Carlos O'Donell  <carlos_odonell@mentor.com>
62300         * manual/install.texi (Configuring and compiling): Update
62301         description about files modified in the source directory.
62302         * INSTALL: Regenerated.
62304 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62306         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
62307         value.  Use "or" to set return value to -1.
62308         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
62309         negate return value.
62311 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62313         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
62314         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
62315         failure if the compiler has Graphite support disabled.
62316         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
62317         Likewise.
62318         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
62319         (CFLAGS-memmove.c): Likewise.
62320         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
62321         Likewise.
62323 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62325         * sysdeps/x86_64/x32/_itoa.h: New file.
62327         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
62328         getdents system call only if kernel and user dirents have the
62329         same d_ino and d_off.
62331         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62332         LLONG_MAX != LONG_MAX.
62333         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62334         (_fitoa_word): Likewise.
62336         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
62337         years.
62338         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
62339         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
62340         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
62342         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
62343         include <bits/wordsize.h>.  Check __x86_64__ instead of
62344         __WORDSIZE.
62345         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
62346         if __x86_64__ is defined.  Use anonymous union on fpstate.
62348         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
62349         anonymous union.
62351 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
62353         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
62354         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
62355         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
62356         Refer to _rtld_local_ro instead of _rtld_global_ro.
62357         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
62358         Likewise.
62359         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
62360         Likewise.
62361         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
62362         Likewise.
62363         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
62364         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
62365         of _rtld_global, and rtld_progname instead of _dl_argv[0].
62367         [BZ #10882]
62368         * sysdeps/powerpc/powerpc32/dl-machine.c
62369         (__elf_machine_runtime_setup) [PROF]: Don't reference
62370         _dl_prof_resolve.
62372 2012-05-18  Andreas Jaeger  <aj@suse.de>
62374         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
62375         function only available for GCCs before 3.4 since GCC 3.4
62376         introduced a builtin.
62377         (lrint): Likewise.
62378         (llrintf): Likewise.
62379         (llrint): Likewise.
62380         (fmaxf): Likewise.
62381         (fmax): Likewise.
62382         (fminf): Likewise.
62383         (fmin): Likewise.
62384         (rint): Likewise.
62385         (rintf): Likewise.
62386         (nearbyint): Likewise.
62387         (nearbyintf): Likewise.
62388         (ceil): Likewise.
62389         (ceilf): Likewise.
62390         (floor): Likewise.
62391         (floorf): Likewise.
62393 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62395         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
62396         on both fields and cast pointer to __syscall_ulong_t.
62398         * bits/types.h (__fsword_t): New type.
62399         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
62400         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
62401         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62402         (__FSWORD_T_TYPE): Likewise.
62403         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62404         (__FSWORD_T_TYPE): Likewise.
62405         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62406         (__FSWORD_T_TYPE): Likewise.
62407         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
62408         (__FSWORD_T_TYPE): Likewise.
62409         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
62410         __SWORD_TYPE with __fsword_t.
62411         (statfs64): Likewise.
62413 2012-05-17  David S. Miller  <davem@davemloft.net>
62415         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
62417 2012-05-17  Andreas Jaeger  <aj@suse.de>
62419         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
62420         warning.
62422 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62424         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
62426 2012-05-17  Andreas Jaeger  <aj@suse.de>
62428         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
62429         when it is used.
62431 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62433         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
62435 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62437         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
62438         * sysdeps/x86_64/tst-mallocalign1.c: New file.
62440 2012-05-17  Andreas Jaeger  <aj@suse.de>
62441             Carlos O'Donell  <carlos_odonell@mentor.com>
62443         [BZ #14059]
62444         * sysdeps/x86_64/multiarch/init-arch.h
62445         (bit_YMM_Usable): Rename to...
62446         (bit_AVX_Usable): ... this.
62447         (bit_FMA4_Usable): New macro.
62448         (bit_XMM_state): New macro.
62449         (bit_YMM_state): New macro.
62450         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
62451         [__ASSEMBLER__] (index_AVX_Usable): ... this.
62452         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
62453         (CPUID_OSXSAVE): New macro.
62454         (CPUID_AVX): New macro.
62455         (CPUID_FMA4): New macro.
62456         (index_YMM_Usable): Rename to...
62457         (index_AVX_Usable): ... this.
62458         (HAS_AVX): Use HAS_ARCH_FEATURE.
62459         (HAS_FMA4): Likewise.
62460         (HAS_YMM_USABLE): Remove.
62461         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62462         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
62463         are present.
62464         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
62465         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
62466         * sysdeps/x86_64/multiarch/Makefile: Likewise.
62467         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
62468         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
62470 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62472         * math/libm-test.c: Support platforms without multiple rounding modes.
62473         * math/bug-nextafter.c: Support platforms without FP exceptions.
62474         * math/bug-nexttoward.c: Likewise.
62475         * math/test-fenv.c: Likewise.
62476         * math/test-misc.c: Likewise.
62477         * stdlib/bug-getcontext.c: Likewise.
62479 2012-05-17  Andreas Jaeger  <aj@suse.de>
62481         * manual/examples/search.c (critter_cmp): Change signature to
62482         avoid warnings.
62483         * manual/string.texi (Collation Functions): Likewise.
62485 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62487         * bits/types.h: Fold copyright years.
62488         * bits/typesizes.h: Likewise.
62489         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
62490         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
62491         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
62492         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
62493         * time/time.h: Likewise.
62495 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
62497         [BZ #208]
62498         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
62499         in instead of returning them.  Return void.
62500         (__libc_mallinfo): Accumulate over all arenas.
62501         (__malloc_stats): Adjust for change in int_mallinfo interface.
62503 2012-05-16  Roland McGrath  <roland@hack.frob.com>
62505         [BZ #10375]
62506         * configure.in (NM): Add AC_CHECK_TOOL for it.
62507         (libc_extra_cflags): New substituted variable.
62508         Check for -fstack-protector being used implicitly.
62509         * configure: Regenerated.
62510         * config.make.in (config-extra-cflags): New variable,
62511         gets @libc_extra_cflags@.
62512         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
62514         [BZ #10375]
62515         * configure.in: Check for _FORTIFY_SOURCE being predefined.
62516         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
62517         * configure: Regenerated.
62518         * config.make.in (CPPUNDEFS): New substituted variable.
62519         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
62520         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
62521         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
62523 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62525         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
62526         (mq_attr): Use __syscall_slong_t.
62528 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62530         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
62531         Check __x86_64__ instead of __WORDSIZE.
62532         (_STAT_VER_LINUX): Likewise.
62533         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
62534         __syscall_ulong_t and __syscall_slong_t.
62535         (stat64): Likewise.
62537 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62539         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
62541 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62543         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
62545 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62547         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
62548         __syscall_ulong_t.
62550         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
62551         include <bits/wordsize.h>.  Check __x86_64__ instead of
62552         __WORDSIZE.
62553         (greg_t): Use "__extension__ long long int" if __x86_64__ is
62554         defined.
62555         (mcontext_t): Replace "unsigned long" with "unsigned long long".
62557         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
62558         include <bits/wordsize.h>.  Check __x86_64__ instead of
62559         __WORDSIZE.
62560         (user_regs_struct): Use "__extension__ unsigned long long"
62561         instead of "unsigned long" if __x86_64__ is defined.
62562         (user): Likewise.  Pad after pointer field if __ILP32__ is
62563         defined.
62565 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
62567         * configure.in (makeinfo): Require version 4.5 or later.  Allow
62568         versions 5 to 9.
62569         * configure: Regenerated.
62570         * manual/install.texi (texinfo): Increase version requirement to
62571         4.5 or later.
62572         * INSTALL: Regenerated.
62574         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
62576 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62578         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
62580         * sysdeps/x86_64/x32/ffs.c: New file.
62582         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
62583         __syscall_ulong_t.
62584         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
62585         defined.  Use __syscall_ulong_t.
62586         (shminfo): Use __syscall_ulong_t.
62587         (shm_info): Likewise.
62589         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
62590         __syscall_ulong_t.
62592         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
62593         <bits/wordsize.h>.
62594         (msgqnum_t): Use __syscall_ulong_t.
62595         (msglen_t): Likewise.
62596         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
62597         __syscall_ulong_t.
62599         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
62600         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62602         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
62604         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
62605         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
62607         * sysvipc/sys/msg.h (msgbuf): Replace long int with
62608         __syscall_slong_t.
62610         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
62611         include <bits/wordsize.h>.  Check __x86_64__ instead of
62612         __WORDSIZE.
62614         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
62615         "unsigned long long int" if __x86_64__ is defined.
62616         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
62618         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
62619         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62620         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
62622         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
62623         <stdint.h>.
62624         (GET_PC): Cast to uintptr_t first.
62625         (GET_FRAME): Likewise.
62626         (GET_STACK): Likewise.
62628         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
62629         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
62630         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
62631         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
62632         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
62633         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
62634         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
62635         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
62636         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
62637         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
62638         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
62639         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
62640         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62641         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
62642         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
62643         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
62644         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
62645         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
62646         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
62647         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
62648         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
62649         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
62650         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
62651         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
62652         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
62653         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
62654         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
62655         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
62656         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
62658 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
62660         * Makerules (+depfiles): Also collect depfiles from .oS in
62661         $(extra-objs).
62662         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
62663         .oS, $(libnldbl-routines)).
62665         * Makerules (native-compile-mkdep-flags): Define.
62666         * sunrpc/Makefile (extra-objs): Add $(addprefix
62667         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
62668         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
62669         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
62670         calling $(make-target-directory).
62672 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62674         * bits/types.h (__snseconds_t): Removed.
62675         * time/time.h (struct timespec): Replace __snseconds_t with
62676         __syscall_slong_t.
62677         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
62678         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
62679         Likewise.
62680         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62681         (__SNSECONDS_T_TYPE): Likewise.
62682         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62683         (__SNSECONDS_T_TYPE): Likewise.
62684         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62685         (__SNSECONDS_T_TYPE): Likewise.
62687 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62689         * sysdeps/mach/hurd/bits/typesizes.h
62690         (__SYSCALL_SLONG_TYPE): New macro.
62691         (__SYSCALL_ULONG_TYPE): Likewise.
62693 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62695         * bits/types.h (__syscall_slong_t): New type.
62696         (__syscall_ulong_t): Likewise.
62698         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
62699         (__SYSCALL_ULONG_TYPE): Likewise.
62700         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62701         (__SYSCALL_SLONG_TYPE): Likewise.
62702         (__SYSCALL_ULONG_TYPE): Likewise.
62703         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62704         (__SYSCALL_SLONG_TYPE): Likewise.
62705         (__SYSCALL_ULONG_TYPE): Likewise.
62706         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62707         (__SYSCALL_SLONG_TYPE): Likewise.
62708         (__SYSCALL_ULONG_TYPE): Likewise.
62710 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62712         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
62713         Add sigaltstack-offsets.sym.
62714         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
62715         <sigaltstack-offsets.h>.
62716         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
62717         longjmp_msg pointer.
62718         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
62719         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
62720         signal stack.
62721         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
62723 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62725         * elf/stackguard-macros.h: Remove file.
62726         * sysdeps/generic/stackguard-macros.h: New file.
62727         * sysdeps/i386/stackguard-macros.h: Likewise.
62728         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
62729         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
62730         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
62731         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
62732         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
62733         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
62734         * sysdeps/x86_64/stackguard-macros.h: Likewise.
62735         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
62736         <elf/stackguard-macros.h>.
62738         [BZ #14109]
62739         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
62740         __aligned__ in attribute.
62741         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
62742         (gregset_t): Likewise.
62744 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62746         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
62747         * sysdeps/x86_64/64/Implies-after: Here.  New file.
62748         * sysdeps/x86_64/x32/Implies-after: New file.
62750 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62752         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
62753         and access return value for _dl_profile_fixup.  Use R10_LP to
62754         load frame size.
62756 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62758         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
62760 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62762         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
62763         * sysdeps/x86_64/x32/sysdep.h: New file.
62765 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62767         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
62768         * sysdeps/x86_64/setjmp.S: Likewise.
62770 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62772         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
62773         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
62774         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
62775         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
62776         remove unused global constant.
62778 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
62780         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
62781         include of <not-cancel.h>.
62783 2012-05-15  Roland McGrath  <roland@hack.frob.com>
62785         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
62787 2012-05-15  Jeff Law  <law@redhat.com>
62788             Andreas Jaeger  <aj@suse.de>
62790         [BZ #13594]
62791         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
62792         out from...
62793         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
62794         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
62795         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
62796         code changing __hst_map_handle.map.
62798 2012-05-15  Roland McGrath  <roland@hack.frob.com>
62800         * configure.in (sysnames): Look for Implies-before and Implies-after
62801         files.
62802         * configure: Regenerated.
62804 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62806         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
62807         8-byte data alignment with LP_SIZE alignment.
62809 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62811         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
62812         into R10_LP.
62814 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62816         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
62818 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62820         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
62821         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
62822         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
62823         Likewise.
62824         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62826 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62828         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
62829         (stackinfo_sub_sp): Likewise.
62831 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62833         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
62834         RAX_LP.
62836 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62838         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
62839         into R*_LP.
62841 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62843         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
62844         sizes into R*_LP.
62846 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62848         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
62850 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62852         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
62853         into R11_LP and load __x86_64_shared_cache_size_half into
62854         R8_LP.
62856 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62858         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
62859         R8_LP.
62861 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62863         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
62864         logb for POWER7.
62865         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
62866         logbf for POWER7.
62867         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
62868         logbl for POWER7.
62869         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
62870         powerpc32/power7/fpu/s_logb.c via #include.
62871         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
62872         powerpc32/power7/fpu/s_logbf.c via #include.
62873         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
62874         powerpc32/power7/fpu/s_logbl.c via #include.
62876 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62878         * README.libm: Remove file.
62880 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62882         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
62883         count for x32.  Use R*_LP and omit operand-size suffix.
62885 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62887         * shlib-versions: Move x86_64-.*-linux.* entries to ...
62888         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
62889         * sysdeps/x86_64/x32/shlib-versions: New file.
62891 2012-05-14  Roland McGrath  <roland@hack.frob.com>
62893         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
62894         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
62895         Use _dl_fatal_printf instead.
62897 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62899         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
62900         set if not set by the user.  Do not allow for being unset.
62901         * sysdeps/unix/sysv/linux/configure: Regenerated.
62903 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62905         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
62906         the `q' suffix from lea and replace .quad with ASM_ADDR.
62908 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62910         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
62911         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
62912         instead of $17.
62913         (PTR_DEMANGLE): Likewise.
62915 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62917         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
62918         (LP_OP): Likewise.
62919         (ASM_ADDR): Likewise.
62920         (RAX_LP): Likewise.
62921         (RBP_LP): Likewise.
62922         (RBX_LP): Likewise.
62923         (RCX_LP): Likewise.
62924         (RDI_LP): Likewise.
62925         (RSI_LP): Likewise.
62926         (RSP_LP): Likewise.
62927         (R8_LP): Likewise.
62928         (R9_LP): Likewise.
62929         (R10_LP): Likewise.
62930         (R10_LP): Likewise.
62931         (R11_LP): Likewise.
62932         (R12_LP): Likewise.
62933         (R13_LP): Likewise.
62934         (R14_LP): Likewise.
62935         (R15_LP): Likewise.
62937 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62939         * sysdeps/x86_64/x32/dl-machine.h: New file.
62941 2012-05-14  Andreas Jaeger  <aj@suse.de>
62943         * manual/Makefile (subdir): Remove export of subdir.
62944         (all): Remove target.
62945         (.PHONY): Remove all from list.
62946         (mkinstalldirs): Remove.
62947         (.PHONY): Remove installdirs from list.
62948         ($(inst_infodir)/libc.info): Use make-target-directory.
62949         (installdirs): Remove.
62950         (subdir_%): Remove.
62951         (glibc-targets): Remove.
62952         (lib): Remove.
62953         (stubs): Remove.
62954         ($(objpfx)stubs ../po/manual.pot): Remove.
62955         ($(objpfx)stamp%): Remove.
62956         (make-target-directory): Remove.
62957         (subdir_install): Remove.
62958         (routines): Remove.
62959         (aux): Remove.
62960         (sources): Remove.
62961         (objects): Remove.
62962         (headers): Remove.
62964         [BZ #13750]
62965         * manual/.gitignore: Remove, it's not needed anymore.
62966         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
62967         all files in it.
62968         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
62969         directory.
62970         (texis): Renamed to $(objpfx)texis.
62971         (texis-path): New, contains path to generated files.
62972         (chapters.%): Use texis-path for complete path, add extra argument
62973         libc-texinfo.sh.
62974         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
62975         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
62976         (summary,texi, stamp-summary): Use complete path of
62977         files. Generate files in build dir.
62978         (dir-add.texi): Build in build dir.
62979         (libm-err.texi,stamp-libm-err): Likewise.
62980         (version.texi, stamp-version): Likewise.
62981         (.%c.texi): Likewise.
62982         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
62983         (mostlyclean): Remove target.
62984         (realclean): Remove target.
62985         (generated): Add new variable with contents from mostlyclean and
62986         realclean, remove entries duplicated in common-mostlyclean, add
62987         stamp-libm-err and stamp-version.
62988         (generated-dirs): Add libc directory.
62989         ($(inst_infodir)/libc.info): Install files from build dir.
62991         * manual/install.texi (Configuring and compiling): Adjust since
62992         the info files are not part of the tar ball anymore.
62994 2012-05-14  Andreas Jaeger  <aj@suse.de>
62996         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
62997         variable.
62999 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63001         [BZ #13717]
63002         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63003         to 2.2.0 where earlier.
63004         * sysdeps/unix/sysv/linux/configure: Regenerated.
63005         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
63006         Remove conditional code.
63007         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
63008         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
63009         Remove conditional code.
63010         [!__NR_lchown]: Likewise.
63011         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63012         [__NR_lchown]: Likewise.
63013         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
63014         comment referencing __ASSUME_LCHOWN_SYSCALL.
63015         * sysdeps/unix/sysv/linux/i386/sigaction.c
63016         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63017         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63018         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
63019         Remove conditional code.
63020         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
63021         (__protocol_available): Remove #if 0 code.
63022         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
63023         conditional code.
63024         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
63025         * sysdeps/unix/sysv/linux/kernel-features.h
63026         (__ASSUME_GETCWD_SYSCALL): Don't define.
63027         (__ASSUME_REALTIME_SIGNALS): Likewise.
63028         (__ASSUME_PREAD_SYSCALL): Likewise.
63029         (__ASSUME_PWRITE_SYSCALL): Likewise.
63030         (__ASSUME_POLL_SYSCALL): Likewise.
63031         (__ASSUME_LCHOWN_SYSCALL): Likewise.
63032         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
63033         non-SPARC.
63034         (__ASSUME_SIOCGIFNAME): Don't define.
63035         (__ASSUME_MSG_NOSIGNAL): Likewise.
63036         (__ASSUME_SENDFILE): Define unconditionally.
63037         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
63038         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
63039         conditional code.
63040         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
63041         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
63042         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63043         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63044         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
63045         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63046         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
63048         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63049         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
63051         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63052         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
63054         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63055         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
63057         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63058         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
63060         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63061         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
63063         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63064         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
63066         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63067         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
63069         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63070         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63071         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
63072         Remove conditional code.
63073         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63074         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63075         Remove conditional code.
63076         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63077         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
63078         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
63079         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63080         Remove conditional code.
63081         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63082         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
63083         Remove conditional code.
63084         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63085         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
63086         Remove conditional code.
63087         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63088         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63089         Remove conditional code.
63090         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63091         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63092         Remove conditional code.
63093         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63094         * sysdeps/unix/sysv/linux/sh/pwrite64.c
63095         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63096         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63097         * sysdeps/unix/sysv/linux/sigaction.c
63098         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63099         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63100         * sysdeps/unix/sysv/linux/sigpending.c
63101         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63102         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63103         * sysdeps/unix/sysv/linux/sigprocmask.c
63104         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63105         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63106         * sysdeps/unix/sysv/linux/sigsuspend.c
63107         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63108         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63109         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63110         (__libc_missing_rt_sigs): Remove.
63111         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
63112         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
63113         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
63114         Remove conditional code.
63115         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
63116         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
63117         return 1.
63118         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
63119         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
63120         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
63121         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
63123 2012-05-14  Andreas Jaeger  <aj@suse.de>
63125         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
63126         it's not used in glibc.
63127         (__coshm1): Likewise.
63128         (__acosh1p): Likewise.
63129         (__sgn): Likewise.
63131         * manual/string.texi (Copying and Concatenation): Add missing
63132         variable in concat example.
63133         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
63135 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63137         [BZ #14103]
63138         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
63139         __builtin_clzl with __builtin_clzll.
63141 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63143         [BZ #14104]
63144         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
63145         libc_freeres_ptr.
63147 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63149         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
63150         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
63151         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
63152         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
63154 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
63156         * NEWS: Update ia64 info.
63158 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
63160         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
63161         used as bcopy.
63163 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
63165         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
63166         * sysdeps/unix/syscalls.list (dup3): Likewise.
63167         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
63168         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
63170 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63172         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
63173         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
63175 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63177         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
63178         thread pointer.
63179         (TLS_IE): Use mov/add instead of movq/addq to load thread
63180         pointer.
63181         (TLS_GD_PREFIX): New.
63182         (TLS_GD): Use it.
63184 2012-05-11  David S. Miller  <davem@davemloft.net>
63186         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
63187         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
63188         (_FPU_SETCW): Likewise.
63190 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63192         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
63193         is 32-byte aligned.
63195 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
63197         [BZ #11837]
63198         * iconvdata/gb18030.c: Update tables.
63199         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
63200         characters specially.
63201         (BODY for TO_LOOP): Add encoding of missing ranges.
63203 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
63205         [BZ #13673]
63206         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
63207         * sysdeps/mach/hurd/dup3.c: Likewise.
63208         * sysdeps/mach/hurd/readlinkat.c: Likewise.
63209         * sysdeps/powerpc/memmove.c:: Likewise.
63211 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63213         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
63214         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
63216 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63218         * elf/elf.h (R_X86_64_RELATIVE64): New.
63219         (R_X86_64_NUM): Updated.
63220         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63221         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
63222         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
63223         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
63224         tst-quad1pie tst-quad2pie
63225         (modules-names): Add tst-quadmod1 tst-quadmod2.
63226         ($(objpfx)tst-quad1): New dependency.
63227         ($(objpfx)tst-quad2): Likewise.
63228         ($(objpfx)tst-quad1pie): Likewise.
63229         ($(objpfx)tst-quad2pie): Likewise.
63230         * sysdeps/x86_64/tst-quad1.c: New file.
63231         * sysdeps/x86_64/tst-quad1pie.c: New file.
63232         * sysdeps/x86_64/tst-quad2.c: Likewise.
63233         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
63234         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
63235         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
63236         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
63237         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
63239 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63241         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
63242         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
63243         * streams/stropts.h (t_scalar_t): Define type.
63245         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
63246         (_PATH_PRESERVE): Set to "/var/lib".
63247         (_PATH_RWHODIR): Set to "/var/spool/rwho".
63249         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
63250         instead of int.
63252         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
63253         if __dir_mkfile succeeded.
63255         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
63256         checking for _hurd_dtablesize.  Unlock it right after having
63257         finished _hurd_dtable allocation.
63259 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63261         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
63262         * sysdeps/mach/hurd/configure: Regenerated.
63263         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
63264         special-casing to...
63265         * sysdeps/gnu/configure.in: ... this new file.
63266         * sysdeps/unix/sysv/linux/configure: Regenerated.
63267         * sysdeps/gnu/configure: New generated file.
63269         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
63270         for Linux: use nsec instead of usec, as well as:
63271         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
63272         members of type struct timespec.
63273         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
63274         New macros.
63275         (struct stat64): Likewise.
63276         (_STATBUF_ST_NSEC): New macro.
63277         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
63279         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63280         __strtoul_internal rather than strtoul.
63282 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63284         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
63285         and reject them.
63287 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63289         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
63290         which preserves existing values.
63291         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
63293 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63295         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
63296         TIMEOUT values.  Return EINVAL for NFDS values either negative or
63297         greater than FD_SETSIZE.
63299 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63301         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
63302         allocated, call __vm_protect to finish enabling the existing space, and
63303         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
63304         allocate the remainder.
63306 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63308         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
63309         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
63311 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63313         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
63314         sysdeps/mach/hurd/readlink.c.
63316         * posix/tst-sysconf.c (posix_options): Only use
63317         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
63318         _POSIX_SYNCHRONIZED_IO when they are defined
63319         * sysdeps/mach/hurd/bits/posix_opt.h:
63320         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
63321         (_XOPEN_REALTIME): Undefine macro.
63322         (_XOPEN_REALTIME_THREADS): Undefine macro.
63323         (_XOPEN_SHM): Undefine macro.
63324         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
63325         macro to -1.
63326         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
63327         macro to -1.
63328         (_POSIX_ASYNC_IO): Undefine macro.
63329         (_POSIX_PRIORITIZED_IO): Undefine macro.
63330         (_POSIX_SPIN_LOCKS): Define macro to -1.
63332         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
63333         SA_NODEFER, SA_RESETHAND.
63334         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
63335         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
63336         F_DUPFD_CLOEXEC.
63338 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63340         * elf/Makefile (pldd-modules): Define unconditionally.
63342 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63344         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
63346 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63348         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
63349         Return ENOENT when name is empty.
63350         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
63352 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63354         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
63356         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
63358 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63360         Fix mlock in all cases except non-readable pages.
63361         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
63362         instead of VM_PROT_ALL as parameter to __vm_wire function.
63364         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
63365         (__mkdir): When path is `/', just fail with EEXIST.
63366         * sysdeps/mach/hurd/mkdirat.c: Likewise.
63368 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63370         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
63371         <sys/uio.h> (for writev).
63372         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
63373         and <sys/param.h> (for MIN).
63375 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63377         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
63378         REQUESTED_TIME.  Properly set the remaining time and return EINTR
63379         if interrupted.
63381 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63383         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
63384         Depend on against $(link-rpcuserlibs).
63386 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63388         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
63389         (__libc_stack_end): Do not use attribute_relro.
63390         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
63391         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
63392         to libthread-provided value.
63393         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
63394         attribute_relro.
63396 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63398         [BZ #3748]
63399         * bits/libc-lock.h (__libc_once_get): New macro.
63400         * sysdeps/mach/bits/libc-lock.h: Likewise.
63401         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
63402         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
63403         instead of using implementation details.
63405         * libio/fileops.c: Unconditionally include <kernel-features.h>.
63406         * libio/freopen.c: Likewise.
63407         * libio/freopen64.c: Likewise.
63408         * misc/syslog.c: Likewise.
63409         * nscd/connections.c: Likewise.
63410         * nscd/netgroupcache.c: Likewise.
63411         * sysdeps/posix/getcwd.c: Likewise.
63413 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63415         * math/w_ilogbf.c: Add #include <limits.h>.
63417 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63419         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
63420         path instead of returning without unlocking.
63422         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
63423         immediate-write ioctls.
63424         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
63426 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63428         * sysdeps/mach/hurd/i386/init-first.c (init): Use
63429         __builtin_frame_address instead of making assumptions about the
63430         location of the return address relative to DATA.  Force early load of
63431         the return address.
63432         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
63433         __builtin_frame_address.
63435         dup3 for GNU Hurd.
63436         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
63437         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
63438         implement dup3 and do some further code clean-ups.
63439         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
63440         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
63442 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63444         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
63446         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
63447         HURD_CRITICAL_END around holding _hurd_dtable_lock.
63448         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
63449         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
63450         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
63451         d->port.lock.
63453         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
63454         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
63455         when handler == SIG_ERR, not when handler != SIG_ERR.
63457 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63459         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
63460         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
63461         definitions.
63463         accept4 for GNU Hurd.
63464         * include/sys/socket.h (__libc_accept4): New prototype.
63465         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
63466         to implement __libc_accept4.
63467         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
63468         __libc_accept4.
63469         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
63471         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
63472         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
63473         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
63474         signal-defines.sym.
63476 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63478         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
63480 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63482         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
63483         assertion on O_CLOEXEC flag.
63484         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
63485         * hurd/intern-fd.c: Likewise.
63486         * hurd/port2fd.c: Likewise.
63488 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63490         [BZ #3906]
63491         * bits/in.h (IPV6_PKTINFO): Define new macro.
63492         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
63494 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63496         [BZ #13954]
63497         [BZ #13955]
63498         [BZ #13956]
63499         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
63500         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63501         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
63502         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63503         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63504         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63505         * math/libm-test.inc (logb_test) : Additional logb tests.
63507 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
63508             Andreas Jaeger  <aj@suse.de>
63510         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
63511         * configure: Regenerated.
63512         * config.h.in (LINK_OBSOLETE_RPC): New macro.
63513         * config.make.in (link-obsolete-rpc): New substituted variable.
63514         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
63515         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
63516         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63517         (shared-only-routines): Don't set it under [link-obsolete-rpc],
63518         so that libc.a contains the symbols.
63519         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63520         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
63521         * sunrpc/auth_none.c: Likewise.
63522         * sunrpc/auth_unix.c: Likewise.
63523         * sunrpc/authdes_prot.c: Likewise.
63524         * sunrpc/authuxprot.c: Likewise.
63525         * sunrpc/clnt_gen.c: Likewise.
63526         * sunrpc/clnt_perr.c: Likewise.
63527         * sunrpc/clnt_raw.c: Likewise.
63528         * sunrpc/clnt_simp.c: Likewise.
63529         * sunrpc/clnt_tcp.c: Likewise.
63530         * sunrpc/clnt_udp.c: Likewise.
63531         * sunrpc/clnt_unix.c: Likewise.
63532         * sunrpc/des_crypt.c: Likewise.
63533         * sunrpc/des_soft.c: Likewise.
63534         * sunrpc/get_myaddr.c: Likewise.
63535         * sunrpc/key_call.c: Likewise.
63536         * sunrpc/key_prot.c: Likewise.
63537         * sunrpc/netname.c: Likewise.
63538         * sunrpc/pm_getmaps.c: Likewise.
63539         * sunrpc/pm_getport.c: Likewise.
63540         * sunrpc/pmap_clnt.c: Likewise.
63541         * sunrpc/pmap_prot.c: Likewise.
63542         * sunrpc/pmap_prot2.c: Likewise.
63543         * sunrpc/pmap_rmt.c: Likewise.
63544         * sunrpc/publickey.c: Likewise.
63545         * sunrpc/rpc_cmsg.c: Likewise.
63546         * sunrpc/rpc_common.c: Likewise.
63547         * sunrpc/rpc_dtable.c: Likewise.
63548         * sunrpc/rpc_prot.c: Likewise.
63549         * sunrpc/rpc_thread.c: Likewise.
63550         * sunrpc/rtime.c: Likewise.
63551         * sunrpc/svc.c: Likewise.
63552         * sunrpc/svc_auth.c: Likewise.
63553         * sunrpc/svc_raw.c: Likewise.
63554         * sunrpc/svc_run.c: Likewise.
63555         * sunrpc/svc_tcp.c: Likewise.
63556         * sunrpc/svc_udp.c: Likewise.
63557         * sunrpc/svc_unix.c: Likewise.
63558         * sunrpc/svcauth_des.c: Likewise.
63559         * sunrpc/xcrypt.c: Likewise.
63560         * sunrpc/xdr.c: Likewise.
63561         * sunrpc/xdr_array.c: Likewise.
63562         * sunrpc/xdr_float.c: Likewise.
63563         * sunrpc/xdr_intXX_t.c: Likewise.
63564         * sunrpc/xdr_mem.c: Likewise.
63565         * sunrpc/xdr_rec.c: Likewise.
63566         * sunrpc/xdr_ref.c: Likewise.
63567         * sunrpc/xdr_sizeof.c: Likewise.
63568         * sunrpc/xdr_stdio.c: Likewise.
63570 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63572         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
63573         change.  Update copyright years.
63575 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63577         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
63579 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
63580             Joseph Myers  <joseph@codesourcery.com>
63581             Paul Pluzhnikov  <ppluzhnikov@google.com>
63583         [BZ #14012]
63584         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
63585         requiring rpcgen.
63586         [cross-compiling] (extra-libs): Likewise.
63587         [cross-compiling] (extra-libs-others): Likewise.
63588         [cross-compiling] (librpcsvc-routines): Likewise.
63589         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
63590         [cross-compiling] (omit-deps): Likewise.
63591         (sunrpc-CPPFLAGS): New variable.
63592         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
63593         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
63594         (cross-rpcgen-objs): New variable.
63595         (extra-objs): Append $(cross-rpcgen-objs).
63596         ($(cross-rpcgen-objs)): New rule.
63597         ($(objpfx)cross-rpcgen): Likewise.
63598         (rpcgen-cmd): Define to use $(built-program-file).  Expand
63599         comment.
63600         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
63601         ($(objpfx)x%.stmp): Likewise.
63602         * sunrpc/proto.h [IS_IN_build] (_): Define.
63603         [IS_IN_build] (_libc_intl_domainname): Likewise.
63605 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63607         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
63608         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
63609         and R_X86_64_TPOFF64.
63611 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63613         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
63614         sysdeps/unix/sysv/syscalls.list.
63615         (stime): Likewise.
63616         (utime): Likewise.
63617         * sysdeps/unix/sysv/syscalls.list: Remove file.
63619 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
63621         [BZ #3440]
63622         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
63623         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
63624         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
63625         (__LC_IDENTIFICATION): Make these macros useful in #if
63626         expressions, as required by C99.
63628 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
63630         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
63631         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
63632         after this.
63634 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
63636         * stdlib/longlong.h: Updated from GCC.
63638 2012-05-09  Andreas Jaeger  <aj@suse.de>
63640         * nscd/nscd.c (run_modes): Make named enum, reorder so that
63641         default is first entry.
63642         (run_mode): Set type.
63643         (main): Remove informal message about syslog.
63644         (options): Fix typo.
63646         [BZ #14053]
63647         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
63648         to asm.
63649         (lrint): Likewise.
63650         (llrintf): Likewise.
63651         (llrint): Likewise.
63652         (rint): Likewise.
63653         (rintf): Likewise.
63654         (nearbyint): Likewise.
63655         (nearbyintf): Likewise.
63657 2012-05-09  Andreas Jaeger  <aj@suse.de>
63658             Pedro Alves  <palves@redhat.com>
63660         * nscd/nscd.c (run_mode): Use enum.
63661         (main): Cleanup coding style issue.
63663 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
63664             Andreas Jaeger  <aj@suse.de>
63666         * nscd/nscd.c (go_background): Replaced with...
63667         (run_mode): ... this.
63668         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
63669         (options): Add -F --foreground.
63670         (main): Implement it.
63671         (parse_opt): Parse it.
63673 2012-05-09  Andreas Jaeger  <aj@suse.de>
63675         [BZ #14083]
63676         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
63677         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
63678         -Wconversion warning.
63679         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
63680         Likewise.
63682 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
63684         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
63685         == 0.
63686         (LC_ALL): Use macro-int-constant.
63687         (LC_COLLATE): Likewise.
63688         (LC_CTYPE): Likewise.
63689         (LC_MESSAGES): Likewise.
63690         (LC_MONETARY): Likewise.
63691         (LC_NUMERIC): Likewise.
63692         (LC_TIME): Likewise.
63693         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
63694         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63695         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63696         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
63697         Specify type.
63698         [C99-based standards] (float_t): Expect type.
63699         [C99-based standards] (double_t): Expect type.
63700         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
63701         type.
63702         [C99-based standards] (HUGE_VALL): Likewise.
63703         [C99-based standards] (INFINITY): Likewise.
63704         [C99-based standards] (NAN): Likewise.
63705         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
63706         [C99-based standards] (FP_NAN): Likewise.
63707         [C99-based standards] (FP_NORMAL): Likewise.
63708         [C99-based standards] (FP_SUBNORMAL): Likewise.
63709         [C99-based standards] (FP_ZERO): Likewise.
63710         [C99-based standards] (FP_FAST_FMA): Use
63711         optional-macro-int-constant.  Specify type.  Require == 1.
63712         [C99-based standards] (FP_FAST_FMAF): Likewise.
63713         [C99-based standards] (FP_FAST_FMAL): Likewise.
63714         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
63715         [C99-based standards] (FP_ILOGBNAN): Likewise.
63716         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
63717         Specify type.
63718         [C99-based standards] (MATH_ERREXCEPT): Likewise.
63719         [C99-based standards] (math_errhandling): Specify type.
63720         [ISO99 || ISO11] (signgam): Do not allow.
63721         [non-C99-based standards] (copysignf): Do not allow.
63722         [non-C99-based standards] (exp2f): Likewise.
63723         [non-C99-based standards] (log2f): Likewise.
63724         [non-C99-based standards] (modff): Allow.
63725         [non-C99-based standards] (erff): Do not allow.
63726         [non-C99-based standards] (erfcf): Likewise.
63727         [non-C99-based standards] (gammaf): Likewise.
63728         [non-C99-based standards] (hypotf): Likewise.
63729         [non-C99-based standards] (j0f): Likewise.
63730         [non-C99-based standards] (j1f): Likewise.
63731         [non-C99-based standards] (jnf): Likewise.
63732         [non-C99-based standards] (lgammaf): Likewise.
63733         [non-C99-based standards] (tgammaf): Likewise.
63734         [non-C99-based standards] (y0f): Likewise.
63735         [non-C99-based standards] (y1f): Likewise.
63736         [non-C99-based standards] (ynf): Likewise.
63737         [non-C99-based standards] (isnanf): Likewise.
63738         [non-C99-based standards] (acoshf): Likewise.
63739         [non-C99-based standards] (asinhf): Likewise.
63740         [non-C99-based standards] (atanhf): Likewise.
63741         [non-C99-based standards] (cbrtf): Likewise.
63742         [non-C99-based standards] (expm1f): Likewise.
63743         [non-C99-based standards] (ilogbf): Likewise.
63744         [non-C99-based standards] (log1pf): Likewise.
63745         [non-C99-based standards] (logbf): Likewise.
63746         [non-C99-based standards] (nextafterf): Likewise.
63747         [non-C99-based standards] (remainderf): Likewise.
63748         [non-C99-based standards] (rintf): Likewise.
63749         [non-C99-based standards] (scalbf): Likewise.
63750         [non-C99-based standards] (copysignl): Likewise.
63751         [non-C99-based standards] (exp2l): Likewise.
63752         [non-C99-based standards] (log2l): Likewise.
63753         [non-C99-based standards] (modfl): Allow.
63754         [non-C99-based standards] (erfl): Do not allow.
63755         [non-C99-based standards] (erfcl): Likewise.
63756         [non-C99-based standards] (gammal): Likewise.
63757         [non-C99-based standards] (hypotl): Likewise.
63758         [non-C99-based standards] (j0l): Likewise.
63759         [non-C99-based standards] (j1l): Likewise.
63760         [non-C99-based standards] (jnl): Likewise.
63761         [non-C99-based standards] (lgammal): Likewise.
63762         [non-C99-based standards] (tgammal): Likewise.
63763         [non-C99-based standards] (y0l): Likewise.
63764         [non-C99-based standards] (y1l): Likewise.
63765         [non-C99-based standards] (ynl): Likewise.
63766         [non-C99-based standards] (isnanl): Likewise.
63767         [non-C99-based standards] (acoshl): Likewise.
63768         [non-C99-based standards] (asinhl): Likewise.
63769         [non-C99-based standards] (atanhl): Likewise.
63770         [non-C99-based standards] (cbrtl): Likewise.
63771         [non-C99-based standards] (expm1l): Likewise.
63772         [non-C99-based standards] (ilogbl): Likewise.
63773         [non-C99-based standards] (log1pl): Likewise.
63774         [non-C99-based standards] (logbl): Likewise.
63775         [non-C99-based standards] (nextafterl): Likewise.
63776         [non-C99-based standards] (remainderl): Likewise.
63777         [non-C99-based standards] (rintl): Likewise.
63778         [non-C99-based standards] (scalbl): Likewise.
63779         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63780         [non-C99-based standards] (FP_*): Do not allow.
63781         [C99-based standards] (FP_*): Change to
63782         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63783         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63784         allow.
63785         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
63786         (SIG_ERR): Likewise.
63787         [X/Open-based standards] (SIG_HOLD): Likewise.
63788         (SIG_IGN): Likewise.
63789         (SIGABRT): Use macro-int-constant.  Specify type.  Require
63790         positive value.
63791         (SIGFPE): Likewise.
63792         (SIGILL): Likewise.
63793         (SIGINT): Likewise.
63794         (SIGSEGV): Likewise.
63795         (SIGTER): Likewise.
63796         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
63797         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
63798         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
63799         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
63800         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
63801         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
63802         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
63803         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
63804         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
63805         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
63806         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
63807         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
63808         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
63809         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
63810         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
63811         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
63812         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
63813         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
63814         [X/Open-based standards] (SIGTRAP): Likewise.
63815         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
63816         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
63817         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
63818         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
63819         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63820         allow.
63822 2012-05-08  Ian Wienand  <ianw@vmware.com>
63824         [BZ #14080]
63825         * time/tzset.c (__tzset_parse_tz): Update default rules for
63826         daylight time changes in the Energy Policy Act of 2005.
63828 2012-05-09  Andreas Jaeger  <aj@suse.de>
63830         [BZ #13983]
63831         * elf/ldconfig.c (parse_conf): Change string to make clear that
63832         ldconfig only issued a warning if ld.so.conf does not exist.
63834 2012-05-08  David S. Miller  <davem@davemloft.net>
63836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
63837         movxtod instead of popping the value on the stack.
63839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63841 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
63843         * config.h.in: Add HAVE_ARM_PCS_VFP.
63845 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
63847         [BZ #13979]
63848         * include/features.h: Warn if user requests __FORTIFY_SOURCE
63849         checking but the checks are disabled for any reason.
63851 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
63853         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
63854         and ELF64_R_TYPE with ELFW(R_TYPE).
63856 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
63858         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
63859         (ulimit): Likewise.
63861         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
63862         (settimeofday): Likewise.
63864 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
63866         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
63867         a struct th_u2 inside the union, and move tu_block/tu_code into
63868         a new th_u3 union of tu_block/tu_code inside of that.  Move
63869         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
63870         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
63871         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
63872         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
63873         (th_stuff): Change to th_u1.tu_stuff.
63874         (th_data): Define.
63875         (th_msg): Change to th_u1.th_u2.tu_data.
63877 2012-05-07  David S. Miller  <davem@davemloft.net>
63879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63881         [BZ #14074]
63882         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
63883         (SETUP_PIC_REG): Use it.
63884         (SETUP_PIC_REG_LEAF): Use it.
63886 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
63888         [BZ #13885]
63889         [BZ #13923]
63890         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63891         USE_AS_EXPM1L.
63892         (EXPL_FINITE): Likewise.
63893         (FLDLOG): Likewise.
63894         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63895         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63896         e_expl.S.
63897         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63898         USE_AS_EXPM1L.
63899         (EXPL_FINITE): Likewise.
63900         (FLDLOG): Likewise.
63901         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63902         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63903         e_expl.S.
63904         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
63905         test of -max_value argument for long double.
63906         * sysdeps/i386/fpu/libm-test-ulps: Update.
63907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63909 2012-05-06  David S. Miller  <davem@davemloft.net>
63911         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
63912         quad soft-float symbols whose references which are compiler
63913         generated.
63914         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
63916 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
63918         [BZ #13884]
63919         [BZ #13914]
63920         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63921         USE_AS_EXP10L.
63922         (EXPL_FINITE): Likewise.
63923         (FLDLOG): Likewise.
63924         (c0): Likewise.
63925         (c1): Likewise.
63926         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63927         Adjust comments for base varying.
63928         (__expl_finite): Change alias to EXPL_FINITE.
63929         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
63930         e_expl.S.
63931         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
63932         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
63933         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63934         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
63935         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63936         USE_AS_EXP10L.
63937         (EXPL_FINITE): Likewise.
63938         (FLDLOG): Likewise.
63939         (c0): Likewise.
63940         (c1): Likewise.
63941         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63942         Adjust comments for base varying.
63943         (__expl_finite): Change alias to EXPL_FINITE.
63944         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
63945         tests for bugs.
63946         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63948         [BZ #14064]
63949         * math/libm-test.inc (check_float_internal): Correct ulp
63950         calculation for subnormal expected results.
63952 2012-05-06  Andreas Jaeger  <aj@suse.de>
63954         * Makeconfig (+math-flags): New, set to -frounding-math.
63955         (+cflags): Add +math-flags so that all of glibc gets compiled with
63956         it.
63958         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
63960 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
63962         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
63963         Disable one test.
63965         [BZ #13787]
63966         [BZ #13922]
63967         [BZ #14036]
63968         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
63969         (__ieee754_expl): Allow for and saturate large arguments.
63970         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
63971         (u_threshold): Likewise.
63972         (__exp): Call __ieee754_exp before checking for overflow and
63973         underflow.
63974         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
63975         (u_threshold): Likewise.
63976         (__expf): Call __ieee754_expf before checking for overflow and
63977         underflow.
63978         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
63979         (u_threshold): Likewise.
63980         (__expl): Call __ieee754_expl before checking for overflow and
63981         underflow.
63982         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
63983         (__ieee754_expl): Allow for and saturate large arguments.
63984         * math/libm-test.inc (exp_test): Add another test.  Do not allow
63985         missing overflow exception on overflow.
63986         (expm1_test): Do not allow missing overflow exception on overflow.
63988         * sysdeps/i386/fpu/e_expl.c: Move to ...
63989         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
63990         rather than using inline asm.
63991         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
63992         * sysdeps/x86_64/fpu/e_expl.S: Copy from
63993         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
63995         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
63996         (nice): Likewise.
63997         (poll): Likewise.
63998         (signal): Likewise.
63999         (time): Likewise.
64000         (times): Likewise.
64002 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64004         * sysdeps/unix/syscalls.list (adjtime): Add entry from
64005         sysdeps/unix/common/syscalls.list.
64006         (fchmod): Likewise.
64007         (fchown): Likewise.
64008         (ftruncate): Likewise.
64009         (getrusage): Likewise.
64010         (gettimeofday): Likewise.
64011         (setpgid): Likewise.
64012         (setregid): Likewise.
64013         (setreuid): Likewise.
64014         (sigaction): Likewise.
64015         (truncate): Likewise.
64016         (vhangup): Likewise.
64017         * sysdeps/unix/common/syscalls.list: Remove file.
64018         * sysdeps/unix/bsd/Implies: Don't include unix/common.
64019         * sysdeps/unix/sysv/linux/Implies: Likewise.
64021 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
64023         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
64024         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
64025         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
64026         Moved to ...
64027         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
64028         Here.
64029         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
64030         to ...
64031         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
64032         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
64033         to ...
64034         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
64035         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
64036         to ...
64037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
64038         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
64039         to ...
64040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
64041         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
64042         to ...
64043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
64044         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
64045         to ...
64046         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
64047         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
64048         to ...
64049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64050         Here.
64051         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
64052         to ...
64053         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
64054         Here.
64055         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
64056         to ...
64057         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
64058         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
64059         Moved to ...
64060         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
64061         Here.
64062         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
64063         to ...
64064         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
64066 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64068         * sysdeps/unix/common/bits/dirent.h: Remove file.
64069         * sysdeps/unix/common/bits/fcntl.h: Likewise.
64071         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
64072         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
64073         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
64074         * sysdeps/unix/bsd/isatty.c: Likewise.
64075         * sysdeps/unix/bsd/tcdrain.c: Likewise.
64076         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
64077         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
64079 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64081         [BZ #13563]
64082         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
64083         long double comparison inaccuracies.
64084         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
64085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64087 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
64089         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
64090         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
64092 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64094         [BZ #14049]
64095         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
64096         nonzero digits before rounding a hex value.
64097         * stdlib/tst-strtod.c (tests): Add another test.
64099 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64101         * sysdeps/s390/fpu/libm-test-ulps: Update.
64103 2012-05-03  Andreas Jaeger  <aj@suse.de>
64105         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
64106         does not get optimized out.
64107         (malloc_opt_barrier): New.
64109 2012-05-03  Andreas Jaeger  <aj@suse.de>
64110             Roland McGrath  <roland@hack.frob.com>
64112         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
64113         intermediate file deletion.
64114         (generated): Add .symlist files.
64116 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
64118         [BZ #13775]
64119         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
64120         Redirect under this condition.
64121         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64122         [__USE_GNU] (__dprintf_chk): Not under this condition.
64123         [__USE_GNU] (__vdprintf_chk): Likewise.
64124         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
64125         under this condition.
64126         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64127         [__USE_XOPEN2K8] (dprintf): Define under this condition.
64128         [__USE_XOPEN2K8] (vdprintf): Likewise.
64129         [__USE_GNU] (__dprintf_chk): Not under this condition.
64130         [__USE_GNU] (__vdprintf_chk): Likewise.
64131         [__USE_GNU] (dprintf): Likewise.
64132         [__USE_GNU] (vdprintf): Likewise.
64134 2012-05-03  Roland McGrath  <roland@hack.frob.com>
64136         * elf/Makefile (common-generated): Set this instead of generated for
64137         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
64138         $(all-built-dso)-derived lists.
64140 2012-05-03  Andreas Jaeger  <aj@suse.de>
64142         * sysdeps/i386/fpu/libm-test-ulps: Update.
64144         * FAQ: Removed.
64145         * FAQ.in: Likewise.
64146         * scripts/gen-FAQ.pl: Likewise.
64147         * manual/install.texi (Installation): Point to online location of
64148         FAQ.
64149         * Makefile (files-for-dist): Remove FAQ.
64150         (FAQ): Remove.
64152 2012-05-02  Allan McRae  <allan@archlinux.org>
64154         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
64155         (LDFLAGS-reldepmod5.so): Likewise.
64156         (LDFLAGS-reldep6mod1.so): Likewise.
64157         (LDFLAGS-reldep6mod4.so): Likewise.
64158         (LDFLAGS-reldep8mod3.so): Likewise.
64159         (LDFLAGS-unload4mod1.so): Likewise.
64160         (LDFLAGS-unload4mod2.so): Likewise.
64161         (LDFLAGS-tst-initorder): Likewise.
64162         (LDFLAGS-tst-initordera2.so): Likewise.
64163         (LDFLAGS-tst-initordera3.so): Likewise.
64164         (LDFLAGS-tst-initordera4.so): Likewise.
64165         (LDFLAGS-tst-initorderb2.so): Likewise.
64166         (LDFLAGS-noload): Likewise.
64167         (LDFLAGS-next): Likewise.
64168         (LDFLAGS-order2mod1.so): Likewise.
64169         (LDFLAGS-order2mod2.so): Likewise.
64170         (LDFLAGS-tst-initorder2): Likewise.
64171         (LDFLAGS-tst-initorder2a.so): Likewise.
64172         (LDFLAGS-tst-initorder2b.so): Likewise.
64173         (LDFLAGS-tst-initorder2c.so): Likewise.
64174         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
64176 2012-05-02  David S. Miller  <davem@davemloft.net>
64178         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64180 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
64182         [BZ #14055]
64183         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
64185 2012-05-02  Andreas Jaeger  <aj@suse.de>
64187         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
64188         since we manipulate rounding mode.
64189         (CPPFLAGS-test-idouble.c): Likewise.
64190         (CPPFLAGS-test-ifloat.c): Likewise.
64191         (CFLAGS-test-ldouble.c): Likewise.
64192         (CFLAGS-test-double.c): Likewise.
64193         (CFLAGS-test-float.c): Likewise.
64194         (CFLAGS-test-misc.c): Likewise.
64195         (CFLAGS-test-test-fenv.c): Likewise.
64197 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64199         [BZ #2550]
64200         [BZ #2570]
64201         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
64202         comparisons to determine direction to adjust input.
64204 2012-05-01  Roland McGrath  <roland@hack.frob.com>
64206         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
64207         output to the target.
64209         * scripts/localplt.awk: New file.
64210         * elf/Makefile ($(objpfx)check-localplt): Target removed.
64211         (check-localplt-CFLAGS): Variable removed.
64212         ($(all-built-dso:=.jmprel)): New static pattern rule.
64213         (generated): Add those targets.
64214         (localplt-built-dso): New variable.
64215         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
64217         * elf/check-localplt.c: File removed.
64219         * scripts/check-execstack.awk: New file.
64220         * elf/Makefile ($(objpfx)check-execstack): Target removed.
64221         (check-execstack-CFLAGS): Variable removed.
64222         ($(objpfx)check-execstack.h): Target removed.
64223         ($(objpfx)execstack-default): New target.
64224         (generated): Add that instead of check-execstack.h.
64225         ($(all-built-dso:=.phdr)): New static pattern rule.
64226         (generated): Add those targets.
64227         * elf/check-execstack.c: File removed.
64229         * scripts/check-textrel.awk: New file.
64230         * elf/Makefile ($(objpfx)check-textrel): Target removed.
64231         (check-textrel-CFLAGS): Variable removed.
64232         (all-built-dso): Use := to define.o
64233         ($(all-built-dso:=.dyn)): New static pattern rule.
64234         (generated): Add those targets.
64235         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
64236         * config.make.in (READELF): New substituted variable.
64237         * elf/check-textrel.c: File removed.
64239 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64241         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64242         allow.
64243         * conform/data/ctype.h-data [C99-based standards] (isblank):
64244         Expect function.
64245         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
64246         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
64247         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64248         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
64249         Specify type.  Require positive value.
64250         (EILSEQ): Likewise.
64251         (ERANGE): Likewise.
64252         [ISO || POSIX] (EILSEQ): Do not expect.
64253         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
64254         Specify type.  Require positive value.
64255         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
64256         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
64257         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
64258         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
64259         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
64260         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
64261         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
64262         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
64263         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
64264         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
64265         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
64266         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
64267         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
64268         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
64269         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
64270         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
64271         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
64272         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
64273         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
64274         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
64275         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
64276         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
64277         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
64278         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
64279         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
64280         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
64281         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
64282         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
64283         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
64284         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
64285         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
64286         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
64287         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
64288         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
64289         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
64290         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
64291         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
64292         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
64293         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
64294         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
64295         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
64296         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
64297         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
64298         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
64299         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
64300         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
64301         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
64302         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
64303         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
64304         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
64305         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
64306         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
64307         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
64308         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
64309         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
64310         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
64311         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
64312         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
64313         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
64314         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
64315         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
64316         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
64317         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
64318         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
64319         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
64320         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
64321         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
64322         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
64323         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
64324         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
64325         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
64326         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
64327         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
64328         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
64329         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
64330         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
64331         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
64332         Require >= 2.
64333         (FLT_ROUNDS): Expect as macro, not constant.
64334         (FLT_MANT_DIG): Use macro-int-constant.
64335         (DBL_MANT_DIG): Likewise.
64336         (LDBL_MANT_DIG): Likewise.
64337         (FLT_DIG): Likewise.
64338         (DBL_DIG): Likewise.
64339         (LDBL_DIG): Likewise.
64340         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
64341         (DBL_MIN_EXP): Likewise.
64342         (LDBL_MIN_EXP): Likewise.
64343         (FLT_MAX_EXP): Use macro-int-constant.
64344         (DBL_MAX_EXP): Likewise.
64345         (LDBL_MAX_EXP): Likewise.
64346         (FLT_MAX_10_EXP): Likewise.
64347         (DBL_MAX_10_EXP): Likewise.
64348         (LDBL_MAX_10_EXP): Likewise.
64349         (FLT_MAX): Use macro-constant.
64350         (DBL_MAX): Likewise.
64351         (LDBL_MAX): Likewise.
64352         (FLT_EPSILON): Use macro-constant.  Give upper bound.
64353         (DBL_EPSILON): Likewise.
64354         (LDBL_EPSILON): Likewise.
64355         (FLT_MIN): Likewise.
64356         (DBL_MIN): Likewise.
64357         (LDBL_MIN): Likewise.
64358         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
64359         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
64360         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
64361         [ISO11] (FLT_HAS_SUBNORM): Likewise.
64362         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
64363         [ISO11] (DBL_DECIMAL_DIG): Likewise.
64364         [ISO11] (FLT_DECIMAL_DIG): Likewise.
64365         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
64366         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
64367         [ISO11] (FLT_TRUE_MIN): Likewise.
64368         [ISO11] (LDBL_TRUE_MIN): Likewise.
64369         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64370         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
64371         (SCHAR_MIN): Use macro-int-constant.  Specify type.
64372         (SCHAR_MAX): Likewise.
64373         (UCHAR_MAX): Likewise.
64374         (CHAR_MIN): Likewise.
64375         (CHAR_MAX): Likewise.
64376         (MB_LEN_MAX): Use macro-int-constant.
64377         (SHRT_MIN): Use macro-int-constant.  Specify type.
64378         (SHRT_MAX): Likewise.
64379         (USHRT_MAX): Likewise.
64380         (INT_MAX): Likewise.
64381         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
64382         bound negative.
64383         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64384         bound with "U".
64385         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64386         bound with "L".
64387         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
64388         bound negative.  Suffix upper bound with "L".
64389         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64390         bound with "UL".
64391         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
64392         Specify type.
64393         [C99-based standards] (LLONG_MAX): Likewise.
64394         [C99-based standards] (ULLONG_MAX): Likewise.
64395         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
64396         == 0.
64397         [ISO11] (max_align_t): Require type.
64398         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64400         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
64401         from $CFLAGS, without defining away __attribute__ calls.
64402         (checknamespace): Use $CFLAGS_namespace.
64404         * conform/conformtest.pl (@keywords): Only include C99 keywords
64405         for standards based on C99 or C11.
64407         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
64408         Disable tests.
64409         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
64410         UNIX98]: Likewise.
64412         * conform/conformtest.pl: Handle "macro-int-constant" and test for
64413         usability of symbols in #if.
64415         * conform/conformtest.pl: If macro or constant types start
64416         "promoted:", expect the symbol to be of the following type
64417         promoted by the integer promotions.
64419         * conform/conformtest.pl: Parse all "constant" and "macro" lines
64420         in one place.  Also handle "macro-constant".
64422         * conform/conformtest.pl: Only accept expected macro values with
64423         "==".  Parse all "macro" lines in one place.
64424         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
64426         * conform/conformtest.pl: Handle braced types on "constant" lines
64427         instead of handling "typed-constant".
64428         * conform/data/signal.h-data: Use "constant" instead of
64429         "typed-constant".
64431         * conform/conformtest.pl: Handle "optional-" at start of lines in
64432         one place rather than duplicating several cases.  Handle each
64433         format of "macro" line with initial "optional-".
64435         * conform/conformtest.pl: Only accept expected constant or
64436         optional-constant values with "==".  Parse all "constant" lines in
64437         one place.  Parse all "optional-constant" lines in one place.
64438         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
64439         * conform/data/fmtmsg.h-data: Likewise.
64440         * conform/data/netinet/in.h-data: Likewise.
64441         * conform/data/tar.h-data: Likewise.
64442         * conform/data/limits.h-data: Use "==" form on "constant" and
64443         "optional-constant" lines.
64445         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
64446         Use -std=c99 for XOPEN2K.
64447         (@knownproblems): Remove.
64448         (newtoken): Don't check %isknown.
64450         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
64451         Do not expect macro.
64452         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
64453         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
64454         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
64455         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
64456         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
64457         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
64458         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
64459         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
64460         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
64461         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
64462         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
64463         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
64464         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
64465         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
64466         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
64467         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
64468         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
64469         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
64470         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
64471         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
64472         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
64473         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
64474         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
64475         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
64476         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
64477         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
64478         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
64479         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
64480         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
64481         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
64482         [XPG3] (acosh): Likewise.
64483         [XPG3] (asinh): Likewise.
64484         [XPG3] (atanh): Likewise.
64485         [XPG3] (cbrt): Likewise.
64486         [XPG3] (expm1): Likewise.
64487         [XPG3] (ilogb): Likewise.
64488         [XPG3] (log1p): Likewise.
64489         [XPG3] (logb): Likewise.
64490         [XPG3] (nextafter): Likewise.
64491         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
64492         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
64493         [XPG3] (remainder): Likewise.
64494         [XPG3] (rint): Likewise.
64495         [XPG3 || XPG4 || UNIX98] (round): Likewise.
64496         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
64497         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
64498         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
64499         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
64500         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
64501         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
64502         [UNIX98 || XOPEN2K] (scalb): Expect.
64503         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
64504         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
64505         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
64506         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
64507         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
64508         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
64509         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
64510         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
64511         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
64512         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
64513         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
64514         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
64515         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
64516         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
64517         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
64518         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
64519         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
64520         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
64521         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
64522         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
64523         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
64524         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
64525         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
64526         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
64527         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
64528         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
64529         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
64530         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
64531         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
64532         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
64533         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
64534         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
64535         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
64536         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
64537         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
64538         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
64539         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
64540         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
64541         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
64542         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
64543         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
64544         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
64545         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
64546         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
64547         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
64548         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
64549         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
64550         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
64551         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
64552         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
64553         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
64554         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
64555         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
64556         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
64557         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
64558         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
64559         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
64560         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
64561         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
64562         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
64563         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
64564         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
64565         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
64566         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
64567         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
64568         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
64569         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
64570         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
64571         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
64572         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
64573         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
64574         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
64575         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
64576         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
64577         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
64578         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
64579         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
64580         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
64581         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
64582         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
64583         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
64584         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
64585         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
64586         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
64587         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
64588         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
64589         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
64590         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
64591         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
64592         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
64593         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
64594         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
64595         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
64596         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
64597         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
64598         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
64599         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
64600         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
64601         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
64602         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
64603         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
64604         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
64605         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
64606         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
64607         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
64608         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
64609         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
64610         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
64611         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
64612         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
64613         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
64614         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
64615         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
64616         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
64617         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
64618         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
64619         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
64620         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
64621         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
64622         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
64623         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
64624         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
64625         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
64626         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
64627         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
64628         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
64629         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
64630         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
64631         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
64632         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
64633         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
64634         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
64635         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
64636         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
64637         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
64638         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
64639         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
64641         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
64642         _XOPEN_SOURCE_EXTENDED for XPG4.
64644         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
64646         * Makeconfig (localtime): Remove variable.
64647         (inst_localtime-file): Likewise.
64649 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
64652         Update.
64653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64654         Update.
64655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
64656         Update.
64657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64658         Update.
64659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
64660         Update.
64661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
64662         Update.
64663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64664         Update.
64665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
64666         Update.
64667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64668         Update.
64670 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64672         [BZ #2550]
64673         [BZ #2570]
64674         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
64675         comparisons to determine direction to adjust input.
64676         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
64677         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
64678         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
64679         Likewise.
64680         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
64681         Likewise.
64682         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
64683         Likewise.
64684         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
64685         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
64686         Likewise.
64687         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
64688         Likewise.
64689         * math/libm-test.inc (nexttoward_test): Add more tests.
64691 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64693         [BZ #14040]
64694         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
64695         in version GLIBC_2.1, not GLIBC_2.0.
64696         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
64697         Likewise.
64699 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
64701         [BZ #13942]
64702         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
64703         (1 - x) * (1 + x).
64704         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64705         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
64706         * math/libm-test.inc (acos_test): Add more tests.
64707         (asin_test): Likewise.
64708         * sysdeps/i386/fpu/libm-test-ulps: Update.
64709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64711         [BZ #14034]
64712         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
64713         of square root.
64714         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
64715         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64716         * math/libm-test.inc (acos_test_tonearest): New function.
64717         (acos_test_towardzero): Likewise.
64718         (acos_test_downward): Likewise.
64719         (acos_test_upward): Likewise.
64720         (asin_test_tonearest): Likewise.
64721         (asin_test_towardzero): Likewise.
64722         (asin_test_downward): Likewise.
64723         (asin_test_upward): Likewise.
64724         (main): Call the new functions.
64725         * sysdeps/i386/fpu/libm-test-ulps: Update.
64726         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64728         [BZ #13884]
64729         [BZ #13924]
64730         * math/e_exp10.c: Include <float.h>.
64731         (__ieee754_exp10): Handle underflow here rather than multiplying
64732         large negative argument by M_LN10.
64733         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
64734         of __ieee754_expf.
64735         * math/e_exp10l.c: Include <float.h>.
64736         (__ieee754_exp10l): Handle underflow here rather than multiplying
64737         large negative argument by M_LN10l.
64738         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
64739         spurious overflow exception on underflow.
64741 2012-04-29  Marek Polacek  <polacek@redhat.com>
64743         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
64744         (__fortify_function): New macro.
64745         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
64746         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
64747         __extern_always_inline.
64748         * libio/bits/stdio2.h: Likewise.
64749         * libio/bits/stdio.h: Likewise.
64750         * string/string.h: Likewise.
64751         * string/bits/string3.h: Likewise.
64752         * include/stdio.h: Likewise.
64753         * stdlib/bits/stdlib.h: Likewise.
64754         * stdlib/stdlib.h: Likewise.
64755         * rt/bits/mqueue2.h: Likewise.
64756         * rt/mqueue.h: Likewise.
64757         * posix/bits/unistd.h: Likewise.
64758         * posix/unistd.h: Likewise.
64759         * io/bits/poll2.h: Likewise.
64760         * io/bits/fcntl2.h: Likewise.
64761         * io/fcntl.h: Likewise.
64762         * io/sys/poll.h: Likewise.
64763         * misc/bits/syslog.h: Likewise.
64764         * misc/bits/syslog-ldbl.h: Likewise.
64765         * misc/sys/syslog.h: Likewise.
64766         * socket/bits/socket2.h: Likewise.
64767         * socket/sys/socket.h: Likewise.
64768         * debug/tst-chk1.c: Likewise.
64769         * wcsmbs/bits/wchar2.h: Likewise.
64770         * wcsmbs/bits/wchar-ldbl.h: Likewise.
64771         * wcsmbs/wchar.h: Likewise.
64773 2012-04-29  Andreas Jaeger  <aj@suse.de>
64775         * Makerules (tests): Remove enable-check-abi protection.
64776         (check-abi-warn): Remove.
64777         (check-abi-%): Remove check-abi-warn usage.
64779         * configure.in: Remove check-abi configure option.
64780         * configure: Regenerated.
64781         * config.make.in (enable-check-abi): Remove.
64783 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
64785         [BZ #14033]
64786         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
64787         double functions to double *_finite functions.
64789         [BZ #13941]
64790         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
64791         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
64792         LDBL_MIN_EXP.
64793         * stdio-common/Makefile (tests): Add tst-sprintf3.
64794         * stdio-common/tst-sprintf3.c: New file.
64796         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
64797         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
64799 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
64801         * conform/conformtest.pl: Remove duplicate typed-constant
64802         handling.
64804 2012-04-28  David S. Miller  <davem@davemloft.net>
64806         * Makerules (%.abilist): Add vpath on sysdep_dirs.
64807         (check-abi-%): Remove AWK script prerequisite and explicit
64808         abilist directory.
64809         (check-abi): Rewrite to just diff the symlist with the abilist.
64810         (config-tls, config-abi-config): Delete, no longer used.
64811         (update-abi-%): Remove AWK script and explicit abilist directory.
64812         (update-abi): Rewrite to simply compare and conditionally copy the
64813         symlist and the sysdep abilist file.  Remove update-abi-config
64814         checks.
64815         * abilist/ld.abilist: Remove.
64816         * abilist/libBrokenLocale.abilist: Remove.
64817         * abilist/libanl.abilist: Remove.
64818         * abilist/libcrypt.abilist: Remove.
64819         * abilist/libdl.abilist: Remove.
64820         * abilist/librt.abilist: Remove.
64821         * abilist/libthread_db.abilist: Remove.
64822         * abilist/libutil.abilist: Remove.
64823         * scripts/extract-abilist.awk: Remove.
64824         * scripts/merge-abilist.awk: Remove.
64825         * sysdeps/generic/libcidn.abilist: New file.
64826         * sysdeps/generic/libnss_compat.abilist: New file.
64827         * sysdeps/generic/libnss_db.abilist: New file.
64828         * sysdeps/generic/libnss_dns.abilist: New file.
64829         * sysdeps/generic/libnss_files.abilist: New file.
64830         * sysdeps/generic/libnss_hesiod.abilist: New file.
64831         * sysdeps/generic/libnss_nis.abilist: New file.
64832         * sysdeps/generic/libnss_nisplus.abilist: New file.
64833         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
64834         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
64835         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
64836         file.
64837         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
64838         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
64839         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
64840         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
64841         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
64842         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
64843         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
64844         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
64845         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
64846         file.
64847         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
64848         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
64849         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
64850         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
64851         file.
64852         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
64853         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
64854         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
64855         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
64856         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
64857         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
64858         file.
64859         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
64860         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
64861         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
64862         file.
64863         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
64864         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
64865         New file.
64866         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
64867         New file.
64868         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
64869         New file.
64870         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
64871         New file.
64872         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
64873         New file.
64874         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
64875         New file.
64876         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
64877         New file.
64878         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
64879         New file.
64880         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
64881         New file.
64882         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
64883         New file.
64884         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
64885         New file.
64886         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
64887         New file.
64888         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
64889         New file.
64890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
64891         file.
64892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
64893         New file.
64894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
64895         New file.
64896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
64897         file.
64898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
64899         New file.
64900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
64901         New file.
64902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
64903         file.
64904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
64905         New file.
64906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64907         New file.
64908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
64909         New file.
64910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
64911         New file.
64912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
64913         New file.
64914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
64915         New file.
64916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
64917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
64918         file.
64919         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
64920         New file.
64921         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
64922         file.
64923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
64924         file.
64925         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
64926         file.
64927         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
64928         file.
64929         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
64930         file.
64931         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64932         New file.
64933         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
64934         file.
64935         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
64936         file.
64937         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
64938         New file.
64939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
64940         file.
64941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
64942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
64943         file.
64944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
64945         New file.
64946         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
64947         file.
64948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
64949         file.
64950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
64951         file.
64952         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
64953         file.
64954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
64955         file.
64956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64957         New file.
64958         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
64959         file.
64960         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
64961         file.
64962         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
64963         New file.
64964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
64965         file.
64966         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64967         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
64968         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
64969         file.
64970         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
64971         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
64972         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
64973         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
64974         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
64975         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
64976         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
64977         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
64978         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
64979         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
64980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
64981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
64982         file.
64983         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
64984         New file.
64985         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
64986         file.
64987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
64988         file.
64989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
64990         file.
64991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
64992         file.
64993         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
64994         file.
64995         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64996         New file.
64997         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
64998         New file.
64999         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
65000         file.
65001         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
65002         New file.
65003         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
65004         file.
65005         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
65006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
65007         file.
65008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
65009         New file.
65010         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
65011         file.
65012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
65013         file.
65014         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
65015         file.
65016         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
65017         file.
65018         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
65019         file.
65020         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65021         New file.
65022         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
65023         New file.
65024         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
65025         file.
65026         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
65027         New file.
65028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
65029         file.
65031 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65033         * conform/conformtest.pl: Fix typo in handling typed-constant from
65034         allow-header.
65036 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65038         * README: Cut down references to pre-2.6 Linux kernels and
65039         Linuxthreads.  Update lists of configurations in libc and ports
65040         and sort alphabetically.  Say "or newer" with Linux kernel version
65041         requirements.
65043         * config.h.in [IS_IN_build]: Allow compiling without optimization.
65045 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65047         [BZ #887]
65048         * math/libm-test.inc (logb_test_downward): New test to expose
65049         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
65050         rounding mode.
65052 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65054         [BZ #14027]
65055         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
65056         to be done.
65057         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
65058         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
65060 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
65062         * sysdeps/unix/i386/brk.S: Remove file.
65063         * sysdeps/unix/i386/dl-brk.S: Likewise.
65064         * sysdeps/unix/i386/pipe.S: Likewise.
65065         * sysdeps/unix/i386/sigreturn.S: Likewise.
65066         * sysdeps/unix/i386/syscall.S: Likewise.
65067         * sysdeps/unix/i386/vfork.S: Likewise.
65068         * sysdeps/unix/i386/wait.S: Likewise.
65070         * sysdeps/unix/common/tcsendbrk.c: Move to ...
65071         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
65073         * configure.in (arm*-none*): Do not allow without
65074         --enable-hacker-mode.
65075         (netbsd*): Remove case setting base_os.
65076         (386bsd*): Likewise.
65077         (freebsd*): Likewise.
65078         (bsdi*): Likewise.
65079         (osf*): Likewise.
65080         (sunos*): Likewise.
65081         (ultrix*): Likewise.
65082         (newsos*): Likewise.
65083         (dynix*): Likewise.
65084         (*bsd*): Likewise.
65085         (sysv*): Likewise.
65086         (isc*): Likewise.
65087         (esix*): Likewise.
65088         (sco*): Likewise.
65089         (minix*): Likewise.
65090         (irix4*): Likewise.
65091         (irix6*): Likewise.
65092         (solaris[2-9]*): Likewise.
65093         (none): Likewise.
65094         * configure: Regenerated.
65096 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65098         [BZ #11521]
65099         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
65100         overflow or cancellation in calculating denominator.
65101         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
65102         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
65103         down expression to avoid unexpected rounding in newer GCCs.
65104         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
65106 2012-04-26  David S. Miller  <davem@davemloft.net>
65108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
65109         long-double compat symbols.
65110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
65114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
65116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
65117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
65118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
65119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
65120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
65121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
65122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65124 2012-04-25  David S. Miller  <davem@davemloft.net>
65126         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
65127         HWCAP_* values only after the memory barriers have been defined.
65128         (atomic_full_barrier): Define.
65129         (atomic_read_barrier): Define.
65130         (atomic_write_barrier): Define.
65132 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65134         * shlib-versions: Add libgcc_s version information.
65135         * sysdeps/generic/libgcc_s.h: Remove.
65136         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
65137         libgcc_s.h.
65138         * sysdeps/gnu/unwind-resume.c: Likewise.
65139         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
65141 2012-04-25  David S. Miller  <davem@davemloft.net>
65143         * sysdeps/unix/sparc/brk.S: Delete.
65144         * sysdeps/unix/sparc/dl-brk.S: Delete.
65145         * sysdeps/unix/sparc/pipe.S: Delete.
65146         * sysdeps/unix/sparc/sysdep.S: Delete.
65147         * sysdeps/unix/sparc/sysdep.h: Delete.
65148         * sysdeps/unix/sparc/vfork.S: Delete.
65149         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
65150         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
65151         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
65152         (ret_ERRVAL, r0, r1, MOVE): Define.
65153         (JUMPTARGET): Remove.
65154         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
65155         sysdeps/unix/sparc/sysdep.h
65156         (ENTRY, END): Remove.
65157         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65159 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
65161         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
65162         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
65163         -DIS_IN_build.
65165         * timezone/README: Update upstream location and email address for
65166         tzcode and tzdata.
65167         * timezone/zdump.c: Update from tzcode 2012b.
65168         * timezone/zic.c: Likewise.
65170         * configure.in (libc_cv_as_needed): Remove test.
65171         * configure: Regenerated.
65172         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
65173         conditional definition.
65174         [$(have-as-needed) != yes] (no-as-needed): Likewise.
65175         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
65176         * config.make.in (have-as-needed): Remove variable.
65178 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65179             Paul Pluzhnikov  <ppluzhnikov@google.com>
65181         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
65182         strings correctly.
65184 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
65186         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
65187         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
65188         * sysdeps/sh/strlen.S: Likewise.
65190 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65192         * sysdeps/unix/fork.S: Remove file.
65193         * sysdeps/unix/i386/fork.S: Likewise.
65194         * sysdeps/unix/sparc/fork.S: Likewise.
65196         * sysdeps/unix/system.c: Remove file.
65197         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
65199         * sysdeps/unix/getegid.S: Remove file.
65200         * sysdeps/unix/geteuid.S: Likewise.
65202 2012-04-24  Roland McGrath  <roland@hack.frob.com>
65204         * scripts/check-localplt.awk: New file.
65205         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
65206         of diff.
65207         * scripts/data/localplt-generic.data: Add a comment.
65209         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
65210         NODE when __dir_mkfile failed.
65211         * sysdeps/mach/hurd/symlinkat.c: Likewise.
65212         Reported by Ludovic Courtès <ludo@gnu.org>.
65214 2012-04-24  Andreas Jaeger  <aj@suse.de>
65216         * Makerules (common-clean): Also remove gen-as-const-headers
65217         files.
65219 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65221         * Makerules (native-compile): Do not change working directory for
65222         build.  Use $(OUTPUT_OPTION) in command.
65223         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
65225 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65227         [BZ #13886]
65228         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
65229         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
65230         * math/libm-test.inc (floor_test): Add more tests.
65231         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
65233 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65235         * sysdeps/unix/getdents.c: Remove file.
65236         * sysdeps/unix/sysv/getdents.c: Likewise.
65237         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
65239         * sysdeps/unix/syscalls.list (madvise): Add syscall from
65240         sysdeps/unix/mman/syscalls.list.
65241         (mmap): Likewise.
65242         (mprotect): Likewise.
65243         (msync): Likewise.
65244         (munmap): Likewise.
65245         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
65246         * sysdeps/unix/mman/syscalls.list: Remove.
65247         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
65249         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
65250         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
65251         * configure: Regenerated.
65252         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
65253         $(libgcc_s_suffix).
65254         * config.make.in (libgcc_s_suffix): Remove variable.
65256 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
65258         * sysdeps/unix/sysv/gethostname.c: Move to ...
65259         * sysdeps/posix/gethostname.c: ... here.
65261         * sysdeps/unix/execve.S: Remove file.
65263         * sysdeps/unix/_exit.S: Remove file.
65265 2012-04-23  Andreas Jaeger  <aj@suse.de>
65267         [BZ #13739]
65268         * manual/Makefile: Remove make dist support, there's no
65269         need for a stand-alone documentation tar ball.
65270         (TEXI2DVI): Define always, it's not in Makeconfig.
65271         (dist): Removed.
65272         (tar-it): Removed.
65273         (edition): Removed.
65274         (glibc-doc-$(edition).tar): Removed
65275         (%.Z): Removed.
65276         (%.gz): Removed.
65277         (%.uu): Removed.
65278         (ETAGS): Remove, it's in Makeconfig.
65279         (move-if-change): Remove, it's in Makeconfig.
65281 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
65283         [BZ #13970]
65284         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
65285         (strtod, strtof, strtold, strtol, strtoul, strtoq)
65286         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
65287         (strtod_l, strtof_l, strtold_l): Remove __wur.
65288         It is not necessarily an error to ignore strtol's return value.
65289         One can reliably look at the stored endptr to decide whether
65290         the number had valid syntax.
65292 2012-04-21  Andreas Jaeger  <aj@suse.de>
65294         [BZ #13739]
65295         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
65297 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
65299         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
65300         * sysdeps/unix/sysv/Versions: Remove file.
65302 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
65304         [BZ #13927]
65305         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65307 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
65309         [BZ #7064]
65310         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
65311         version from __vm86.
65313 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
65315         * sysdeps/unix/common/lxstat.c: Remove file.
65316         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
65318         * sysdeps/unix/sysv/Makefile: Remove file.
65320         * sysdeps/unix/sysv/direct.h: Remove file.
65322         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
65323         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
65324         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
65325         * sysdeps/unix/sysv/bits/signum.h: Likewise.
65326         * sysdeps/unix/sysv/bits/stat.h: Likewise.
65327         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
65328         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
65330         * sysdeps/unix/sysv/setrlimit.c: Remove file.
65332         * sysdeps/unix/xmknod.c: Remove file.
65333         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
65335         * sysdeps/unix/sysv/settimeofday.c: Remove file.
65337         * sysdeps/unix/sysv/i386/time.S: Remove file.
65339         * sysdeps/unix/fxstat.c: Remove file.
65340         * sysdeps/unix/xstat.c: Likewise.
65341         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
65343         * sysdeps/unix/sysv/sigaction.c: Remove file.
65345         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
65346         (sysdep_headers): Remove variable.
65347         [termio.h not in sysdep_headers] (generated): Likewise.
65348         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
65349         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
65350         * sysdeps/unix/sysv/tcdrain.c: Likewise.
65351         * sysdeps/unix/sysv/tcflow.c: Likewise.
65352         * sysdeps/unix/sysv/tcflush.c: Likewise.
65353         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
65354         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
65355         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
65356         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
65357         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
65359         * sysdeps/unix/siglist.c: Remove file.
65361         * sysdeps/unix/getppid.S: Remove file.
65363         * sysdeps/unix/mkdir.c: Remove file.
65364         * sysdeps/unix/rmdir.c: Likewise.
65366 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
65368         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
65369         ERR_MAX value.
65370         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
65371         errlist-compat value.
65373 2012-04-18  David S. Miller  <davem@davemloft.net>
65375         * sysdeps/generic/memcopy.h (reg_char): Delete.
65376         * debug/strcat_chk.c: Use char, not reg_char.
65377         * debug/strcpy_chk.c: Likewise.
65378         * debug/strncat_chk.c: Likewise.
65379         * debug/strncpy_chk.c: Likewise.
65380         * string/memchr.c: Likewise.
65381         * string/memrchr.c: Likewise.
65382         * string/rawmemchr.c: Likewise.
65383         * string/strcat.c: Likewise.
65384         * string/strchr.c: Likewise.
65385         * string/strchrnul.c: Likewise.
65386         * string/strcmp.c: Likewise.
65387         * string/strcpy.c: Likewise.
65388         * string/strncat.c: Likewise.
65389         * string/strncmp.c: Likewise.
65390         * string/strncpy.c: Likewise.
65392 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65394         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
65395         __builtin_memcopy is called when src and dest ranges are known to not
65396         overlap.
65398 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65400         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
65401         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
65402         fwd_align_merge macro call.
65403         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
65404         bwd_align_merge macro call.
65405         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65407 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65409         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
65410         bwd_align_merge macros.
65411         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
65412         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
65413         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65415 2012-04-18  David S. Miller  <davem@davemloft.net>
65417         * sysdeps/sparc/sparc64/memcopy.h: Delete.
65419 2012-04-18  Andreas Jaeger  <aj@suse.de>
65421         [BZ# 6794]
65422         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
65423         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
65424         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65426         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
65427         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
65428         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65430         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
65431         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
65432         Adjust for changed ldbl-128 files.
65434         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
65435         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
65436         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65438 2012-04-17  David S. Miller  <davem@davemloft.net>
65440         * sysdeps/sparc/sparc32/memcopy.h: Delete.
65442 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
65444         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
65445         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
65446         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
65447         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
65448         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
65449         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
65451 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65453         [BZ #6794]
65454         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
65455         * math/libm-test.inc: Add ilogb errno and exception tests.
65456         * math/w_ilogb.c: New file: ilogb wrapper.
65457         * math/w_ilogbf.c: New file: ilogbf wrapper.
65458         * math/w_ilogbl.c: New file: ilogbl wrapper.
65459         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
65460         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
65461         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
65462         exception being thrown with 0.0 as argument.
65463         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
65464         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
65465         exception being thrown with 0.0 as argument.
65466         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
65467         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65468         exception being thrown with 0.0 as argument.
65469         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
65470         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65471         exception being thrown with 0.0 as argument.
65472         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
65473         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
65474         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
65475         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
65476         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
65477         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
65478         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
65479         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
65480         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
65482 2012-04-17  Petr Baudis  <pasky@ucw.cz>
65484         * include/sys/uio.h: Change __vector to __iovec to avoid clash
65485         with altivec.
65487 2012-04-16  Marek Polacek  <polacek@redhat.com>
65489         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
65491 2012-04-16  Marek Polacek  <polacek@redhat.com>
65493         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
65494         operands of fdivp instruction.
65496 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65498         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
65499         * elf/tst-auditmod3b.c: Likewise.
65500         * elf/tst-auditmod4b.c: Likewise.
65501         * elf/tst-auditmod5b.c: Likewise.
65502         * elf/tst-auditmod6b.c: Likewise.
65503         * elf/tst-auditmod6c.c: Likewise.
65504         * elf/tst-auditmod7b.c: Likewise.
65505         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
65506         * sysdeps/x86_64/preconfigure.in: Likewise.
65507         * sysdeps/x86_64/preconfigure: Regenerated.
65509 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65511         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
65512         __ILP32__.
65514 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
65516         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65517         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
65519 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
65521         [BZ #13973]
65522         * locale/iso-639.def: Fix gl language name. Spotted by
65523         Yaron Shahrabani.
65525 2012-04-12  Roland McGrath  <roland@hack.frob.com>
65527         [BZ #2074]
65528         * libio/libio.h (__io_write_fn): Update comment.
65530 2012-04-12  Petr Baudis  <pasky@ucw.cz>
65532         [BZ #2074]
65533         * stdio.texi (Hook Functions): The user provided writer function
65534         is not allowed to return -1.
65536 2012-04-11  David S. Miller  <davem@davemloft.net>
65538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65540 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
65542         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
65543         Add a leading slash to rtkaio.
65545 2012-04-11  Jim Meyering  <meyering@redhat.com>
65547         [BZ #11959]
65548         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
65549         It is not necessarily an error to ignore fwrite's return
65550         value.  One can reliably use ferror to test for errors after
65551         the fact.
65553 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65555         * bits/types.h (__snseconds_t): New type.
65556         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
65558         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
65559         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65560         (__SNSECONDS_T_TYPE): Likewise.
65561         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65562         (__SNSECONDS_T_TYPE): Likewise.
65563         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65564         (__SNSECONDS_T_TYPE): Likewise.
65566 2012-04-10  Andreas Jaeger  <aj@suse.de>
65568         [BZ #2636]
65569         * manual/time.texi (Processor Time): Return type of times is
65570         elapsed real time since an arbitrary point in the past.
65571         (CPU Time): Move CLK_TCK from here...
65572         (Processor Time): ...to here.  Correct description.
65573         * manual/conf.texi (Constants for Sysconf): Correct description of
65574         _SC_CLK_TCK.
65576 2012-04-10  David S. Miller  <davem@davemloft.net>
65578         [BZ #13967]
65579         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
65580         where the is a gap between DT_REL(A) and DT_JMPREL.
65582 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65584         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
65585         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65586         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65588 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65590         * elf/dl-support.c (_dl_inhibit_cache): New variable.
65591         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
65592         (dl_main): Handle --inhibit-cache.
65593         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
65594         _dl_inhibit_cache.
65595         * elf/dl-load.c (_dl_map_object): Use it.
65596         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
65598 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65600         [BZ #13872]
65601         * sysdeps/i386/fpu/e_powl.S (p78): New object.
65602         (__ieee754_powl): Saturate large exponents rather than testing for
65603         overflow of y*log2(x).
65604         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65605         * math/libm-test.inc (pow_test): Do not permit spurious overflow
65606         exceptions.
65608         [BZ #11521]
65609         * math/s_ctan.c: Include <float.h>.
65610         (__ctan): Avoid internal overflow or cancellation in calculating
65611         denominator.
65612         * math/s_ctanf.c: Likewise.
65613         * math/s_ctanl.c: Likewise.
65614         * math/s_ctanh.c: Likewise.
65615         * math/s_ctanhf.c: Likewise.
65616         * math/s_ctanhl.c: Likewise.
65617         * math/libm-test.inc (ctan_test): Add more tests.
65618         (ctanh_test): Likewise.
65619         * sysdeps/i386/fpu/libm-test-ulps: Update.
65620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65622 2012-04-09  Andreas Jaeger  <aj@suse.de>
65624         [BZ #6894]
65625         * manual/filesys.texi (Directory Entries): Mention that d_namlen
65626         is an optional BSD extension.
65628         [BZ #10254]
65629         * manual/stdio.texi (Opening Streams): Document additional fopen
65630         parameters.
65632 2012-04-09  Roland McGrath  <roland@hack.frob.com>
65634         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
65635         %eax without telling the compiler.
65637 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
65639         [BZ # 13963]
65640         * manual/install.texi: Use sourceware.org.
65642 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65644         [BZ #13873]
65645         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
65646         (__ieee754_pow): Generate overflow and underflow using huge*huge
65647         and tiny*tiny rather than just returning constant infinity or zero
65648         for large exponents.
65649         * math/libm-test.inc (pow_test): Require overflow exceptions for
65650         applicable cases of large exponents.
65652         [BZ #706]
65653         * sysdeps/i386/fpu/e_pow.S (p10): New object.
65654         (__ieee754_pow): Use iterative multiplication algorithm only for
65655         integer exponents with absolute value below 1024.  Check for odd
65656         integer exponents when using algorithm for real exponents.
65657         * math/libm-test.inc (pow_test): Add more tests.
65658         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65660 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
65662         [BZ #13705]
65663         * math/libm-test.inc (exp_test): Do not allow overflow exception
65664         on underflow test.
65666 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
65668         [BZ #13705]
65669         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
65670         instead of __kernel_standard_f.
65672 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
65674         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
65675         * sysdeps/x86_64/memset_chk.S: Likewise.
65677 2012-04-08  Andreas Jaeger  <aj@suse.de>
65679         [BZ #10153]
65680         * manual/startup.texi (Environment Access): Describe return value
65681         for putenv and setenv.
65683         [BZ #6895]
65684         * manual/filesys.texi (Directory Entries): Add description for
65685         DT_LNK.
65687         [BZ #6890]
65688         * manual/filesys.texi (Directory Entries): Clarify that it's file
65689         system not operating system in the description of DT_UNKNOWN.
65691         [BZ #6578]
65692         * manual/syslog.texi (closelog): Fix reference, it's openlog.
65694 2012-04-08  Stephen Compall  <s11@member.fsf.org>
65696         [BZ #6649]
65697         * manual/llio.texi (Opening and Closing Files): Add cross
65698         reference to explain mode argument.
65700 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
65702         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
65703         * sysdeps/x86_64/memset_chk.S: Likewise.
65705 2012-04-07  David S. Miller  <davem@davemloft.net>
65707         * elf/elf.h (R_SPARC_WDISP10): Define.
65708         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
65709         R_SPARC_SIZE32.
65710         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
65711         R_SPARC_SIZE64 and R_SPARC_H34.
65713 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
65715         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
65716         conditions and remove no longer applicable assertion.
65718 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65720         * bits/byteswap.h: Include <features.h>.
65721         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65722         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65724 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65726         * bits/byteswap.h (__bswap_16): Removed.
65727         Include <bits/byteswap-16.h> to get __bswap_16.
65728         * sysdeps/i386/bits/byteswap.h: Likewise.
65729         * sysdeps/s390/bits/byteswap.h: Likewise.
65730         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65731         * bits/byteswap-16.h: New file.
65732         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65733         * sysdeps/s390/bits/byteswap-16.h: Likewise.
65734         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
65735         * string/Makefile (headers): Add bits/byteswap-16.h.
65737 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
65739         [BZ #13895]
65740         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
65741         extra indirection.
65742         * nss/Makefile (tests-static, tests): Add tst-nss-static.
65743         * nss/tst-nss-static.c: New.
65745 2012-04-06  Robert Millan  <rmh@gnu.org>
65747         [BZ #6486]
65748         * manual/llio.texi (File Position Primitive): lseek
65749         refers to WHENCE when it really means OFFSET.
65751 2012-04-06  Andreas Jaeger  <aj@suse.de>
65753         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
65754         strncmp declarations.
65756         * abilist/libc.abilist: Add __poll and __ppoll.
65758 2012-04-05  David S. Miller  <davem@davemloft.net>
65760         * scripts/check-local-headers.sh: Accept a host triplet in the
65761         path matched by the exclude regexp.
65763         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
65764         definition.
65765         * sysdeps/powerpc/powerpc32/dl-machine.h
65766         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
65767         * sysdeps/s390/s390-32/dl-machine.h
65768         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65769         * sysdeps/sparc/sparc32/dl-machine.h
65770         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65771         * sysdeps/sparc/sparc64/dl-machine.h
65772         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65774         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
65775         lazy binding.
65776         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
65777         undefined symbol errors.
65779         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
65780         DT_NEEDED entries.
65782 2012-04-05  Michael Matz  <matz@suse.de>
65784         [BZ #13592]
65785         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
65787 2012-04-05  Andreas Jaeger  <aj@suse.de>
65789         [BZ #13908]
65790         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
65791         comment.
65793 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65795         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
65796         which ROUND is no valid rounding mode.
65798 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65800         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
65801         read again.
65802         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
65804 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65806         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
65807         an exception using FPU order intentionally.
65809 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65811         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
65812         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
65813         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
65814         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
65816 2012-04-05  Simon Josefsson  <simon@josefsson.org>
65818         [BZ #12340]
65819         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
65820         EINVAL when BUFLEN is too smal.
65822 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
65824         [BZ #13553]
65825         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
65826         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
65828 2012-04-03  Andreas Jaeger  <aj@suse.de>
65830         [BZ #13938]
65831         * manual/setjmp.texi (System V contexts): Fix sentence.
65833         [BZ #13926]
65834         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
65835         New macro for this case.
65836         [!__GNUC__] (__bswap_64): New inline function for this case.
65837         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65838         * bits/byteswap.h: Likewise.
65839         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
65840         ull, guard with __GLIBC_HAVE_LONG_LONG.
65842         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
65843         __GLIBC_HAVE_LONG_LONG.
65845         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
65846         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
65848 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65850         [BZ #13691]
65851         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
65852         inptr and inend, rather than using last_ch.
65854 2012-04-02  David S. Miller  <davem@davemloft.net>
65856         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
65857         * stdio-common/printf-parse.h (read_int): Change return type to
65858         'int', return -1 on INT_MAX overflow.
65859         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
65860         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
65861         overflows INT_MAX.  Check for overflow of in-format-string precision
65862         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
65863         SIZE_MAX not INT_MAX for integer overflow test.
65864         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
65865         skip the construct in the format string but do not record anything.
65866         * stdio-common/bug22.c: Adjust to test both width/prevision
65867         INT_MAX overflow as well as total length INT_MAX overflow.  Check
65868         explicitly for proper errno values.
65870 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
65872         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
65873         CHAR_MAX.
65874         * string/test-strcmp.c [! WIDE]: Likewise.
65875         * time/tst-mktime2.c: Likewise for INT_MAX.
65876         * string/test-string.h: #include <sys/param.h> for MIN.
65878         * csu/init-first.c (__libc_init_first): Call __ctype_init.
65879         * sysdeps/i386/init-first.c (init): Likewise.
65880         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
65881         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
65882         * sysdeps/sh/init-first.c (init): Likewise.
65884 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
65886         * po/ru.po: Update from translation team.
65887         * po/vi.po: Likewise.
65889 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
65891         * resolv/nss_dns/dns-host.c: Merge copyright years.
65893 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65895         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
65896         Optimize memcpy with prefetch if
65897         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
65898         src, dst pointers have unequal 16 byte alignments.
65900 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65902         [BZ #13928]
65903         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
65904         from a CNAME entry and return the minimum ttl for the query.
65905         (gaih_getanswer_slice): Likewise.
65907 2012-03-30  Jeff Law  <law@redhat.com>
65909         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
65910         due to long keys.
65911         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
65912         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
65914         * resolv/nss_dns/dns-host.c: Update copyright year.
65916 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
65918         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
65919         requests to save a system call.  Fix check that all bytes are sent.
65921         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
65922         comments for sendmmsg.
65924 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65926         [BZ #13691]
65927         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
65928         with only 1 character between 0x0041 and 0x01b0.
65929         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
65930         * wcsmbs/tst-mbsnrtowcs.c: New file.
65932 2012-03-29  David S. Miller  <davem@davemloft.net>
65934         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
65935         small copies by hand.
65937 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65939         [BZ #13761]
65940         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
65941         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
65942         group memberships.
65944 2012-03-28  David S. Miller  <davem@davemloft.net>
65946         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
65947         that branches into memcpy.
65948         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65949         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
65950         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65951         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
65952         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
65953         bits.
65954         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
65955         implementation too.
65956         * sysdeps/sparc/mempcpy.S: New file.
65958         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
65959         the IFUNC routine in the libc case.
65960         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65962         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
65963         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
65964         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
65965         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
65966         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
65967         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
65968         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
65969         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
65971         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
65972         loop to 256 bytes instead of 64 bytes and fix test signedness.
65974         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
65975         * sysdeps/sparc/sparc32/Makefile: rather than here...
65976         * sysdeps/sparc/sparc64/Makefile: and here.
65978 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
65980         * malloc/mallocbug.c: Avoid warnings about unused variables.
65982 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65984         [BZ #13760]
65985         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
65986         in the right place. Discard and retry query if response is
65987         larger than input buffer size.
65989 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
65991         [BZ #369]
65992         [BZ #2678]
65993         [BZ #3866]
65994         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
65995         x for large integer exponent.
65996         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
65997         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
65998         sign of result as needed afterwards.
65999         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
66000         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
66001         result for underflowing pow the same as for overflow.
66002         (__kernel_standard_l): Handle powl overflow and underflow here
66003         rather than calling __kernel_standard.
66004         * math/libm-test.inc (pow_test): Add more tests.
66006         [BZ #3868]
66007         [BZ #13879]
66008         [BZ #13910]
66009         [BZ #13911]
66010         [BZ #13912]
66011         [BZ #13913]
66012         [BZ #13915]
66013         [BZ #13916]
66014         [BZ #13917]
66015         [BZ #13918]
66016         [BZ #13919]
66017         [BZ #13920]
66018         [BZ #13921]
66019         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
66020         * sysdeps/ieee754/k_standard.c: Include <float.h>.
66021         (__kernel_standard_l): New function.
66022         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
66023         __kernel_standard.
66024         * math/w_acosl.c (__acosl): Likewise.
66025         * math/w_asinl.c (__asinl): Likewise.
66026         * math/w_atan2l.c (__atan2l): Likewise.
66027         * math/w_atanhl.c (__atanhl): Likewise.
66028         * math/w_coshl.c (__coshl): Likewise.
66029         * math/w_exp10l.c (__exp10l): Likewise.
66030         * math/w_exp2l.c (__exp2l): Likewise.
66031         * math/w_fmodl.c (__fmodl): Likewise.
66032         * math/w_hypotl.c (__hypotl): Likewise.
66033         * math/w_j0l.c (__j0l, __y0l): Likewise.
66034         * math/w_j1l.c (__j1l, __y1l): Likewise.
66035         * math/w_jnl.c (__jnl, __ynl): Likewise.
66036         * math/w_lgammal.c (__lgammal): Likewise.
66037         * math/w_log10l.c (__log10l): Likewise.
66038         * math/w_log2l.c (__log2l): Likewise.
66039         * math/w_logl.c (__logl): Likewise.
66040         * math/w_powl.c (__powl): Likewise.
66041         * math/w_remainderl.c (__remainderl): Likewise.
66042         * math/w_scalbl.c (sysv_scalbl): Likewise.
66043         * math/w_sinhl.c (__sinhl): Likewise.
66044         * math/w_sqrtl.c (__sqrtl): Likewise.
66045         * math/w_tgammal.c (__tgammal): Likewise.
66046         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
66047         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
66048         * math/libm-test.inc (acos_test): Add more tests.
66049         (acosh_test): Likewise.
66050         (asin_test): Likewise.
66051         (atanh_test): Likewise.
66052         (exp_test): Likewise.
66053         (exp10_test): Likewise.
66054         (exp2_test): Likewise.
66055         (expm1_test): Likewise.
66056         (lgamma_test): Likewise.
66057         (log_test): Likewise.
66058         (log10_test): Likewise.
66059         (log1p_test): Likewise.
66060         (log2_test): Likewise.
66061         (pow_test): Do not allow some spurious overflow exceptions.
66062         (sqrt_test): Add more tests.
66063         (tgamma_test): Likewise.
66064         (y0_test): Likewise.
66065         (y1_test): Likewise.
66066         (yn_test): Likewise.
66068 2012-03-27  Anton Blanchard  <anton@samba.org>
66070         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
66071         MAP_HUGETLB.
66072         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66073         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
66074         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66076 2012-03-27  David S. Miller  <davem@davemloft.net>
66078         * conform/Makefile: Run run-conformtest.sh using $(BASH).
66080         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
66081         have-as-vis3 check.
66083 2012-03-27  Andreas Jaeger  <aj@suse.de>
66085         * sysdeps/x86_64/elf/configure.in: Moved to ...
66086         * sysdeps/x86_64/configure.in: ... here.
66087         * sysdeps/x86_64/elf/start.S: Moved to ...
66088         * sysdeps/x86_64/start.S: ... here.
66089         * sysdeps/x86_64/elf/configure: Delete.
66091         * sysdeps/x86_64/configure.in: Merge contents from
66092         sysdeps/i386/configure.in (without i686 check).
66094         * sysdeps/i386/elf/Versions: Merge into ...
66095         * sysdeps/i386/Versions: ... this.
66096         * sysdeps/i386/elf/Versions: Delete file.
66097         * sysdeps/i386/elf/start.S: Moved to ...
66098         * sysdeps/i386/start.S: ...here.
66099         * sysdeps/i386/elf/configure.in: Merge into...
66100         * sysdeps/i386/configure.in: ...here.
66101         * sysdeps/i386/elf/configure.in: Delete file.
66102         * sysdeps/i386/elf/configure: Delete file.
66104         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
66105         * debug/backtracesyms.c: ... here.
66106         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
66107         * debug/backtracesymsfd.c: ... here.
66108         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
66109         * sysdeps/generic/ifunc-sel.h: ... here.
66111         * sysdeps/unix/i386/start.c: Delete file.
66112         * sysdeps/unix/sparc/start.c: Delete file.
66113         * sysdeps/unix/start.c: Delete file.
66115         * sysdeps/sh/elf/configure.in: Moved to ...
66116         * sysdeps/sh/configure.in: ... here.
66117         * sysdeps/sh/elf/start.S: Moved to ...
66118         * sysdeps/sh/start.S: ... here.
66119         * sysdeps/sh/elf/configure: Delete file.
66121         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
66122         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
66123         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
66124         * sysdeps/powerpc/powerpc64/entry.h: ... here.
66125         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
66126         * sysdeps/powerpc/powerpc64/start.S: here.
66127         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
66128         * sysdeps/powerpc/powerpc64/Makefile: ... this.
66129         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
66130         * sysdeps/powerpc/powerpc64/configure.in: ... this.
66131         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
66133         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
66134         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
66135         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
66136         * sysdeps/powerpc/powerpc32/start.S: ... here.
66137         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
66138         * sysdeps/powerpc/powerpc32/configure.in: ... this.
66139         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
66141         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
66142         * sysdeps/powerpc/ifunc-sel.h: ... here.
66143         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
66144         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
66146         * sysdeps/sparc/elf/configure.in: Moved to ...
66147         * sysdeps/sparc/configure.in: ... here.
66148         * sysdeps/sparc/elf/configure: Delete file.
66149         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
66150         * sysdeps/sparc/sparc32/start.S: ... here.
66151         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
66152         * sysdeps/sparc/sparc64/start.S: ... here.
66153         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
66154         * sysdeps/sparc/sparc32/Makefile: ... this.
66155         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
66156         * sysdeps/sparc/sparc64/Makefile: ... this.
66158         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
66159         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
66160         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
66161         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
66162         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
66163         * sysdeps/s390/s390-32/setjmp.S: ... here.
66164         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
66165         * sysdeps/s390/s390-32/configure.in: ... here.
66166         * sysdeps/s390/s390-32/elf/configure: Delete file.
66167         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
66168         * sysdeps/s390/s390-32/start.S: ... here.
66170         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
66171         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
66172         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
66173         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
66174         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
66175         * sysdeps/s390/s390-64/setjmp.S: ... here.
66176         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
66177         * sysdeps/s390/s390-64/configure.in: ... here
66178         * sysdeps/s390/s390-64/elf/configure: Delete file.
66179         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
66180         * sysdeps/s390/s390-64/start.S: ... here.
66181         * sysdeps/s390/s390-64/elf/configure: Delete.
66183         * configure.in: Remove support for elf directories in sysdeps.
66185         * configure: Regenerated.
66186         * sysdeps/i386/configure: Regenerated.
66187         * sysdeps/powerpc/powerpc32/configure: Regenerated.
66188         * sysdeps/powerpc/powerpc64/configure: Regenerated.
66189         * sysdeps/s390/s390-32/configure: Regenerated.
66190         * sysdeps/s390/s390-64/configure: Regenerated.
66191         * sysdeps/sh/configure: Regenerated.
66192         * sysdeps/sparc/configure: Regenerated.
66193         * sysdeps/x86_64/configure: Regenerated.
66195 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
66197         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66199         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
66200         denormal result into account.
66202 2012-03-25  Roland McGrath  <roland@hack.frob.com>
66204         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
66205         Reported by Allan McRae <allan@archlinux.org>.
66207 2012-03-23  Jeff Law  <law@redhat.com>
66209         * nss/getnssent.c (__nss_getent): Fix typo.
66211 2012-03-23  David S. Miller  <davem@davemloft.net>
66213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66215 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
66217         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
66218         to pad to uint64_t for each field.
66219         (dl_tls_index): Replace unsigned long with uint64_t.
66221 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
66222         Paul Pluzhnikov  <ppluzhnikov@google.com>
66224         [BZ #6528]
66225         * grp/Makefile (otherlibs): Don't set it.
66226         * inet/Makefile (otherlibs): Likewise.
66227         * login/Makefile (otherlibs): Likewise.
66228         * nscd/Makefile (otherlibs): Likewise.
66229         * posix/Makefile (otherlibs): Likewise.
66230         * pwd/Makefile (otherlibs): Likewise.
66231         * rt/Makefile (otherlibs): Likewise.
66232         * sunrpc/Makefile (otherlibs): Likewise.
66233         * nss/Makefile (otherlibs): Likewise.
66234         Add libnss_files to routines and static-only-routines.
66235         ($(objpfx)getent): Remove rule.
66236         * resolv/Makefile: Add libnss_dns and libresolv to routines and
66237         static-only-routines.
66239 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66241         [BZ #13892]
66242         * math/s_cexp.c: Include <float.h>.
66243         (__cexp): Handle exp result overflowing not necessarily
66244         overflowing both real and imaginary parts of result.
66245         * math/s_cexpf.c: Likewise.
66246         * math/s_cexpl.c: Likewise.
66247         * math/libm-test.inc (cexp_test): Add more tests.
66248         * sysdeps/i386/fpu/libm-test-ulps: Update.
66249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66251 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66253         * include/link.h (ELFW): New macro.
66254         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
66255         Replace ELF64_R_TYPE with ELFW(R_TYPE).
66257 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66259         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
66260         with uint64_t.
66262 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66264         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
66265         declaration.
66266         (struct La_x32_retval): Likewise.
66268 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66270         * sysdeps/x86_64/preconfigure.in: New file.
66271         * sysdeps/x86_64/preconfigure: New generated file.
66273 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66275         [BZ #13824]
66276         * math/e_exp2l.c: Include <float.h>.
66277         (__ieee754_exp2l): Handle overflow and underflow cases
66278         separately.  Only pass fractional part of argument to
66279         __ieee754_expl.
66280         * math/libm-test.inc (exp2_test): Add more tests.
66282         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
66283         negating x to take absolute value.
66284         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
66285         Likewise.
66286         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
66287         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
66288         Likewise.
66289         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
66290         computing low part if x was negated.
66291         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
66293 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66295         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
66296         la_x32_gnu_pltexit.
66297         (pltexit): Cast int_retval to ptrdiff_t.
66298         * elf/tst-auditmod3b.c: Likewise.
66299         * elf/tst-auditmod4b.c: Likewise.
66300         * elf/tst-auditmod5b.c: Likewise.
66301         * elf/tst-auditmod6b.c: Likewise.
66302         * elf/tst-auditmod6c.c: Likewise.
66303         * elf/tst-auditmod7b.c: Likewise.
66305         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
66306         and x32_gnu_pltexit.
66308         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
66309         __ELF_NATIVE_CLASS.
66310         (La_x32_regs): New macro.
66311         (La_x32_retval): Likewise.
66312         (la_x32_gnu_pltenter): New function prototype.
66313         (la_x32_gnu_pltexit): Likewise.
66315 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
66317         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
66318         exponent.
66320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66322         * configure.in (libc_cv_cc_nofma): Check for option to disable
66323         generation of FMA instructions.
66324         * configure: Regenerate.
66325         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
66326         * sysdeps/ieee754/dbl-64/Makefile: New file.
66327         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
66328         Remove brandred-fma4.
66329         (CFLAGS-brandred-fma4.c): Remove.
66330         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
66331         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
66332         define.
66333         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
66334         define.
66336 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66338         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66339         LLONG_MAX != LONG_MAX.
66340         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66341         (_fitoa_word): Likewise.
66342         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
66343         LLONG_MAX != LONG_MAX.
66344         * stdio-common/_itowa.h: Include <_itoa.h>.
66345         (_itowa_word): Use _ITOA_WORD_TYPE on value.
66346         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
66347         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
66348         only if not defined.
66349         (_ITOA_WORD_TYPE): Likewise.
66350         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66351         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
66353 2012-03-21  David S. Miller  <davem@davemloft.net>
66355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66357 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66359         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
66360         of x86_64 when setting libc_cv_slibdir, libdir and
66361         libc_cv_localedir.
66362         * sysdeps/unix/sysv/linux/configure: Regenerated.
66364 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66366         * manual/lang.texi (Old Varargs): Remove section.
66367         (How Variadic): Update menu.
66368         (va_start): Do not mention varargs.h.
66370 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66371             Joseph Myers  <joseph@codesourcery.com>
66373         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
66374         link test.
66375         * configure: Regenerated.
66377 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66379         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
66380         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
66381         conformtest.pl
66383 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66385         * NOTES: Remove.
66386         * Makefile (files-for-dist): Remove NOTES.
66387         (NOTES): Remove rule.
66388         * README: Don't refer to NOTES.
66389         * manual/creature.texi: Don't include macros.texi.
66390         * manual/intro.texi (creature.texi): Remove comment referring to
66391         NOTES.
66393         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
66394         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
66395         * configure: Regenerated.
66396         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
66397         LIBC_TRY_CC_OPTION.
66398         (libc_cv_as_i686): Likewise.
66399         (libc_cv_cc_avx): Likewise.
66400         (libc_cv_cc_sse2avx): Likewise.
66401         (libc_cv_cc_fma4): Likewise.
66402         (libc_cv_cc_novzeroupper): Likewise.
66403         * sysdeps/i386/configure: Regenerated.
66405         [BZ #13883]
66406         * sysdeps/i386/fpu/s_cexp.S: Remove.
66407         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66408         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66409         * math/libm-test.inc (cexp_test): Add more tests.
66410         * sysdeps/i386/fpu/libm-test-ulps: Update.
66411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66413 2012-03-21  Allan McRae  <allan@archlinux.org>
66415         * timezone/Makefile: Do not install iso3166.tab and zone.tab
66417 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66419         [BZ #13871]
66420         * math/w_exp2.c: Do not include <float.h>.
66421         (o_threshold, u_threshold): Remove.
66422         (__exp2): Calculate result before checking finiteness and calling
66423         __kernel_standard.
66424         * math/w_exp2f.c: Likewise.
66425         * math/w_exp2l.c: Likewise.
66426         * math/libm-test.inc (exp2_test): Require overflow exception for
66427         1e6 input.
66429         [BZ #3866]
66430         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
66431         range of signed 64-bit integers before using fistpll.  Remove
66432         checks for whether integers fit in mantissa bits.
66433         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
66434         the range of signed 32-bit integers before using fistpl.  Remove
66435         checks for whether integers fit in mantissa bits.
66436         * sysdeps/i386/fpu/e_powl.S (p64): New object.
66437         (__ieee754_powl): Test for y outside the range of signed 64-bit
66438         integers before using fistpll.  Reduce 64-bit values to 63-bit
66439         ones as needed.
66440         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
66441         divide-by-zero is raised for zero to large negative powers.
66442         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
66443         (__ieee754_powl): Test for y outside the range of signed 64-bit
66444         integers before using fistpll.  Reduce 64-bit values to 63-bit
66445         ones as needed.
66446         * math/libm-test.inc (pow_test): Add more tests.
66448 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66450         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
66451         <stdio-common/_itoa.h>.
66452         * debug/segfault.c: Likewise.
66453         * elf/dl-cache.c: Likewise.
66454         * elf/dl-minimal.c: Likewise.
66455         * elf/dl-misc.c: Likewise.
66456         * elf/dl-sysdep.c: Likewise.
66457         * elf/dl-version.c: Likewise.
66458         * elf/rtld.c: Likewise.
66459         * hurd/hurdsock.c: Likewise.
66460         * hurd/lookup-retry.c: Likewise.
66461         * malloc/malloc.c: Likewise.
66462         * malloc/mtrace.c: Likewise.
66463         * nscd/nscd_getgr_r.c: Likewise.
66464         * nscd/nscd_getpw_r.c: Likewise.
66465         * nscd/nscd_getserv_r.c: Likewise.
66466         * posix/getopt_init.c: Likewise.
66467         * posix/wordexp.c: Likewise.
66468         * stdio-common/_itoa.c: Likewise.
66469         * stdio-common/printf_fphex.c: Likewise.
66470         * stdio-common/vfprintf.c: Likewise.
66471         * string/_strerror.c: Likewise.
66472         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
66473         * sysdeps/i386/i686/hp-timing.h: Likewise.
66474         * sysdeps/mach/_strerror.c: Likewise.
66475         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
66476         * sysdeps/mach/hurd/sethostid.c: Likewise.
66477         * sysdeps/mach/hurd/xmknodat.c: Likewise.
66478         * sysdeps/mach/xpg-strerror.c: Likewise.
66479         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66480         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66481         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
66482         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
66483         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66484         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
66485         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
66486         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
66487         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
66488         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
66489         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
66490         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
66491         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
66492         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
66493         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
66494         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
66495         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
66496         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
66497         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
66498         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
66499         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
66501         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
66503         * stdio-common/_itoa.h: Moved to ...
66504         * sysdeps/generic/_itoa.h: Here.
66506         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
66508         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
66509         instead of "_itoa.h" and "_itowa.h".
66510         * stdio-common/vfprintf.: Likewise.
66512 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66514         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
66515         <bits/wordsize.h>.
66516         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
66517         (__signbit): Likwise.
66518         (llrintf): Likwise.
66519         (llrint): Likwise.
66521 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66523         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
66524         __WORDSIZE != 64.
66526 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
66528         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
66529         OVERFLOW_EXCEPTION_OK.
66530         * math/libm-test.inc ("Philosophy"): Update comment about
66531         exception testing.
66532         (OVERFLOW_EXCEPTION): Define.
66533         (OVERFLOW_EXCEPTION_OK): Likewise.
66534         (INVALID_EXCEPTION_OK): Renumber.
66535         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66536         (IGNORE_ZERO_INF_SIGN): Likewise.
66537         (test_exceptions): Handle FE_OVERFLOW.
66538         (exp10_test): Expect overflow exceptions.
66539         (exp2_test): Likewise.
66540         (expm1_test): Likewise.
66541         (nextafter_test): Likewise.
66542         (pow_test): Likewise.
66543         (scalbn_test): Likewise.
66544         (scalbln_test): Likewise.
66546 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66548         * sysdeps/x86_64/bits/atomic.h
66549         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
66550         64bit integer.
66551         (atomic_exchange_acq): Likewise.
66552         (__arch_exchange_and_add_body): Likewise.
66553         (__arch_add_body): Likewise.
66554         (atomic_add_negative): Likewise.
66555         (atomic_add_zero): Likewise.
66557 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66559         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
66560         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
66562 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66564         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
66565         Check __x86_64__ instead of __WORDSIZE.
66567 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66569         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
66571 2012-03-19  David S. Miller  <davem@davemloft.net>
66573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66575         * sysdeps/sparc/fpu/fenv_private.h: New file.
66576         * sysdeps/sparc/fpu/math_private.h: Use it.
66577         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
66578         Remove.
66579         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
66580         (libc_feholdexcept_setroundl): Remove.
66581         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
66582         Remove.
66583         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
66584         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
66586 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66588         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
66589         int64_t instead of long int.
66590         (INSERT_WORDS64): Likwise.
66592 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66594         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
66595         _Unwind_GetCFA return to _Unwind_Ptr first.
66597 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
66599         [BZ #13629]
66600         * math/s_clog.c: Include <float.h>.
66601         (__clog): Scale large or subnormal inputs.
66602         * math/s_clogf.c: Likewise.
66603         * math/s_clogl.c: Likewise.
66604         * math/s_clog10.c: Include <float.h>.
66605         (M_LOG10_2): Define.
66606         (__clog10): Scale large or subnormal inputs.
66607         * math/s_clog10f.c: Likewise.
66608         * math/s_clog10l.c: Likewise.
66609         * math/libm-test.inc (clog_test): Add more tests.
66610         (clog10_test): Likewise.
66611         * sysdeps/i386/fpu/libm-test-ulps: Update.
66612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66614         [BZ #11451]
66615         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
66616         x and y.
66617         * math/libm-test.inc (atan2_test): Add another test.
66619         * Makerules (common-objdir-compile): Remove.
66620         * sysdeps/unix/Makefile (config-generated): Do not add
66621         $(unix-generated) to variable.
66622         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
66623         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
66624         Remove rule.
66625         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
66626         Likewise.
66627         [generic bits/local_lim.h] (before-compile): Do not append to
66628         variable.
66629         [generic bits/local_lim.h] (common-generated): Likewise.
66630         [generic sys/param.h] (before-compile): Do not append to variable.
66631         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
66632         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
66633         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
66634         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
66635         include.
66636         [generic sys/param.h] (sys/param.h-includes): Remove variable.
66637         [generic sys/param.h] (sys/param.h-includes): Remove rule.
66638         [generic sys/param.h] ($(addprefix
66639         $(common-objpfx),$(sys/param.h-includes))): Likewise.
66640         [generic sys/param.h] (common-generated): Do not append to
66641         variable.
66642         [generic sys/param.h] (sysdep_headers): Likewise.
66643         [generic bits/errno.h] (before-compile): Do not append to
66644         variable.
66645         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
66646         rule.
66647         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
66648         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
66649         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
66650         [generic bits/errno.h] (common-generated): Do not append to
66651         variable.
66652         [generic bits/ioctls.h] (before-compile): Do not append to
66653         variable.
66654         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
66655         rule.
66656         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
66657         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
66658         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
66659         rule.
66660         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
66661         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
66662         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
66663         [generic bits/ioctls.h] (common-generated): Do not append to
66664         variable.
66665         [generic sys/syscall.h] (syscall.h): Remove variable.
66666         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
66667         rule.
66668         [generic sys/syscall.h] (before-compile): Do not append to
66669         variable.
66670         [generic sys/syscall.h] (common-generated): Likewise.
66671         * sysdeps/unix/errnos-tmpl.c: Remove file.
66672         * sysdeps/unix/errnos.awk: Likewise.
66673         * sysdeps/unix/ioctls-tmpl.c: Likewise.
66674         * sysdeps/unix/ioctls.awk: Likewise.
66675         * sysdeps/unix/mk-local_lim.c: Likewise.
66676         * sysdeps/unix/snarf-ioctls: Likewise.
66678 2012-03-19  Richard Henderson  <rth@twiddle.net>
66680         * sysdeps/i386/fpu/fenv_private.h: New file.
66681         * sysdeps/i386/fpu/math_private.h: Use it.
66682         (math_opt_barrier, math_force_eval): Remove.
66683         (libc_feholdexcept_setround_53bit): Remove.
66684         (libc_feupdateenv_53bit): Remove.
66685         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66686         (math_opt_barrier, math_force_eval): Remove.
66687         (libc_feholdexcept): Remove.
66688         (libc_feholdexcept_setround): Remove.
66689         (libc_fetestexcept, libc_fesetenv): Remove.
66690         (libc_feupdateenv_test): Remove.
66691         (libc_feupdateenv, libc_feholdsetround): Remove.
66692         (libc_feresetround): Remove.
66694         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
66695         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
66697         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
66698         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
66699         (libc_feupdateenv_testl): New.
66700         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
66701         (libc_feupdateenv_testf): New.
66702         (libc_feupdateenv): Use libc_feupdateenv_test.
66703         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
66704         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
66706         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
66707         (libc_feholdsetroundf, libc_feholdsetroundl): New.
66708         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
66709         (libc_feresetround_noex): New.
66710         (libc_feresetround_noexf): New.
66711         (libc_feresetround_noexl): New.
66712         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
66713         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
66714         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
66715         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
66716         SET_RESTORE_ROUND.
66717         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
66718         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
66719         (__cos): Likewise.
66720         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
66721         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
66722         SET_RESTORE_ROUND_NOEX.
66723         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
66724         SET_RESTORE_ROUND_NOEXF.
66725         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
66726         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
66727         (libc_feholdsetroundf): New.
66728         (libc_feresetround, libc_feresetroundf): New.
66730         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
66731         (libc_feholdexcept_setround_53bit): Convert from macro to function.
66732         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
66734         * sysdeps/generic/math_private.h: Include <fenv.h>.
66735         (default_libc_feholdexcept): New.
66736         (default_libc_feholdexcept_setround): New.
66737         (default_libc_fesetenv, default_libc_feupdateenv): New.
66738         (libc_feholdexcept): Only define if undefined.
66739         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
66740         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
66741         (libc_feholdexcept_setroundl): Likewise.
66742         (libc_feholdexcept_setround_53bit): Likewise.
66743         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
66744         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
66745         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
66746         (libc_feupdateenv_53bit): Likewise.
66747         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
66748         (libc_feholdexcept): Convert from macro to inline function.
66749         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
66750         (libc_fesetenv, libc_feupdateenv): Likewise.
66752         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
66753         not previously defined.
66754         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
66755         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
66756         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
66757         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
66758         * sysdeps/ieee754/flt-32/math_private.h: New file.
66759         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
66760         math_private.h below SET_FLOAT_WORD.
66761         (__isnan, __isinf_ns, __finite): Remove.
66762         (__isnanf, __isinf_nsf, __finitef): Remove.
66764 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
66766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66768 2012-03-17  David S. Miller  <davem@davemloft.net>
66770         [BZ #6471]
66771         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
66772         for 2.16.
66774 2012-03-16  David S. Miller  <davem@davemloft.net>
66776         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
66777         warnings.
66779         [BZ #6471]
66780         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
66781         properly.
66782         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
66783         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
66784         sysdep_routines when subdir is sysvipc.
66785         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
66786         __getshmlba helper.
66788         * sysdeps/sparc/fpu/libm-test/ulps: Update.
66790 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66792         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
66793         [__LP64__].
66795 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66797         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
66798         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
66799         (__lround): Renamed to ...
66800         (__llround): This.  Replace long int with long long int.
66801         Define lround functions as aliases of llround functions.
66802         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
66804 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66806         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
66807         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
66808         adresses to uintptr_t.  Replace "long int" and "unsigned long
66809         int" with "greg_t" on va_arg.
66811 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66813         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
66814         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
66816         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
66817         Move e_machine check before EI_CLASS check.  Handle x32
66818         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
66819         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
66820         SKIP_EM_IA_64 and include
66821         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
66823         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
66824         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
66825         (add_system_dir): New macro.
66827         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
66828         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
66830 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66832         [BZ #2551]
66833         [BZ #2552]
66834         [BZ #2553]
66835         [BZ #2554]
66836         [BZ #2562]
66837         [BZ #2563]
66838         [BZ #2565]
66839         [BZ #2566]
66840         [BZ #2576]
66841         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
66842         (y0): Likewise.
66843         * math/w_j0f.c (j0f): Likewise.
66844         (y0f): Likewise.
66845         * math/w_j0l.c (__j0l): Likewise.
66846         (__y0l): Likewise.
66847         * math/w_j1.c (j1): Likewise.
66848         (y1): Likewise.
66849         * math/w_j1f.c (j1f): Likewise.
66850         (y1f): Likewise.
66851         * math/w_j1l.c (__j1l): Likewise.
66852         (__y1l): Likewise.
66853         * math/w_jn.c (jn): Likewise.
66854         (yn): Likewise.
66855         * math/w_jnf.c (jnf): Likewise.
66856         (ynf): Likewise.
66857         * math/w_jnl.c (__jnl): Likewise.
66858         (__ynl): Likewise.
66859         * math/libm-test.inc (j0_test): Add more tests.
66860         (j1_test): Likewise.
66861         (jn_test): Likewise.  Add trailing semicolon to existing test.
66862         (y0_test): Likewise.
66863         (y1_test): Likewise.
66864         * sysdeps/i386/fpu/libm-test-ulps: Update.
66865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66867         [BZ #13851]
66868         [BZ #13854]
66869         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
66870         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
66871         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
66872         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
66873         (__tanl): Set errno for infinite argument.
66874         * sysdeps/i386/fpu/mptan.c: Remove.
66875         * sysdeps/i386/fpu/s_tan.S: Likewise.
66876         * sysdeps/i386/fpu/s_tanl.S: Likewise.
66877         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
66878         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
66879         * math/libm-test.inc (tan_test): Add more tests and enable more
66880         tests for double and long double.
66881         * sysdeps/i386/fpu/libm-test-ulps: Update.
66882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66884 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
66886         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
66887         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
66889 2012-03-16  Roland McGrath  <roland@hack.frob.com>
66891         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
66892         * configure.in: Use it for both main tree and add-ons.
66893         * configure: Regenerated.
66895 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66897         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
66899 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66901         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
66902         in comment.
66904         [BZ #13851]
66905         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
66906         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
66907         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
66908         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
66909         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
66910         infinite argument.
66911         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
66912         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
66913         != 0 for prec == 2.
66914         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
66915         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
66916         * sysdeps/i386/fpu/s_cosl.S: Likewise.
66917         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
66918         * sysdeps/i386/fpu/s_sinl.S: Likewise.
66919         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
66920         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
66921         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
66922         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
66923         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
66924         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
66925         * math/libm-test.inc (cos_test): Add more tests and enable more
66926         tests for long double.
66927         (sin_test): Likewise.
66928         (sincos_test): Likewise.
66929         * sysdeps/i386/fpu/libm-test-ulps: Update.
66930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66932 2012-03-16  David S. Miller  <davem@davemloft.net>
66934         * sysdeps/sparc/fpu/math_private.h: New file.
66936 2012-03-15  David S. Miller  <davem@davemloft.net>
66938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
66939         file.
66940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
66941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
66942         file.
66943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
66944         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
66945         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
66946         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
66947         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
66948         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
66949         sysdep routines.
66950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66952         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
66953         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
66955         * sysdeps/sparc/sparc-ifunc.h: New file.
66956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
66957         sparc-ifunc.h
66958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
66960         Likewise.
66961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
66962         Likewise.
66963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
66964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
66965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66967         Likewise.
66968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
66970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
66972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
66973         Likewise.
66974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
66975         Likewise.
66976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
66978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
66979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
66980         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66981         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66982         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
66983         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
66984         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66985         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66986         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
66987         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
66988         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
66989         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
66990         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
66991         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
66992         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
66993         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
66994         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
66995         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
66996         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
66997         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
66998         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
66999         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
67001 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67003         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
67004         scaling.
67005         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67007 2012-03-15  Andreas Jaeger  <aj@suse.de>
67009         [BZ #13852]
67010         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
67011         ieee754/flt-32 implementation for sin, cos and sincos.
67012         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
67013         * sysdeps/i386/fpu/s_cosf.S: Likewise.
67014         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
67015         * sysdeps/i386/fpu/s_sinf.S: Likewise.
67016         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
67017         ieee754/flt-32 implementation for tan.
67019         * math/libm-test.inc (cos_test): Enable some large input tests for
67020         float as well
67021         (sin_test): Likewise.
67022         (sincos_test): Likewise.
67023         (tan_test): Add tests for large input.
67025         * sysdeps/i386/fpu/libm-test-ulps: Update.
67027 2012-03-15  Andreas Jaeger  <aj@suse.de>
67029         [BZ #13658]
67030         * math/libm-test.inc (cos_test): Add more test cases.
67031         (sin_test): Likewise.
67032         (sincos_test): Likewise.
67034 2012-03-15  Andreas Jaeger  <aj@suse.de>
67036         [BZ #13837]
67037         * math/libm-test.inc (cos_test): Add a test case for large input
67038         value.
67039         (sin_test): Likewise.
67040         (sincos_test): Likewise.
67042 2012-03-15  Andreas Jaeger  <aj@suse.de>
67043             Joseph Myers  <joseph@codesourcery.com>
67045         [BZ #13658]
67046         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
67047         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
67048         * sysdeps/i386/fpu/branred.c: Likewise.
67049         * sysdeps/i386/fpu/dosincos.c: Likewise.
67050         * sysdeps/i386/fpu/mpa.c: Likewise.
67051         * sysdeps/i386/fpu/s_cos.S: Likewise.
67052         * sysdeps/i386/fpu/s_sin.S: Likewise.
67053         * sysdeps/i386/fpu/s_sincos.S: Likewise.
67054         * sysdeps/i386/fpu/sincos32.c: Likewise.
67056         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
67057         Define.
67058         (libc_feupdateenv_53bit): Define.
67059         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
67060         Define.
67061         (libc_feupdateenv_53bit): Define.
67063         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
67064         53 bit (without extend i386 double precision).
67066         * math/libm-test.inc (sincos_test): Add tests for large input.
67067         (sin): Likewise.
67068         (cos): Likewise.
67070         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
67072 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67076 2012-03-15  David S. Miller  <davem@davemloft.net>
67078         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
67079         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
67080         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
67081         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
67082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
67083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
67084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
67085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
67086         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
67087         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
67088         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
67089         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
67090         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
67091         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
67092         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
67093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
67094         file.
67095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
67096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
67097         file.
67098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
67099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
67100         file.
67101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
67102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
67103         file.
67104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
67105         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
67106         fmin/fmax sysdep routines.
67107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67109 2012-03-14  David S. Miller  <davem@davemloft.net>
67111         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
67112         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
67113         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
67114         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
67115         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
67116         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
67117         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
67118         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
67119         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
67120         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
67121         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
67122         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
67123         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
67124         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
67125         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
67126         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
67127         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
67128         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
67129         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
67130         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
67131         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
67132         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
67133         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
67134         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
67135         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
67136         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
67137         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
67138         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
67139         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
67140         routines.
67141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
67142         file.
67143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
67144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
67145         file.
67146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
67147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
67148         file.
67149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
67150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
67151         file.
67152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
67153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
67154         file.
67155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
67156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
67157         file.
67158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
67159         file.
67160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
67161         file.
67162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
67163         file.
67164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
67165         New file.
67166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
67167         file.
67168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
67169         file.
67170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
67171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
67172         file.
67173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
67174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
67175         file.
67176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
67177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
67178         file.
67179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
67180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
67181         VIS3 routines.
67183         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
67184         New file.
67186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67188         * sysdeps/sparc/configure.in: New file.
67189         * sysdeps/sparc/configure: Generate.
67190         * configure.in (libc_cv_sparc_as_vis3): Substitute.
67191         * configure: Regenerate.
67192         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
67193         * config.make.in (have-as-vis3): New.
67194         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
67195         available use -Av9d instead of -Av9a.
67196         * sysdeps/sparc/sparc64/Makefile: Likewise.
67197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
67198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
67199         New file.
67200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
67201         file.
67202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
67203         New file.
67204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
67205         file.
67206         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
67207         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
67208         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
67209         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
67210         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
67212         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
67213         fzeros/fnegs to load 0x80000000 into a float register instead of
67214         using the stack.
67215         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
67217 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67219         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67220         bits/syscall.h.
67221         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
67222         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
67223         ($(inst_includedir)/bits/syscall.h): Remove rule.
67224         ($(objpfx)bits/syscall.d): Include instead of
67225         $(objpfx)syscall-list.d.
67226         (generated): Change syscall-list.h and syscall-list.d to
67227         bits/syscall.h and bits/syscall.d.
67229 2012-03-14  Roland McGrath  <roland@hack.frob.com>
67231         [BZ #13846]
67232         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
67234 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67236         [BZ #13841]
67237         * math/s_csqrt.c: Include <float.h>.
67238         (__csqrt): Scale large or subnormal inputs.
67239         * math/s_csqrtf.c: Likewise.
67240         * math/s_csqrtl.c: Likewise.
67241         * math/libm-test.inc (csqrt_test): Add more tests.
67242         * sysdeps/i386/fpu/libm-test-ulps: Update.
67243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67245         [BZ #13840]
67246         * math/libm-test.inc (hypot_test): Add more tests.
67248 2012-03-13  David S. Miller  <davem@davemloft.net>
67250         [BZ #13840]
67251         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
67252         double-precision for the calculation instead of scaling.
67254 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
67256         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
67257         manipulate bits before adding and subtracting TWO52[sx].
67258         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
67259         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
67260         Likewise.
67261         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
67263 2012-03-13  David S. Miller  <davem@davemloft.net>
67265         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
67266         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
67267         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
67268         rtld-global-offsets.h
67269         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67271         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
67272         large parameters.
67274         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
67276         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
67277         'err' in the ifdef scope in which it is actually used.
67279         * nss/nss_db/db-init.c: Include string.h
67281 2012-03-12  David S. Miller  <davem@davemloft.net>
67283         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67284         masking out of the most significant byte of random value used.
67285         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67286         Fix coding style in previous change.
67288         * sysdeps/unix/sysv/linux/kernel-features.h
67289         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
67290         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
67291         expression.
67292         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
67293         later.
67295 2012-03-11  David S. Miller  <davem@davemloft.net>
67297         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67298         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
67299         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
67300         for 'resultvar' otherwise things get truncated on 64-bit.
67302         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67303         Fix masking out of the most significant byte of random value used.
67305         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67307 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
67309         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67311 2012-03-09  David S. Miller  <davem@davemloft.net>
67313         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
67314         variables with appropriate CPP guards.
67315         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
67316         from the frame pointer, not the stack pointer.  Correct layout
67317         comments.  Fix test on resulting framesize and the management of
67318         the outregs buffer for pltexit.  Preserve floating point return
67319         values across _dl_call_pltexit call.
67320         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
67321         framesize and the management of the outregs buffer for pltexit.
67322         Preserve floating point return values across _dl_call_pltexit
67323         call.
67324         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
67325         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
67326         (la_sparc64_gnu_pltexit): New functions.
67327         (print_exit): Fix format string for return register value.
67329 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
67331         * sunrpc/Makefile (others): Add rpcgen.
67332         ($(objpfx)rpcgen): Remove special build rule and dependency on
67333         libc.
67334         * sunrpc/rpcgen.c: New file.
67336 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
67338         [BZ #13673]
67339         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
67340         * stdio-common/bug-vfprintf-nargs.c: Likewise.
67341         * sysdeps/i386/crti.S: Likewise.
67342         * sysdeps/i386/crtn.S: Likewise.
67343         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
67344         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
67345         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
67346         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
67347         * sysdeps/sh/crti.S: Likewise.
67348         * sysdeps/sh/crtn.S: Likewise.
67349         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67351         [BZ #13673]
67352         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
67353         with URL.
67354         * locale/programs/locfile-kw.gperf: Likewise.
67355         * locale/programs/charmap-kw.h: Regenerated.
67356         * locale/programs/locfile-kw.h: Likewise.
67358         [BZ #13673]
67359         * intl/plural.y: Replace FSF snail mail address with URL.
67360         * intl/plural.c: Regenerated.
67362 2012-03-09  Richard Henderson  <rth@twiddle.net>
67364         * include/math_private.h: Remove file.
67365         * math/math_private.h: Move file ...
67366         * sysdeps/generic/math_private.h: ... here.
67368         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
67369         * sysdeps/powerpc/fpu/math_private.h: Likewise.
67370         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67372         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
67373         and <math_private.h>.
67374         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67375         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67376         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67377         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67378         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67379         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
67380         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67381         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67382         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67383         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67384         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67385         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67386         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67387         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67388         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67389         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67390         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67391         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67392         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67393         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67394         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67395         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67396         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67397         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67398         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
67399         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67400         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67401         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67402         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67403         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67404         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67405         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67406         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
67407         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67408         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67409         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67410         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67411         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67412         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67413         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67414         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
67415         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67416         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67417         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
67418         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
67419         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67420         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
67421         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
67422         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67423         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67424         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
67425         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
67426         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
67427         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67428         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
67429         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67430         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67431         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
67432         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
67433         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
67434         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67435         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
67436         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67437         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67438         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
67439         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67440         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67441         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67442         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
67443         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
67444         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67445         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67446         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67447         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67448         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
67449         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
67450         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
67451         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67452         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
67453         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
67454         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67455         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
67456         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67457         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67458         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67459         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
67460         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
67461         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
67462         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67463         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67464         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67465         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67466         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67467         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67468         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67469         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67470         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67471         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67472         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67473         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67474         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67475         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67476         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67477         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67478         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
67479         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67480         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67481         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67482         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
67483         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
67484         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
67485         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
67486         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67487         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
67488         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
67489         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67490         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
67491         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67492         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
67493         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67494         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
67495         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
67496         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67497         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
67498         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
67499         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
67500         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67501         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
67502         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
67503         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
67504         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
67505         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67506         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67507         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
67508         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
67509         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67510         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67511         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67512         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
67513         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67514         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67515         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67516         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67517         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
67518         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
67519         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67520         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67521         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67522         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
67523         * sysdeps/ieee754/k_standard.c: Likewise.
67524         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67525         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67526         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67527         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67528         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67529         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67530         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67531         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67532         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67533         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67534         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67535         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67536         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67537         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67538         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67539         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67540         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
67541         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67542         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67543         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
67544         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
67545         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
67546         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67547         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67548         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
67549         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
67550         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67551         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67552         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67553         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67554         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
67555         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67556         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67557         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67558         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
67559         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67560         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67561         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
67562         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
67563         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67564         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
67565         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
67566         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
67567         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67568         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
67569         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
67570         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67571         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67572         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67573         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67574         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67575         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
67576         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67577         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
67578         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67579         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67580         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
67581         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
67582         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67583         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67584         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67585         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
67586         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67587         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67588         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67589         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67590         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67591         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67592         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67593         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67594         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67595         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67596         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67597         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67598         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67599         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67600         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
67601         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67602         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67603         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
67604         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
67605         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
67606         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67607         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67608         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
67609         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67610         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67611         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
67612         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
67613         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67614         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
67615         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67616         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
67617         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
67618         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67619         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67620         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
67621         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
67622         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
67623         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
67624         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67625         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67626         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67627         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67628         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
67629         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67630         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67631         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
67632         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
67633         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67634         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67635         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67636         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67637         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67638         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67639         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67640         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67641         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67642         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67643         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67644         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67645         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67646         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67647         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67648         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67649         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
67650         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67651         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67652         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67653         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67654         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67655         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67656         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67657         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
67658         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67659         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67660         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
67661         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
67662         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67663         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
67664         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
67665         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67666         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
67667         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
67668         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67669         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67670         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67671         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67672         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67673         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
67674         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67675         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67676         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67677         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67678         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
67679         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
67680         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67681         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67682         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67683         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
67684         * sysdeps/ieee754/s_lib_version.c: Likewise.
67685         * sysdeps/ieee754/s_matherr.c: Likewise.
67686         * sysdeps/ieee754/s_signgam.c: Likewise.
67687         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67688         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67689         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
67690         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
67691         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
67692         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67693         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
67694         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
67695         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
67696         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
67697         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
67698         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
67699         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67700         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67701         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
67702         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
67703         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67704         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
67705         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67706         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
67707         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
67709 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67711         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
67712         * sunrpc/rpc_main.c: Likewise.
67713         * sunrpc/rpc_svcout.c: Likewise.
67715 2012-03-09  David S. Miller  <davem@davemloft.net>
67717         * include/math_private.h: New file.
67719 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67721         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
67722         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
67723         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
67724         from <bits/socket_type.h>.
67725         (enum __socket_type): Don't define here.
67726         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
67727         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67728         bits/socket_type.h.
67730         [BZ #13566]
67731         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
67732         checking __USE_GNU.
67734         * Makerules ($(inst_includedir)/%.h): New rule.
67735         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
67736         (install-others): Remove variable setting.
67737         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
67739 2012-03-08  Richard Henderson  <rth@twiddle.net>
67741         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
67742         from macro to inline function; merge with the
67743         !__LIBC_INTERNAL_MATH_INLINES version.
67744         (__ieee754_sqrtf): Likewise.
67746         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
67747         to inline function.
67748         (__rintf, __floor, __floorf): Likewise.
67750         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
67751         macro to inline function.
67752         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
67754         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
67755         not <math/math_private.h>.
67757 2012-03-08  David S. Miller  <davem@davemloft.net>
67759         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
67760         copyright year.
67761         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
67763 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
67765         * resolv/gai_misc.c (handle_requests): Fix struct timespec
67766         normalization.
67767         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
67768         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
67770 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
67772         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
67773         be defined individually, they must be defined as a block.  Define
67774         S for printing a string instead of hidint the different by using a
67775         macro for adding the 'l'.
67776         * stdio-common/tst-fphex-wide.c: Adjust.
67778 2012-03-07  Marek Polacek  <polacek@redhat.com>
67780         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
67782 2012-03-08  Marek Polacek  <polacek@redhat.com>
67784         [BZ #13806]
67785         * stdio-common/Makefile (tests): Add tst-fphex-wide.
67786         * stdio-common/tst-fphex.c: Define a few macros to make the
67787         test reusable.  Use them.
67788         * stdio-common/tst-fphex-wide.c: New file.
67790 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
67792         [BZ #6911]
67793         * manual/macros.texi (gnusystems): New macro.
67794         (nongnusystems): Likewise.
67795         (gnulinuxhurdsystems): Likewise.
67796         (gnuhurdsystems): Likewise..
67797         (gnulinuxsystems): Likewise.
67798         * manual/charset.texi: Use new macros or @theglibc{} to refer to
67799         variants of the GNU system, not "GNU system".
67800         * manual/conf.texi: Likewise.
67801         * manual/errno.texi: Likewise.  Update example of errno macro
67802         expansion.
67803         * manual/filesys.texi: Likewise.
67804         (getumask): Document as specific to GNU/Hurd.
67805         * manual/install.texi: Likewise.  Reword some references to
67806         GNU/Linux.
67807         * manual/intro.texi: Likewise.
67808         * manual/io.texi: Likewise.
67809         (File Name Portability): Detail which constraints are inapplicable
67810         to all GNU systems and which are only inapplicable to GNU/Hurd.
67811         * manual/job.texi: Likewise.
67812         * manual/llio.texi: Likewise.
67813         (O_NOCTTY): Document as present on GNU/Linux.
67814         * manual/maint.texi: Likewise.
67815         * manual/memory.texi: Likewise.
67816         * manual/pattern.texi: Likewise.
67817         * manual/pipe.texi: Likewise.
67818         * manual/process.texi: Likewise.
67819         * manual/resource.texi: Likewise.
67820         (RUSAGE_CHILDREN): Remove statement about specifying a particular
67821         child on GNU/Hurd.
67822         * manual/setjmp.texi: Likewise.
67823         * manual/signal.texi: Likewise.
67824         * manual/startup.texi: Likewise.
67825         * manual/stdio.texi: Likewise.
67826         * manual/terminal.texi: Likewise.
67827         (ONLCR): Document as POSIX.
67828         (OXTABS): Document availability on GNU/Linux as XTABS.
67829         (ONOEOT): Document availability separately from other bits.
67830         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
67831         * manual/time.texi: Likewise.
67832         * manual/users.texi: Likewise.
67833         * INSTALL: Regenerated.
67834         * sysdeps/gnu/errlist.c: Regenerated.
67836         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
67837         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
67838         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
67839         puts.
67840         * configure: Regenerated.
67842 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
67844         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
67845         default includes instead of AC_HEADER_CHECK.
67846         * sysdeps/i386/configure: Regenerated.
67848         [BZ #10716]
67849         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
67850         * math/s_cacoshf.c (__cacoshf): Likewise.
67851         * math/s_cacoshl.c (__cacoshl): Likewise.
67852         * math/s_casinh.c (__casinh): Set signs of result from argument.
67853         * math/s_casinhf.c (__casinhf): Likewise.
67854         * math/s_casinhl.c (__casinhl): Likewise.
67855         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
67856         (casinh_test): Add more tests.
67857         * sysdeps/i386/fpu/libm-test-ulps: Update.
67858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67860 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
67862         * po/zh_TW.po: Update from translation team.
67864         * login/Makefile (distribute): Remove variable.
67865         * catgets/Makefile: Likewise.
67866         * mach/Makefile: Likewise.
67867         * malloc/Makefile: Likewise.
67868         * misc/Makefile: Likewise.
67869         * iconv/Makefile: Likewise.
67870         * nscd/Makefile: Likewise.
67871         * hurd/Makefile: Likewise.
67872         * manual/Makefile: Likewise.
67873         * locale/Makefile: Likewise.
67874         * intl/Makefile: Likewise.
67875         * conform/Makefile: Likewise.
67876         * nss/Makefile: Likewise.
67877         * time/Makefile: Likewise.
67878         * soft-fp/Makefile: Likewise.
67879         * dirent/Makefile: Likewise.
67880         * gmon/Makefile: Likewise.
67881         * po/Makefile: Likewise.
67882         * rt/Makefile: Likewise.
67883         * socket/Makefile: Likewise.
67884         * math/Makefile: Likewise.
67885         * signal/Makefile: Likewise.
67886         * debug/Makefile: Likewise.
67887         * elf/Makefile: Likewise.
67888         * timezone/Makefile: Likewise.
67889         * stdlib/Makefile: Likewise.
67890         * iconvdata/Makefile: Likewise.
67891         * sunrpc/Makefile: Likewise.
67892         * io/Makefile: Likewise.
67893         * argp/Makefile: Likewise.
67894         * inet/Makefile: Likewise.
67895         * hesiod/Makefile: Likewise.
67896         * grp/Makefile: Likewise.
67897         * csu/Makefile: Likewise.
67898         * wctype/Makefile: Likewise.
67899         * crypt/Makefile: Likewise.
67900         * libio/Makefile: Likewise.
67901         * string/Makefile: Likewise.
67902         * nis/Makefile: Likewise.
67903         * resolv/Makefile: Likewise.
67904         * stdio-common/Makefile: Likewise.
67905         * wcsmbs/Makefile: Likewise.
67906         * dlfcn/Makefile: Likewise.
67907         * posix/Makefile: Likewise.
67909         [BZ #6959]
67910         * timezone/Makefile: Don't install timezone files, just the programs
67911         and scripts.
67913 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
67915         * nss/databases.def: Add missing gshadow entry.
67917         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
67919 2012-03-06  Marek Polacek  <polacek@redhat.com>
67921         [BZ #13726]
67922         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
67923         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
67924         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
67925         * stdio-common/tst-long-dbl-fphex.c: New file.
67927 2012-03-06  David S. Miller  <davem@davemloft.net>
67929         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67930         (set_obp_int): New function.
67931         (get_obp_int): New function.
67932         (__get_clockfreq_via_dev_openprom): Likewise.
67933         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
67934         Avoid unused variable warnings on 'val' and use builtin_expect.
67935         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
67936         __builtin_expect.
67937         (INLINE_CLONE_SYSCALL): Likewise.
67939 2012-03-05  David S. Miller  <davem@davemloft.net>
67941         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67943 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
67945         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67947         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
67948         only for |x| >= 40.
67949         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67951 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
67953         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
67954         Replace gettimeofday with __vdso_gettimeofday.
67956         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67957         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
67958         __vdso_clock_gettime and __vdso_getcpu.
67960         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
67961         time with __vdso_time.
67963 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67965         * manual/lang.texi (size_t): Note types to which size_t may be
67966         equivalent with the GNU C Library, but do not describe when
67967         differences between them are significant.
67969 2012-03-05  Andreas Jaeger  <aj@suse.de>
67971         * sysdeps/i386/fpu/libm-test-ulps: Update.
67973 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67975         [BZ #3976]
67976         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
67977         (__ieee754_pow): Save and restore rounding mode and use
67978         round-to-nearest for main computations.
67979         * math/libm-test.inc (pow_test_tonearest): New function.
67980         (pow_test_towardzero): Likewise.
67981         (pow_test_downward): Likewise.
67982         (pow_test_upward): Likewise.
67983         (main): Call the new functions.
67984         * sysdeps/i386/fpu/libm-test-ulps: Update.
67985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67987         [BZ #3976]
67988         * math/libm-test.inc (cosh_test_tonearest): New function.
67989         (cosh_test_towardzero): Likewise.
67990         (cosh_test_downward): Likewise.
67991         (cosh_test_upward): Likewise.
67992         (sinh_test_tonearest): Likewise.
67993         (sinh_test_towardzero): Likewise.
67994         (sinh_test_downward): Likewise.
67995         (sinh_test_upward): Likewise.
67996         (main): Call the new functions.
67997         * sysdeps/i386/fpu/libm-test-ulps: Update.
67998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68000 2012-03-05  Tom de Vries  <tom@codesourcery.com>
68002         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
68003         default stack guard is set in last bytes.
68004         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
68006 2012-03-05  Kees Cook  <keescook@chromium.org>
68008         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
68010         [BZ #13656]
68011         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
68012         possibly allocate from heap instead of stack.
68013         * stdio-common/bug-vfprintf-nargs.c: New file.
68014         * stdio-common/Makefile (tests): Add nargs overflow test.
68016 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
68018         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68020 2012-03-03  Marek Polacek  <polacek@redhat.com>
68022         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
68023         * math/math_private.h: Likewise.
68024         * stdlib/tst-strtod.c: Likewise.
68025         * sysdeps/i386/i486/bits/atomic.h: Likewise.
68026         * sysdeps/x86_64/bits/atomic.h: Likewise.
68028 2012-03-02  David S. Miller  <davem@davemloft.net>
68030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
68031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
68032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
68033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
68034         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
68035         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
68036         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
68037         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
68039 2012-03-02  Roland McGrath  <roland@hack.frob.com>
68041         [BZ #13792]
68042         * manual/examples/README: New file, says the example source files
68043         can be used under GPL>=2.
68044         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
68045         line containing just "*/".
68046         * manual/examples/add.c: Add copyright header (GPL>=2).
68047         * manual/examples/argp-ex1.c: Likewise.
68048         * manual/examples/argp-ex2.c: Likewise.
68049         * manual/examples/argp-ex3.c: Likewise.
68050         * manual/examples/argp-ex4.c: Likewise.
68051         * manual/examples/atexit.c: Likewise.
68052         * manual/examples/db.c: Likewise.
68053         * manual/examples/dir.c: Likewise.
68054         * manual/examples/dir2.c: Likewise.
68055         * manual/examples/execinfo.c: Likewise.
68056         * manual/examples/filecli.c: Likewise.
68057         * manual/examples/filesrv.c: Likewise.
68058         * manual/examples/fmtmsgexpl.c: Likewise.
68059         * manual/examples/genpass.c: Likewise.
68060         * manual/examples/inetcli.c: Likewise.
68061         * manual/examples/inetsrv.c: Likewise.
68062         * manual/examples/isockad.c: Likewise.
68063         * manual/examples/longopt.c: Likewise.
68064         * manual/examples/memopen.c: Likewise.
68065         * manual/examples/memstrm.c: Likewise.
68066         * manual/examples/mkfsock.c: Likewise.
68067         * manual/examples/mkisock.c: Likewise.
68068         * manual/examples/mygetpass.c: Likewise.
68069         * manual/examples/pipe.c: Likewise.
68070         * manual/examples/popen.c: Likewise.
68071         * manual/examples/rprintf.c: Likewise.
68072         * manual/examples/search.c: Likewise.
68073         * manual/examples/select.c: Likewise.
68074         * manual/examples/setjmp.c: Likewise.
68075         * manual/examples/sigh1.c: Likewise.
68076         * manual/examples/sigusr.c: Likewise.
68077         * manual/examples/stpcpy.c: Likewise.
68078         * manual/examples/strdupa.c: Likewise.
68079         * manual/examples/strftim.c: Likewise.
68080         * manual/examples/strncat.c: Likewise.
68081         * manual/examples/subopt.c: Likewise.
68082         * manual/examples/swapcontext.c: Likewise.
68083         * manual/examples/termios.c: Likewise.
68084         * manual/examples/testopt.c: Likewise.
68085         * manual/examples/testpass.c: Likewise.
68086         * manual/examples/timeval_subtract.c: Likewise.
68088         [BZ #13792]
68089         * manual/time.texi (Elapsed Time): Move timeval_subtract example
68090         function to ...
68091         * manual/timeval_subtract.c.texi: ... here, new file.
68093 2012-03-02  David S. Miller  <davem@davemloft.net>
68095         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
68097 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
68099         [BZ #3976]
68100         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
68101         (__sin): Save and restore rounding mode and use round-to-nearest
68102         for all computations.
68103         (__cos): Save and restore rounding mode and use round-to-nearest
68104         for all computations.
68105         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
68106         <fenv.h>.
68107         (tan): Save and restore rounding mode and use round-to-nearest for
68108         all computations.
68109         * math/libm-test.inc (cos_test_tonearest): New function.
68110         (cos_test_towardzero): Likewise.
68111         (cos_test_downward): Likewise.
68112         (cos_test_upward): Likewise.
68113         (sin_test_tonearest): Likewise.
68114         (sin_test_towardzero): Likewise.
68115         (sin_test_downward): Likewise.
68116         (sin_test_upward): Likewise.
68117         (tan_test_tonearest): Likewise.
68118         (tan_test_towardzero): Likewise.
68119         (tan_test_downward): Likewise.
68120         (tan_test_upward): Likewise.
68121         (main): Call the new functions.
68122         * sysdeps/i386/fpu/libm-test-ulps: Update.
68123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68125         [BZ #10135]
68126         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
68127         small n, then large n, before computing and testing k+n.
68128         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
68129         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
68130         Likewise.
68131         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
68132         Likewise.
68133         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
68134         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
68135         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
68136         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
68137         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
68138         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
68139         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
68140         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
68141         * math/libm-test.inc (scalbn_test): Add more tests.
68142         (scalbln_test): Likewise.
68144         * manual/filesys.texi (mode_t): Describe constraints on size and
68145         signedness, not exact equivalence to a particular type.
68146         (ino_t): Likewise.
68147         (ino64_t): Likewise.
68148         (dev_t): Likewise.
68149         (nlink_t): Likewise.
68150         (blkcnt_t): Likewise.
68151         (blkcnt64_t): Likewise.
68152         * manual/llio.texi (off_t): Likewise.
68154         [BZ #3976]
68155         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
68156         (__ieee754_exp): Save and restore rounding mode and use
68157         round-to-nearest for all computations.
68158         * math/libm-test.inc (exp_test_tonearest): New function.
68159         (exp_test_towardzero): Likewise.
68160         (exp_test_downward): Likewise.
68161         (exp_test_upward): Likewise.
68162         (main): Call the new functions.
68163         * sysdeps/i386/fpu/libm-test-ulps: Update.
68164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68166 2012-03-01  Chris Demetriou  <cgd@google.com>
68168         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
68169         have predictable order.
68171 2012-03-01  David S. Miller  <davem@davemloft.net>
68173         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
68175         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
68176         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
68177         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
68178         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
68180         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
68181         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
68182         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
68183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
68184         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
68185         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
68186         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
68187         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
68188         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
68190         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68192         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
68193         * sysdeps/sparc/fpu/libm-test-ulps: to here.
68194         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
68196         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
68197         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68198         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68199         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
68200         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
68201         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
68202         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
68203         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68204         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68205         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
68206         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
68207         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68208         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68209         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68210         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68211         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68212         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
68213         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
68214         * sysdeps/sparc/elf/configure: Regenerated.
68216 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
68218         * configure.in (AS, LD): Require binutils 2.20 or later.
68219         * configure: Regenerated.
68220         * manual/install.texi (Tools for Compilation): Give binutils 2.20
68221         as required minimum version.
68222         * INSTALL: Regenerated.
68224         [BZ #2541]
68225         [BZ #4108]
68226         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
68227         before squaring exponent.
68228         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
68229         bottom long double and 27 bits of top long double before squaring
68230         exponent.
68231         * math/libm-test.inc (erfc_test): Add more tests.
68232         * sysdeps/i386/fpu/libm-test-ulps: Update.
68233         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68236 2012-03-01  Kai Tietz  <ktietz@redhat.com>
68238         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
68239         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
68240         containing bit-fields.
68241         * soft-fp/extended.h (_FP_UNION_E): Likewise.
68242         * soft-fp/single.h (_FP_UNION_S): Likewise.
68243         * soft-fp/double.h (_FP_UNION_D): Likewise.
68245 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68247         [BZ #13786]
68248         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
68249         not include ../strcmp.S.
68250         [USE_AS_STRNCASECMP_L]: Likewise.
68251         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
68252         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
68253         * sysdeps/i386/i686/multiarch/strncase_l-c.c
68254         (__strncasecmp_l_ia32): Define as alias to
68255         __strncasecmp_l_nonascii.
68257         [BZ #5794]
68258         * math/libm-test.inc (expm1_test): Add test for bug 5794.
68259         * sysdeps/i386/fpu/libm-test-ulps: Update.
68260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68262         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
68263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68265 2012-02-29  Jeff Law  <law@redhat.com>
68267         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
68268         out of bounds read.
68270 2012-02-29  Marek Polacek  <polacek@redhat.com>
68272         [BZ #13706]
68273         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
68274         * elf/Makefile: Add rules to run tst-unused-dep.out.
68276 2012-02-28  David S. Miller  <davem@davemloft.net>
68278         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
68279         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
68280         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
68281         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
68282         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
68283         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
68285 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68287         * math/libm-test.inc (llround_test): Move one test from
68288         lround_test.  Use TEST_f_L in moved test.
68289         (lround_test): Move misplaced test to llround_test.  Add testcase
68290         from bug 2561.
68292 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
68294         * sysdeps/x86_64/fpu/e_expf.S: New file.
68295         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
68297 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
68299         [BZ #13637]
68300         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
68301         of remain_len that may cause incomplete multi-byte character and
68302         false match.
68303         * posix/bug-regex33.c: New file.
68304         * posix/Makefile (tests): Add bug-regex33.
68306 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
68308         * manual/macros.texi: New file.
68309         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
68310         * manual/libc.texinfo: Include macros.texi.
68311         * manual/creatute.texi: Likewise.
68312         * manual/install.texi: Likewise.
68313         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
68314         @glibcadj{} in references to the GNU C Library.
68315         * manual/charset.texi: Likewise.
68316         * manual/conf.texi: Likewise.
68317         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
68318         when not using those macros.
68319         * manual/creature.texi: Likewise.
68320         * manual/crypt.texi: Likewise.
68321         * manual/errno.texi: Likewise.
68322         * manual/filesys.texi: Likewise.
68323         * manual/header.texi: Likewise.
68324         * manual/install.texi: Likewise.
68325         * manual/intro.texi: Likewise.
68326         * manual/io.texi: Likewise.
68327         * manual/job.texi: Likewise.
68328         * manual/lang.texi: Likewise.
68329         * manual/libc.texiinfo: Likewise.
68330         * manual/llio.texi: Likewise.
68331         * manual/locale.texi: Likewise.
68332         * manual/maint.texi: Likewise.
68333         * manual/math.texi: Likewise.
68334         * manual/memory.texi: Likewise.
68335         * manual/message.texi: Likewise.
68336         * manual/nss.texi: Likewise.
68337         * manual/pattern.texi: Likewise.
68338         * manual/process.texi: Likewise.
68339         * manual/resource.texi: Likewise.
68340         * manual/search.texi: Likewise.
68341         * manual/setjmp.texi: Likewise.
68342         * manual/signal.texi: Likewise.
68343         * manual/socket.texi: Likewise.
68344         * manual/startup.texi: Likewise.
68345         * manual/stdio.texi: Likewise.
68346         * manual/string.texi: Likewise.
68347         * manual/sysinfo.texi: Likewise.
68348         * manual/syslog.texi: Likewise.
68349         * manual/terminal.texi: Likewise.
68350         * manual/time.texi: Likewise.
68351         * manual/users.texi: Likewise.
68352         * INSTALL: Regenerated.
68353         * NOTES: Regenerated.
68354         * sysdeps/gnu/errlist.c: Regenerated.
68356 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
68358         * include/dirent.h: Include <dirstream.h> before
68359         <dirent/dirent.h>.
68361 2012-02-28  David S. Miller  <davem@davemloft.net>
68363         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
68364         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
68365         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
68366         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
68368 2012-02-27  David S. Miller  <davem@davemloft.net>
68370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
68371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
68372         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
68373         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
68375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
68376         frame pointer instead of stack pointer relative arg slot.
68377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68378         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68379         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68381 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
68383         [BZ #3992]
68384         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
68386 2012-02-27  David S. Miller  <davem@davemloft.net>
68388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
68389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68391         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
68392         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68393         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68394         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
68395         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
68397 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68399         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
68400         later.  Allow versions 5-9.
68401         * configure: Regenerated.
68402         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
68403         required minimum version and 4.6 as recommended version.  Do not
68404         mention bugs in GCC 2.7 and 2.8.
68405         * INSTALL: Regenerated.
68407 2012-02-27  David S. Miller  <davem@davemloft.net>
68409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
68410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
68411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
68412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
68413         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
68414         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
68415         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
68416         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
68418         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
68419         manipulate bits before adding and subtracting TWO112[sx].
68420         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68422 2012-02-27  Roland McGrath  <roland@hack.frob.com>
68424         [BZ #13775]
68425         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
68426         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
68427         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
68428         being in POSIX, because they are in 1003.1-2008.
68430         * rt/tst-aio.c: Include <fcntl.h>.
68431         * rt/tst-aio7.c: Likewise.
68432         * rt/tst-aio64.c: Likewise.
68434         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
68436 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68438         * manual/install.texi (--with-headers): Describe headers as
68439         interface headers, not private headers.
68440         (Specific advice for GNU/Linux systems): Describe use of headers
68441         from "make headers_install", not private headers from older
68442         kernels.
68443         * INSTALL: Regenerated.
68444         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
68445         Change to 2.6.19.
68446         * sysdeps/unix/sysv/linux/configure: Regenerated.
68448         * manual/llio.texi (fclean): Remove documentation.
68450         * manual/Makefile (libc-texi-generated): New variable.  Include
68451         version.texi.
68452         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
68453         $(libc-texi-generated), not duplicated list of files.
68454         (version.texi, stamp-version): New rules.
68455         (realclean): Remove $(libc-texi-generated), not individual files
68456         from that list.  Do not remove dir-add.texinfo.
68457         * manual/libc.texinfo: Comment out uses of edition numbers and
68458         references to printed manual.  Remove last-updated dates.
68459         (EDITION): Comment out.
68460         (ISBN): Likewise.
68461         (VERSION, UPDATED): Remove.
68462         (version.texi): Include.
68464 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
68466         * sysdeps/posix/spawni.c: Include <signal.h>.
68467         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
68468         * sysdeps/pthread/aio_fsync.c: Likewise.
68470 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
68472         * conform/Makefile (tests): Run only when not cross-compiling and
68473         when fast-check is not defined.
68475         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
68476         * conform/data/limits.h-data: Fixes for POSIX2008.
68477         * conform/run-conformtest.sh: Run all tests.
68478         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
68479         headers.
68480         * include/bits/dlfcn.h: Likewise.
68481         * include/langinfo.h: Likewise.
68482         * include/monetary.h: Likewise.
68483         * include/sys/poll.h: Likewise.
68485         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
68486         for __USE_GNU.
68487         * posix/spawn.h: Define __need_sigset_t.
68488         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
68489         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
68490         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
68491         to get sigevent_t only.
68492         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
68493         only for __USE_GNU.
68494         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68495         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68496         process_vm_writev only for __USE_GNU.
68497         * termios/termios.h: Declare tcgetsid also for POSIX2008.
68499         * conform/Makefile: For now ignore errors from run-conformtest.
68500         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
68501         POSIX to avoid namespace pollution.  Don't prepend headers.
68502         * conform/data/aio.h-data: Fixes for POSIX testing.
68503         * conform/data/fcntl.h-data: Likewise.
68504         * conform/data/glob.h-data: Likewise.
68505         * conform/data/grp.h-data: Likewise.
68506         * conform/data/pthread.h-data: Likewise.
68507         * conform/data/pwd.h-data: Likewise.
68508         * conform/data/signal.h-data: Likewise.
68509         * conform/data/spawn.h-data: Likewise.
68510         * conform/data/stdio.h-data: Likewise.
68511         * conform/data/stdlib.h-data: Likewise.
68512         * conform/data/stropts.h-data: Likewise.
68513         * conform/data/sys/mman.h-data: Likewise.
68514         * conform/data/sys/stat.h-data: Likewise.
68515         * conform/data/sys/types.h-data: Likewise.
68516         * conform/data/sys/wait.h-data: Likewise.
68517         * conform/data/time.h-data: Likewise.
68518         * conform/data/unistd.h-data: Likewise.
68519         * conform/data/utime.h-data: Likewise.
68521         * io/sys/stat.h: fchmod was always in POSIX.
68522         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
68523         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
68524         * rt/aio.h: Define __need_timespec before including <time.h>.
68525         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
68526         struct.  Add forward declaration of pthread_attr_t and use it in
68527         sigevent.
68528         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68529         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68530         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
68531         always remove CLK_TCK definition.
68533 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
68535         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
68537 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
68539         * conform/run-conformtest.sh: New file.
68540         * conform/Makefile: Run run-conformtest for tests.
68541         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
68542         support.
68544         * conform/data/uchar.h-data: New file.
68545         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
68546         * conform/data/arpa/inet.h-data: Likewise.
68547         * conform/data/assert.h-data: Likewise.
68548         * conform/data/complex.h-data: Likewise.
68549         * conform/data/cpio.h-data: Likewise.
68550         * conform/data/ctype.h-data: Likewise.
68551         * conform/data/dirent.h-data: Likewise.
68552         * conform/data/dlfcn.h-data: Likewise.
68553         * conform/data/errno.h-data: Likewise.
68554         * conform/data/fcntl.h-data: Likewise.
68555         * conform/data/float.h-data: Likewise.
68556         * conform/data/fmtmsg.h-data: Likewise.
68557         * conform/data/fnmatch.h-data: Likewise.
68558         * conform/data/ftw.h-data: Likewise.
68559         * conform/data/glob.h-data: Likewise.
68560         * conform/data/grp.h-data: Likewise.
68561         * conform/data/iconv.h-data: Likewise.
68562         * conform/data/inttypes.h-data: Likewise.
68563         * conform/data/langinfo.h-data: Likewise.
68564         * conform/data/libgen.h-data: Likewise.
68565         * conform/data/limits.h-data: Likewise.
68566         * conform/data/locale.h-data: Likewise.
68567         * conform/data/math.h-data: Likewise.
68568         * conform/data/monetary.h-data: Likewise.
68569         * conform/data/mqueue.h-data: Likewise.
68570         * conform/data/ndbm.h-data: Likewise.
68571         * conform/data/net/if.h-data: Likewise.
68572         * conform/data/netdb.h-data: Likewise.
68573         * conform/data/netinet/in.h-data: Likewise.
68574         * conform/data/nl_types.h-data: Likewise.
68575         * conform/data/poll.h-data: Likewise.
68576         * conform/data/pthread.h-data: Likewise.
68577         * conform/data/pwd.h-data: Likewise.
68578         * conform/data/regex.h-data: Likewise.
68579         * conform/data/sched.h-data: Likewise.
68580         * conform/data/search.h-data: Likewise.
68581         * conform/data/semaphore.h-data: Likewise.
68582         * conform/data/setjmp.h-data: Likewise.
68583         * conform/data/signal.h-data: Likewise.
68584         * conform/data/spawn.h-data: Likewise.
68585         * conform/data/stdarg.h-data: Likewise.
68586         * conform/data/stdio.h-data: Likewise.
68587         * conform/data/stdlib.h-data: Likewise.
68588         * conform/data/string.h-data: Likewise.
68589         * conform/data/strings.h-data: Likewise.
68590         * conform/data/stropts.h-data: Likewise.
68591         * conform/data/sys/ipc.h-data: Likewise.
68592         * conform/data/sys/mman.h-data: Likewise.
68593         * conform/data/sys/msg.h-data: Likewise.
68594         * conform/data/sys/resource.h-data: Likewise.
68595         * conform/data/sys/select.h-data: Likewise.
68596         * conform/data/sys/sem.h-data: Likewise.
68597         * conform/data/sys/shm.h-data: Likewise.
68598         * conform/data/sys/socket.h-data: Likewise.
68599         * conform/data/sys/stat.h-data: Likewise.
68600         * conform/data/sys/statvfs.h-data: Likewise.
68601         * conform/data/sys/time.h-data: Likewise.
68602         * conform/data/sys/timeb.h-data: Likewise.
68603         * conform/data/sys/times.h-data: Likewise.
68604         * conform/data/sys/types.h-data: Likewise.
68605         * conform/data/sys/uio.h-data: Likewise.
68606         * conform/data/sys/un.h-data: Likewise.
68607         * conform/data/sys/utsname.h-data: Likewise.
68608         * conform/data/sys/wait.h-data: Likewise.
68609         * conform/data/syslog.h-data: Likewise.
68610         * conform/data/tar.h-data: Likewise.
68611         * conform/data/termios.h-data: Likewise.
68612         * conform/data/utime.h-data: Likewise.
68613         * conform/data/utmpx.h-data: Likewise.
68614         * conform/data/varargs.h-data: Likewise.
68615         * conform/data/wchar.h-data: Likewise.
68616         * conform/data/wctype.h-data: Likewise.
68617         * conform/data/wordexp.h-data: Likewise.
68619         * include/stropts.h: New file.
68620         * include/uchar.h: New file.
68621         * include/aio.h: Changes to allow conformtest.pl to use the headers.
68622         * include/assert.h: Likewise.
68623         * include/ctype.h: Likewise.
68624         * include/dirent.h: Likewise.
68625         * include/dlfcn.h: Likewise.
68626         * include/fcntl.h: Likewise.
68627         * include/fnmatch.h: Likewise.
68628         * include/glob.h: Likewise.
68629         * include/grp.h: Likewise.
68630         * include/libio.h: Likewise.
68631         * include/locale.h: Likewise.
68632         * include/math.h: Likewise.
68633         * include/net/if.h: Likewise.
68634         * include/netdb.h: Likewise.
68635         * include/netinet/in.h: Likewise.
68636         * include/pthread.h: Likewise.
68637         * include/pwd.h: Likewise.
68638         * include/regex.h: Likewise.
68639         * include/sched.h: Likewise.
68640         * include/search.h: Likewise.
68641         * include/setjmp.h: Likewise.
68642         * include/signal.h: Likewise.
68643         * include/stdio.h: Likewise.
68644         * include/stdlib.h: Likewise.
68645         * include/string.h: Likewise.
68646         * include/sys/cdefs.h: Likewise.
68647         * include/sys/mman.h: Likewise.
68648         * include/sys/msg.h: Likewise.
68649         * include/sys/resource.h: Likewise.
68650         * include/sys/select.h: Likewise.
68651         * include/sys/socket.h: Likewise.
68652         * include/sys/stat.h: Likewise.
68653         * include/sys/statvfs.h: Likewise.
68654         * include/sys/time.h: Likewise.
68655         * include/sys/times.h: Likewise.
68656         * include/sys/uio.h: Likewise.
68657         * include/sys/utsname.h: Likewise.
68658         * include/sys/wait.h: Likewise.
68659         * include/termios.h: Likewise.
68660         * include/time.h: Likewise.
68661         * include/ulimit.h: Likewise.
68662         * include/unistd.h: Likewise.
68663         * include/utime.h: Likewise.
68664         * include/wchar.h: Likewise.
68665         * include/wctype.h: Likewise.
68666         * include/wordexp.h: Likewise.
68668         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
68670         * time/time.h: TIME_UTC must be a macro.
68671         Make timespec_get available for ISO C11 only as well.
68673 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
68675         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
68676         Reported by Peng Haitao <penght@cn.fujitsu.com>.
68678 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68680         * configure.in: Use -o not -a in test for unsupported multi-arch.
68682 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68684         * manual/texinfo.tex: Update to version 2012-01-19.16.
68686 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68688         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
68690 2012-02-24  Roland McGrath  <roland@hack.frob.com>
68692         [BZ #13738]
68693         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
68694         * manual/fdl-1.3.texi: New file.
68695         * manual/fdl-1.1.texi: File removed.
68697         [BZ #13738]
68698         * manual/libc.texinfo (FDL_VERSION): New @set.
68699         Use it for mention of FDL in cover text.
68700         (Documentation License): Use it in @include file name.
68702 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68703             Roland McGrath  <roland@hack.frob.com>
68705         [BZ #5461]
68706         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
68707         (not LONG_LONG_MAX and LONG_LONG_MIN.
68708         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
68709         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
68710         name.
68711         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
68713 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68715         [BZ #2547]
68716         [BZ #11365]
68717         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
68718         manipulate bits before adding and subtracting TWO23[sx].
68719         * math/libm-test.inc (nearbyint_test): Add more tests.
68721 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68723         [BZ #2548]
68724         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
68725         bits before adding and subtracting TWO23[sx].
68726         * math/libm-test.inc (rint_test): Add more tests.
68727         (rint_test_tonearest): Likewise.
68728         (rint_test_towardzero): Likewise.
68729         (rint_test_downward): Likewise.
68730         (rint_test_upward: Likewise.
68732 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68734         [BZ #10110]
68735         * include/stdc-predef.h: New file.  Extracted from features.h.
68736         * include/features.h: Include stdc-predef.h.
68737         * Makefile (headers): Add stdc-predef.h.
68738         * CONFORMANCE (Compiler limitations): Update.
68740 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68742         * manual/libc.texinfo (VERSION, UPDATED): Revert.
68744 2012-02-21  David S. Miller  <davem@davemloft.net>
68746         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
68747         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68749 2012-02-20  David S. Miller  <davem@davemloft.net>
68751         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
68752         using a normal save/restore sequence, rather than allocating a
68753         dummy stack frame just to store a frame pointer and restore.
68754         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68756 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68758         * manual/install.texi: Fix stray word in line-wrapped comment.
68760 2012-02-20  David S. Miller  <davem@davemloft.net>
68762         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
68763         both binutils and gcc support GOTDATA.
68765         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
68766         "rd %pc" in the PIC register setup sequences.
68768         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
68769         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
68770         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68771         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
68772         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68773         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68774         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68775         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68776         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
68777         (SYSCALL_ERROR_HANDLER): Likewise.
68778         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68779         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68780         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
68781         (SYSCALL_ERROR_HANDLER): Likewise.
68783         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
68784         (HAVE_GCC_GOTDATA): New.
68785         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
68786         relocation support in both binutils and gcc.
68787         * sysdeps/sparc/elf/configure: Regenerate.
68789         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
68790         * sysdeps/sparc/sparc32/elf/configure: Delete.
68791         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
68792         * sysdeps/sparc/sparc64/elf/configure: Delete.
68793         * sysdeps/sparc/elf/configure.in: New file.
68794         * sysdeps/sparc/elf/configure: Generate.
68796         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
68797         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
68798         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68799         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
68800         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
68802 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68804         * manual/install.texi: Do not mention specific glibc version
68805         numbers.
68806         * manual/libc.texinfo (VERSION, UPDATED): Update.
68807         (@copying): Use @copyright{} and range of years.
68809 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68811         [BZ #13695]
68812         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
68813         [crti.S not in sysdirs] (generated): Do not append.
68814         [crti.S not in sysdirs] (omit-deps): Likewise.
68815         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
68816         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
68817         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
68818         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
68819         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
68820         Likewise.
68821         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
68822         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
68823         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
68824         * csu/defs.awk: Remove file.
68825         * sysdeps/generic/initfini.c: Likewise.
68826         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
68827         variable.
68828         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
68829         Likewise.
68831 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68833         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
68834         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
68835         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
68836         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
68837         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68838         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
68839         <bits/epoll.h>.
68840         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
68841         (__EPOLL_PACKED): Define to empty if not defined by
68842         <bits/epoll.h>.
68843         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
68844         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68845         bits/epoll.h.
68847 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68849         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
68850         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
68851         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
68852         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
68853         <bits/timerfd.h>.
68854         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
68855         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68856         bits/timerfd.h.
68858 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68860         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
68861         in C locale.
68862         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68863         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
68864         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
68865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68867 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
68869         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68870         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68872 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
68874         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
68875         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
68876         defined.
68877         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
68878         Likewise.
68879         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
68880         entry for 2.16.
68882 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
68884         * math/w_acos.c: Use non-signaling floating-point comparisons.
68885         * math/w_acosf.c: Likewise.
68886         * math/w_acosh.c: Likewise.
68887         * math/w_acoshf.c: Likewise.
68888         * math/w_acoshl.c: Likewise.
68889         * math/w_acosl.c: Likewise.
68890         * math/w_asin.c: Likewise.
68891         * math/w_asinf.c: Likewise.
68892         * math/w_asinl.c: Likewise.
68893         * math/w_atanh.c: Likewise.
68894         * math/w_atanhf.c: Likewise.
68895         * math/w_atanhl.c: Likewise.
68896         * math/w_exp2.c: Likewise.
68897         * math/w_exp2f.c: Likewise.
68898         * math/w_exp2l.c: Likewise.
68899         * math/w_j0.c: Likewise.
68900         * math/w_j0f.c: Likewise.
68901         * math/w_j0l.c: Likewise.
68902         * math/w_j1.c: Likewise.
68903         * math/w_j1f.c: Likewise.
68904         * math/w_j1l.c: Likewise.
68905         * math/w_jn.c: Likewise.
68906         * math/w_jnf.c: Likewise.
68907         * math/w_log.c: Likewise.
68908         * math/w_log10.c: Likewise.
68909         * math/w_log10f.c: Likewise.
68910         * math/w_log10l.c: Likewise.
68911         * math/w_log2.c: Likewise.
68912         * math/w_log2f.c: Likewise.
68913         * math/w_log2l.c: Likewise.
68914         * math/w_logf.c: Likewise.
68915         * math/w_logl.c: Likewise.
68916         * math/w_sqrt.c: Likewise.
68917         * math/w_sqrtf.c: Likewise.
68918         * math/w_sqrtl.c: Likewise.
68919         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68920         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
68921         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68922         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68923         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68925 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68927         [BZ #9739]
68928         * manual/string.texi (strnlen): Use correct parameter name in
68929         equivalent expression.
68931 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68933         [BZ #11174]
68934         * manual/users.texi (seteuid): Consistently use neweuid for
68935         argument name.
68937 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68939         [BZ #13704]
68940         * manual/nss.texi (Services in the NSS configuration): Correct
68941         list of services in example configuration file.
68943 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
68945         [BZ #11322]
68946         * manual/arith.texi: Remove statements about negative zero
68947         behaving identically to zero.
68949 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68951         [BZ #5993]
68952         * manual/install.texi: Do not document upgrading from libc5.
68954 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68956         [BZ #4596]
68957         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
68959 2012-02-18  David S. Miller  <davem@davemloft.net>
68961         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
68962         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
68963         %o7 across the call.
68964         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
68965         instead.
68966         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
68967         SETUP_PIC_REG_LEAF.
68968         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68969         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
68970         * sysdeps/sparc/crtn.S: Likewise.
68972 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
68974         * aout/Makefile: Remove.
68976 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
68978         [BZ #13058]
68979         * manual/examples/argp-ex1.c (main): Format definition in GNU
68980         style.
68981         * manual/examples/argp-ex2.c (main): Likewise.
68982         * manual/examples/argp-ex3.c (main): Likewise.
68983         * manual/examples/argp-ex4.c (main): Likewise.
68984         * manual/examples/longopt.c (main): Use new-style prototype
68985         definition.
68986         * manual/examples/strncat.c (main): Specify return type and use
68987         (void) for arguments.
68988         * manual/examples/subopt.c (main): Use char **argv argument.
68990 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68992         [BZ #5077]
68993         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
68994         rounding modes.
68996 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
68998         [BZ #6907]
68999         * manual/string.texi (strchr): Change when strchrnul is
69000         recommended.
69002 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
69004         [BZ #174]
69005         * manual/locale.texi (setlocale): Document LOCPATH.
69007 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69009         [BZ #10210]
69010         * manual/process.texi (execle): Move @dots{} before last argument.
69012 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
69014         [BZ #12047]
69015         * manual/charset.texi (Generic Charset Conversion): Fix typo
69016         (LC_TYPE -> LC_CTYPE).
69018 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
69020         [BZ #5805]
69021         * manual/arith.texi (scalbn): Use @var{} on parameter names.
69022         (scalbnf): Likewise.
69023         (scalbnl): Likewise.
69024         (scalbln): Likewise.
69025         (scalblnf): Likewise.
69026         (scalblnl): Likewise.
69027         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
69028         (vwarnx): Likewise.
69029         (verr): Likewise.
69030         (verrx): Likewise.
69031         * manual/filesys.texi (telldir): Use braces around return type.
69032         * manual/llio.texi (mmap): Add space after comma.
69033         (mmap64): Likewise.
69034         * manual/math.texi (jn): Use @var{} on parameter names.
69035         (jnf): Likewise.
69036         (jnl): Likewise.
69037         (yn): Likewise.
69038         (ynf): Likewise.
69039         (ynl): Likewise.
69040         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
69041         line.
69042         * manual/resource.texi (ulimit): Use @dots{} instead of literal
69043         "...".
69044         (sched_get_priority_min): Remove semicolon on @deftypefun line.
69045         (sched_get_priority_max): Likewise.
69046         * manual/signal.texi (sigvec): Add space after comma.
69047         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
69048         names.
69049         (if_indextoname): Likewise.
69050         (if_freenameindex): Likewise.
69051         (sendto): Use ',' instead of '.' in prototype.
69052         * manual/startup.texi (syscall): Use @dots{} instead of literal
69053         "...".
69054         * manual/stdio.texi (__fpending): Separate initial words of
69055         paragraph from @deftypefun line.
69056         * manual/syslog.texi (syslog): Use @dots{} instead of literal
69057         "...".
69058         (vsyslog): Use @var{} on parameter names.
69059         * manual/terminal.texi (stty): Use @var{} on parameter names.
69060         * manual/users.texi (getutmp): Use @var{} on parameter names.
69061         (getutmpx): Likewise.
69063 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69065         [BZ #6884]
69066         * manual/stdio.texi (fopen): Fix typos in description of
69067         ",ccs=STRING".
69069 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
69071         [BZ #4026]
69072         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
69073         get clock_id definition.
69075 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
69077         [BZ #4822]
69078         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
69079         (madvise): Cast every argument to void on its own.
69081 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69083         [BZ #9902]
69084         * manual/startup.texi (Exit Status): Fix typo.
69086 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69088         [BZ #10140]
69089         * manual/examples/argp-ex1.c: Include <stdlib.h>.
69090         * manual/examples/argp-ex2.c: Likewise.
69091         * manual/examples/argp-ex3.c: Likewise.
69093 2012-02-16  Richard Henderson  <rth@redhat.com>
69095         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
69096         * sysdeps/s390/s390-32/initfini.c: Remove.
69097         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
69098         * sysdeps/s390/s390-64/initfini.c: Remove.
69100 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69102         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
69103         compiler output for sysdeps/generic/initfini.c.
69104         * sysdeps/sh/elf/initfini.c: Remove file.
69106 2012-02-16  David S. Miller  <davem@davemloft.net>
69108         [BZ #11494]
69109         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
69111         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
69112         * sysdeps/sparc/crti.S: New file.
69113         * sysdeps/sparc/crtn.S: New file.
69114         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
69115         * sysdeps/sparc/sparc64/Makefile: Likewise.
69117 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
69119         [BZ #3335]
69120         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
69122 2012-02-15  Roland McGrath  <roland@hack.frob.com>
69124         [BZ #4822]
69125         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
69127         * mach/devstream.c (cookie_io_functions_t): Macro removed.
69128         (write, read, close): Likewise.
69129         Patch by Aurelien Jarno <aurelien@aurel32.net>.
69131 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
69133         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
69134         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
69135         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
69136         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
69137         <bits/signalfd.h>.
69138         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
69139         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69140         bits/signalfd.h.
69142 2012-02-14  Marek Polacek  <polacek@redhat.com>
69144         * sysdeps/x86_64/crti.S: New file.
69145         * sysdeps/x86_64/crtn.S: New file.
69146         * sysdeps/x86_64/elf/initfini.c: Remove file.
69148 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69150         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
69151         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
69152         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
69153         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
69154         <bits/inotify.h>.
69155         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
69156         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69157         bits/inotify.h.
69159 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69161         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
69162         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
69163         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
69164         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
69165         <bits/eventfd.h>.
69166         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
69167         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69168         bits/eventfd.h.
69170 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
69172         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
69173         __feraiseexcept instead of feraiseexcept.
69175         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
69176         nanosleep invocations.
69177         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
69178         strings, and add error checking for a nanosleep invocations.
69180 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
69182         Replace FSF snail mail address with URLs, as per GNU coding standards.
69183         Most of the snail mail addresses were wrong anyway, and omitting
69184         them makes the source code easier to maintain.  Almost all of the
69185         changes are to license notices and to locale LC_IDENTIFICATION
69186         addresses, except for this one:
69187         * manual/libc.texinfo: In "Published by", give the FSF's URL,
69188         not its snail mail address.
69190 2012-02-09  Richard Henderson  <rth@twiddle.net>
69192         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
69193         of kernel-features.h.
69195         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
69197 2012-02-08  Marek Polacek  <polacek@redhat.com>
69199         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
69200         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
69201         * sysdeps/gnu/_G_config.h: Likewise.
69202         * sysdeps/generic/_G_config.h: Likewise.
69204 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
69206         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
69207         tests.
69208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69210         * sysdeps/powerpc/powerpc32/crti.S: New file.
69211         * sysdeps/powerpc/powerpc32/crtn.S: New file.
69212         * sysdeps/powerpc/powerpc64/crti.S: New file.
69213         * sysdeps/powerpc/powerpc64/crtn.S: New file.
69215         * Makeconfig (have-initfini): Don't set.
69216         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
69217         * configure.in (nopic_initfini): Don't substitute.
69218         * config.h.in (HAVE_INITFINI): Don't #undef.
69219         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
69220         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
69222 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
69224         Support crti.S and crtn.S provided directly by architectures.
69225         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
69226         [crti.S in sysdirs] (omit-deps): Likewise.
69227         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
69228         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
69229         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
69230         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
69231         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
69232         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
69233         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
69234         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
69235         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
69236         compiler output for sysdeps/generic/initfini.c.
69237         * sysdeps/i386/elf/Makefile: Remove file.
69238         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
69240 2012-02-07  Marek Polacek  <polacek@redhat.com>
69242         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
69243         * sysdeps/gnu/_G_config.h: Likewise.
69244         * sysdeps/mach/hurd/_G_config.h: Likewise.
69246 2012-02-07  Marek Polacek  <polacek@redhat.com>
69248         * math/Makefile (tests): Add tst-CMPLX2.
69249         * math/tst-CMPLX2.c: New file.
69251 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
69253         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69255         * math/libm-test.inc (jn_test): Add missing L suffix.
69257 2012-02-06  Marek Polacek  <polacek@redhat.com>
69259         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
69260         * sysdeps/i386/fpu/e_powf.S: Likewise.
69261         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69262         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69263         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69264         * sysdeps/i386/fpu/e_pow.S: Likewise.
69265         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69266         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69267         * sysdeps/i386/fpu/s_expm1.S: Likewise.
69268         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69269         * sysdeps/i386/fpu/e_log2.S: Likewise.
69270         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69271         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69272         * sysdeps/i386/fpu/e_powl.S: Likewise.
69273         * sysdeps/i386/fpu/s_log1p.S: Likewise.
69274         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69275         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69276         * sysdeps/i386/fpu/e_logl.S: Likewise.
69277         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69278         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
69279         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69280         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69281         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69282         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69283         * sysdeps/i386/fpu/e_log.S: Likewise.
69284         * sysdeps/i386/fpu/s_cexp.S: Likewise.
69285         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69286         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
69287         * sysdeps/i386/fpu/e_logf.S: Likewise.
69288         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69289         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69290         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
69291         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69292         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69293         * sysdeps/i386/fpu/e_log10.S: Likewise.
69294         * sysdeps/i386/fpu/s_frexp.S: Likewise.
69295         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69296         * sysdeps/i386/fpu/s_asinh.S: Likewise.
69297         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69298         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69299         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69300         * sysdeps/i386/asm-syntax.h: Likewise.
69301         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69302         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69303         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69304         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
69305         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
69306         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69307         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
69308         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
69309         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69310         * sysdeps/powerpc/sysdep.h: Likewise.
69311         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
69312         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69314 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69316         [BZ #411]
69317         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
69319 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69321         * sysdeps/i386/sysdep.h: Include <features.h>.
69322         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
69323         version.
69325 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
69327         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
69328         Define.
69329         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
69330         LOAD_PIC_REG_STR.
69332 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69334         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
69335         (SETUP_PIC_REG): Use GET_PC_THUNK.
69336         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
69337         macro.
69339 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69341         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
69342         for non-PIC compilation.
69343         (SETUP_PIC_REG): Add .p2align directive.
69344         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
69345         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
69346         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69347         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69348         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
69349         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69350         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
69351         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69352         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69353         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69354         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69355         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69356         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69357         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69358         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69359         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
69360         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
69361         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69362         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69363         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69364         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69365         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
69366         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69367         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69368         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
69369         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
69370         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69371         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
69372         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69373         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69374         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69375         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69376         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69377         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69378         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69379         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69380         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69381         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69382         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69383         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69384         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69386 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69388         * math/tst-CMPLX.c: Include <stdio.h>.
69390 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
69392         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
69393         float.
69394         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69395         * sysdeps/sparc/bits/mathdef.h: Likewise.
69397 2012-01-31  Marek Polacek  <polacek@redhat.com>
69399         * libio/libio.h: Don't define _PARAMS.
69400         * locale/programs/config.h: Don't define PARAMS.
69401         * stdlib/strtol_l.c: Likewise.
69402         (__strtol_l): Remove PARAMS from the prototype.
69404 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
69406         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
69407         names.  Just use the correct names.  Remove unnecessary wrapper
69408         functions.
69409         * malloc/arena.c: Likewise.
69410         * malloc/hooks.c: Likewise.
69412         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
69413         ARENA_TEST says not to.  Simplify test for creation of a new arena.
69414         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
69416 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
69418         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
69419         into tail calls.
69420         (update_get_addr): New function.
69421         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
69422         GET_ADDR_MODULE parameter.
69424 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69426         * crypt/cert.c: Remove __STDC__ conditionals.
69427         * crypt/crypt-entry.c: Likewise.
69428         * crypt/crypt_util.c: Likewise.
69429         * libio/filedoalloc.c: Likewise.
69430         * libio/fileops.c: Likewise.
69431         * libio/genops.c: Likewise.
69432         * libio/iofclose.c: Likewise.
69433         * libio/iofdopen.c: Likewise.
69434         * libio/iofopen.c: Likewise.
69435         * libio/iofopen64.c: Likewise.
69436         * libio/iogetdelim.c: Likewise.
69437         * libio/iopopen.c: Likewise.
69438         * libio/obprintf.c: Likewise.
69439         * libio/oldfileops.c: Likewise.
69440         * libio/oldiofclose.c: Likewise.
69441         * libio/oldiofdopen.c: Likewise.
69442         * libio/oldiofopen.c: Likewise.
69443         * libio/oldiopopen.c: Likewise.
69444         * libio/wfiledoalloc.c: Likewise.
69445         * libio/wgenops.c: Likewise.
69446         * locale/programs/xmalloc.c: Likewise.
69447         * misc/syslog.c: Likewise.
69448         * stdio-common/xbug.c: Likewise.
69449         * string/memchr.c: Likewise.
69450         * string/memcmp.c: Likewise.
69451         * string/memrchr.c: Likewise.
69452         * string/rawmemchr.c: Likewise.
69453         * sysdeps/posix/getcwd.c: Likewise.
69454         * time/strftime_l.c: Likewise.
69456 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69458         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
69459         * config.make.in (config-cflags-sse2avx): Define.
69460         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
69461         Fix typo.
69463 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
69465         * scripts/config.guess: Update from upstream config git repository.
69466         * scripts/config.sub: Likewise.
69468 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
69470         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
69471         (EM_NUM): Update.
69472         (R_TILEPRO_*, R_TILEGX_*): New macros.
69474         * scripts/firstversions.awk: Fix bug in version range handling.
69476         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
69478         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
69480         * include/sys/epoll.h: New file.
69481         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
69482         libc_hidden_def.
69484 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
69486         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
69487         Avoid unnecessary __WORDSIZE == 64 test.
69488         (fmaxf): Use VEX format if possible.
69489         (fmax): Likewise.
69490         (fminf): Likewise.
69491         (fmin): Likewise.
69493         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
69494         * math/math_private.h: Remove libc_fegetround* and
69495         libc_fesetround*.
69496         * sysdeps/i386/configure.in: Check for -msse2avx.
69497         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
69498         also if SSE2AVX is defined.
69499         Remove libc_fegetround* and libc_fesetround*.
69500         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
69501         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
69502         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
69503         of HAS_YMM_USABLE.
69504         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69505         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69506         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69507         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69508         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69510         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
69512 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69514         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
69515         size is not set.
69516         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69518 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
69520         [BZ #13618]
69521         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
69522         relocation.
69523         * Makeconfig (libm): Define.
69524         * elf/Makefile: Add rules to build and run tst-relsort1.
69525         * elf/tst-relsort1.c: New file.
69526         * elf/tst-relsort1mod1.c: New file.
69527         * elf/tst-relsort1mod2.c: New file.
69529 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
69531         * math/s_ldexp.c: Remove __STDC__ conditionals.
69532         * math/s_ldexpf.c: Likewise.
69533         * math/s_ldexpl.c: Likewise.
69534         * math/s_nextafter.c: Likewise.
69535         * math/s_nexttowardf.c: Likewise.
69536         * math/s_significand.c: Likewise.
69537         * math/s_significandf.c: Likewise.
69538         * math/s_significandl.c: Likewise.
69539         * math/w_jnl.c: Likewise.
69540         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69541         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69542         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69543         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69544         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69545         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69546         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
69547         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69548         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69549         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69550         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69551         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69552         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69553         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69554         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69555         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69556         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69557         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69558         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69559         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69560         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69561         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69562         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69563         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69564         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69565         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69566         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69567         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69568         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69569         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69570         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69571         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69572         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69573         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69574         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69575         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69576         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69577         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69578         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69579         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69580         * sysdeps/ieee754/k_standard.c: Likewise.
69581         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69582         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69583         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69584         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69585         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69586         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69587         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69588         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69589         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69590         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69591         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69592         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69593         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69594         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69595         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69596         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69597         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69598         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69599         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69600         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69601         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69602         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69603         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69604         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69605         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69606         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69607         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69608         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69609         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69610         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69611         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69612         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
69613         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69614         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69615         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69616         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69617         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
69618         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69619         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69620         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
69621         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
69622         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69623         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
69624         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
69625         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69626         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
69627         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
69628         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69629         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69630         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
69631         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
69632         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69633         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69634         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69635         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69636         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69637         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
69638         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69639         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69640         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69641         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69642         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69643         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69644         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69645         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69646         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69647         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69648         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69649         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69650         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69651         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69652         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69653         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69654         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69655         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69656         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69657         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69658         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69659         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69660         * sysdeps/ieee754/s_matherr.c: Likewise.
69661         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69662         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69663         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69664         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69666 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69668         * crypt/md5.h: Remove __STDC__ conditionals.
69669         * libio/libioP.h: Likewise.
69670         * locale/programs/config.h: Likewise.
69671         * sysdeps/generic/sysdep.h: Likewise.
69672         * sysdeps/i386/asm-syntax.h: Likewise.
69673         * sysdeps/s390/asm-syntax.h: Likewise.
69674         * sysdeps/unix/sysdep.h: Likewise.
69675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
69676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69678 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69680         * libio/libio.h: Remove __STDC__ conditionals.
69681         * malloc/obstack.h: Likewise.
69682         * math/complex.h: Likewise.
69683         * math/math.h: Likewise.
69684         * sysdeps/generic/_G_config.h: Likewise.
69685         * sysdeps/gnu/_G_config.h: Likewise.
69686         * sysdeps/mach/hurd/_G_config.h: Likewise.
69687         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69688         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69689         * sysdeps/sparc/bits/mathdef.h: Likewise.
69691 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
69693         [BZ #13583]
69694         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
69695         Clean up HAS_* macros.
69696         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
69697         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
69698         possible.
69699         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
69700         HAS_AVX.
69701         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69702         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69703         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69704         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69705         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69707 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
69709         * elf/tst-unique3.cc (gets): Remove declaration.
69710         * elf/tst-unique3lib.cc (gets): Likewise.
69711         * elf/tst-unique3lib2.cc (gets): Likewise.
69712         * elf/tst-unique4.cc (gets): Likewise.
69714 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
69716         * include/stdio.h: Add C++ protection.  Add gets declarations and
69717         definitions.
69718         * debug/tst-chk1.c: Don't declare gets here.
69719         * stdio-common/tst-gets.c: Likewise.
69721 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69723         * posix/glob: Remove directory.
69725 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69727         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
69729 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
69731         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
69732         of the non-standard EPFNOSUPPORT.
69734 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69736         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
69737         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
69738         ANYWHERE set to 1 only on KERN_NO_SPACE error.
69740 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
69742         * wcsmbs/uchar.h: Test __STDC_VERSION__.
69744 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
69746         * nscd/aicache.c (addhstaiX): Do not cache negative results of
69747         transient errors.
69748         * nscd/grpcache.c (cache_addgr): Likewise.
69749         * nscd/hstcache.c (cache_addhst): Likewise.
69750         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69751         * nscd/pwdcache.c (cache_addpw): Likewise.
69752         * nscd/servicescache.c (cache_addserv): Likewise.
69754 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
69756         * malloc/malloc.c: Various cleanups.
69757         * malloc/hooks.c: Likewise.
69759         * stdlib/Makefile (tests): Add bug-fmtmsg1.
69760         * stdlib/bug-fmtmsg1.c: New file.
69762         * stdlib/fmtmsg.c (init): Add missing unlock.
69763         Patch by Peng Haitao <penght@cn.fujitsu.com>.
69765 2012-01-12  Marek Polacek  <polacek@redhat.com>
69767         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
69768         and _GNU_SOURCE.
69770 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
69772         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
69773         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
69774         macro to ensure uniqueness of label name.
69775         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69776         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69778 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
69780         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
69782         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
69783         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69784         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69785         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
69787 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
69789         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
69791         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
69792         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69793         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69795         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
69797         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
69798         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69799         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69800         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
69802         * math/bits/math-finite.h: Add ldexp support.
69804 2012-01-10  Marek Polacek  <polacek@redhat.com>
69806         * locale/programs/localedef.h (show_archive_content): Add noreturn
69807         attribute.
69809 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
69811         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
69813 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69815         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
69817         * io/Makefile (headers): Add bits/poll2.h.
69819 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
69821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
69822         typo #include statement.
69824 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69826         * include/sys/cdefs.h: Define __attribute_alloc_size.
69827         * catgets/gencat.c: Add alloc_size attribute and apply consistently
69828         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
69829         * elf/pldd.c: Likewise.
69830         * iconv/iconv_charmap.c: Likewise.
69831         * iconv/iconvconfig.c: Likewise.
69832         * iconv/strtab.c: Likewise.
69833         * locale/programs/locale.c: Likewise.
69834         * locale/programs/localedef.h: Likewise.
69835         * locale/programs/simple-hash.c: Likewise.
69836         * nscd/nscd.h: Likewise.
69837         * nss/makedb.c: Likewise.
69838         * sysdeps/generic/ldconfig.h: Likewise.
69839         * locale/programs/localedef.c: Remove xmalloc prototype.
69840         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
69842 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69844         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
69845         appropriate.
69847 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69849         * math/Makefile (tests): Add tst-CMPLX.
69850         * math/tst-CMPLX.c: New file.
69852         * math/complex.h (CMPLXL): Fix typo.
69854         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
69855         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
69856         GLIBC_2.16.
69857         * debug/tst-chk1.c: Add poll and ppoll tests.
69858         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
69859         * include/sys/poll.h: Add hidden proto for ppoll.
69860         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
69861         * sysdeps/mach/hurd/ppoll.c: Likewise.
69862         * io/ppoll.c: Likewise.
69863         * debug/poll_chk.c: New file.
69864         * debug/ppoll_chk.c: New file.
69865         * include/bits/poll2.h: New file.
69866         * io/bits/poll2.h: New file.
69868         [BZ #1350]
69869         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
69871         * configure.in: static is always set to yes.  Remove.
69872         * config.make.in: Don't set build-static.
69873         * Makeconfig: Remove use of build-static.
69874         * dlfcn/Makefile: Likewise.
69875         * elf/Makefile: Likewise.
69876         * math/Makefile: Likewise.
69877         * misc/Makefile: Likewise.
69878         * nptl/Makefile: Likewise.
69879         * sysdeps/mach/hurd/Makefile: Likewise.
69881         * configure.in: PWD_P is not used anymore.
69882         * config.make.in: Remove PWD_P entry.
69884         * configure.in: Remove last remnants of RANLIB.
69885         No need to check for signed size_t anymore.
69886         Don't set libc_commonpagesize and libc_relro_required here for Alpha
69887         and IA-64.
69888         Remove __builtin_expect test because we require at least gcc 3.4.
69889         * aclocal.m4: Likewise.
69891         * wcsmbs/mbrtoc16.c: Implement using towc function.
69892         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
69893         * wcsmbs/wcsmbsload.c: Likewise.
69894         * iconv/gconv_simple.c: Likewise.
69895         * iconv/gconv_int.h: Likewise.
69896         * iconv/gconv_builtin.h: Likewise.
69897         * iconv/iconv_prog.c: Remove CHAR16 handling.
69899         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
69901         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
69903         * configure.in: Remove --with-elf and --enable-bounded options.
69904         Dont set base_machine for ia64.  More non-ELF conditions removed.
69905         Remove testing and setting of leading underscore information.
69906         * config.make.in (build-bounded): Set to no.
69907         * config.h.in: Remove NO_UNDERSCORES entry.
69908         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
69909         them.
69910         * csu/start.c: Remove !NO_UNDERSCORE code.
69911         * locale/localeinfo.h: Likewise.
69912         * sysdeps/generic/machine-gmon.h: Likewise.
69913         * sysdeps/generic/sysdep.h: Likewise.
69914         * sysdeps/i386/sysdep.h: Likewise.
69915         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69916         * sysdeps/mach/sysdep.h: Likewise.
69917         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69918         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69919         * sysdeps/sh/sysdep.h: Likewise.
69920         * sysdeps/sparc/sparc32/alloca.S: Likewise.
69921         * sysdeps/unix/i386/sysdep.S: Likewise.
69922         * sysdeps/unix/sparc/start.c: Likewise.
69923         * sysdeps/unix/sparc/sysdep.S: Likewise.
69924         * sysdeps/unix/sparc/sysdep.h: Likewise.
69925         * sysdeps/unix/start.c: Likewise.
69926         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69927         * sysdeps/x86_64/sysdep.h: Likewise.
69929 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
69931         [BZ #13553]
69932         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
69933         for non-gcc.
69934         * argp/argp-fmtstream.h: Use const instead __const.
69935         * argp/argp.h: Likewise.
69936         * assert/assert.h: Likewise.
69937         * bits/fenv.h: Likewise.
69938         * bits/sched.h: Likewise.
69939         * bits/sigset.h: Likewise.
69940         * bits/sigthread.h: Likewise.
69941         * catgets/nl_types.h: Likewise.
69942         * conform/data/pthread.h-data: Likewise.
69943         * crypt/crypt-private.h: Likewise.
69944         * crypt/crypt.h: Likewise.
69945         * crypt/crypt_util.c: Likewise.
69946         * ctype/ctype.h: Likewise.
69947         * debug/execinfo.h: Likewise.
69948         * debug/mbsnrtowcs_chk.c: Likewise.
69949         * debug/mbsrtowcs_chk.c: Likewise.
69950         * debug/wcsnrtombs_chk.c: Likewise.
69951         * debug/wcsrtombs_chk.c: Likewise.
69952         * debug/wcstombs_chk.c: Likewise.
69953         * dirent/dirent.h: Likewise.
69954         * dlfcn/dlfcn.h: Likewise.
69955         * elf/neededtest4.c: Likewise.
69956         * grp/grp.h: Likewise.
69957         * gshadow/gshadow.h: Likewise.
69958         * iconv/gconv.h: Likewise.
69959         * iconv/gconv_int.h: Likewise.
69960         * iconv/gconv_simple.c: Likewise.
69961         * iconv/iconv.h: Likewise.
69962         * iconv/loop.c: Likewise.
69963         * iconv/skeleton.c: Likewise.
69964         * include/aio.h: Likewise.
69965         * include/aliases.h: Likewise.
69966         * include/argz.h: Likewise.
69967         * include/arpa/inet.h: Likewise.
69968         * include/assert.h: Likewise.
69969         * include/dirent.h: Likewise.
69970         * include/dlfcn.h: Likewise.
69971         * include/execinfo.h: Likewise.
69972         * include/fcntl.h: Likewise.
69973         * include/fenv.h: Likewise.
69974         * include/glob.h: Likewise.
69975         * include/grp.h: Likewise.
69976         * include/libintl.h: Likewise.
69977         * include/mntent.h: Likewise.
69978         * include/netdb.h: Likewise.
69979         * include/pwd.h: Likewise.
69980         * include/rpc/netdb.h: Likewise.
69981         * include/sched.h: Likewise.
69982         * include/search.h: Likewise.
69983         * include/shadow.h: Likewise.
69984         * include/signal.h: Likewise.
69985         * include/stdio.h: Likewise.
69986         * include/stdlib.h: Likewise.
69987         * include/string.h: Likewise.
69988         * include/sys/socket.h: Likewise.
69989         * include/sys/stat.h: Likewise.
69990         * include/sys/statfs.h: Likewise.
69991         * include/sys/statvfs.h: Likewise.
69992         * include/sys/syslog.h: Likewise.
69993         * include/sys/time.h: Likewise.
69994         * include/sys/uio.h: Likewise.
69995         * include/time.h: Likewise.
69996         * include/unistd.h: Likewise.
69997         * include/utmp.h: Likewise.
69998         * include/wchar.h: Likewise.
69999         * include/wctype.h: Likewise.
70000         * inet/aliases.h: Likewise.
70001         * inet/arpa/inet.h: Likewise.
70002         * inet/netinet/ether.h: Likewise.
70003         * inet/netinet/in.h: Likewise.
70004         * intl/libintl.h: Likewise.
70005         * io/bits/fcntl2.h: Likewise.
70006         * io/fcntl.h: Likewise.
70007         * io/ftw.h: Likewise.
70008         * io/sys/poll.h: Likewise.
70009         * io/sys/stat.h: Likewise.
70010         * io/sys/statfs.h: Likewise.
70011         * io/sys/statvfs.h: Likewise.
70012         * io/utime.h: Likewise.
70013         * libio/bits/stdio.h: Likewise.
70014         * libio/bits/stdio2.h: Likewise.
70015         * libio/libio.h: Likewise.
70016         * libio/libioP.h: Likewise.
70017         * libio/stdio.h: Likewise.
70018         * locale/lc-ctype.c: Likewise.
70019         * locale/locale.h: Likewise.
70020         * login/utmp.h: Likewise.
70021         * malloc/arena.c: Likewise.
70022         * malloc/malloc.c: Likewise.
70023         * malloc/malloc.h: Likewise.
70024         * malloc/mcheck.c: Likewise.
70025         * malloc/mtrace.c: Likewise.
70026         * math/bits/mathcalls.h: Likewise.
70027         * math/fenv.h: Likewise.
70028         * math/math_private.h: Likewise.
70029         * misc/bits/error.h: Likewise.
70030         * misc/bits/syslog.h: Likewise.
70031         * misc/err.h: Likewise.
70032         * misc/error.h: Likewise.
70033         * misc/fstab.h: Likewise.
70034         * misc/mntent.h: Likewise.
70035         * misc/regexp.h: Likewise.
70036         * misc/search.h: Likewise.
70037         * misc/sgtty.h: Likewise.
70038         * misc/sys/mman.h: Likewise.
70039         * misc/sys/syslog.h: Likewise.
70040         * misc/sys/uio.h: Likewise.
70041         * misc/sys/xattr.h: Likewise.
70042         * misc/ttyent.h: Likewise.
70043         * nis/rpcsvc/ypclnt.h: Likewise.
70044         * nss/nss.h: Likewise.
70045         * posix/bits/unistd.h: Likewise.
70046         * posix/fnmatch.h: Likewise.
70047         * posix/glob.h: Likewise.
70048         * posix/sched.h: Likewise.
70049         * posix/spawn.h: Likewise.
70050         * posix/sys/wait.h: Likewise.
70051         * posix/unistd.h: Likewise.
70052         * posix/wordexp.h: Likewise.
70053         * pwd/pwd.h: Likewise.
70054         * resolv/netdb.h: Likewise.
70055         * resource/sys/resource.h: Likewise.
70056         * rt/aio.h: Likewise.
70057         * rt/bits/mqueue2.h: Likewise.
70058         * rt/mqueue.h: Likewise.
70059         * shadow/shadow.h: Likewise.
70060         * signal/signal.h: Likewise.
70061         * socket/send.c: Likewise.
70062         * socket/sendto.c: Likewise.
70063         * socket/sys/socket.h: Likewise.
70064         * stdio-common/printf.h: Likewise.
70065         * stdlib/bits/stdlib.h: Likewise.
70066         * stdlib/fmtmsg.h: Likewise.
70067         * stdlib/monetary.h: Likewise.
70068         * stdlib/stdlib.h: Likewise.
70069         * stdlib/ucontext.h: Likewise.
70070         * streams/stropts.h: Likewise.
70071         * string/argz.h: Likewise.
70072         * string/bits/string2.h: Likewise.
70073         * string/string.h: Likewise.
70074         * string/strings.h: Likewise.
70075         * sunrpc/rpc/auth.h: Likewise.
70076         * sunrpc/rpc/auth_des.h: Likewise.
70077         * sunrpc/rpc/clnt.h: Likewise.
70078         * sunrpc/rpc/netdb.h: Likewise.
70079         * sunrpc/rpc/pmap_clnt.h: Likewise.
70080         * sunrpc/rpc/xdr.h: Likewise.
70081         * sysdeps/generic/inttypes.h: Likewise.
70082         * sysdeps/generic/net/if.h: Likewise.
70083         * sysdeps/generic/sys/swap.h: Likewise.
70084         * sysdeps/gnu/net/if.h: Likewise.
70085         * sysdeps/gnu/utmpx.h: Likewise.
70086         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
70087         * sysdeps/i386/i486/bits/string.h: Likewise.
70088         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
70089         * sysdeps/s390/bits/string.h: Likewise.
70090         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
70091         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
70092         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
70093         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
70094         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
70095         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
70096         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
70097         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
70098         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
70099         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
70100         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
70101         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
70102         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
70103         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
70104         * sysdeps/unix/sysv/linux/readv.c: Likewise.
70105         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
70106         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
70107         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70108         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
70109         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
70110         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70111         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
70112         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
70113         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
70114         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
70115         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
70116         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
70117         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70118         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
70119         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
70120         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
70121         * sysvipc/sys/ipc.h: Likewise.
70122         * sysvipc/sys/msg.h: Likewise.
70123         * sysvipc/sys/sem.h: Likewise.
70124         * sysvipc/sys/shm.h: Likewise.
70125         * termios/termios.h: Likewise.
70126         * time/sys/time.h: Likewise.
70127         * time/time.h: Likewise.
70128         * wcsmbs/bits/wchar2.h: Likewise.
70129         * wcsmbs/uchar.h: Likewise.
70130         * wcsmbs/wchar.h: Likewise.
70131         * wctype/wctype.h: Likewise.
70133         [BZ #13551]
70134         * Makeconfig: Remove all but ELF support including AIX support.
70135         * Makerules: Likewise.
70136         * config.h.in: Likewise.
70137         * config.make.in: Likewise.
70138         * configure: Likewise.
70139         * configure.in: Likewise.
70140         * csu/Makefile: Likewise.
70141         * csu/version.c: Likewise.
70142         * debug/Makefile: Likewise.
70143         * dlfcn/Makefile: Likewise.
70144         * elf/Makefile: Likewise.
70145         * extra-lib.mk: Likewise.
70146         * iconv/Makefile: Likewise.
70147         * include/libc-symbols.h: Likewise.
70148         * include/shlib-compat.h: Likewise.
70149         * resolv/Makefile: Likewise.
70150         * resolv/res_libc.c: Likewise.
70151         * rt/Makefile: Likewise.
70152         * sysdeps/i386/asm-syntax.h: Likewise.
70153         * sysdeps/i386/sysdep.h: Likewise.
70154         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70155         * sysdeps/mach/sysdep.h: Likewise.
70156         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
70157         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
70158         * sysdeps/s390/asm-syntax.h: Likewise.
70159         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70160         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70161         * sysdeps/sh/sysdep.h: Likewise.
70162         * sysdeps/unix/sparc/sysdep.h: Likewise.
70163         * sysdeps/wordsize-32/divdi3.c: Likewise.
70164         * sysdeps/x86_64/sysdep.h: Likewise.
70166         * argp/Versions: Remove _argp_unlock_xxx.
70168         [BZ #13559]
70169         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
70170         * abilist/libBrokenLocale.abilist: Likewise.
70171         * abilist/libanl.abilist: Likewise.
70172         * abilist/libc.abilist: Likewise.
70173         * abilist/libcrypt.abilist: Likewise.
70174         * abilist/libdl.abilist: Likewise.
70175         * abilist/libm.abilist: Likewise.
70176         * abilist/libnsl.abilist: Likewise.
70177         * abilist/libpthread.abilist: Likewise.
70178         * abilist/libresolv.abilist: Likewise.
70179         * abilist/librt.abilist: Likewise.
70180         * abilist/libthread_db.abilist: Likewise.
70181         * abilist/libutil.abilist: Likewise.
70182         * abilist/libnss_db.abilist: New file.
70184         * scripts/abilist.awk: Add support for indirect functions.
70186         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
70188         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
70190         * shlib-versions: Remove entries for ports architectures.
70192         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
70193         files in ports.
70194         * elf/stackguard-macros.h: Remove support for IA-64.
70195         * elf/tst-auditmod1.c: Likewise.
70196         * sysdeps/generic/ldsodefs.h: Likewise.
70198         * sysdeps/unix/sysv/linux/configure.in: Ports should define
70199         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
70200         configure files.
70202         [BZ #13552]
70203         * configure.in: Remove --enable-omitfp support.
70204         * FAQ.in: Adjust.
70205         * config.make.in: Likewise.
70206         * Makeconfig: Likewise.
70207         * manual/install.texi: Likewise.
70209         In case anyone cares, the IA-64 architecture could move to ports.
70210         * sysdeps/ia64/*: Removed.
70211         * sysdeps/unix/sysv/linux/ia64/*: Removed.
70212         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
70214         [BZ #13555]
70215         * configure.in: Remove entries for unsupported architectures.
70217         [BZ #13533]
70218         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
70219         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
70220         routines.
70221         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
70222         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
70223         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
70224         fall back to using wcrtomb.
70225         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
70226         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
70227         renaming.
70228         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
70229         * wcsmbs/tst-c16c32-1.c: New file.
70231         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
70232         local variable.
70234         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
70236         * elf/tst-unique3.cc: Add explicit declaration of gets.
70237         * elf/tst-unique3lib.cc: Likewise.
70238         * elf/tst-unique3lib2.cc: Likewise.
70239         * elf/tst-unique4.cc: Likewise.
70241         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
70243 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
70245         [BZ #13566]
70246         * assert/assert.h (static_assert): Don't define for C++.
70247         * libio/stdio.h (gets): Do declare for C++ <= C++11.
70248         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
70250 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
70252         * iconv/loop.c (single loop): Fix assertion in storing of
70253         remaining bytes.
70255         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
70257 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
70259         * posix/getconf.c: Update copyright year.
70260         * nss/getent.c: Likewise.
70261         * nss/makedb.c: Likewise.
70262         * iconv/iconvconfig.c: Likewise.
70263         * iconv/iconv_prog.c: Likewise.
70264         * elf/ldconfig.c: Likewise.
70265         * elf/pldd.c: Likewise.
70266         * elf/sotruss.ksh: Likewise.
70267         * catgets/gencat.c: Likewise.
70268         * csu/version.c: Likewise.
70269         * elf/ldd.bash.in: Likewise.
70270         * elf/sprof.c (print_version): Likewise.
70271         * locale/programs/locale.c: Likewise.
70272         * locale/programs/localedef.c: Likewise.
70273         * login/programs/pt_chown.c: Likewise.
70274         * nscd/nscd.c (print_version): Likewise.
70275         * debug/xtrace.sh: Likewise.
70276         * malloc/memusage.sh: Likewise.
70277         * malloc/mtrace.pl: Likewise.
70278         * debug/catchsegv.sh: Likewise.
70280 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
70282         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
70283         pure attribute.
70285 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
70287         [BZ #13533]
70288         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
70289         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
70290         transformations.
70291         * iconv/gconv_int.h: Likewise.
70292         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
70293         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
70294         from libc for GLIBC_2.16.
70295         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
70296         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
70297         * wcsmbs/uchar.h: Really define mbstate_t.
70298         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
70299         * wcsmbs/c16rtomb.c: New file.
70300         * wcsmbs/mbrtoc16.c: New file.
70301         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
70302         for C/POSIX locale.
70303         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
70304         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
70306         * wcsmbs/wchar.h: Add missing __restrict.
70308 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70310         [BZ #13532]
70311         * time/Makefile (routines): Add timespec_get.
70312         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
70313         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
70314         timespec for ISO C11.
70315         * time/timespec_get.c: New file.
70316         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
70317         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
70319         [BZ #13531]
70320         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
70321         * stdlib/stdlib.h: Declare aligned_alloc.
70322         * Versions.def: Add GLIBC_2.16 for libc.
70323         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
70325         [BZ 13527]
70326         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
70327         ISO C11.
70329         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
70330         code.
70332         [BZ #13528]
70333         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
70335         [BZ #13529]
70336         * assert/assert.h (static_assert): Define.
70338         * version.h: Update for 2.16 development version.
70340         [BZ #13526]
70341         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
70342         _ISOC11_SOURCE.
70344         * version.h (RELEASE): Bump for 2.15 release.
70345         * include/features.h (__GLIBC_MINOR__): Bump to 15.
70347         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
70348         Patch by Marek Polacek <mpolacek@redhat.com>.
70350         * bits/byteswap.h: Protect long long constants with __extension__.
70351         * sysdeps/i386/bits/byteswap.h: Likewise.
70352         * sysdeps/ia64/bits/byteswap.h: Likewise.
70353         * sysdeps/s390/bits/byteswap.h: Likewise.
70354         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70356 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70358         [BZ #13540]
70359         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
70360         destination buffer.
70361         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
70363 2011-12-23  Marek Polacek  <polacek@redhat.com>
70365         * elf/dl-addr.c (determine_info): Add inline keyword.
70366         * elf/tst-auditmod4b.c (check_avx): Likewise.
70367         * elf/tst-auditmod6b.c (check_avx): Likewise.
70368         * elf/tst-auditmod6c.c (check_avx): Likewise.
70369         * elf/tst-auditmod7b.c (check_avx): Likewise.
70371 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70373         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
70374         !__SSE_MATH__.
70376 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70378         [BZ #13540]
70379         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
70380         processing for last bytes.
70382 2011-08-06  Bruno Haible  <bruno@clisp.org>
70384         [BZ #13061]
70385         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
70386         U+0385, not to U+1FEE.
70388         [BZ #13062]
70389         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
70390         entry for U+00A5 U+0301.
70392 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70394         [BZ #13166]
70395         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
70396         buffer for the output is too small.
70398         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
70399         optimization.
70401         [BZ #13185]
70402         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
70403         SSE flags if possible.
70405 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70407         [BZ #13540]
70408         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
70409         processing for last bytes.
70411 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
70413         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
70414         (syscall-list-default-options, syscall-list-default-condition)
70415         (syscall-list-includes): Define.
70416         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
70417         list of ABIs and options and #if conditions for each ABI.  Do not
70418         handle common syscalls between ABIs specially.
70419         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
70420         Remove.
70421         (syscall-list-variants, syscall-list-32bit-options)
70422         (syscall-list-32bit-condition, syscall-list-64bit-options)
70423         (syscall-list-64bit-condition): Define.
70424         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
70425         (syscall-list-variants, syscall-list-32bit-options)
70426         (syscall-list-32bit-condition, syscall-list-64bit-options)
70427         (syscall-list-64bit-condition): Define.
70428         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
70429         Remove.
70430         (syscall-list-variants, syscall-list-32bit-options)
70431         (syscall-list-32bit-condition, syscall-list-64bit-options)
70432         (syscall-list-64bit-condition): Define.
70433         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
70434         Remove.
70435         (syscall-list-variants, syscall-list-32bit-options)
70436         (syscall-list-32bit-condition, syscall-list-64bit-options)
70437         (syscall-list-64bit-condition): Define.
70439 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70441         * locale/iso-639.def: Add brx entry.
70443         [BZ #13328]
70444         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
70445         Proposed by Mariusz_Cukr <marcukr@op.pl>.
70447         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
70448         __feraiseexcept_renamed.
70450 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70452         [BZ #13538]
70453         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
70454         EPOLLET with unsigned values.
70455         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70456         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70458         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
70459         to large cancellation.
70460         * math/s_cacoshf.c: Likewise.
70461         * math/s_cacoshl.c: Likewise.
70463 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
70465         [BZ #13305]
70466         [BZ #12786]
70467         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
70468         * math/s_cacoshf.c: Likewise.
70469         * math/s_cacoshl.c: Likewise.
70471 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70473         [BZ #13439]
70474         * iconv/gconv.h: Define __GCONV_SWAP.
70475         * iconvdata/unicode.c: The swap bit must be stored in __flags.
70476         * iconvdata/utf-16.c: Likewise.
70477         * iconvdata/utf-32.c: Likewise.
70479 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
70481         [BZ #13524]
70482         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
70483         numerator after shifting it by one limb.
70485 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
70487         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
70488         under [__USE_EXTERN_INLINES].
70490 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70492         [BZ #13446]
70493         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
70495 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70497         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
70498         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
70499         optimized code.
70500         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
70501         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
70502         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
70503         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
70504         for strncasecmp/strncasecmp_l compilation.
70505         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
70506         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
70508 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
70510         [BZ #13484]
70511         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
70512         of __asm__.
70514 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70516         [BZ #13506]
70517         * time/tzfile.c (__tzfile_read): Check values from file header.
70519 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
70521         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
70522         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
70523         * powerpc/powerpc32/dl-start.S: Likewise.
70524         * powerpc/powerpc32/elf/start.S: Likewise.
70525         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
70526         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
70527         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
70528         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
70529         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
70530         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
70531         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
70532         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
70533         * powerpc/powerpc32/fpu/s_round.S: Likewise.
70534         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
70535         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
70536         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
70537         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
70538         * powerpc/powerpc32/memset.S: Likewise.
70539         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
70540         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
70541         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
70542         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
70543         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
70544         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
70545         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
70546         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
70547         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
70548         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
70549         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
70550         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70551         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70553 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70555         * math/libm-test.inc: Added more nearbyint tests.
70556         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
70557         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
70558         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
70559         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
70561 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
70563         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
70564         FD_CLOEXEC.
70566 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70568         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
70569         Add wcscpy-ssse3 wcscpy-c.
70570         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
70571         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
70572         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
70573         * sysdeps/x86_64/wcschr.S: New file.
70574         * sysdeps/x86_64/wcsrchr.S: New file.
70575         * string/test-strcmp.c: Remove checking of wcscmp function for
70576         wrong alignments.
70577         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
70578         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
70579         wcsrchr-sse2 wcsrchr-c.
70580         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
70581         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
70582         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
70583         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
70584         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
70585         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
70586         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
70587         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
70588         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
70589         * wcsmbc/wcschr.c (WCSCHR): New macro.
70591 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70593         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
70594         * wcsmbs/test-wcsrchr.c: New file.
70595         * string/test-strrchr.c: Add wcsrchr support.
70596         (WIDE): New macro.
70597         * wcsmbs/test-wcscpy.c: New file.
70598         * string/test-strcpy.c: Add wcscpy support.
70599         (WIDE): New macro.
70601 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
70603         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
70604         the inner loop.
70606 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
70608         [BZ #13472]
70609         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
70611 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
70613         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
70614         Minor optimizations.
70616         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
70617         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
70618         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
70620 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
70622         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
70623         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
70624         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
70625         for gcc to avoid warnings.
70626         * inet/Makefile (tests): Add tst-checks.
70627         * inet/tst-checks.c: New file.
70629         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
70630         warning.
70632         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
70633         __wmemcmp_sse2.
70635         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
70636         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
70638         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
70640 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
70642         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
70643         problem.
70645         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
70647 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
70649         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
70650         conditional on GCC version.
70651         (__arch_compare_and_exchange_val_8_acq)
70652         (__arch_compare_and_exchange_val_16_acq)
70653         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
70654         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
70655         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
70657 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
70659         * sysdeps/sh/backtrace.c: New file.
70661 2011-12-02  Andreas Schwab  <schwab@redhat.com>
70663         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
70664         parenthesis.
70666 2011-12-01  Andreas Schwab  <schwab@redhat.com>
70668         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
70669         falling back to utime.
70671 2011-11-30  Andreas Schwab  <schwab@redhat.com>
70673         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
70674         expectations for float.
70676 2011-11-29  Andreas Schwab  <schwab@redhat.com>
70678         * locale/weight.h (findidx): Add parameter len.
70679         * locale/weightwc.h (findidx): Likewise.
70680         * posix/fnmatch_loop.c (FCT): Adjust caller.
70681         * posix/regcomp.c (build_equiv_class): Likewise.
70682         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
70683         * posix/regexec.c (check_node_accept_bytes): Likewise.
70684         * string/strcoll_l.c (STRCOLL): Likewise.
70685         * string/strxfrm_l.c (STRXFRM): Likewise.
70687 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
70689         * Makefile.in: Remove CVSOPT handling.
70690         * configure.in: Remove use of AC_REVISION.
70691         * iconvdata/Makefile (distribute): No need to filter out CVS.
70692         * scripts/list-sources.sh: Remove CVS, subversion and monotone
70693         handling.
70695 2011-11-16  Andreas Schwab  <schwab@redhat.com>
70697         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
70698         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
70699         [USE_AS_STRNCASECMP_L]: Likewise.
70700         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
70701         NO_TLS_DIRECT_SEG_REFS.
70702         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
70703         Fix argument offsets for non-PIC.
70704         [USE_AS_STRNCASECMP_L]: Likewise.
70705         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
70706         NO_TLS_DIRECT_SEG_REFS.
70708 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70710         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
70711         O_CLOEXEC.
70712         * locale/loadlocale.c (_nl_load_locale): Likewise.
70714 2011-11-15  Andreas Schwab  <schwab@redhat.com>
70716         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
70717         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
70718         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
70719         (SYSCALL_GETTIME): Set errno on error.
70721         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
70722         count references to noai6ai_cached.
70724 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70726         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
70728         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
70729         FD_CLOEXEC for /proc/self/maps.
70731         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
70732         FD_CLOEXEC for /proc/meminfo.
70734         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
70735         gai.conf.
70737         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
70738         FD_CLOEXEC for given file.
70740         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
70742         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
70743         FD_CLOEXEC for /etc/hosts.
70744         (_gethtent): Likewise.
70746         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
70748         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
70749         cancellation and set FD_CLOEXEC for /etc/netgroup.
70751         * nss/nss_files/files-key.c (search): Don't allow cancellation when
70752         reading /etc/publickey.
70754         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
70755         allow cancellation when reading /etc/group.
70757         * nss/nss_files/files-alias.c (internal_setent): Don't allow
70758         cancellation.
70759         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
70761         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
70762         when using data file.
70764         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
70766         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
70767         (write_nis_obj): Use "c" and "e" in fopen.
70769         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
70771         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
70773         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
70775         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
70777         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
70778         locale.alias.
70780         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
70782         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
70784         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
70786         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
70787         file parsing and set FD_CLOEXEC.
70789 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
70791         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
70793 2011-11-14  Andreas Schwab  <schwab@redhat.com>
70795         * malloc/arena.c (arena_get2): Don't call reused_arena when
70796         _int_new_arena failed.
70798 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
70800         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
70801         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
70802         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
70803         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70804         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70805         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
70806         to compile strcasecmp and strncasecmp.
70807         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
70808         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
70810         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
70812 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
70814         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
70815         locale-defines.sym to gen-as-const-headers.
70816         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
70817         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
70818         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
70819         to compile strcasecmp and strncasecmp.
70820         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
70821         strcasecmp_l and strncasecmp_l.
70822         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
70823         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
70824         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
70825         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
70826         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
70827         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
70828         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
70829         * sysdeps/i386/i686/multiarch/strncase.S: New file.
70830         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
70831         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
70832         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
70834 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
70836         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
70837         result of SYSDEP_GETTIME_CPU to retval.
70838         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
70839         parameter list to macro.  Remove trailing semicolon.  Adjust users.
70841         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
70842         variable.
70844         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
70845         mantissa words.
70846         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
70848         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
70849         from unused variable.
70851         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
70852         DWARF definitions.
70853         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
70854         for assembling.
70856         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
70857         over namespaces.
70859         * sunrpc/rpc_prot.c (rejected): Fix case value.
70861         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
70862         unsigned long long int to avoid warnings in shift.
70864         * posix/regex_internal.c (re_string_reconstruct): Actually use result
70865         of use of trans.
70866         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
70867         variable tmp.
70869         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
70870         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
70871         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
70873         * nis/nis_table.c (nis_list): Use variable of correct type for
70874         result of __follow_path call.
70876 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70878         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
70879         of math functions ceil, trunc, floor, round, and sqrt, when
70880         avaliable on the platform.
70881         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
70882         name clash.
70883         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70884         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70885         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70887 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
70889         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
70890         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
70892 2011-11-11  Roland McGrath  <roland@hack.frob.com>
70894         * include/unistd.h: Fix __readlink return type.
70895         Reported by Chris Metcalf <cmetcalf@tilera.com>.
70897 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
70899         * stdlib/ucontext.h: Undo last change for makecontext.
70901 2011-11-11  Andreas Schwab  <schwab@redhat.com>
70903         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
70905         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
70906         * setjmp/setjmp.h: Mark functions as non-leaf.
70907         * setjmp/bits/setjmp2.h: Likewise.
70908         * stdlib/ucontext.h: Likewise.
70910 2011-11-10  Andreas Schwab  <schwab@redhat.com>
70912         * malloc/arena.c (_int_new_arena): Don't increment narenas.
70913         (reused_arena): Don't check arena limit.
70914         (arena_get2): Atomically check arena limit.
70916 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
70918         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
70919         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
70921         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
70922         instructions.
70924 2011-11-07  Andreas Schwab  <schwab@redhat.com>
70926         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
70927         handler when locking.
70929         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70930         Fix size of allocated buffer.
70932 2011-11-04  Andreas Schwab  <schwab@redhat.com>
70934         [BZ #10103]
70935         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
70936         declarations for long double functions.
70937         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
70939         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
70941 2011-11-03  Andreas Schwab  <schwab@redhat.com>
70943         * nscd/nscd.c (main): Don't start AVC thread until credentials are
70944         installed.
70946         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
70947         is disabled.
70949 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70951         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
70953 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
70955         * include/alloca.h (stackinfo_alloca_round): Define.
70956         (extend_alloca): Use it.
70957         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
70958         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
70959         here.
70961         * scripts/check-local-headers.sh: Ignore libaudit.h.
70963         * nscd/Makefile (extra-objs): Make recursively expanded.
70965 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
70967         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
70968         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
70970         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
70971         * posix/tst-rfc3484-2.c: Likewise.
70972         * posix/tst-rfc3484-3.c: Likewise.
70974         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70975         process_vm_writev.
70976         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
70977         process_vm_writev.
70978         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
70979         process_vm_writev from libc using GLIBC_2.15 version.
70981         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
70983 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
70985         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
70986         stack usage.
70988 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
70990         [BZ #13367]
70991         * nss/getent.c (initgroups_keys): Show error message in case no group
70992         names are given.
70994         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
70995         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
70996         __bump_nl_timestamp.
70997         * nscd/connections (nscd_init): When host database is served open
70998         netlink socket and request notification about configuration changes.
70999         (main_loop_poll): Track netlink file descriptor and bump timestamp
71000         in case data becomes available.
71001         (main_loop_epoll): Likewise.
71002         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
71003         (database_pers_head): Add extra_data fileds.
71004         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
71005         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
71006         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
71007         Adjust caller.
71008         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
71009         in6ai data, call __free_in6ai.
71010         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
71011         Add -DHAVE_NETLINK.
71012         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
71013         interface information.  Reuse previous data if netlink timestamp
71014         is not changed.
71015         (__bump_nl_timestamp): New function.
71016         (__free_in6ai): New function.
71018 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
71020         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
71021         close_not_cancel_no_status here.
71022         (__check_pf): Reorganize code a bit to not call close twice if OOM.
71024 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71026         [BZ #13276]
71027         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
71028         return value.
71030         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
71031         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
71032         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
71034 2011-07-03  Andreas Jaeger  <aj@suse.de>
71036         [BZ #10709]
71037         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
71038         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
71039         * math/libm-test.inc (sin_test): Add test case.
71041 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71043         [BZ #13337]
71044         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
71045         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71047         * elf/chroot_canon.c (chroot_canon): Cleanups.
71049         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
71051         [BZ #13335]
71052         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
71053         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71055         * string/test-strchr.c: Make usable for strchrnul testing.
71056         * string/test-strchrnul.c: New file.
71057         * string/Makefile (strop-tests): Add strchrnul.
71059         * po/it.po: Update from translation team.
71060         * po/es.po: Likewise.
71062 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
71064         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
71065         the three constants needed as parameters.  Drop the others.
71066         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
71067         __m128i_strloadu_tolower.
71068         Create and initialize variable zero and use it in all the places
71069         where _mm_setzero_si128 was used.
71071         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
71072         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
71073         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
71074         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
71075         anymore.
71076         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
71077         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
71078         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
71079         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
71080         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
71081         __mpranred, __mptan.
71082         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
71083         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
71084         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
71085         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
71086         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
71087         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
71088         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
71089         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
71090         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
71092 2011-10-28  Andreas Schwab  <schwab@redhat.com>
71094         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
71095         redefine if SHARED.
71096         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
71098         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
71099         wide char related routines to wcsmbs subdir.
71101 2011-10-27  Andreas Schwab  <schwab@redhat.com>
71103         [BZ #13344]
71104         * misc/sys/cdefs.h (__THROWNL): Define.
71105         * posix/unistd.h: Use __THREADNL instead of __THREAD
71106         for memory synchronization functions.
71108 2011-10-26  Roland McGrath  <roland@hack.frob.com>
71110         [BZ #13349]
71111         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
71112         doesn't exist.
71113         * manual/stdio.texi (Obstack Streams): Node removed.
71115 2011-10-26  Andreas Schwab  <schwab@redhat.com>
71117         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
71118         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71119         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71121         * math/math_private.h (math_force_eval): Allow non-addressable
71122         arguments.
71123         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
71125 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71127         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
71128         file is not needed.
71130         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
71131         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
71132         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71133         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71134         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71135         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71136         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71137         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
71138         Add AVX variants.
71139         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
71140         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
71141         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
71142         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
71143         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
71144         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
71145         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
71146         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
71147         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
71148         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
71149         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
71150         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
71151         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
71152         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
71153         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
71154         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
71155         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
71156         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
71157         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
71159         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
71160         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
71162         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
71163         place.  Use VEX encoding when compiling for AVX.
71165 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71167         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
71168         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
71170         * string/test-strchr.c (do_test): Don't generate NUL bytes.
71172 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71174         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
71175         useless if() expression.
71176         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71177         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71178         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71179         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71180         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71181         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71182         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71183         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71184         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71185         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71186         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71187         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71188         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71189         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71190         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71191         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71192         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71193         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71194         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71196         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
71198 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71200         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
71201         condition.
71202         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71204 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71206         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
71207         .text section.  Avoid duplicate constants.
71208         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71209         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71210         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71211         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71212         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71213         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71214         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71215         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71216         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71217         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
71218         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71219         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71220         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71221         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71222         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71223         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71224         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71225         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71226         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71227         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71228         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71229         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71230         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71231         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
71232         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
71233         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
71234         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
71235         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
71236         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
71237         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
71238         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
71239         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
71240         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71241         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
71242         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
71243         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
71244         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
71245         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
71246         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
71247         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
71248         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
71249         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
71250         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
71251         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
71252         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
71254 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
71256         * sysdeps/x86_64/dla.h: Move to ...
71257         * sysdeps/x86_64/fpu/dla.h: ...here.
71258         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
71259         situations.  Use __builtin_fma only for gcc 4.6 and up.
71261         * config.make.in: Add have-mfma4 entry.
71262         * configure.in: Substitute libc_cv_cc_fma4.
71263         * math/Makefile (dbl-only-routines): Add sincostab.
71264         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
71265         Use __sincostab not sincos.
71266         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
71267         name is a macro.
71268         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71269         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71270         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71271         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
71272         using __copysign.
71273         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
71274         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
71275         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
71276         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
71277         and __inv.
71278         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
71279         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
71280         __copysign.
71281         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
71282         define aliases when function name is a macro.
71283         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
71284         sysdeps/ieee754/dbl-64/sincos.tbl.
71285         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
71286         fma4-enabled routines.
71287         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
71288         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
71289         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
71290         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
71291         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
71292         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
71293         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
71294         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
71295         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
71296         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
71297         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
71298         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
71299         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
71300         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
71301         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
71302         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
71303         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
71304         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
71305         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
71306         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
71307         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
71308         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
71309         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
71310         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
71311         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
71312         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
71313         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
71314         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
71315         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
71316         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
71318         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
71319         rename.
71320         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71321         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71322         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71323         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71324         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71325         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71326         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71327         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71329 2011-10-24  Andreas Schwab  <schwab@redhat.com>
71331         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
71333 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71335         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
71337         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
71338         prediction.
71339         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
71341         * string/strnlen.c: Don't define STRNLEN, reverse logic.
71342         Remove unused variable magic_bits.
71343         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
71345         * string/strnlen.c: Define and use STRNLEN macro.
71346         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
71347         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
71348         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
71349         * wcsmbs/wcslen.c: Define and use WCSLEN.
71350         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
71351         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
71352         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
71353         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
71354         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
71355         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
71356         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71358 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71360         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71361         strnlen-sse2-no-bsf.
71362         Rename strlen-no-bsf to strlen-sse2-no-bsf.
71363         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
71364         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
71365         Add strnlen support.
71366         (USE_AS_STRNLEN): New macro.
71367         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
71368         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
71369         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
71370         * sysdeps/x86_64/wcslen.S: New file.
71372 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
71374         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71375         XMM-moves are used for copying on small sizes.
71377 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71379         * wcsmbs/Makefile (strop-tests): Add wcschr.
71380         * wcsmbs/test-wcschr.c: New file.
71381         * string/test-strchr.c: Update.
71382         Add wcschr support.
71383         (WIDE): New macro.
71385 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71387         * wcsmbs/Makefile (strop-tests): Add wcslen.
71388         * wcsmbs/test-wcslen.c: New file.
71389         * string/test-strlen.c: Update.
71390         Add wcslen support.
71391         (WIDE): New macro.
71393 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71395         * po/it.po: Update from translation team.
71397 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71399         * sysdeps/x86_64/wcscmp.S: Update.
71400         Fix wrong comparison semantics.
71401         wcscmp shall use signed comparison not unsigned.
71402         Don't use substraction to avoid overflow bug.
71403         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
71404         * wcsmbc/wcscmp.c: Likewise.
71405         * string/test-strcmp.c: Likewise.
71406         Add new tests to check cases with negative values.
71408 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71410         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
71411         * sysdeps/x86_64/dla.h: ...here.  New file.
71412         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
71413         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71414         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71415         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71416         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71417         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71418         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71419         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71420         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71422 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
71424         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
71425         __ynl_finite aliases.
71427 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71429         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71431         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
71432         define DLA_FMA.
71433         [DLA_FMA] (EMULV): Use DLA_FMA.
71434         [DLA_FMA] (MUL12): Use EMULV.
71435         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
71436         that are not needed.
71437         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71438         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71439         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71440         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71441         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71442         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71443         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71445 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
71447         * math/s_nan.c: Undef __nan.
71448         * math/s_nanf.c: Undef __nanf.
71449         * math/s_nanl.c: Undef __nanl.
71450         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
71451         "math_private.h".
71453 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71455         * math/s_catan.c: Add branch predictions.
71456         * math/s_catanf.c: Likewise.
71457         * math/s_catanh.c: Likewise.
71458         * math/s_catanhf.c: Likewise.
71459         * math/s_catanhl.c: Likewise.
71460         * math/s_catanl.c: Likewise.
71461         * math/s_cexp.c: Likewise.
71462         * math/s_cexpf.c: Likewise.
71463         * math/s_cexpl.c: Likewise.
71464         * math/s_clog.c: Likewise.
71465         * math/s_clog10.c: Likewise.
71466         * math/s_clog10f.c: Likewise.
71467         * math/s_clog10l.c: Likewise.
71468         * math/s_clogf.c: Likewise.
71469         * math/s_clogl.c: Likewise.
71470         * math/s_csqrt.c: Likewise.
71471         * math/s_csqrtf.c: Likewise.
71472         * math/s_csqrtl.c: Likewise.
71473         * math/s_ctanf.c: Likewise.
71474         * math/s_ctanh.c: Likewise.
71475         * math/s_ctanhf.c: Likewise.
71476         * math/s_ctanhl.c: Likewise.
71477         * math/s_ctanl.c: Likewise.
71479         * math/math_private.h: Define __nan, __nanf, __nanl.
71480         * math/s_cacosh.c: Include <math_private.h>.
71481         * math/s_cacoshl.c: Likewise.
71482         * math/s_casinh.c: Likewise.
71483         * math/s_casinhf.c: Likewise.
71484         * math/s_casinhl.c: Likewise.
71485         * math/s_ccos.c: Rely entire on ccosh.
71486         * math/s_ccosf.c: Rely entire on ccoshf.
71487         * math/s_ccosl.c: Rely entirely on ccoshl.
71488         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
71489         Remove tests for FE_INVALID.
71490         * math/s_ccoshf.c: Likewise.
71491         * math/s_ccoshl.c: Likewise.
71492         * math/s_csin.c: Likewise.
71493         * math/s_csinf.c: Likewise.
71494         * math/s_csinh.c Likewise.
71495         * math/s_csinhf.c: Likewise.
71496         * math/s_csinhl.c: Likewise.
71497         * math/s_csinl.c: Likewise.
71498         * math/s_ctan.c: Likewise.
71499         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
71500         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
71501         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
71503 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
71505         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
71506         compilation problems.
71508         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
71509         __builtin_expect.
71511 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
71513         * sysdeps/i386/configure.in: Test for -mfma4 option.
71514         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
71515         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
71516         COMMON_CPUID_INDEX_80000001.
71517         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
71518         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
71519         use it if FMA3 is not supported.
71520         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
71522         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
71523         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71525 2011-10-20  Andreas Schwab  <schwab@redhat.com>
71527         [BZ #12892]
71528         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
71529         it would create a cycle with a link time dependency.
71531 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
71533         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
71534         instruction.
71535         * string/Makefile (strop-tests): Add rawmemchr.
71536         * string/test-rawmemchr.c: New file.
71538         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
71539         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
71540         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
71541         when compiling str{,n}casecmp and when AVX is available.  Hook up
71542         new optimized code in initializers.
71544 2011-10-19  Andreas Schwab  <schwab@redhat.com>
71546         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
71547         __feraiseexcept instead of feraiseexcept.
71549 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
71551         * math/math_private.h: Define defaults for libc_fetestexcept and
71552         libc_feupdateenv.
71553         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
71554         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
71555         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71556         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71557         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71558         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71559         libc_fetestexcept and libc_feupdateenv.
71561         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
71562         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
71563         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
71564         * sysdeps/x86_64/fpu/math_private.h: Define special version of
71565         libc_feholdexcept_setround.
71567         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
71568         Add s_nearbyint-c and s_nearbyintf-c.
71569         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
71570         nearbyintf inlines.
71571         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
71572         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
71573         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
71574         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
71576         * math/math_private.h: Define defaults for libc_fegetround,
71577         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
71578         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
71579         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
71580         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
71581         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
71582         standard functions.
71583         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71584         Remove comments and hacks for old compiler versions.
71585         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71586         libc_fegetround, libc_fesetround, libc_feholdexcept, and
71587         libc_feholdexceptl.
71589 2011-10-18  Andreas Schwab  <schwab@redhat.com>
71591         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
71592         (__feraiseexcept_renamed): Add __NTH.
71593         (feraiseexcept): Add __NTH.  Rename local variables to fix
71594         namespace violations.
71596 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
71598         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
71600         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
71602         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
71603         recently added interfaces.
71604         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
71606         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
71607         about macro parameter expansion.
71609         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
71610         __NO_MATH_INLINES is defined.  Cleanups.
71612         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
71613         and __floorf is target has SSE4.1.
71614         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
71615         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
71616         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
71617         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
71619         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
71620         name.
71621         (floorf): Likewise.
71623         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
71625 2011-10-17  Andreas Schwab  <schwab@redhat.com>
71627         * misc/sys/cdefs.h: Fix last change.
71629         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
71630         database lookup.
71632 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
71634         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
71636         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
71637         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71638         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71639         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71640         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71641         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71642         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71643         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71644         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71645         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
71646         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
71647         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
71648         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
71649         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
71650         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
71651         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
71652         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
71653         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
71654         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
71655         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
71656         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
71657         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
71659         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
71660         ceil, ceilf, floor, floorf.
71662         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
71663         Perform IRELATIVE relocations last.
71665         * elf/do-rel.h: Add another parameter nrelative, replacing the
71666         local variable with the same name.  Change name of the function
71667         to end in Rel or Rela (uppercase).
71668         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
71669         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
71670         elf_dynamic_do_##reloc function.
71672 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71674         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
71675         is sufficient, at least on modern CPUs.
71677         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
71679         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
71680         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
71682         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
71683         __expl_finite.
71684         * math/bits/math-finite.h: Add entries for exp.
71685         * math/e_expl.c: Add __*_finite alias.
71686         * sysdeps/i386/fpu/e_exp.S: Likewise.
71687         * sysdeps/i386/fpu/e_expf.S: Likewise.
71688         * sysdeps/i386/fpu/e_expl.c: Likewise.
71689         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71690         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71691         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
71692         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
71693         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
71694         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71695         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71697         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
71698         is sufficient, at least on modern CPUs.
71700         * ctype/ctype-info.c (__ctype_init): Define.
71701         * include/ctype.h (__ctype_init): Declare.
71702         (__ctype_b_loc): The variable is always initialized.
71703         (__ctype_toupper_loc): Likewise.
71704         (__ctype_tolower_loc): Likewise.
71705         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
71706         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
71708 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
71710         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
71712         * configure.in: Also look in $cxxmachine/include for C++ system
71713         headers.
71715 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71717         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
71718         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
71719         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
71720         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
71721         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
71722         (USE_AS_WMEMCMP): New macro.
71723         Fixing indents.
71724         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
71725         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
71726         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
71727         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
71728         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71729         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
71730         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
71731         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
71732         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
71733         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
71734         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
71735         (USE_AS_WMEMCMP): New macro.
71736         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
71737         * sysdeps/string/test-memcmp.c: Update.
71738         Fix simple_wmemcmp.
71739         Add new tests.
71740         * wcsmbs/wmemcmp.c: Update.
71741         (WMEMCMP): New macro.
71742         Fix overflow bug.
71744 2011-10-12  Andreas Jaeger  <aj@suse.de>
71746         [BZ #13268]
71747         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
71749 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71751         * libio/iofwide.c (do_length): Avoid warning.
71753         * ctype/ctype.h (__isctype_f): Add missing __THROW.
71755 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
71757         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
71759         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
71760         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
71761         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
71762         * sysdeps/i386/i686/fpu/e_log.S: New file.
71763         * sysdeps/i386/i686/fpu/e_logf.S: New file.
71764         * sysdeps/i386/i686/fpu/e_logl.S: New file.
71766         * ctype/ctype.h: Add support for inlined isXXX functions when
71767         compiling C++ code.
71769 2011-10-14  Andreas Schwab  <schwab@redhat.com>
71771         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71773         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
71775 2011-10-13  Roland McGrath  <roland@hack.frob.com>
71777         [BZ #13291]
71778         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
71780 2011-10-13  Andreas Schwab  <schwab@redhat.com>
71782         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
71783         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
71784         feraiseexcept.
71786         * sysdeps/x86_64/memrchr.S: Check for zero size.
71788         * string/stratcliff.c: Add memrchr tests.
71790 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71792         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71793         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
71794         rawmemchr-sse2 rawmemchr-sse2-bsf.
71795         * sysdeps/i386/i686/multiarch/memchr.S: New file.
71796         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
71797         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
71798         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
71799         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
71800         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
71801         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
71802         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
71803         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
71804         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
71805         * string/memrchr.c (MEMRCHR): New macro.
71807 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
71809         Add integration with gcc's -ffinite-math-only and optimize wrapper
71810         functions in libm.
71811         * Versions.def: Define GLIBC_2.15 version for libm.
71812         * math/Makefile (headers): Add bits/math-finite.h.
71813         * math/bits/math-finite.h: New file.
71814         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
71815         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
71816         * math/e_acoshl.c: Add __*_finite alias.
71817         * math/e_acosl.c: Likewise.
71818         * math/e_asinl.c: Likewise.
71819         * math/e_atan2l.c: Likewise.
71820         * math/e_atanhl.c: Likewise.
71821         * math/e_coshl.c: Likewise.
71822         * math/e_exp10.c: Likewise.
71823         * math/e_exp10f.c: Likewise.
71824         * math/e_exp10l.c: Likewise.
71825         * math/e_exp2l.c: Likewise.
71826         * math/e_fmodl.c: Likewise.
71827         * math/e_gammal_r.c: Likewise.
71828         * math/e_hypotl.c: Likewise.
71829         * math/e_j0l.c: Likewise.
71830         * math/e_j1l.c: Likewise.
71831         * math/e_jnl.c: Likewise.
71832         * math/e_lgammal_r.c: Likewise.
71833         * math/e_log10l.c: Likewise.
71834         * math/e_log2l.c: Likewise.
71835         * math/e_logl.c: Likewise.
71836         * math/e_powl.c: Likewise.
71837         * math/e_sinhl.c: Likewise.
71838         * math/e_sqrtl.c: Likewise.
71839         * math/e_scalb.c: Completely rewritten and optimized.
71840         * math/e_scalbf.c: Likewise.
71841         * math/e_scalbl.c: Likewise.
71842         * math/w_acos.c: Likewise.
71843         * math/w_acosf.c: Likewise.
71844         * math/w_acosl.c: Likewise.
71845         * math/w_acosh.c: Likewise.
71846         * math/w_acoshf.c: Likewise.
71847         * math/w_acoshl.c: Likewise.
71848         * math/w_asin.c: Likewise.
71849         * math/w_asinf.c: Likewise.
71850         * math/w_asinl.c: Likewise.
71851         * math/w_atan2.c: Likewise.
71852         * math/w_atan2f.c: Likewise.
71853         * math/w_atan2l.c: Likewise.
71854         * math/w_atanh.c: Likewise.
71855         * math/w_atanhf.c: Likewise.
71856         * math/w_atanhl.c: Likewise.
71857         * math/w_exp10.c: Likewise.
71858         * math/w_exp10f.c: Likewise.
71859         * math/w_exp10l.c: Likewise.
71860         * math/w_fmod.c: Likewise.
71861         * math/w_fmodf.c: Likewise.
71862         * math/w_fmodl.c: Likewise.
71863         * math/w_j0.c: Likewise.
71864         * math/w_j0f.c: Likewise.
71865         * math/w_j0l.c: Likewise.
71866         * math/w_j1.c: Likewise.
71867         * math/w_j1f.c: Likewise.
71868         * math/w_j1l.c: Likewise.
71869         * math/w_jn.c: Likewise.
71870         * math/w_jnf.c: Likewise.
71871         * math/w_log.c: Likewise.
71872         * math/w_logf.c: Likewise.
71873         * math/w_logl.c: Likewise.
71874         * math/w_log10.c: Likewise.
71875         * math/w_log10f.c: Likewise.
71876         * math/w_log10l.c: Likewise.
71877         * math/w_log2.c: Likewise.
71878         * math/w_log2f.c: Likewise.
71879         * math/w_log2l.c: Likewise.
71880         * math/w_pow.c: Likewise.
71881         * math/w_powf.c: Likewise.
71882         * math/w_powl.c: Likewise.
71883         * math/w_remainder.c: Likewise.
71884         * math/w_remainderf.c: Likewise.
71885         * math/w_remainderl.c: Likewise.
71886         * math/w_scalb.c: Likewise.
71887         * math/w_scalbf.c: Likewise.
71888         * math/w_scalbl.c: Likewise.
71889         * math/w_sqrt.c: Likewise.
71890         * math/w_sqrtf.c: Likewise.
71891         * math/w_sqrtl.c: Likewise.
71892         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
71893         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
71894         used.
71895         * math/math_private.h: Declare __kernel_standard_f.
71896         * math/w_cosh.c: Remove cruft and optimize a bit.
71897         * math/w_coshf.c: Likewise.
71898         * math/w_coshl.c: Likewise.
71899         * math/w_exp2.c: Likewise.
71900         * math/w_exp2f.c: Likewise.
71901         * math/w_exp2l.c: Likewise.
71902         * math/w_hypot.c: Likewise.
71903         * math/w_hypotf.c: Likewise.
71904         * math/w_hypotl.c: Likewise.
71905         * math/w_lgamma.c: Likewise.
71906         * math/w_lgamma_r.c: Likewise.
71907         * math/w_lgammaf.c: Likewise.
71908         * math/w_lgammaf_r.c: Likewise.
71909         * math/w_lgammal.c: Likewise.
71910         * math/w_lgammal_r.c: Likewise.
71911         * math/w_sinh.c: Likewise.
71912         * math/w_sinhf.c: Likewise.
71913         * math/w_sinhl.c: Likewise.
71914         * math/w_tgamma.c: Likewise.
71915         * math/w_tgammaf.c: Likewise.
71916         * math/w_tgammal.c: Likewise.
71917         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71918         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71919         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
71920         Minor optimizations.  Pretty printing.  Remove cruft.
71921         * sysdeps/i386/fpu/e_acosf.S: Likewise.
71922         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71923         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71924         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71925         * sysdeps/i386/fpu/e_acosl.c: Likewise.
71926         * sysdeps/i386/fpu/e_asin.S: Likewise.
71927         * sysdeps/i386/fpu/e_asinf.S: Likewise.
71928         * sysdeps/i386/fpu/e_atan2.S: Likewise.
71929         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
71930         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
71931         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71932         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71933         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71934         * sysdeps/i386/fpu/e_exp10.S: Likewise.
71935         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
71936         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
71937         * sysdeps/i386/fpu/e_exp2.S: Likewise.
71938         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
71939         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
71940         * sysdeps/i386/fpu/e_fmod.S: Likewise.
71941         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
71942         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
71943         * sysdeps/i386/fpu/e_hypot.S: Likewise.
71944         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
71945         * sysdeps/i386/fpu/e_log.S: Likewise.
71946         * sysdeps/i386/fpu/e_log10.S: Likewise.
71947         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71948         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71949         * sysdeps/i386/fpu/e_log2.S: Likewise.
71950         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71951         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71952         * sysdeps/i386/fpu/e_logf.S: Likewise.
71953         * sysdeps/i386/fpu/e_logl.S: Likewise.
71954         * sysdeps/i386/fpu/e_pow.S: Likewise.
71955         * sysdeps/i386/fpu/e_powf.S: Likewise.
71956         * sysdeps/i386/fpu/e_powl.S: Likewise.
71957         * sysdeps/i386/fpu/e_remainder.S: Likewise.
71958         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
71959         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
71960         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71961         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71962         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71963         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
71964         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
71965         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
71966         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71967         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71968         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71969         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71970         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71971         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71972         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
71973         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71974         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71975         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71976         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71977         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71978         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71979         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71980         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71981         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71982         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71983         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71984         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71985         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71986         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71987         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71988         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71989         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71990         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71991         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71992         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71993         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71994         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
71995         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71996         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71997         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71998         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71999         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72000         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72001         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72002         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72003         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72004         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72005         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72006         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72007         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72008         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72009         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72010         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72011         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72012         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72013         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72014         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72015         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
72016         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72017         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72018         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72019         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72020         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72021         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72022         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72023         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72024         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72025         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72026         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72027         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72028         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72029         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72030         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72031         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72032         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72033         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72034         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
72035         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72036         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72037         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72038         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72039         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72040         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72041         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72042         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72043         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72044         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72045         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72046         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72047         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72048         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
72049         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72050         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72051         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72052         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72053         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72054         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72055         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72056         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72057         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72058         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72059         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
72060         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72061         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72062         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72063         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
72064         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
72065         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
72066         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
72067         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
72068         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
72069         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
72070         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72071         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72072         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72073         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72074         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
72075         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72076         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
72077         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
72078         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
72079         (__isnanf): Likewise.
72080         (__isinf_ns): Likewise.
72081         (__isinf_nsf): Likewise.
72082         (__finite): Likewise.
72083         (__finitef): Likewise.
72084         (__ieee754_sqrt): Define as macro.
72085         (__ieee754_sqrtf): Define as macro.
72086         (__ieee754_sqrtl): Define as macro.
72087         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
72088         inlined copy.
72089         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
72090         __FINITE_MATH_ONLY__ consistent.
72091         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
72093 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
72095         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
72096         of rawmemchr.
72098         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
72100 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
72102         * po/ja.po: Update from translation team.
72104 2011-10-08  Roland McGrath  <roland@hack.frob.com>
72106         * locale/programs/locarchive.c (prepare_address_space): New function.
72107         (create_archive, enlarge_archive, open_archive): Use it.
72109         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
72110         inside [SHARED], where it is used.
72112         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
72114         * nss/getent.c (netgroup_keys): Remove unused variable.
72115         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72117 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
72119         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
72120         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
72121         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
72122         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
72123         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
72124         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
72125         * math/Makefile (libm-calls): Add s_isinf_ns.
72126         * math/divtc3.c: Use __isinf_nsl instead of isinf.
72127         * math/multc3.c: Likewise.
72128         * math/s_casin.c: Likewise.
72129         * math/s_casinf.c: Likewise.
72130         * math/s_casinl.c: Likewise.
72131         * math/s_ccos.c: Likewise.
72132         * math/s_ccosf.c: Likewise.
72133         * math/s_ccosl.c: Likewise.
72134         * math/s_ctan.c: Likewise.
72135         * math/s_ctanf.c: Likewise.
72136         * math/s_ctanh.c: Likewise.
72137         * math/s_ctanhf.c: Likewise.
72138         * math/s_ctanhl.c: Likewise.
72139         * math/s_ctanl.c: Likewise.
72140         * math/w_fmod.c: Likewise.
72141         * math/w_fmodf.c: Likewise.
72142         * math/w_fmodl.c: Likewise.
72143         * math/w_remainder.c: Likewise.
72144         * math/w_remainderf.c: Likewise.
72145         * math/w_remainderl.c: Likewise.
72146         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
72147         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
72148         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
72149         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
72150         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
72151         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
72152         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
72153         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
72155         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
72156         of the number.
72157         * stdio-common/printf_fphex.c: Likewise.
72158         * stdio-common/printf_size.c: Likewise.
72160         * math/e_exp10.c: Include math_private.h using <...> not "...".
72161         * math/e_exp10f.c: Likewise.
72162         * math/e_exp10l.c: Likewise.
72163         * math/e_exp2l.c: Likewise.
72164         * math/e_j0l.c: Likewise.
72165         * math/e_j1l.c: Likewise.
72166         * math/e_jnl.c: Likewise.
72167         * math/e_lgammal_r.c: Likewise.
72168         * math/e_rem_pio2l.c: Likewise.
72169         * math/e_scalb.c: Likewise.
72170         * math/e_scalbf.c: Likewise.
72171         * math/e_scalbl.c: Likewise.
72172         * math/k_cosl.c: Likewise.
72173         * math/k_sinl.c: Likewise.
72174         * math/k_tanl.c: Likewise.
72175         * math/s_cacoshf.c: Likewise.
72176         * math/s_catan.c: Likewise.
72177         * math/s_catanf.c: Likewise.
72178         * math/s_catanh.c: Likewise.
72179         * math/s_catanhf.c: Likewise.
72180         * math/s_catanhl.c: Likewise.
72181         * math/s_catanl.c: Likewise.
72182         * math/s_ccosh.c: Likewise.
72183         * math/s_ccoshf.c: Likewise.
72184         * math/s_ccoshl.c: Likewise.
72185         * math/s_cexp.c: Likewise.
72186         * math/s_cexpf.c: Likewise.
72187         * math/s_cexpl.c: Likewise.
72188         * math/s_clog.c: Likewise.
72189         * math/s_clog10.c: Likewise.
72190         * math/s_clog10f.c: Likewise.
72191         * math/s_clog10l.c: Likewise.
72192         * math/s_clogf.c: Likewise.
72193         * math/s_clogl.c: Likewise.
72194         * math/s_csin.c: Likewise.
72195         * math/s_csinf.c: Likewise.
72196         * math/s_csinh.c: Likewise.
72197         * math/s_csinhf.c: Likewise.
72198         * math/s_csinhl.c: Likewise.
72199         * math/s_csinl.c: Likewise.
72200         * math/s_csqrt.c: Likewise.
72201         * math/s_csqrtf.c: Likewise.
72202         * math/s_csqrtl.c: Likewise.
72203         * math/s_ctan.c: Likewise.
72204         * math/s_ctanf.c: Likewise.
72205         * math/s_ctanh.c: Likewise.
72206         * math/s_ctanhf.c: Likewise.
72207         * math/s_ctanhl.c: Likewise.
72208         * math/s_ctanl.c: Likewise.
72209         * math/s_ldexp.c: Likewise.
72210         * math/s_ldexpf.c: Likewise.
72211         * math/s_ldexpl.c: Likewise.
72212         * math/s_significand.c: Likewise.
72213         * math/s_significandf.c: Likewise.
72214         * math/s_significandl.c: Likewise.
72215         * math/w_acos.c: Likewise.
72216         * math/w_acosf.c: Likewise.
72217         * math/w_acosh.c: Likewise.
72218         * math/w_acoshf.c: Likewise.
72219         * math/w_acoshl.c: Likewise.
72220         * math/w_acosl.c: Likewise.
72221         * math/w_asin.c: Likewise.
72222         * math/w_asinf.c: Likewise.
72223         * math/w_asinl.c: Likewise.
72224         * math/w_atan2.c: Likewise.
72225         * math/w_atan2f.c: Likewise.
72226         * math/w_atan2l.c: Likewise.
72227         * math/w_atanh.c: Likewise.
72228         * math/w_atanhf.c: Likewise.
72229         * math/w_atanhl.c: Likewise.
72230         * math/w_cosh.c: Likewise.
72231         * math/w_coshf.c: Likewise.
72232         * math/w_coshl.c: Likewise.
72233         * math/w_dremf.c: Likewise.
72234         * math/w_exp10.c: Likewise.
72235         * math/w_exp10f.c: Likewise.
72236         * math/w_exp10l.c: Likewise.
72237         * math/w_exp2.c: Likewise.
72238         * math/w_exp2f.c: Likewise.
72239         * math/w_fmod.c: Likewise.
72240         * math/w_fmodf.c: Likewise.
72241         * math/w_fmodl.c: Likewise.
72242         * math/w_hypot.c: Likewise.
72243         * math/w_hypotf.c: Likewise.
72244         * math/w_hypotl.c: Likewise.
72245         * math/w_j0.c: Likewise.
72246         * math/w_j0f.c: Likewise.
72247         * math/w_j0l.c: Likewise.
72248         * math/w_j1.c: Likewise.
72249         * math/w_j1f.c: Likewise.
72250         * math/w_j1l.c: Likewise.
72251         * math/w_jn.c: Likewise.
72252         * math/w_jnf.c: Likewise.
72253         * math/w_jnl.c: Likewise.
72254         * math/w_lgamma.c: Likewise.
72255         * math/w_lgamma_r.c: Likewise.
72256         * math/w_lgammaf.c: Likewise.
72257         * math/w_lgammaf_r.c: Likewise.
72258         * math/w_lgammal.c: Likewise.
72259         * math/w_lgammal_r.c: Likewise.
72260         * math/w_log.c: Likewise.
72261         * math/w_log10.c: Likewise.
72262         * math/w_log10f.c: Likewise.
72263         * math/w_log10l.c: Likewise.
72264         * math/w_log2.c: Likewise.
72265         * math/w_log2f.c: Likewise.
72266         * math/w_log2l.c: Likewise.
72267         * math/w_logf.c: Likewise.
72268         * math/w_logl.c: Likewise.
72269         * math/w_pow.c: Likewise.
72270         * math/w_powf.c: Likewise.
72271         * math/w_powl.c: Likewise.
72272         * math/w_remainder.c: Likewise.
72273         * math/w_remainderf.c: Likewise.
72274         * math/w_remainderl.c: Likewise.
72275         * math/w_scalb.c: Likewise.
72276         * math/w_scalbf.c: Likewise.
72277         * math/w_scalbl.c: Likewise.
72278         * math/w_sinh.c: Likewise.
72279         * math/w_sinhf.c: Likewise.
72280         * math/w_sinhl.c: Likewise.
72281         * math/w_sqrt.c: Likewise.
72282         * math/w_sqrtf.c: Likewise.
72283         * math/w_sqrtl.c: Likewise.
72284         * math/w_tgamma.c: Likewise.
72285         * math/w_tgammaf.c: Likewise.
72286         * math/w_tgammal.c: Likewise.
72288         * po/ja.po: Update from translation team.
72290 2011-09-29  Andreas Jaeger  <aj@suse.de>
72292         [BZ #13179]
72293         * sunrpc/netname.c (netname2host): Fix logic.
72295         [BZ #6779]
72296         [BZ #6783]
72297         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
72298         correctly.
72299         * math/w_remainder.c (__remainder): Likewise.
72300         * math/w_remainderf.c (__remainderf): Likewise.
72301         * math/libm-test.inc (remainder_test): Add test cases.
72303 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72305         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
72306         sdiv_qrnnd.
72308 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72310         * string/test-memcmp.c: Avoid unncessary #defines.
72311         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72313 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72315         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
72316         Use new sse2 version for core i3 - i7 as it's faster
72317         than sse42 version.
72318         (bit_Prefer_PMINUB_for_stringop): New.
72319         * sysdeps/x86_64/rawmemchr.S: Update.
72320         Replace with faster SSE2 version.
72321         * sysdeps/x86_64/memrchr.S: New file.
72322         * sysdeps/x86_64/memchr.S: Update.
72323         Replace with faster SSE2 version.
72325 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
72327         * elf/dl-load.c (lose): Add cast to avoid warning.
72329 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72331         * po/ca.po: Update from translation team.
72333         * inet/getnetgrent_r.c: Hook up nscd.
72334         * nscd/Makefile (routines): Add nscd_netgroup.
72335         (nscd-modules): Add netgroupcache.
72336         (CFLAGS-netgroupcache.c): Define.
72337         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
72338         (cache_search): Add const to second parameter.
72339         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
72340         INNETGR.
72341         (dbs): Add netgrdb entry.
72342         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
72343         (verify_persistent_db): Handle netgrdb.
72344         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
72345         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
72346         GETFDNETGR.
72347         (netgroup_response_header): Define.
72348         (innetgroup_response_header): Define.
72349         (datahead): Add netgroup_response_header and innetgroup_response_header
72350         elements.
72351         * nscd/nscd.conf: Add entries for netgroup cache.
72352         * nscd/nscd.h (dbtype): Add netgrdb.
72353         (_PATH_NSCD_NETGROUP_DB): Define.
72354         (netgroup_iov_disabled): Declare.
72355         (xmalloc, xcalloc, xrealloc): Move declarations here.
72356         (cache_search): Adjust prototype.
72357         Add netgroup-related prototypes.
72358         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
72359         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
72360         (__nscd_innetgr): Declare.
72361         * nscd/selinux.c (perms): Use access_vector_t as element type and
72362         add netgroup-related initializers.
72363         * nscd/netgroupcache.c: New file.
72364         * nscd/nscd_netgroup.c: New file.
72365         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
72366         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
72367         For four parameters use innetgr.
72368         * nss/nss_files/files-init.c: Add definition and callback for netgr.
72369         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
72370         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
72371         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
72373         * nscd/connections.c (register_traced_file): Don't register file
72374         for disabled databases.
72376 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
72378         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
72380         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
72381         from tree and freeing node.
72383 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
72385         * nss/nsswitch.c (__nss_database_lookup): Handle
72386         nss_parse_service_list out of memory case.
72388 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
72390         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
72391         out of memory case.
72393 2011-10-04  Andreas Schwab  <schwab@redhat.com>
72395         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
72396         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
72397         pass it down.
72398         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
72399         elf_machine_rela, elf_machine_lazy_rel.
72400         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
72401         (ELF_DYNAMIC_DO_REL): Likewise.
72402         (ELF_DYNAMIC_DO_RELA): Likewise.
72403         (ELF_DYNAMIC_RELOCATE): Likewise.
72404         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
72405         to ELF_DYNAMIC_DO_REL.
72406         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
72407         (dl_main): In trace mode always set __RTLD_NOIFUNC.
72408         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
72409         elf_machine_rela.
72410         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
72411         skip_ifunc, don't call ifunc function if non-zero.
72412         (elf_machine_rela): Likewise.
72413         (elf_machine_lazy_rel): Likewise.
72414         (elf_machine_lazy_rela): Likewise.
72415         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
72416         (elf_machine_lazy_rel): Likewise.
72417         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
72418         Likewise.
72419         (elf_machine_lazy_rel): Likewise.
72420         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72421         Likewise.
72422         (elf_machine_lazy_rel): Likewise.
72423         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
72424         (elf_machine_lazy_rel): Likewise.
72425         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
72426         (elf_machine_lazy_rel): Likewise.
72427         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
72428         (elf_machine_lazy_rel): Likewise.
72429         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
72430         (elf_machine_lazy_rel): Likewise.
72431         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
72432         (elf_machine_lazy_rel): Likewise.
72433         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
72434         (elf_machine_lazy_rel): Likewise.
72436 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
72438         * nss/nss_files/files-init.c (_nss_files_init): Use static
72439         initialization for all the *_traced_file variables.
72441 2011-09-28  Andreas Schwab  <schwab@redhat.com>
72443         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72445 2011-09-27  Roland McGrath  <roland@hack.frob.com>
72447         [BZ #13226]
72448         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
72450 2011-09-27  Andreas Schwab  <schwab@redhat.com>
72452         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72453         Reread the line before reparsing it.
72455 2011-09-26  Andreas Schwab  <schwab@redhat.com>
72457         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
72459 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
72460             Maxim Kuvyrkov  <maxim@codesourcery.com>
72461             Joseph Myers  <joseph@codesourcery.com>
72463         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
72464         if needed for __stack_chk_guard.
72466 2011-09-19  Roland McGrath  <roland@hack.frob.com>
72468         * sysdeps/posix/spawni.c (script_execute): Always define it.
72469         It will be optimized away if unused.
72470         (maybe_script_execute): New function.
72471         (__spawni): Call it.
72473         * Makerules: Don't include tls.make.
72474         (config-tls): Always set to thread.
72475         * tls.make.c: File removed.
72477 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
72479         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
72480         * config.make.in (CPPFLAGS-config): New substituted variable.
72482 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72484         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
72486         [BZ #13192]
72487         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
72488         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
72490 2011-09-15  Roland McGrath  <roland@hack.frob.com>
72492         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
72493         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
72494         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72495         (CALL_FAIL): Likewise.
72496         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
72497         (CALL_FAIL): Macro removed.
72498         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
72500 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72502         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
72503         for __FINITE_MATH_ONLY__ == 1.
72505 2011-09-15  Andreas Schwab  <schwab@redhat.com>
72507         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
72508         __ieee754_sqrt instead of sqrt.
72509         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
72510         __ieee754_sqrtf instead of sqrtf.
72511         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
72512         __floorf instead of floorf.
72513         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
72514         __floorf, __truncf instead of floorf, truncf.
72516 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
72518         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
72520         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
72521         __extern_always_inline.
72522         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
72523         32-bit.
72525 2011-09-14  Andreas Schwab  <schwab@redhat.com>
72527         * elf/rtld.c (dl_main): Also relocate in dependency order when
72528         doing symbol dependency testing.
72530 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
72532         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72533         Always define `refsym'.
72535 2011-09-13  Andreas Schwab  <schwab@redhat.com>
72537         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
72538         (__FD_ELT): Renamed from __FDELT.
72539         * misc/bits/select2.h (__FD_ELT): Likewise.
72540         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
72541         __FD_MASK instead of __FDELT, __FDMASK.
72542         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72543         Likewise.
72544         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72545         Likewise.
72547         * elf/Makefile (gen-ldd): Fix pattern.
72549         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
72550         (init_tls): Likewise.
72552 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
72554         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
72556 2011-09-12  Andreas Schwab  <schwab@redhat.com>
72558         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
72559         `struct cmsghdr *' instead of `void *'.
72560         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
72561         Likewise.
72563 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
72565         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
72566         if non-absolute.
72567         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
72568         ldd_rewrite_script.
72570 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
72572         * configure.in: Remove --with-tls option.
72573         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
72574         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
72575         out in case it is missing.
72576         * sysdeps/ia64/elf/configure.in: Likewise.
72577         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
72578         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
72579         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
72580         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
72581         * sysdeps/sh/elf/configure.in: Likewise.
72582         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
72583         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72584         * sysdeps/x86_64/elf/configure.in: Likewise.
72585         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
72586         * sysdeps/mach/hurd/tls.h: Likewise.
72588         [BZ #13067]
72589         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
72591         [BZ #13090]
72592         * configure.in: Fix use of AC_INIT.
72594         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
72596 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
72598         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
72599         __set_errno.
72600         * malloc/hooks.c: Likewise.
72602         [BZ #11929]
72603         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
72604         variables statically.
72605         (narenas): Initialize.
72606         (list_lock): Initialize.
72607         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
72608         initializtion of main_arena and list_lock.  Small cleanups.
72609         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
72610         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
72611         Add initializers to main_arena and mp_.
72612         (malloc_state): Remove pagesize member.  Change all users to use
72613         GLRO(dl_pagesize).
72615         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
72616         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
72617         is always initialized.
72619         * malloc/malloc.c: Removed unused configurations and dead code.
72620         * malloc/arena.c: Likewise.
72621         * malloc/hooks.c: Likewise.
72622         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
72624         * include/tls.h: Removed.  USE___THREAD must always be defined.
72625         * bits/libc-tsd.h: Don't handle !USE___THREAD.
72626         * elf/dl-libc.c: Likewise.
72627         * elf/dl-tsd.c: Likewise.
72628         * include/errno.h: Likewise.
72629         * include/netdb.h: Likewise.
72630         * include/resolv.h: Likewise.
72631         * inet/herrno-loc.c: Likewise.
72632         * inet/herrno.c: Likewise.
72633         * malloc/arena.c: Likewise.
72634         * malloc/hooks.c: Likewise.
72635         * malloc/malloc.c: Likewise.
72636         * resolv/res-state.c: Likewise.
72637         * resolv/res_libc.c: Likewise.
72638         * sysdeps/i386/dl-machine.h: Likewise.
72639         * sysdeps/ia64/dl-machine.h: Likewise.
72640         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
72641         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72642         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
72643         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
72644         * sysdeps/sh/dl-machine.h: Likewise.
72645         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72646         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72647         * sysdeps/unix/i386/sysdep.S: Likewise.
72648         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
72649         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
72650         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
72651         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
72652         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
72653         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
72654         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
72655         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72656         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72657         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
72658         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72659         * sysdeps/x86_64/dl-machine.h: Likewise.
72660         * tls.make.c: Likewise.
72662         * configure.in: Remove --with-__thread option.  Make tests for
72663         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
72664         tls_model attribute fail if no support is available.  Remove
72665         USE_IN_LIBIO.
72666         * Makeconfig: Adjust for dropped configure option.  All features are
72667         now mandatory.
72668         * Makerules: Likewise.
72669         * Versions.def: Likewise.
72670         * argp/argp-fmtstream.c: Likewise.
72671         * argp/argp-fmtstream.h: Likewise.
72672         * argp/argp-help.c: Likewise.
72673         * assert/assert.c: Likewise.
72674         * config.h.in: Likewise.
72675         * config.make.in: Likewise.
72676         * configure: Likewise.
72677         * configure.in: Likewise.
72678         * csu/Versions: Likewise.
72679         * csu/init.c: Likewise.
72680         * elf/tst-audit2.c: Likewise.
72681         * elf/tst-tls10.c: Likewise.
72682         * elf/tst-tls10.h: Likewise.
72683         * elf/tst-tls11.c: Likewise.
72684         * elf/tst-tls12.c: Likewise.
72685         * elf/tst-tls14.c: Likewise.
72686         * elf/tst-tlsmod11.c: Likewise.
72687         * elf/tst-tlsmod12.c: Likewise.
72688         * elf/tst-tlsmod13.c: Likewise.
72689         * elf/tst-tlsmod13a.c: Likewise.
72690         * elf/tst-tlsmod14a.c: Likewise.
72691         * elf/tst-tlsmod15b.c: Likewise.
72692         * elf/tst-tlsmod16a.c: Likewise.
72693         * elf/tst-tlsmod16b.c: Likewise.
72694         * elf/tst-tlsmod7.c: Likewise.
72695         * elf/tst-tlsmod8.c: Likewise.
72696         * elf/tst-tlsmod9.c: Likewise.
72697         * gmon/gmon.c: Likewise.
72698         * grp/fgetgrent_r.c: Likewise.
72699         * grp/putgrent.c: Likewise.
72700         * hurd/fopenport.c: Likewise.
72701         * include/libc-symbols.h: Likewise.
72702         * include/tls.h: Likewise.
72703         * intl/gettextP.h: Likewise.
72704         * intl/loadinfo.h: Likewise.
72705         * locale/global-locale.c: Likewise.
72706         * locale/localeinfo.h: Likewise.
72707         * mach/devstream.c: Likewise.
72708         * malloc/arena.c: Likewise.
72709         * malloc/set-freeres.c: Likewise.
72710         * misc/err.c: Likewise.
72711         * misc/getttyent.c: Likewise.
72712         * misc/mntent_r.c: Likewise.
72713         * posix/getopt.c: Likewise.
72714         * posix/wordexp.c: Likewise.
72715         * pwd/fgetpwent_r.c: Likewise.
72716         * resolv/Versions: Likewise.
72717         * resolv/res_hconf.c: Likewise.
72718         * shadow/fgetspent_r.c: Likewise.
72719         * shadow/putspent.c: Likewise.
72720         * stdio-common/printf_fphex.c: Likewise.
72721         * stdio-common/tmpfile.c: Likewise.
72722         * stdlib/abort.c: Likewise.
72723         * stdlib/fmtmsg.c: Likewise.
72724         * sunrpc/auth_unix.c: Likewise.
72725         * sunrpc/clnt_perr.c: Likewise.
72726         * sunrpc/clnt_tcp.c: Likewise.
72727         * sunrpc/clnt_udp.c: Likewise.
72728         * sunrpc/clnt_unix.c: Likewise.
72729         * sunrpc/openchild.c: Likewise.
72730         * sunrpc/svc_simple.c: Likewise.
72731         * sunrpc/svc_tcp.c: Likewise.
72732         * sunrpc/svc_udp.c: Likewise.
72733         * sunrpc/svc_unix.c: Likewise.
72734         * sunrpc/xdr.c: Likewise.
72735         * sunrpc/xdr_array.c: Likewise.
72736         * sunrpc/xdr_rec.c: Likewise.
72737         * sunrpc/xdr_ref.c: Likewise.
72738         * sunrpc/xdr_stdio.c: Likewise.
72740 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72742         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72744 2011-07-03  Andreas Jaeger  <aj@suse.de>
72746         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
72747         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
72748         regenerate with gen-libm-tests.pl.
72750 2010-05-12  Petr Baudis  <pasky@suse.cz>
72752         [BZ #11589]
72753         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
72754         around j0() zero points by switching to j1().
72755         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72756         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72757         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72758         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72760 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72762         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
72763         instead of 0.
72764         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
72765         instead of 0.
72766         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72767         Patch in part by Pavel Roskin <proski@gnu.org>.
72769         [BZ #13138]
72770         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
72771         realloc.
72772         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
72773         Free memory block if necessary.
72775         [BZ #12847]
72776         * libio/genops.c (INTDEF): For string streams the _lock pointer can
72777         be NULL.  Don't lock in this case.
72779 2011-09-09  Roland McGrath  <roland@hack.frob.com>
72781         * elf/elf.h (ELFOSABI_GNU): New macro.
72782         (ELFOSABI_LINUX): Define to that.
72784 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
72786         * string/strncat.c (strncat): Undef the symbol in case it has been
72787         defined in bits/string.h.
72789 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72791         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
72793         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
72794         link map.
72796 2011-08-17  Andreas Jaeger  <aj@suse.de>
72798         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
72800 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
72801             Ian Lance Taylor  <iant@google.com>
72803         * math/libm-test.inc (lround_test): New testcase.
72804         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
72806 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
72808         * Makefile: Remove support for automatic cvs check-ins.
72809         * Makerules: Likewise.
72810         * config.make.in: Likewise.
72811         * configure.in: Likewise.
72812         * intl/Makefile: Likewise.
72813         * locale/Makefile: Likewise.
72814         * po/Makefile: Likewise.
72815         * posix/Makefile: Likewise.
72816         * sysdeps/gnu/Makefile: Likewise.
72817         * sysdeps/mach/hurd/Makefile: Likewise.
72818         * sysdeps/sparc/sparc32/Makefile: Likewise.
72820         [BZ #13118]
72821         * posix/Makefile (bug-regex32-ENV): Define.
72822         Patch by John Stanley <jpsinthemix@verizon.net>.
72824         * misc/Makefile (headers): Add bits/select2.h.
72825         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
72826         * misc/bits/select2.h: New file.
72827         * include/bits/select2.h: New file.
72828         * debug/Makefile (routines): Add fdelt_chk.
72829         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
72830         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
72831         FD_ISSET.
72832         * debug/fdelt_chk.c: New file.
72834         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
72835         * wcsmbs/test-wmemcmp.c: Likewise.
72836         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
72837         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
72839 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72841         * string/Makefile (strop-tests): Add memcmp.
72842         * string/test-wmemcmp.c: New file.
72843         * string/test-memcmp.c: Add wmemcmp support.
72845 2011-09-08  Roland McGrath  <roland@hack.frob.com>
72847         [BZ #13153]
72848         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
72849         2011-07-19 change.
72851         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
72852         garbage value in a __mach_port_mod_refs call in the cases of the
72853         task-self and thread-self ports.
72855 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72857         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
72859 2011-09-08  Andreas Schwab  <schwab@redhat.com>
72861         * elf/dl-load.c (lose): Check for non-null L.
72863 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72865         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
72867         * elf/dl-libc.c (dlerror_run): Pass back error code from
72868         dl_catch_error.
72870         [BZ #13123]
72871         * elf/dl-load.c (lose): Free l_origin if it is valid.
72873         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
72874         names.
72875         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
72876         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72877         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72878         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72879         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
72880         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
72882 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72884         * sysdeps/powerpc/fpu/e_hypot.c: New file.
72885         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
72886         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
72887         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
72888         * sysdeps/powerpc/fpu/k_cosf.c: New file.
72889         * sysdeps/powerpc/fpu/k_sinf.c: New file.
72890         * sysdeps/powerpc/fpu/s_cosf.c: New file.
72891         * sysdeps/powerpc/fpu/s_sinf.c: New file.
72892         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
72893         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
72895 2011-08-15  Alan Modra  <amodra@gmail.com>
72897         [BZ #13092]
72898         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
72899         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
72900         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
72901         ppc_mcount to static-only-routines.
72902         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
72903         __mcount_internal.
72904         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
72905         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
72907 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
72909         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
72910         for finite and infinity parameters.
72912 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72914         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
72915         and add nop instructions for throughput optimization.
72916         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72918 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
72920         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
72921         aligned copy for power7 with vector-scalar instructions.
72922         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
72924 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
72926         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
72927         AVX check.
72929 2011-09-07  Andreas Schwab  <schwab@redhat.com>
72931         [BZ #13144]
72932         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
72933         last change.
72935 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72937         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72938         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
72939         syscall wrapper around clock_gettime in __vdso_clock_gettime.
72940         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
72941         clock_gettime.
72943 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72945         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
72946         Forgot to demangle the pointer.
72948         * sysdeps/i386/sysdep.h: Define atom_text_section.
72949         * sysdeps/x86_64/sysdep.h: Likewise.
72950         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
72951         section with atom_text_section.
72952         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72953         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72954         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
72955         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72956         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
72958         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
72959         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
72960         already be defined.  Change to take two parameters and don't assign
72961         result to variable.  Adjust all users.
72962         Define INTERNAL_GETTIME if not already defined.
72963         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
72964         call.
72965         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
72966         HAVE_CLOCK_GETTIME_VSYSCALL.
72967         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
72969         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
72970         gettimeofday vsyscall, just use time.
72972 2011-09-06  Andreas Schwab  <schwab@redhat.com>
72974         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
72975         <errno.h>.
72977 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72979         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
72980         syscall on x86-64.
72981         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
72982         syscall.
72983         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
72984         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
72985         syscall if possible.
72987 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72989         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
72990         e_ident.  Don't pass to find_mapsXX.
72991         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
72993 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72995         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72996         strchr-sse2-no-bsf strrchr-sse2-no-bsf
72997         * sysdeps/x86_64/multiarch/strchr.S: Update.
72998         Check bit_slow_BSF bit.
72999         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73000         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73001         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
73003 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73005         [BZ #13134]
73006         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
73007         before glibc 2.15.
73008         (tryshell): Define.
73009         (__spawni): Change last parameter to be flag.  Test
73010         SPAWN_XFLAGS_USE_PATH flag to use path or not.
73011         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
73012         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
73013         * posix/spawni.c: Likewise.
73014         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
73015         * posix/spawnp.c: Likewise.  Change normal version to use
73016         SPAWN_XFLAGS_USE_PATH.
73017         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
73018         SPAWN_XFLAGS_TRY_SHELL.
73020         [BZ #13150]
73021         * posix/glob.h: Remove gcc 1.x support.
73023         [BZ #13068]
73024         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
73026 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73028         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73029         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
73030         strrchr-sse2-bsf
73031         * sysdeps/i386/i686/multiarch/strchr.S: New file.
73032         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
73033         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
73034         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
73035         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
73036         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
73038 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73040         * sysdeps/x86_64/wcscmp.S: New file.
73042         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
73043         wcscmp-c wcscmp-sse2
73044         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
73045         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
73046         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
73047         * wcsmbs/wcscmp.c: Allow renaming.
73049 2011-09-05  David S. Miller  <davem@davemloft.net>
73051         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
73052         stack slot, rather than the struct return pointer slot.
73053         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
73054         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
73055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
73056         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
73058 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73060         * po/ja.po: Update from translation team.
73062         [BZ #13144]
73063         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
73064         kernel in 64-bit binaries.
73066 2011-09-01  David S. Miller  <davem@davemloft.net>
73068         * elf/elf.h (HWCAP_SPARC_*): Move to..
73069         * sysdeps/sparc/sysdep.h: this new file and add new values.
73070         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
73071         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
73072         _DL_HWCAP_COUNT to 24.
73073         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73074         entries.
73075         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
73076         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
73077         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
73078         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
73079         instead of magic constants.
73080         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73082 2011-08-31  David S. Miller  <davem@davemloft.net>
73084         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
73085         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
73086         Reimplement to do errno handling inline.
73087         (SYSCALL_ERROR_HANDLER): New macro.
73088         (__SYSCALL_STRING): Do not do errno handling in asm.
73089         (__CLONE_SYSCALL_STRING): Delete.
73090         (__INTERNAL_SYSCALL_STRING): Delete.
73091         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
73092         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
73093         (PSEUDO): Reimplement to do errno handling inline.
73094         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
73095         (SYSCALL_ERROR_HANDLER): New macro.
73096         (__SYSCALL_STRING): Do not do errno handling in asm.
73097         (__CLONE_SYSCALL_STRING): Delete.
73098         (__INTERNAL_SYSCALL_STRING): Delete.
73099         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
73100         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
73101         i386.
73102         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
73103         (inline_syscall*): Add 'err' argument.
73104         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
73105         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
73106         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
73107         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
73109         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
73110         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
73112 2011-08-30  Andreas Schwab  <schwab@redhat.com>
73114         * elf/rtld.c (dl_main): Relocate objects in dependency order.
73116 2011-08-29  Jiri Olsa <jolsa@redhat.com>
73118         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
73119         directive.
73121 2011-08-24  David S. Miller  <davem@davemloft.net>
73123         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
73125 2011-08-24  Andreas Schwab  <schwab@redhat.com>
73127         * elf/Makefile: Add rules to build and run unload8 test.
73128         * elf/unload8.c: New file.
73129         * elf/unload8mod1.c: New file.
73130         * elf/unload8mod1x.c: New file.
73131         * elf/unload8mod2.c: New file.
73132         * elf/unload8mod3.c: New file.
73134         * elf/dl-close.c (_dl_close_worker): Reset private search list if
73135         it wasn't used.
73137 2011-08-23  David S. Miller  <davem@davemloft.net>
73139         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
73140         subtract stack bias.
73141         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
73142         %sp not %fp in calculations.
73143         (_JMPBUF_UNWINDS_ADJ): Likewise.
73145         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
73146         (aio_suspend): Call it to force an exception region around the
73147         AIO_MISC_WAIT() invocation.
73149 2011-08-23  Andreas Schwab  <schwab@redhat.com>
73151         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
73152         backslash.
73154 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
73156         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
73157         protection macro.
73158         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
73159         and <dl-machine.h>.
73160         (Elf64_FuncDesc): Remove.
73162 2011-08-22  David S. Miller  <davem@davemloft.net>
73164         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
73165         sigaltstack check, add missing cfi directives.
73166         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
73167         missing cfi directives, and sigaltstack handling.
73169 2011-08-16  Andreas Schwab  <schwab@redhat.com>
73171         [BZ #11724]
73172         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
73173         object is seen twice.
73174         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73176         * elf/Makefile (distribute): Add tst-initorder2.c.
73177         (tests): Add tst-initorder2.
73178         (modules-names): Add tst-initorder2a tst-initorder2b
73179         tst-initorder2c tst-initorder2d.  Add rules to build them.
73180         ($(objpfx)tst-initorder2.out): New rule.
73181         * elf/tst-initorder2.c: New file.
73182         * elf/tst-initorder2.exp: New file.
73184 2011-08-22  Andreas Schwab  <schwab@redhat.com>
73186         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
73188         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
73189         dependencies back to end of function.
73191         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73192         $(elfobjdir)/ld.so.
73194 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
73196         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
73197         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
73198         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
73199         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
73200         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
73201         of __vdso_gettimeofday.
73202         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
73203         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
73204         attribute_hidden.
73205         (_libc_vdso_platform_setup): Remove initialization of
73206         __vdso_gettimeofday and __vdso_time.
73208 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73210         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
73211         and fgetc_unlocked.
73212         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
73213         getc_unlocked.
73215         * elf/dl-open.c (add_to_global): Report additions to the global scope
73216         for LD_DEBUG=scopes.
73217         (dl_open_worker): Also print scope of newly loaded dependencies.
73218         (_dl_show_scope): Indicate if there is no scope.
73220         [BZ #13114]
73221         * stdio-common/Makefile (tests): Add bug24.
73222         * stdio-common/bug24.c: New file.
73224 2011-08-19  Andreas Jaeger  <aj@suse.de>
73226         [BZ #13114]
73227         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
73228         non-existant file when using close-on-exec mode.
73230 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73232         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
73233         the very first instruction.
73235         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
73236         the CFI state in the end.
73237         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
73238         inclusion of dl-trampoline.h.
73239         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
73241 2011-08-19  Andreas Schwab  <schwab@redhat.com>
73243         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
73244         expectations for long double.
73246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
73247         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
73249 2011-08-14  David S. Miller  <davem@davemloft.net>
73251         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
73252         artificual limit depends upon the system page size.
73254 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73256         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
73257         * resolv/Makefile: Define CFLAGS-libresolv.
73259 2011-08-17  Andreas Schwab  <schwab@redhat.com>
73261         * nss/makedb.c (compute_tables): Make variables used in nested
73262         function static.
73264 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73266         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
73267         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
73268         if buffer was too small.
73270         * elf/pldd.c (main): Attach to all threads in the process.
73271         Rewrite /proc handling to use *at functions.
73273 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
73275         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
73276         specifies first scope to show.
73277         (dl_open_worker): Update callers.  Move printing scope of new
73278         object to before the relocation.
73279         * elf/rtld.c (dl_main): Update _dl_show_scope call.
73280         * sysdeps/generic/ldsodefs.h: Update declaration.
73282         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
73283         string for the scope number.
73285 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
73287         * nscd/servicescache.c (cache_addserv): Make sure written is always
73288         initialized.
73290 2011-08-14  Roland McGrath  <roland@hack.frob.com>
73292         * sysdeps/i386/i486/bits/atomic.h
73293         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
73294         statement expression, so as to suppress "set but not used" warning.
73295         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
73297         * string/strncat.c (STRNCAT): Use prototype definition.
73299         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
73300         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
73301         -Iprograms here.
73302         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
73303         (localedef-modules): Add localedef.
73304         (locale-modules): Add locale.
73306         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
73307         * elf/rtld.c (dl_main): Invert order of assignment in last change,
73308         to avoid a warning.
73310 2011-08-14  David S. Miller  <davem@davemloft.net>
73312         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
73313         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
73315 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
73317         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73318         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
73319         * elf/rtld.c (dl_main): Set l_name of vDSO.
73320         Call _dl_show_scope when DL_DEBUG_SCOPES.
73321         (process_dl_debug): Recognize scopes flag and also set it for all.
73322         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
73323         Declare _dl_show_scope.
73325         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
73326         (do_dlopen): Pass caller_dlopen to dl_open.
73327         (__libc_dlopen_mode): Initialize caller_dlopen.
73329         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
73330         of libc.  Make tolower call locale-independent.  Optimize a bit by
73331         using isdigit instead of isalnum.
73332         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
73334 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
73336         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
73337         was a dependency or dynamically loaded.
73339 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
73341         * intl/l10nflist.c: Allow architecture-specific pop function.
73342         * sysdeps/x86_64/l10nflist.c: New file.
73344         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
73345         classification.
73347 2011-08-10  Andreas Schwab  <schwab@redhat.com>
73349         * include/dirent.h: Add libc_hidden_proto for scandirat and
73350         scandirat64.  Don't declare __scandirat64.
73351         * dirent/scandirat.c: Add libc_hidden_def.
73352         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
73353         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
73355 2011-08-10  David S. Miller  <davem@davemloft.net>
73357         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
73358         enum.
73359         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73360         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73361         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73363 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
73365         * Versions.def [libc]: Add GLIBC_2.15.
73366         * dirent/Makefile (routines): Add scandirat and scandirat64.
73367         * dirent/Versions [libc]: Export scandirat and scandirat64 for
73368         GLIBC_2.15.
73369         * dirent/dirent.h: Declare scandirat and scandirat64.
73370         * dirent/scandirat.c: New file.
73371         * dirent/scandirat64.c: New file.
73372         * sysdeps/wordsize-64/scandirat.c: New file.
73373         * sysdeps/wordsize-64/scandirat64.c: New file.
73374         * dirent/opendir.c: Define opendirat.
73375         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
73376         using scandirat.
73377         * dirent/scandir64.c: Adjust for scandir.c change.
73378         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
73379         __scandirat64, and __scandir_cancel_handler.
73380         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
73381         additional parameter and use openat instead of open (outside of ld.so).
73382         Add new __opendir as wrapper around __opendirat.
73383         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
73384         here without requiring old scandirat implementation.
73386 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
73388         * dirent/scandir.c (cancel_handler): Renamed to
73389         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
73390         defined.  Adjust users.
73391         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
73392         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
73394 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
73396         * string/test-string.h (IMPL): Use __STRING to expand name and then
73397         stringify it.
73399         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
73400         of cleanups.
73402 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73404         * string/Makefile: Update.
73405         (strop-tests): Append strncat.
73406         * string/test-wcscmp.c: New file.
73407         New comprehensive test for wcscmp.
73408         * string/test-strcmp.c: Update.
73409         (WIDE): New define.
73411 2011-07-22  Andreas Schwab  <schwab@redhat.com>
73413         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
73414         line.
73416 2011-07-26  Andreas Schwab  <schwab@redhat.com>
73418         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73419         encoding to ACE if AI_IDN.
73421 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
73423         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
73424         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
73426 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73428         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
73429         Fix overflow bug in strncat.
73430         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
73432         * string/test-strncat.c: Update.
73433         Add new tests for checking overflow bugs.
73435 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73437         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73438         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
73439         * sysdeps/i386/i686/multiarch/strcat.S: New file.
73440         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
73441         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
73442         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
73443         * sysdeps/i386/i686/multiarch/strncat.S: New file.
73444         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
73445         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
73447         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
73448         (USE_AS_STRCAT): Define.
73449         Add strcat and strncat support.
73450         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73452 2011-07-25  Andreas Schwab  <schwab@redhat.com>
73454         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
73455         __n bigger than INT_MAX+1.
73456         (__strncmp_g): Likewise.
73458 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
73460         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
73461         * libio/stido.h: Likewise.
73463         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
73464         (AF_NFC): Define.
73465         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
73466         (AF_NFC): Define.
73468         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
73469         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73470         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73471         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
73472         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73474         [BZ #13021]
73475         * scripts/test-installation.pl: Don't expect libnss_test1 to be
73476         installed.
73478         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
73479         typo.
73480         (_dl_x86_64_save_sse): Likewise.
73482 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
73484         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
73485         OSXSAVE.
73486         (_dl_x86_64_save_sse): Likewise.
73488         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
73490         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
73492 2011-07-21  Andreas Schwab  <schwab@redhat.com>
73494         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
73495         change.
73496         (_dl_x86_64_save_sse): Use correct AVX check.
73498 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73500         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
73501         bug in strncpy/strncat.
73502         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
73504 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
73506         * string/tester.c (test_strcat): Add tests for different alignments
73507         of source and destination.
73508         (test_strncat): Likewise.
73510 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73512         [BZ #12852]
73513         * posix/glob.c (glob): Check passed in values before using them in
73514         expressions to avoid some overflows.
73515         (glob_in_dir): Likewise.
73517         [BZ #13007]
73518         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
73519         check for AVX enablement so that we don't crash with old kernels and
73520         new hardware.
73521         * elf/tst-audit4.c: Add same checks here.
73522         * elf/tst-audit6.c: Likewise.
73524         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
73526 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
73528         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
73530 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73532         * po/cs.po: Update from translation team.
73533         * po/bg.po: Likewise.
73535 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
73537         * misc/sys/cdefs.h: Add support for const attribute.
73538         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
73539         to gnu_dev_{major,minor,makedev} functions.
73541 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
73543         * intl/dcigettext.c (get_output_charset): Add missing bracket.
73545 2011-07-20  Andreas Schwab  <schwab@redhat.com>
73547         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
73548         strlen results.
73550 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73552         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
73553         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
73554         register in order to avoid conflicts with the soft frame pointer
73555         being held in r11 when necessary.
73556         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
73557         (INTERNAL_VSYSCALL_NCS): Likewise.
73559 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
73561         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
73562         * elf/dl-fini.c (_dl_fini): Adjust caller.
73563         * elf/dl-close.c (_dl_close_worker): Likewise.
73564         * sysdeps/generic/ldsodefs.h: Adjust declaration.
73566 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73568         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
73569         "aux_cache->nlibs < 0".
73571         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
73572         in the reload-count case.
73574 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73576         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73577         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
73578         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
73579         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
73580         * sysdeps/x86_64/multiarch/strcat.S: New file.
73581         * sysdeps/x86_64/multiarch/strncat.S: New file.
73582         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
73583         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
73584         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
73585         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
73586         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
73587         (USE_AS_STRCAT): Define.
73588         Add strcat and strncat support.
73589         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73590         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
73591         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
73592         * string/strncat.c: Update.
73593         (USE_AS_STRNCAT): Define.
73594         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73595         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
73596         and i7.
73597         * sysdeps/x86_64/multiarch/init-arch.h
73598         (bit_Prefer_PMINUB_for_stringop): New.
73599         (index_Prefer_PMINUB_for_stringop): Likewise.
73600         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
73601         bit_Prefer_PMINUB_for_stringop.
73603 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73605         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
73606         buffer64.
73607         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
73608         of casting of buffer.
73609         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
73610         buffer32 and buffer64.
73611         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
73612         writes instead of casting of buffer.
73613         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
73614         buffer32.
73615         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
73616         casting of buffer.
73618 2011-07-19  Andreas Schwab  <schwab@redhat.com>
73620         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
73622 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73624         * nscd/nscd.c (termination_handler): Don't do anything for a database
73625         if it has not yet been initialized.
73627 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73629         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73631 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73633         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73635 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73637         * po/nl.po: Update from translation team.
73638         * po/sv.po: Likewise.
73640 2011-07-16  Roland McGrath  <roland@hack.frob.com>
73642         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
73643         now disallowed by GCC.
73645         * configure.in (use-default-link): Default to yes if a test -shared
73646         link meets our qualifications.
73647         * configure: Regenerated.
73649         * config.make.in (output-format): New variable.
73650         * configure.in: Check for ld --print-output-format support.
73651         * configure: Regenerated.
73652         * Makerules ($(common-objpfx)format.lds)
73653         [$(output-format) != unknown]: Just use $(output-format),
73654         instead of the linker-script munging.
73656 2011-07-14  Roland McGrath  <roland@hack.frob.com>
73658         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
73659         of $(common-objpfx)shlib.lds.
73660         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
73662         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
73663         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
73665         * configure.in (-z relro check): Adjust test code to add a large
73666         writable data section after it.
73667         * configure: Regenerated.
73669 2011-07-11  Roland McGrath  <roland@hack.frob.com>
73671         * configure.in (-z relro check): Fix test code to make the variable
73672         truly const.
73673         * configure: Regenerated.
73675 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
73677         * nscd/nscd.h (struct traced_file): Define.
73678         (struct database_dyn): Remove inotify_descr, reset_res, and filename
73679         elements.  Add traced_files.
73680         (inotify_fd): Declare.
73681         (register_traced_file): Declare.
73682         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
73683         (inotify_fd): Export.
73684         (resolv_conf_descr): Remove.
73685         (nscd_init): Move inotify descriptor creation to main.
73686         Don't register files for notification here.
73687         (register_traced_file): New function.
73688         (invalidate_cache): Don't use reset_res to determine whether to call
73689         res_init, go through the list of registered files.
73690         (main_loop_poll): The inotify descriptors are now stored in the
73691         structures for the traced files.
73692         (main_loop_epoll): Likewise.
73693         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
73694         to __nss_disable_nscd.
73695         * nscd/cache.c (prune_cache): There is no single inotify descriptor
73696         for a database anymore.  Check the records for all the registered
73697         files instead.
73698         * nss/Makefile (libnss_files-routines): Add files-init.
73699         (libnss_db-routines): Add db-init.
73700         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
73701         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
73702         * nss/nss_db/db-init.c: New file.
73703         * nss/nss_files/files-init.c: New file.
73704         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
73705         __nss_lookup_function.
73706         (__nss_lookup_function): Call nss_load_library.
73707         (nss_load_all_libraries): New function.
73708         (__nss_disable_nscd): Take parameter with callback function for files
73709         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
73710         used for the cached services.
73711         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
73712         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
73713         options for features to all the files in nscd.
73715         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
73717 2011-07-10  Roland McGrath  <roland@hack.frob.com>
73719         * csu/elf-init.c (__libc_csu_init): Comment typo.
73721 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
73723         * po/pl.po: Update from translation team.
73724         * po/ja.po: Likewise.
73725         * po/ru.po: Likewise.
73726         * po/ko.po: Likewise.
73727         * po/fr.po: Likewise.
73729 2011-07-09  Roland McGrath  <roland@hack.frob.com>
73731         * configure.in (.ctors/.dtors header and trailer check):
73732         Use an empirical test on a built program.
73733         * configure: Regenerated.
73735         * configure.in (-z relro check): Use an empirical test on a built DSO.
73736         Detect, but do not require, on ia64.
73737         * configure: Regenerated.
73739         * configure.in (READELF): Find it with AC_CHECK_TOOL.
73740         Update tests that use readelf to use $READELF instead.
73741         * configure: Regenerated.
73743 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
73745         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
73746         if the result is not used.
73748 2011-07-05  Andreas Jaeger  <aj@suse.de>
73750         [BZ#9696]
73751         * stdlib/tst-strtod.c: Add testcase.
73753 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
73755         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
73756         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
73757         The latter has a higher limit.  Take additional parameter to pass to
73758         the new function.
73759         (__pathconf): Pass file to __statfs_link_max.
73760         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
73761         __statfs_link_max.
73762         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
73763         __statfs_link_max.
73765         [BZ #12868]
73766         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
73767         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73768         Handle Lustre.
73769         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
73770         (__statfs_filesize_max): Likewise.
73771         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
73773 2011-07-05  Andreas Jaeger  <aj@suse.de>
73775         * resolv/res_comp.c (dn_skipname): Remove unused variable.
73777 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
73779         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
73780         `status' variable.
73781         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
73782         Likewise.
73784 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
73786         * Makefile (strop-tests): Add strncat.
73787         * string/test-strncat.c: New file.
73789 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
73791         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
73793 2011-06-21  Andreas Jaeger  <aj@suse.de>
73795         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
73796         Copy rule from iconvdata/Makefile.
73798 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
73800         [BZ #12922]
73801         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
73802         but no long options are defined, just return 'W'.
73804 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
73806         [BZ #9696]
73807         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
73809 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
73811         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
73812         netgroups to read.
73813         (innetgr): Likewise.
73815 2011-07-05  Roland McGrath  <roland@hack.frob.com>
73817         * config.make.in (install_root): Default to $(DESTDIR).
73819 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
73821         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
73823 2011-07-02  Roland McGrath  <roland@hack.frob.com>
73825         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
73827         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
73828         containing directory rather than embedding absolute directory names.
73830         * scripts/check-local-headers.sh: Rewritten using awk.
73831         Match by word, not by line.  Print error messages for matches.
73832         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
73834         * Makerules [shlib-lds-flags empty]:
73835         ($(common-objpfx)libc_pic.opts): New target.
73836         ($(common-objpfx)libc_pic.os.clean): New target.
73837         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
73839         * config.make.in (OBJCOPY): New variable.
73840         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
73841         * configure: Regenerated.
73843         * config.make.in (use-default-link): New variable.
73844         * configure.in (use_default_link): Grok --with-default-link to set it.
73845         * configure: Regenerated.
73846         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
73847         (shlib-lds, shlib-lds-flags): Define to empty.
73849         * Makerules (shlib-lds): New variable.
73850         (shlib-lds-flags): New variable.
73851         (build-shlib, build-moduile, build-module-asneeded): Use it.
73852         ($(common-objpfx)libc.so): Use $(shlib-lds).
73853         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
73854         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
73856         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
73857         DT_FLAGS/DT_FLAGS_1 with zero flags.
73859         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
73860         linker script munging.
73862 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
73864         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
73865         as 128-bit value.
73866         * crypt/sha512.c (sha512_process_block): Perform total addition using
73867         128-bit if possible.
73868         (__sha512_finish_ctx): Likewise.
73869         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
73870         as 64-bit value.
73871         * crypt/sha256.c (SWAP64): Define.
73872         (sha256_process_block): Perform total addition using 64-bit if
73873         possible.
73874         (__sha256_finish_ctx): Likewise.
73876 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
73878         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
73879         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73880         * nscd/hstcache.c (cache_addhst): Likewise.
73881         * nscd/grpcache.c (cache_addgr): Likewise.
73882         * nscd/aicache.c (addhstaiX): Likewise.
73883         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
73885 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
73887         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
73888         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73889         * nscd/hstcache.c (cache_addhst): Likewise.
73890         * nscd/grpcache.c (cache_addgr): Likewise.
73891         * nscd/aicache.c (addhstaiX): Likewise.
73893 2011-07-01  Andreas Schwab  <schwab@redhat.com>
73895         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
73896         domain only when needed.
73898 2011-06-30  Andreas Schwab  <schwab@redhat.com>
73900         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
73901         is always restored.
73903 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
73905         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
73906         are re-adding the entry.
73907         * nscd/servicescache.c (cache_addserv): Likewise.
73909 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
73911         * sysdeps/generic/dl-irel.h: fix protection against multiple
73912         inclusions.
73913         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
73915 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
73917         [BZ #12935]
73918         * malloc/memusage.sh: Fix quoting in message.
73919         * debug/xtrace.sh: Likewise.
73921         * configure.in: Remove support for --experimental-malloc option, make
73922         it the default.
73923         * config.make.in: Likewise.
73924         * malloc/Makefile: Likewise.
73926 2011-06-27  Andreas Schwab  <schwab@redhat.com>
73928         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
73929         two-byte characters.
73931 2011-06-27  Roland McGrath  <roland@hack.frob.com>
73933         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
73934         AC_CACHE_CHECK invocation.
73935         * configure: Regenerated.
73937         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
73939 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
73941         [BZ #12350]
73942         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
73943         bit from old_res_options.
73945         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
73947         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
73948         value type for setfct.
73950 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
73952         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73953         __gettimeofday instead of gettimeofday.
73955 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
73957         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
73959 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
73961         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
73963         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
73964         info.
73966 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73968         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73969         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73970         strcpy-sse2-unaligned strncpy-sse2-unaligned
73971         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
73972         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
73973         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
73974         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
73975         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
73976         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
73977         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
73978         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
73979         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
73980         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
73981         (STRCPY): Support SSE2 and SSSE3 versions.
73983 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
73985         [BZ #12874]
73986         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
73987         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
73988         kernels which artificially limit size of requests.
73990 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73992         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73993         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73994         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
73995         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
73996         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
73997         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
73998         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
73999         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
74000         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
74001         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
74002         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
74003         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
74004         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
74005         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
74006         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
74007         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74008         Enable unaligned load optimization for Intel Core i3, i5 and i7
74009         processors.
74010         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
74011         Define.
74012         (index_Fast_Unaligned_Load): Define.
74013         (HAS_FAST_UNALIGNED_LOAD): Define.
74015 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
74017         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
74019 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74021         [BZ #12907]
74022         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
74023         until it is clear that the information is realy needed.
74024         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
74026 2011-06-22  Andreas Schwab  <schwab@redhat.com>
74028         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
74030 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74032         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74033         /sys/devices/system/cpu/online if it is usable.
74035         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
74036         reading the information from the /proc filesystem to once a second.
74038 2011-06-21  Andreas Jaeger  <aj@suse.de>
74040         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
74041         NULL after inclusion of kernel headers.
74043 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
74045         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
74046         calls to internal_setent.
74048         [BZ #12885]
74049         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
74050         addresses using gethostbyname4_r ignore IPv4 addresses.
74052         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
74053         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
74055         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
74057 2011-06-20  David S. Miller  <davem@davemloft.net>
74059         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
74060         inclusions.
74061         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
74063         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
74064         (elf_irel): Use it.
74065         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
74066         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
74067         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
74068         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
74069         * sysdeps/x86_64/dl-irel.h: Likewise.
74071         * elf/dl-runtime.c: Use elf_ifunc_invoke.
74072         * elf/dl-sym.c: Likewise.
74074 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74076         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
74077         need to dereference resplen2.
74079 2011-06-14  Andreas Schwab  <schwab@redhat.com>
74081         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
74083 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74085         * Makeconfig: Define vardbdir and inst_vardbdir.
74086         * nss/Makefile: Add rules to install db-Makefile.
74088         * nss/nss_db/db-XXX.c: Cleanup.
74090         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
74091         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
74092         GLIBC_PRIVATE.
74093         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
74094         * nss/makedb.c: Implement -g option to specify that value strings
74095         are generated and should not be added to table iterated over for
74096         get*ent calls.
74097         * nss/nss_db/db-initgroups.c: New file.
74099         * nss/getent.c: Add support for initgroups lookups through getgrouplist
74100         interface.
74102         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
74103         (internal_getgrouplist): Adjust to name change.
74104         Update use_initgroups_entry if this is not the first call.
74105         * nss/databases.def: Add initgroups entry.
74107         * nss/makedb.c (compute_tables): Check result of multiple hash table
74108         sizes to minimize maximum chain length.
74110 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
74112         * Versions.def: Add entry for libnss_db.
74113         * shlib-versions: Likewise.
74114         * nss/Makefile: Add rules to build libnss_db.
74115         * nss/Versions: Add libnss_db information.  Organize libnss_files
74116         entries better.
74117         * nss/db-Makefile: Add gshadow support.  Change rules for the new
74118         makedb progra.  Some minor improvements to generate smaller files.
74119         * nss/nss_db/nss_db.h: Move NSS database header data structures to
74120         here from...
74121         * nss/makedb.c: ...here.
74122         Improve database format to be smaller and require less memory at
74123         runtime.
74124         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
74125         db anymore.
74126         * nss/nss_db/db-netgrp.c: Likewise.
74127         * nss/nss_db/db-open.c: Likewise.
74128         * nss/nss_files/flies-XXX.x: Adjust comments.
74129         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
74130         * nss/nss_files/files-grp.c: Likewise.
74131         * nss/nss_files/files-hosts.c: Likewise.
74132         * nss/nss_files/files-network.c: Likewise.
74133         * nss/nss_files/files-proto.c: Likewise.
74134         * nss/nss_files/files-pwd.c: Likewise.
74135         * nss/nss_files/files-rpc.c: Likewise.
74136         * nss/nss_files/files-service.c: Likewise.
74137         * nss/nss_files/files-sgrp.c: Likewise.
74138         * nss/nss_files/files-spwd.c: Likewise.
74139         * nss/nss_db/db-alias.c: Removed.
74140         * nss/nss_db/dummy-db.h: Removed.
74142 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
74144         * nss/makedb.c: Rewritten to not use database library.
74145         * nss/Makefile: Update to build new makedb program.
74147 2011-06-14  Andreas Jaeger  <aj@suse.de>
74149         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
74150         memset declaration.
74152 2011-06-10  Andreas Schwab  <schwab@redhat.com>
74154         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
74155         tmpbuf.
74157 2011-06-10  Roland McGrath  <roland@hack.frob.com>
74159         * Makerules (shlib.lds): Fail if the linker script comes out empty.
74160         * elf/Makefile ($(objpfx)ld.so): Likewise.
74162         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
74163         Don't list ld.so twice in dependencies.
74165         * posix/bug-regex31.c: Include <stdlib.h>.
74167         * nscd/hstcache.c (cache_addhst): Remove unused variable.
74169         * nis/nss_compat/compat-spwd.c
74170         (getspent_next_nss_netgr): Remove unused variable.
74171         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
74173         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
74174         nonmembers" output to use the right array.
74176         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
74178         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
74180         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
74181         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
74182         * catgets/gencat.c (read_input_file): Likewise.
74183         * locale/programs/locarchive.c (enlarge_archive): Likewise.
74185         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
74186         variable definition inside #if's controlling its use.
74188         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
74190         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
74192         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
74194         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
74195         unreachable code.
74197         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
74199         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
74200         * configure: Regenerated.
74202         * Makerules: Revert last change.
74203         * elf/Makefile: Likewise.
74205 2011-06-09  Roland McGrath  <roland@hack.frob.com>
74207         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
74208         * elf/Makefile ($(objpfx)librtld.os): Likewise.
74209         (reloc-link): Likewise.
74211 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
74213         * elf/Makefile: Add rules to build pldd.
74214         * elf/pldd.c: New file.
74215         * elf/pldd-xx.c: New file.
74217 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
74219         * version.h: Update for 2.15 development version.
74221 2011-06-07  David S. Miller  <davem@davemloft.net>
74223         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
74224         ifuncs.
74225         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
74226         elf_machine_lazy_rel): Likewise.
74227         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
74228         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
74229         elf_machine_lazy_rel): Likewise.
74230         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
74231         dl_hwcap via passed in argument.
74232         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
74233         Likewise.
74235 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74237         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
74239 2011-06-06  Roland McGrath  <roland@hack.frob.com>
74241         [BZ #12849]
74242         * manual/fdl-1.1.texi: New file, verbatim from:
74243         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
74244         * manual/lgpl-2.1.texi: New file, verbatim from:
74245         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
74246         * manual/Makefile (licenses): New variable, list those new file names.
74247         (texis): Use it.
74248         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
74250         * manual/fdl.texi: File removed.
74251         * manual/lesser.texi: File removed.
74252         * manual/libc.texinfo (Copying, Documentation License):
74253         Use new @include file names, put @appendix directive before @include.
74255 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
74257         [BZ #12841]
74258         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
74259         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
74260         (mq_open): Add __NTH.
74262 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
74264         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74265         Assume Intel Core i3/i5/i7 processor if AVX is available.
74267 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74269         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74270         typo.
74272 2011-05-31  Andreas Schwab  <schwab@redhat.com>
74274         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
74275         memory.  Use alloca_account.  Fix memory leak when retrying.
74277 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74279         * version.h (RELEASE): Bump for 2.14 release.
74280         * include/features.h (__GLIBC_MINOR__): Bump to 14.
74282         * config.make.in (RANLIB): Remove entry.
74284 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
74286         * po/Makefile (po-sed-cmd): Add ksh to extensions.
74287         (libc.pot): Work around missing support for .ksh extension in xgettext.
74289         [BZ #12684]
74290         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
74291         if both request failed.
74292         (send_dg): In case of server errors clear resplen or *resplen2.
74294         [BZ #12454]
74295         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
74296         when there are multiple maps.
74297         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
74298         (_dl_fini): Remove test here.
74300         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
74302 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
74304         [BZ #12350]
74305         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
74306         bit from old_res_options.
74307         (gaih_inet): Likewise.
74309         [BZ #11099]
74310         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
74311         as signed.
74313         * resolv/res_init.c (res_setoptions): Make the code more compact.
74315         [BZ #11558]
74316         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
74317         set RES_USEVC.
74319         [BZ #11634]
74320         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
74322         * malloc/malloc.h: Mark malloc hook variables as deprecated.
74324         [BZ #11781]
74325         * malloc/malloc.h: Declare malloc hook variables as volatile.
74327         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
74328         in last patch.
74330         [BZ #11799]
74331         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
74332         raise in the comment.
74333         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74334         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74335         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
74337 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
74339         [BZ #12811]
74340         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
74341         grow the buffers more if it already has to be sufficient.
74342         (build_wcs_upper_buffer): Likewise.
74343         * posix/regexec.c (check_matching): Likewise.
74344         (clean_state_log_if_needed): Likewise.
74345         (extend_buffers): Don't enlarge buffers beyond size of the input
74346         buffer.
74347         Patches mostly by Emil Wojak <emil@wojak.eu>.
74348         * posix/bug-regex32.c: New file.
74349         * posix/Makefile (tests): Add bug-regex32.
74351         * locale/findlocale.c (_nl_find_locale): Return right away if
74352         _nl_explode_name failed.
74353         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
74355         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
74357         * debug/xtrace.sh: Unify messages.
74358         * malloc/memusage.sh: Likewise.
74360         [BZ #12813]
74361         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
74362         time symbol from vDSO.  Substitute with vsyscall if not available.
74363         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
74364         __vdso_time.
74366         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
74367         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
74368         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
74369         Add sendmmsg and internal_sendmmsg.
74370         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
74371         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
74372         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
74374         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
74375         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
74376         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
74378 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
74380         [BZ #12813]
74381         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
74382         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
74383         available.
74384         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
74385         __vdso_getcpu.
74387         [BZ #12814]
74388         * iconvdata/Makefile (tests): Add bug-iconv9.
74389         * iconvdata/bug-iconv9.c: New file.
74391 2011-05-27  Andreas Schwab  <schwab@redhat.com>
74393         [BZ #12814]
74394         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
74396 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
74398         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74399         (struct user_regs_struct): Change intcs field back to cs.
74401 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
74403         * po/ja.po: Update from translation team.
74405 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
74407         [BZ #12795]
74408         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
74409         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
74411 2011-05-20  Andreas Schwab  <schwab@redhat.com>
74413         * stdlib/longlong.h: Update from GCC.
74415 2011-05-23  Andreas Schwab  <schwab@redhat.com>
74417         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
74418         parameter name.
74419         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
74420         Add parameter name.
74421         (__sysconf): Pass it down.
74423 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
74425         [BZ #12671]
74426         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
74427         some situations.
74428         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
74429         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
74430         add in in __libc_use_alloca calls.  Adjust callers.
74431         (glob): Use malloc in some situations.
74433         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
74434         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
74435         pltexit.
74437 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
74439         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
74440         and CLOCK_BOOTTIME_ALARM.
74442         [BZ #12782]
74443         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
74444         is returned.
74446         * string/_strerror.c (__strerror_r): Print negative errors as signed
74447         numbers.
74449         [BZ #12777]
74450         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
74451         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
74452         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
74454         * configure.in: Fix typo in redirection and correct removal of test
74455         files in two cases.
74457         [BZ #12788]
74458         * locale/setlocale.c (new_composite_name): Fix test to check for
74459         identical name of all categories.
74461         [BZ #12792]
74462         * libio/filedoalloc.c (local_isatty): New function.
74463         (_IO_file_doallocate): Use local_isatty.
74464         * stdio-common/perror.c (perror): In case a new stream is used
74465         forward the stream error.
74466         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
74467         error flag.
74469 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
74471         [BZ #11884]
74472         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
74473         alloca.
74474         * include/alloca.h (extend_alloca_account): Define.
74476         [BZ #11857]
74477         * posix/regex.h: Fix comments with documentation of user-accessible
74478         fields after compilation and describe correct free'ing of pattern
74479         after re_compile_pattern.
74480         Patch by Reuben Thomas <rrt@sc3d.org>.
74482 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
74484         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
74485         and -mno-altivec to prevent the compiler from using Altivec and/or
74486         VSX instructions when the corresponding registers are not available.
74488 2011-05-19  Andreas Schwab  <schwab@redhat.com>
74490         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
74492 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
74494         * libio/freopen.c (freopen): Use __dup2, not dup2.
74495         * libio/freopen64.c (freopen64): Likewise.
74497 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74499         [BZ #12775]
74500         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
74501         * math/Makefile (tests): Add test-powl.
74502         (CFLAGS-test-powl.c): Define.
74503         * math/test-powl.c: New file.
74505 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74507         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
74509 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
74511         [BZ #11837]
74512         * iconvdata/gb18030.c: Update to GB18020-2005.
74514 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
74516         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
74517         RE_SYNTAX_POSIX_AWK): Update to match recent development.
74518         Patch by Aharon Robbins <arnold@skeeve.com>.
74520         [BZ #11892]
74521         * stdlib/putenv.c (putenv): Don't always create copy of the variable
74522         on the stack.
74524         [BZ #11895]
74525         * misc/pselect.c (__pselect): Handle timeout value errors hidden
74526         through underflows.
74528         [BZ #12766]
74529         * misc/error.c (error_at_line): Ensure file_name and old_file_name
74530         point to strings before performing equality test for error_one_per_line
74531         mode.
74533         [BZ #11697]
74534         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
74536         [BZ #11820]
74537         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74538         (struct user_fpregs_struct): Avoid __uint*_t types.
74540         [BZ #6420]
74541         * malloc/mtrace.c (tr_where): Add additional parameter to point to
74542         symbol info.  Use it instead of calling _dl_addr locally.
74543         (lock_and_info): New function.
74544         (tr_freehook): Call lock_and_info and pass symbol info as additional
74545         parameter to tr_where.
74546         (tr_mallochook): Likewise.
74547         (tr_reallochook): Likewise.
74548         (tr_memalignhook): Likewise.
74550         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
74551         used and couldn't be at all thread-safe.
74553 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
74555         * libio/freopen.c (freopen): Don't close old file descriptor
74556         before the new one is opened.  Instead dup the new file descriptor
74557         to the old one after the new stream is created.
74558         * libio/freopen64.c (freopen64): Likewise.
74559         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
74560         * libio/fileops.c (_IO_new_file_close_it): Handle new
74561         _IO_FLAGS2_NOCLOSE flag.
74562         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
74563         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
74564         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
74565         _IO_FLAGS2_NOCLOSE flag.
74566         * include/unistd.h: Add hidden_proto for dup3.
74567         Define __have_dup3.
74568         * io/dup3.c: Define hidden symbol.
74569         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
74571         [BZ #7101]
74572         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
74573         when an incomplete long option is used.
74574         * posix/tst-getopt_long1.c: New file.
74575         * posix/Makefile (tests): Add tst-getopt_long1.
74577         [BZ #10138]
74578         * scripts/config.guess: Update from autoconf-2.68.
74579         * scripts/config.sub: Likewise.
74581         [BZ #10157]
74582         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
74583         tests into ...
74584         (has_cpuclock): ...this.  New function.
74585         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
74586         macro here based on has_cpuclock code.
74588         [BZ #10149]
74589         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74590         First byte (not low byte) is now always NUL.
74591         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
74593         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74594         Use non-cancelable interfaces.
74596         [BZ #9809]
74597         * locale/iso-639.def: Add entry for Sorani.
74599         [BZ #11901]
74600         * include/stdlib.h: Move include protection to the right place.
74601         Define abort_msg_s.  Declare __abort_msg with it.
74602         * stdlib/abort.c (__abort_msg): Adjust type.
74603         * assert/assert.c (__assert_fail_base): New function.  Majority
74604         of code from __assert_fail.  Allocate memory for __abort_msg with
74605         mmap.
74606         (__assert_fail): Now call __assert_fail_base.
74607         * assert/assert-perr.c: Remove bulk of implementation.  Use
74608         __assert_fail_base.
74609         * include/assert.hL Declare __assert_fail_base.
74610         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
74611         mmap.
74612         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
74614 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
74616         [BZ #11952]
74617         [BZ #12453]
74618         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
74619         until all modules are registered in the DTV.
74620         * elf/Makefile: Add rules to build and run tst-tls19.
74621         * elf/tst-tls19.c: New file.
74622         * elf/tst-tls19mod1.c: New file.
74623         * elf/tst-tls19mod2.c: New file.
74624         * elf/tst-tls19mod3.c: New file.
74625         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
74627         [BZ #12083]
74628         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
74629         correctly.
74631         [BZ #12601]
74632         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
74633         two-byte sequence errors.
74634         * iconvdata/Makefile (tests): Add bug-iconv8.
74635         * iconvdata/bug-iconv8.c: New file.
74637         [BZ #12626]
74638         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
74639         buf2 definition.
74641         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
74643         [BZ #12432]
74644         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
74645         (dummy_getcfa): New function.
74646         (init): Get _Unwind_GetCFA address, use dummy if not found.
74647         (backtrace_helper): In recursion check, also check whether CFA changes.
74648         (__backtrace): Completely initialize arg.
74650         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
74651         storing incomplete byte sequence in state object.  Avoid testing for
74652         guaranteed too small input if we know there is enough data available.
74654 2011-05-11  Andreas Schwab  <schwab@redhat.com>
74656         * Makeconfig (+link-pie): Indent.
74657         * Rules (binaries-pie): Define if $(have-fpie) and
74658         $(build-shared).
74659         (binaries-shared): Also filter out $(binaries-pie).
74660         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
74661         * nscd/Makefile (others-pie): Add nscd.
74662         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
74663         ($(objpfx)nscd): Remove command override.
74664         * login/Makefile (others-pie): Add pt_chown.
74665         ($(objpfx)pt_chown): Remove command override.
74666         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
74667         remove command overrides.
74669 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
74671         * libio/tst_putwc.c: Fix error messages.
74673         [BZ #12724]
74674         * libio/fileops.c (_IO_new_file_close_it): Always flush when
74675         currently writing and seek to current position when not.
74676         * libio/Makefile (tests): Add bug-fclose1.
74677         * libio/bug-fclose1.c: New file.
74679 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
74681         [BZ #12511]
74682         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
74683         don't set DF_1_NODELETE here.
74684         (do_lookup_x): When entering new entry test for copy relocation
74685         and if necessary set DF_1_NODELETE flag.
74686         * elf/tst-unique4.cc: New file.
74687         * elf/tst-unique4.h: New file.
74688         * elf/tst-unique4lib.cc: New file.
74689         * elf/Makefile: Add rules to build and run tst-unique4.
74690         Patch by Piotr Bury <pbury@goahead.com>.
74692 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
74694         [BZ #12052]
74695         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
74697         [BZ #12625]
74698         * misc/mntent_r.c (addmntent): Flush the stream after the output
74700         [BZ #12393]
74701         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
74702         (is_trusted_path_normalize): Skip initial colon.  Append slash
74703         to empty buffer.  Duplicate is_trusted_path code but allow
74704         constructed patch to be prefix.
74705         (is_dst): Allow $ORIGIN followed by /.
74706         (_dl_dst_substitute): Correct clearing of check_for_trusted.
74707         Correct testing of result of is_trusted_path_normalize
74708         (decompose_rpath): Fix warning.
74710 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
74712         [BZ #11257]
74713         * grp/initgroups.c (internal_getgrouplist): When we found the service
74714         list through the initgroups entry in nsswitch.conf do not always
74715         continue on a successful lookup.  Don't always use the
74716         __nss_group_database value if it is set.
74717         * nss/nsswitch.conf (initgroups): Change action for successful db
74718         lookup to continue for compatibility.
74720 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
74722         [BZ #11532]
74723         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
74724         and CP774 modules.
74725         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
74726         and CP774 modules.
74727         * iconvdata/tst-tables.sh: Likewise.
74728         * iconvdata/cp770.c: New file.
74729         * iconvdata/cp771.c: New file.
74730         * iconvdata/cp772.c: New file.
74731         * iconvdata/cp773.c: New file.
74732         * iconvdata/cp774.c: New file.
74733         * iconvdata/testdata/CP770: New file.
74734         * iconvdata/testdata/CP770..UTF8: New file.
74735         * iconvdata/testdata/CP771: New file.
74736         * iconvdata/testdata/CP771..UTF8: New file.
74737         * iconvdata/testdata/CP772: New file.
74738         * iconvdata/testdata/CP772..UTF8: New file.
74739         * iconvdata/testdata/CP773: New file.
74740         * iconvdata/testdata/CP773..UTF8: New file.
74741         * iconvdata/testdata/CP774: New file.
74742         * iconvdata/testdata/CP774..UTF8: New file.
74744         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
74745         END CHARMAP line.
74746         * iconvdata/gen-8bit-gap.sh: Likewise.
74747         * iconvdata/gen-8bit.sh: Likewise.
74749         * locale/iso-639.def: Add ary entry.
74751         [BZ #11258]
74752         * locale/C-translit.h.in: Add U20A1 transliteration.
74754         [BZ #12178]
74755         * locale/iso-639.def: Add wae entry.
74756         Patch by Kevin Bortis <bortis@translate-wae.ch>.
74758         [BZ #12545]
74759         * locale/programs/localedef.c (construct_output_path): Use ssize_t
74760         for n.
74762         [BZ #12711]
74763         * locale/C-translit.h.in: Add entry for U20B9.
74764         Patch by pravin.d.s@gmail.com.
74766 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
74768         [BZ #12713]
74769         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
74770         ENAMETOOLONG use generic getcwd.
74771         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
74772         in rtld.  Use *stat64.
74773         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
74774         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
74775         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
74776         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
74777         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
74778         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
74779         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
74780         __fstatat64 macros.
74781         * include/dirent.h: Add libc_hidden_proto for rewinddir.
74782         * dirent/rewinddir.c: Add libc_hidden_def.
74783         * sysdeps/mach/hurd/rewinddir.c: Likewise.
74784         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
74786         * include/dirent.h (__alloc_dir): Add flags parameter.
74787         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
74788         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
74789         __alloc_dir.
74790         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
74791         from fdopendir if O_CLOEXEC is already set.
74793 2011-03-15  Alan Modra  <amodra@gmail.com>
74795         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
74796         l_tls_firstbyte_offset non-zero.  Save padding offset in
74797         l_tls_firstbyte_offset for later use.
74798         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
74799         freeing static tls block.
74801 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
74803         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
74804         where #ifdef was intended.  The intent is to prevent ARG_MAX from
74805         being defined by the kernel headers.
74807 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
74809         [BZ #12734]
74810         * resolv/resolv.h: Define RES_NOTLDQUERY.
74811         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
74812         no-tld-query and set RES_NOTLDQUERY.
74813         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
74814         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
74815         modern BIND to search name as TLD unless forbidden.
74817 2011-05-07  Petr Baudis  <pasky@suse.cz>
74818             Ulrich Drepper  <drepper@gmail.com>
74820         [BZ #12393]
74821         * elf/dl-load.c (fillin_rpath): Move trusted path check...
74822         (is_trusted_path): ...to here.
74823         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
74824         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
74825         using is_trusted_path_normalize() in setuid scripts.
74827 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
74829         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
74830         __BEGIN/__END_DECLS.
74832 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
74834         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
74835         NSS_STATUS_NOTFOUND if no record was found.
74837 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74839         * sunrpc/Makefile (headers): Add rpc/netdb.h.
74840         (headers-not-in-tirpc): Remove rpc/netdb.h
74841         * resolv/netdb.h: Revert last change.
74843 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
74845         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
74846         circular dependency between libgcc.a and libc.a.
74848 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74850         * resolv/netdb.h: Don't include <rpc/netdb.h>.
74851         * nis/Makefile: Don't install rpcsvc/*.
74852         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
74853         instead of <rpc/types.h>.
74854         (MAXHOSTNAMELEN): Define.
74856 2011-05-03  Andreas Schwab  <schwab@redhat.com>
74858         * elf/ldconfig.c (add_dir): Don't crash on empty path.
74860 2011-04-28  Maciej Babinski  <mbabinski@google.com>
74862         [BZ #12714]
74863         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
74864         gethostbyname4_r when IPv6 results are possible.
74866 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
74868         [BZ #12723]
74869         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
74870         _PC_PIPE_BUF handling.
74872 2011-04-30  Bruno Haible  <bruno@clisp.org>
74874         [BZ #12717]
74875         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
74876         * resolv/netdb.h (getnameinfo): Change type of flags parameter
74877         to 'int'.
74878         * inet/getnameinfo.c (getnameinfo): Likewise.
74880 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
74882         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
74883         to groups setting in database lookup.
74884         * nss/nsswitch.conf: Add initgroups entry.
74886 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
74888         [BZ #12685]
74889         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
74890         mode string.
74891         Patch by Eric Blake <eblake@redhat.com>.
74893 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
74895         * sunrpc/Makefile (need-export-routines): Add svc_run.
74896         (routines): Remove svc_run.
74897         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
74898         * sunrpc/clnt_perr.c (clnt_perrno): Export.
74899         * sunrpc/svc_run.c (svc_run): Likewise.
74900         * sunrpc/svc_udp.c (svcudp_create): Likewise.
74902 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
74904         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
74905         problem in reallocation in last patch.
74907 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
74909         * sunrpc/Makefile: Move inclusion of Rules.
74911 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74913         * nss/nss_files/files-initgroups.c: New file.
74914         * nss/Makefile (libnss_files-routines): Add files-initgroups.
74915         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
74916         _nss_files_initgroups_dyn.
74918 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
74920         * elf/elf.h (R_ARM_IRELATIVE): Define.
74922 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74924         * po/ru.po: Update from translation team.
74926 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74928         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
74929         dependencies.
74931 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
74933         [BZ #12653]
74934         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
74935         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
74936         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74937         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
74938         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
74940 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
74942         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
74943         differing bytes.
74944         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
74945         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
74946         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74948 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74950         [BZ #12420]
74951         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
74952         storing it.
74953         * stdlib/bug-getcontext.c: New file.
74954         * stdlib/Makefile: Add rules to build and run bug-getcontext.
74956 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74958         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
74959         instructions into .machine "z9-109".
74960         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
74961         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
74963 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74965         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
74966         between environment variables and auxiliary vector.
74968 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
74970         * Makefile: Add rules to build linkobj/libc.so.
74971         * include/libc-symbols.h: Define libc_hidden_nolink.
74972         * include/rpc/auth.h: Mark functions which are to be hidden.
74973         * include/rpc/auth_des.h: Likewise.
74974         * include/rpc/auth_unix.h: Likewise.
74975         * include/rpc/clnt.h: Likewise.
74976         * include/rpc/des_crypt.h: Likewise.
74977         * include/rpc/key_prot.h: Likewise.
74978         * include/rpc/pmap_clnt.h: Likewise.
74979         * include/rpc/pmap_prot.h: Likewise.
74980         * include/rpc/pmap_rmt.h: Likewise.
74981         * include/rpc/rpc_msg.h: Likewise.
74982         * include/rpc/svc.h: Likewise.
74983         * include/rpc/svc_auth.h: Likewise.
74984         * include/rpc/xdr.h: Likewise.
74985         * nis/Makefile: Link all DSOs against linkobj/libc.so.
74986         * nss/Makefile: Likewise.
74987         * sunrpc/Makefile: Don't install headers.  Build library with normal
74988         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
74989         * sunrpc/auth_des.c: Hide exported symbols by default, export some
74990         for the compat linking library.  Remove use of INTDEF/INTUSE.
74991         * sunrpc/auth_none.c: Likewise.
74992         * sunrpc/auth_unix.c: Likewise.
74993         * sunrpc/authdes_prot.c: Likewise.
74994         * sunrpc/authuxprot.c: Likewise.
74995         * sunrpc/clnt_gen.c: Likewise.
74996         * sunrpc/clnt_perr.c: Likewise.
74997         * sunrpc/clnt_raw.c: Likewise.
74998         * sunrpc/clnt_simp.c: Likewise.
74999         * sunrpc/clnt_tcp.c: Likewise.
75000         * sunrpc/clnt_udp.c: Likewise.
75001         * sunrpc/clnt_unix.c: Likewise.
75002         * sunrpc/des_crypt.c: Likewise.
75003         * sunrpc/des_soft.c: Likewise.
75004         * sunrpc/get_myaddr.c: Likewise.
75005         * sunrpc/key_call.c: Likewise.
75006         * sunrpc/key_prot.c: Likewise.
75007         * sunrpc/netname.c: Likewise.
75008         * sunrpc/pm_getmaps.c: Likewise.
75009         * sunrpc/pm_getport.c: Likewise.
75010         * sunrpc/pmap_clnt.c: Likewise.
75011         * sunrpc/pmap_prot.c: Likewise.
75012         * sunrpc/pmap_prot2.c: Likewise.
75013         * sunrpc/pmap_rmt.c: Likewise.
75014         * sunrpc/publickey.c: Likewise.
75015         * sunrpc/rpc_cmsg.c: Likewise.
75016         * sunrpc/rpc_common.c: Likewise.
75017         * sunrpc/rpc_dtable.c: Likewise.
75018         * sunrpc/rpc_prot.c: Likewise.
75019         * sunrpc/rpc_thread.c: Likewise.
75020         * sunrpc/rtime.c: Likewise.
75021         * sunrpc/svc.c: Likewise.
75022         * sunrpc/svc_auth.c: Likewise.
75023         * sunrpc/svc_authux.c: Likewise.
75024         * sunrpc/svc_raw.c: Likewise.
75025         * sunrpc/svc_run.c: Likewise.
75026         * sunrpc/svc_simple.c: Likewise.
75027         * sunrpc/svc_tcp.c: Likewise.
75028         * sunrpc/svc_udp.c: Likewise.
75029         * sunrpc/svc_unix.c: Likewise.
75030         * sunrpc/svcauth_des.c: Likewise.
75031         * sunrpc/xcrypt.c: Likewise.
75032         * sunrpc/xdr.c: Likewise.
75033         * sunrpc/xdr_array.c: Likewise.
75034         * sunrpc/xdr_float.c: Likewise.
75035         * sunrpc/xdr_intXX_t.c: Likewise.
75036         * sunrpc/xdr_mem.c: Likewise.
75037         * sunrpc/xdr_rec.c: Likewise.
75038         * sunrpc/xdr_ref.c: Likewise.
75039         * sunrpc/xdr_sizeof.c: Likewise.
75040         * sunrpc/xdr_stdio.c: Likewise.
75042 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
75044         [BZ #12650]
75045         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
75046         * sysdeps/ia64/dl-tls.h: Likewise.
75047         * sysdeps/powerpc/dl-tls.h: Likewise.
75048         * sysdeps/s390/dl-tls.h: Likewise.
75049         * sysdeps/sh/dl-tls.h: Likewise.
75050         * sysdeps/sparc/dl-tls.h: Likewise.
75051         * sysdeps/x86_64/dl-tls.h: Likewise.
75052         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
75054 2011-03-14  Andreas Schwab  <schwab@redhat.com>
75056         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
75057         rpath element also skip the following colon.
75058         (expand_dynamic_string_token): Add is_path parameter and pass
75059         down to DL_DST_REQUIRED and _dl_dst_substitute.
75060         (decompose_rpath): Call expand_dynamic_string_token with
75061         non-zero is_path.  Ignore empty rpaths.
75062         (_dl_map_object_from_fd): Call expand_dynamic_string_token
75063         with zero is_path.
75065 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
75067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75068         Make cancelable.
75070 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
75072         [BZ #12655]
75073         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
75074         Patch by Filipe David Manana <fdmanana@apache.org>.
75076 2011-04-07  Andreas Schwab  <schwab@redhat.com>
75078         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
75079         Maintain aligned stack.
75080         (CHECK_RSP): Remove unused macro.
75082 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
75084         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
75085         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
75087 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
75089         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
75091         * include/features.h: Mention __USE_XOPEN2K8 in comment.
75093 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
75095         [BZ #12518]
75096         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
75097         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
75098         * sysdeps/x86_64/memmove.c: New file.
75099         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
75100         (memcpy): Renamed to ...
75101         (__new_memcpy): This.
75102         (memcpy): Provide GLIBC_2_14 memcpy.
75103         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
75104         (memcpy): Provide GLIBC_2_2_5 memcpy.
75106 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75108         [BZ #12631]
75109         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
75111 2011-03-30  Andreas Schwab  <schwab@redhat.com>
75113         * misc/syncfs.c: New file.
75114         * misc/Makefile (routines): Add syncfs.
75115         * posix/unistd.h: Declare syncfs.
75116         * sysdeps/unix/syscalls.list: Add syncfs.
75118 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75120         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
75121         open_by_handle_at.
75122         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75123         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75124         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75125         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75126         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75127         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
75128         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75130 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75132         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
75133         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75134         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
75135         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75136         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75137         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75138         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75140         * io/Makefile: Compile fallocate.c, fallocate64.c, and
75141         sync_file_range.c with -fexceptions.
75142         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
75143         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
75144         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
75145         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
75146         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
75147         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75148         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
75149         sync_file_range as cancellation point
75150         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
75151         now a wrapper around __call_sync_file_range with cancellation handling.
75152         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
75153         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
75154         function name to __call_sync_file_range.
75155         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
75156         Add call_sync_file_range.
75158 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75160         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75161         bits/timex.h.
75163 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75165         * iconv/iconv.h: Fix typo in comment.
75166         * io/fcntl.h: Likewise.
75167         * libio/stdio.h: Likewise.
75168         * posix/spawn.h: Likewise.
75169         * posix/unistd.h: Likewise.
75170         * stdlib/stdlib.h: Likewise.
75171         * time/time.h: Likewise.
75172         * wcsmbs/wchar.h: Likewise.
75174         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
75175         open_by_handle): Add.
75176         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
75177         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
75178         Augment a few comments.
75179         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75180         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75181         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75182         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75183         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75184         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
75185         open_by_handle.
75187         * io/fcntl.h (AT_EMPTY_PATH): Define.
75189 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
75191         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
75192         * sysdeps/unix/sysv/linux/bits/time.h: New file.
75193         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
75194         to...
75195         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
75196         * Versions.def: Add GLIBC_2.14.
75197         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
75198         Export.
75200 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
75202         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
75203         round counter.
75204         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75206 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75208         [BZ #12597]
75209         * string/test-strncmp.c (do_page_test): New function.
75210         (check2): Likewise.
75211         (test_main): Call check2.
75212         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
75214 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
75216         [BZ #12587]
75217         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
75218         Handle cache information in CPU leaf 4.
75219         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75221 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
75223         [BZ #12583]
75224         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
75225         character representation.
75226         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
75228 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
75230         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
75231         END(__isnan) to END(__isnanf) to match function entry point/label
75232         EALIGN(__isnanf,...).
75234 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
75236         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
75238 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
75240         [BZ #12510]
75241         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
75242         copy from the symbol referenced in the relocation to initialize the
75243         used variable.
75244         Patch by Piotr Bury <pbury@goahead.com>.
75245         * elf/Makefile: Add rules to build and tst-unique3.
75246         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
75247         * elf/tst-unique3.cc: New file.
75248         * elf/tst-unique3.h: New file.
75249         * elf/tst-unique3lib.cc: New file.
75250         * elf/tst-unique3lib2.cc: New file.
75252         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
75254 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
75256         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
75257         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
75258         to _start.
75260 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
75262         * elf/dl-load.c (_dl_map_object): If we are looking for the first
75263         to-be-loaded object along a path to loader is ld.so.
75265 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75266             Ulrich Drepper  <drepper@gmail.com>
75268         * sysdeps/x86_64/memset.S: After aligning destination, code
75269         branches to different locations depending on the value of
75270         misalignment, when multiarch is enabled. Fix this.
75272 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75274         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
75275         Set _x86_64_preferred_memory_instruction for AMD processsors.
75276         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75277         Set bit_Prefer_SSE_for_memop for AMD processors.
75279 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
75281         * libio/fmemopen.c (fmemopen): Optimize a bit.
75283 2011-03-03  Andreas Schwab  <schwab@redhat.com>
75285         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
75287 2011-03-03  Roland McGrath  <roland@redhat.com>
75289         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
75291 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
75293         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
75294         __bzero_ultra1 instead of __memset_ultra1.
75296 2011-02-23  Andreas Schwab  <schwab@redhat.com>
75297             Ulrich Drepper  <drepper@gmail.com>
75299         [BZ #12509]
75300         * include/link.h (struct link_map): Add l_orig_initfini.
75301         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
75302         returning unsuccessfully.
75303         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
75304         close of a file loaded at startup, restore the original l_initfini
75305         list.
75306         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
75307         list, store the pointer.
75308         * elf/Makefile ($(objpfx)noload-mem): New rule.
75309         (noload-ENV): Define.
75310         (tests): Add $(objpfx)noload-mem.
75311         * elf/noload.c: Include <memcheck.h>.
75312         (main): Call mtrace.  Close all opened handles.
75314 2011-02-17  Andreas Schwab  <schwab@redhat.com>
75316         [BZ #12454]
75317         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
75318         dependencies are missing.
75320 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75322         Fix __if_freereq crash: Unlike the generic version which uses free,
75323         Hurd needs munmap.
75324         * sysdeps/mach/hurd/ifreq.h: New file.
75326 2011-01-27  Petr Baudis  <pasky@suse.cz>
75327             Ulrich Drepper  <drepper@gmail.com>
75329         [BZ 12445]#
75330         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
75331         to extend_alloca().
75332         * stdio-common/bug23.c: New file.
75333         * stdio-common/Makefile (tests): Add bug23.
75335 2010-09-28  Andreas Schwab  <schwab@redhat.com>
75336             Ulrich Drepper  <drepper@gmail.com>
75338         [BZ #12489]
75339         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
75340         before performing relro protection.  At old place add assertion
75341         to make sure nothing changed.
75343 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
75344             Glauber de Oliveira Costa  <glommer@gmail.com>
75346         * elf/elf.h: Add new ARM TLS relocs.
75348 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
75350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75351         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
75352         cast from r3.
75353         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
75354         'tests' variable.
75355         * sysdeps/wordsize-64/tst-writev.c: New file.
75357 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
75359         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
75360         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
75361         insns in _dl_start to prevent a TOC reference before relocs are
75362         resolved.
75364 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
75366         [BZ #12469]
75367         * Makeconfig: Remove RANLIB definition.
75368         * Makerules: Don't use RANLIB.
75369         * aclocal.m4: Remove ranlib test.
75370         * configure.in: No need to check for ranlib.
75371         * elf/rtld-Rules: Don't use RANLIB.
75373 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75375         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
75376         protection macro.
75377         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
75378         inclusion protection macro.
75380         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
75381         SIGRTMIN and SIGRTMAX and print information in that case only when
75382         SIGRTMIN is defined.
75384 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
75386         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
75387         arginfo fn returning -1.
75389         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
75390         and thousands string is zero terminated.
75392 2011-02-03  Andreas Schwab  <schwab@redhat.com>
75394         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
75395         sysdeps/unix/sysv/linux/bits/socket.h.
75397 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75399         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
75400         (__CPU_COUNT): Remove old macros.
75401         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
75402         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
75403         (__CPU_ALLOC, __CPU_FREE): Add macros.
75404         (__sched_cpualloc, __sched_cpufree): Add declarations.
75406 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
75408         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
75409         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
75410         * nscd/aicache.c (addhstaiX): Return timeout of added value.
75411         (readdhstai): Return value of addhstaiX call.
75412         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
75413         (addgrbyX): Return value returned by cache_addgr.
75414         (readdgrbyname): Return value returned by addgrbyX.
75415         (readdgrbygid): Likewise.
75416         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
75417         (addpwbyX): Return value returned by cache_addpw.
75418         (readdpwbyname): Return value returned by addhstbyX.
75419         (readdpwbyuid): Likewise.
75420         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
75421         (addservbyX): Return value returned by cache_addserv.
75422         (readdservbyname): Return value returned by addservbyX:
75423         (readdservbyport): Likewise.
75424         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
75425         (addhstbyX): Return value returned by cache_addhst.
75426         (readdhstbyname): Return value returned by addhstbyX.
75427         (readdhstbyaddr): Likewise.
75428         (readdhstbynamev6): Likewise.
75429         (readdhstbyaddrv6): Likewise.
75430         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
75431         (readdinitgroups): Return value returned by addinitgroupsX.
75432         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
75433         (prune_cache): Keep track of timeout value of re-added entries.
75434         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
75435         * nscd/nscd.h: Adjust prototypes of readd* functions.
75437 2011-02-04  Roland McGrath  <roland@redhat.com>
75439         * nis/nis_server.c (nis_servstate): Use the right name for 0.
75440         (nis_stats): Likewise.
75441         * nis/nis_modify.c (nis_modify): Likewise.
75442         * nis/nis_remove.c (nis_remove): Likewise.
75443         * nis/nis_add.c (nis_add): Likewise.
75445         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
75447         * posix/fnmatch_loop.c: Add some consts.
75449         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
75451 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
75453         [BZ #12460]
75454         * config.make.in (config-cflags-novzeroupper): Define.
75455         * configure.in: Substitute libc_cv_cc_novzeroupper.
75456         * elf/Makefile (AVX-CFLAGS): Define.
75457         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
75458         (CFLAGS-tst-auditmod4a.c): Likewise.
75459         (CFLAGS-tst-auditmod4b.c): Likewise.
75460         (CFLAGS-tst-auditmod6b.c): Likewise.
75461         (CFLAGS-tst-auditmod6c.c): Likewise.
75462         (CFLAGS-tst-auditmod7b.c): Likewise.
75463         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
75465 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
75467         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
75468         function to the callback.
75469         Patch partly by Jiri Olsa <jolsa@redhat.com>.
75471 2011-02-02  Andreas Schwab  <schwab@redhat.com>
75473         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
75474         of errno.
75476 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
75478         [BZ #11724]
75479         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
75480         of constructors.
75481         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
75482         of destructors.
75483         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
75485         [BZ #11724]
75486         * elf/Makefile: Add rules to build and run new test.
75487         * elf/tst-initorder.c: New file.
75488         * elf/tst-initorder.exp: New file.
75489         * elf/tst-initordera1.c: New file.
75490         * elf/tst-initordera2.c: New file.
75491         * elf/tst-initordera3.c: New file.
75492         * elf/tst-initordera4.c: New file.
75493         * elf/tst-initorderb1.c: New file.
75494         * elf/tst-initorderb2.c: New file.
75495         * elf/tst-order-a1.c: New file.
75496         * elf/tst-order-a2.c: New file.
75497         * elf/tst-order-a3.c: New file.
75498         * elf/tst-order-a4.c: New file.
75499         * elf/tst-order-b1.c: New file.
75500         * elf/tst-order-b2.c: New file.
75501         * elf/tst-order-main.c: New file.
75502         New test case by George Gensure <werkt0@gmail.com>.
75504 2010-10-01  Andreas Schwab  <schwab@redhat.com>
75506         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75507         decoding ACE if AI_CANONIDN.
75509 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
75511         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
75513 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
75515         * version.h (RELEASE): Bump for 2.13 release.
75516         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
75518         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
75520         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
75521         MADV_NOHUGEPAGE.
75522         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
75523         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
75524         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
75525         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
75526         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
75527         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75529         * posix/getconf.c: Update copyright year.
75530         * catgets/gencat.c: Likewise.
75531         * csu/version.c: Likewise.
75532         * debug/catchsegv.sh: Likewise.
75533         * debug/xtrace.sh: Likewise.
75534         * elf/ldconfig.c: Likewise.
75535         * elf/ldd.bash.in: Likewise.
75536         * elf/sprof.c (print_version): Likewise.
75537         * iconv/iconv_prog.c: Likewise.
75538         * iconv/iconvconfig.c: Likewise.
75539         * locale/programs/locale.c: Likewise.
75540         * locale/programs/localedef.c: Likewise.
75541         * malloc/memusage.sh: Likewise.
75542         * malloc/mtrace.pl: Likewise.
75543         * nscd/nscd.c (print_version): Likewise.
75544         * nss/getent.c: Likewise.
75546         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
75547         PF_CAIF, and PF_ALG.
75548         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75550 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
75552         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
75553         (modules-names): Use them.
75554         (ifunc-test-modules, ifunc-pie-tests): Define.
75555         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
75556         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
75557         (test-extras): Likewise.
75558         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
75559         $(compile-command.c).
75560         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
75561         (all-built-dso): Define.
75562         (check-textrel.out, check-execstack.out): Depend on it.
75564         * configure.in: Don't override --enable-multi-arch.
75566 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
75568         [BZ #6812]
75569         * nscd/hstcache.c (tryagain): Define.
75570         (cache_addhst): Return tryagain not notfound for temporary errors.
75571         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
75572         failed.
75574 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
75576         [BZ #10563]
75577         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
75578         to make the syscall.
75579         * sysdeps/unix/sysv/linux/setgroups.c: New file.
75581         [BZ #12378]
75582         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
75583         and fall back to matching as normal character if the string ends before
75584         the matching ']' is found.  This is what POSIX requires.
75585         * posix/testfnm.c: Adjust test result.
75586         * posix/globtest.sh: Adjust test result.  Add new test.
75587         * posix/tst-fnmatch.input: Likewise.
75588         * posix/tst-fnmatch2.c: Add new test.
75590 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
75592         * elf/Makefile (check-execstack): Revert last change.  Depend on
75593         check-execstack.h.
75594         (check-execstack.h): New target.
75595         (generated): Add check-execstack.h.
75596         * elf/check-execstack.c: Include "check-execstack.h".
75597         (main): Revert last change.
75598         (handle_file): Return zero if GNU_STACK is absent and
75599         DEFAULT_STACK_PERMS doesn't include PF_X.
75601 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
75603         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
75604         in child fails because the descriptor is already closed.
75605         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
75606         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
75607         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
75609         [BZ #12397]
75610         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
75611         syscall.
75613         [BZ #10484]
75614         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
75615         temporary buffer used to handle multi lookups locally.
75616         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
75618 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75620         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
75621         loader is ld.so.
75623 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
75625         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
75626         alignment for SSE2.
75628 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75630         [BZ #12394]
75631         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
75632         characters.  When rounding increased number of integer digits recompute
75633         number of groups.
75634         * stdio-common/tst-grouping.c: New file.
75635         * stdio-common/Makefile: Add rules to build and run tst-grouping.
75637 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
75639         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
75640         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
75642         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
75643         void.
75644         * bits/select.h: Likewise.
75646 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
75648         * po/ja.po: Update from translation team.
75650 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
75652         [BZ #11155]
75653         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
75654         implementation just like for lxstat, fxstatat, et al.
75656 2010-12-27  Jim Meyering  <meyering@redhat.com>
75658         [BZ #12348]
75659         * posix/regexec.c (build_trtable): Return failure indication upon
75660         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
75662 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
75664         [BZ #12201]
75665         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
75666         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
75667         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
75668         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
75670         [BZ #12207]
75671         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
75673         [BZ #12204]
75674         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
75675         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
75677 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
75679         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
75680         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
75681         script has SORT_BY_INIT_PRIORITY.
75682         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
75683         NO_CTORS_DTORS_SECTIONS is defined.
75684         * elf/soinit.c: Likewise.
75685         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
75686         NO_CTORS_DTORS_SECTIONS is defined.
75687         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
75688         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
75689         * sysdeps/sh/init-first.c: Likewise.
75690         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
75692 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
75694         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
75695         always use the slow path.
75697 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
75699         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
75700         similar rule which adds the sysdep directories to the header search in
75701         order to pick up the correct platform stackinfo.h.
75702         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
75703         perform test if it is, otherwise return successfully without testing.
75704         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
75705         DEFAULT_STACK_PERMS define in stackinfo.h.
75706         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
75707         defined in stackinfo.h.
75708         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
75709         DEFAULT_STACK_PERMS defined in stackinfo.h.
75710         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
75711         * sysdeps/ia64/stackinfo.h: Likewise.
75712         * sysdeps/s390/stackinfo.h: Likewise.
75713         * sysdeps/sh/stackinfo.h: Likewise.
75714         * sysdeps/sparc/stackinfo.h: Likewise.
75715         * sysdeps/x86_64/stackinfo.h: Likewise.
75716         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
75717         PF_X for powerpc64.  Retain PF_X for powerpc32.
75719 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
75721         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
75722         accurately.
75723         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
75724         GETDENTS_64BIT_ALIGNED.
75726 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
75728         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
75730 2010-12-10  Andreas Schwab  <schwab@redhat.com>
75732         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
75733         _GNU_SOURCE.
75735         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
75736         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
75737         Remove __restrict.
75738         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
75739         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
75741 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
75743         [BZ #11655]
75744         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
75745         are initialized.
75747 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
75749         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
75751 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
75753         * po/it.po: Update from translation team.
75755 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
75757         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
75758         unused codes.
75760 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
75762         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
75764 2010-11-24  Andreas Schwab  <schwab@redhat.com>
75766         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
75767         specially.
75768         (gaih_getanswer_slice): Likewise.
75770 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
75772         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
75774 2010-05-31  Petr Baudis  <pasky@suse.cz>
75776         [BZ #11149]
75777         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
75778         silently even in the chroot mode.
75780 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
75782         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
75783         last patch a bit.  Pretty printing
75785 2010-05-31  Petr Baudis <pasky@suse.cz>
75787         [BZ #10085]
75788         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
75789         initialization of skip_initgroups_dyn.
75791 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
75793         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
75794         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75796 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
75798         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
75800 2010-11-11  Andreas Schwab  <schwab@redhat.com>
75802         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
75803         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
75804         (tst-fnmatch-ENV): Set MALLOC_TRACE.
75805         ($(objpfx)tst-fnmatch-mem): New rule.
75806         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
75807         * posix/tst-fnmatch.c (main): Call mtrace.
75809 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
75811         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75812         Support Intel processor model 6 and model 0x2c.
75814 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
75816         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
75817           signed comparison.
75819 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
75821         [BZ #12205]
75822         * string/test-strncasecmp.c (check_result): New function.
75823         (do_one_test): Use it.
75824         (check1): New function.
75825         (test_main): Use it.
75826         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
75827         Support strcasecmp and strncasecmp.
75829 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
75831         [BZ #12194]
75832         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
75833         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75835 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
75837         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
75838         IFUNC support.
75839         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75840         memset-x86-64.
75841         * sysdeps/x86_64/multiarch/bzero.S: New file.
75842         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
75843         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
75844         * sysdeps/x86_64/multiarch/memset.S: New file.
75845         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
75846         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75847         Set bit_Prefer_SSE_for_memop for Intel processors.
75848         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
75849         Define.
75850         (index_Prefer_SSE_for_memop): Define.
75851         (HAS_PREFER_SSE_FOR_MEMOP): Define.
75853 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
75855         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
75856         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
75858 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
75860         [BZ #12191]
75861         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75862         (__x86_64_raw_data_cache_size_half): Likewise.
75863         (__x86_64_raw_shared_cache_size): Likewise.
75864         (__x86_64_raw_shared_cache_size_half): Likewise.
75866         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75867         (__x86_64_raw_data_cache_size_half): Likewise.
75868         (__x86_64_raw_shared_cache_size): Likewise.
75869         (__x86_64_raw_shared_cache_size_half): Likewise.
75870         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
75871         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
75872         and __x86_64_raw_shared_cache_size_half.  Round
75873         __x86_64_data_cache_size_half, __x86_64_data_cache_size
75874         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
75875         to multiple of 256 bytes.
75877 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
75879         [BZ #12167]
75880         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
75881         of inacessible symlinks.  Verify result of symlink before returning it.
75882         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
75883         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
75885 2010-10-28  Erich Ritz  <erichritz@gmail.com>
75887         * math/math.h (isinf): Fix typo in comment.
75889 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
75891         * po/da.po: Update from translation team.
75893 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
75895         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
75896         is added to the list.
75898 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75899             Ulrich Drepper  <drepper@gmail.com>
75901         * elf/dl-object.c (_dl_new_object): Don't append the new object to
75902         the global list here.  Move code to...
75903         (_dl_add_to_namespace_list): ...here.  New function.
75904         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
75905         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
75906         * elf/dl-load.c (lose): Don't remove the element from the list.
75907         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
75908         (_dl_map_object): Likewise.
75910 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
75912         [BZ #12159]
75913         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
75914         into all bytes of SSE register.
75915         Patch by Richard Li <richardpku@gmail.com>.
75917 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
75919         [BZ #12140]
75920         * malloc/malloc.c (_int_free): Fill correct number of bytes when
75921         perturbing.
75923 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
75925         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
75926         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
75927         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
75928         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
75930         submachine.
75931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
75933 2010-10-22  Andreas Schwab  <schwab@redhat.com>
75935         * include/dlfcn.h (__RTLD_SECURE): Define.
75936         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
75937         mode & __RTLD_SECURE instead.
75938         (open_path): Rename preloaded parameter to secure.
75939         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
75940         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
75941         * elf/dl-deps.c (openaux): Likewise.
75942         * elf/rtld.c (struct map_args): Remove is_preloaded.
75943         (map_doit): Don't use it.
75944         (dl_main): Likewise.
75945         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
75946         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
75948 2010-09-09  Andreas Schwab  <schwab@redhat.com>
75950         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
75951         (sysd-rules-targets): Remove duplicates.
75952         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
75953         rtld-%.$o dependency.
75955 2010-10-18  Andreas Schwab  <schwab@redhat.com>
75957         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
75958         _dl_map_object do it.
75960 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
75962         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
75963         fast fma builtins, define the macros in the C99 standard.
75964         (FP_FAST_FMAF): Likewise.
75965         (FP_FAST_FMAL): Likewise.
75966         * sysdeps/x86_64/bits/mathdef.h: Likewise.
75968         * bits/mathdef.h: Update copyright year.
75969         * sysdeps/powerpc/bits/mathdef.h: Likewise.
75971 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
75973         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
75974         builtins, define the macros in the C99 standard.
75975         (FP_FAST_FMAF): Likewise.
75976         (FP_FAST_FMAL): Likewise.
75977         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
75978         multiply/add.
75979         (FP_FAST_FMAF): Likewise.
75981 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
75983         [BZ #3268]
75984         * math/libm-test.inc (fma_test): Some new testcases.
75985         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
75986         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
75987         y and infinite z.  Do multiplication by C already in long double.
75988         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
75989         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
75990         y and infinite z.  Do bitwise or of inexact bit into u.d.
75991         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
75992         * sysdeps/i386/fpu/s_fmaf.S: Removed.
75993         * sysdeps/i386/fpu/s_fma.S: Removed.
75994         * sysdeps/i386/fpu/s_fmal.S: Removed.
75996 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
75998         [BZ #3268]
75999         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
76000         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
76001         computation is not scheduled after fetestexcept.  Fix value
76002         of minimum denormal long double.
76004 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
76006         [BZ #3268]
76007         * math/libm-test.inc (fma_test): Add some more tests.
76008         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
76009         correctly.
76011 2010-10-15  Andreas Schwab  <schwab@redhat.com>
76013         * scripts/data/localplt-s390-linux-gnu.data: New file.
76014         * scripts/data/localplt-s390x-linux-gnu.data: New file.
76016 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
76018         [BZ #3268]
76019         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
76020         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
76021         instead of dbl-64.
76022         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
76023         inlines.
76024         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
76025         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
76026         if one of x and y is very large and the other is subnormal.
76027         * sysdeps/s390/fpu/s_fmaf.c: New file.
76028         * sysdeps/s390/fpu/s_fma.c: New file.
76029         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
76030         * sysdeps/powerpc/fpu/s_fma.S: New file.
76031         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
76032         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
76033         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
76035 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
76037         [BZ #3268]
76038         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
76039         fma tests.
76040         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
76041         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
76042         * sysdeps/i386/i686/multiarch/s_fma.c: Include
76043         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
76044         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
76045         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
76046         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
76048 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
76050         [BZ #12078]
76051         * posix/regcomp.c (parse_branch): One more memory leak plugged.
76052         * posix/bug-regex31.input: Add test case.
76054 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76056         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
76057         * posix/bug-regex31.input: New file.
76059         [BZ #12078]
76060         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
76061         (parse_sub_exp): Fix last change, use postorder.
76063         * posix/bug-regex31.c: New file.
76064         * posix/Makefile: Add rules to build and run bug-regex31.
76066         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
76068         [BZ #12078]
76069         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
76071         [BZ #12108]
76072         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
76073         to have entries in sys_siglist.
76075         [BZ #12093]
76076         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
76077         be NULL.
76079 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
76081         [BZ #3268]
76082         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
76083         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
76084         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
76085         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
76086         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76087         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
76088         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
76089         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
76090         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
76091         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
76092         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
76093         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
76094         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
76095         * math/ftestexcept.c (fetestexcept): Likewise.
76096         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
76097         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
76098         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
76099         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
76100         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
76101         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
76102         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76104 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76106         [BZ #12107]
76107         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
76108         newline.
76110 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
76112         * string/bug-strstr1.c: New file.
76113         * string/Makefile: Add rules to build and run bug-strstr1.
76115 2010-10-05  Eric Blake  <eblake@redhat.com>
76117         [BZ #12092]
76118         * string/str-two-way.h (two_way_long_needle): Always clear memory
76119         when skipping input due to the shift table.
76121 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
76123         [BZ #12005]
76124         * malloc/mcheck.c: Handle large requests.
76126         [BZ #12077]
76127         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
76128         for strncmp and strncasecmp.
76129         * string/stratcliff.c: Add tests for strcmp and strncmp.
76130         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
76132 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76134         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
76135         __set_fpscr.
76137 2010-09-30  Andreas Jaeger  <aj@suse.de>
76139         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
76140         (CGROUP_SUPER_MAGIC): Define.
76141         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76142         Handle btrfs and cgroup file systems.
76143         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
76144         Likewise.
76146 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
76148         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
76149         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
76151 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76153         [BZ #12067]
76154         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
76155         trying to locate the ELF header.
76157 2010-09-27  Andreas Schwab  <schwab@redhat.com>
76159         [BZ #11611]
76160         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
76161         Mask out sign-bit copies when constructing f_fsid.
76163 2010-09-24  Petr Baudis <pasky@suse.cz>
76165         * debug/stack_chk_fail_local.c: Add missing licence exception.
76166         * debug/warning-nop.c: Likewise.
76168 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
76170         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
76171         implementing getdents64 using getdents syscall, set d_type if
76172         __ASSUME_GETDENTS32_D_TYPE.
76174 2010-09-16  Andreas Schwab  <schwab@redhat.com>
76176         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
76177         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
76179 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
76181         [BZ #12037]
76182         * posix/unistd.h: Undo change of feature selection for ftruncate from
76183         2010-01-11.
76185 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
76187         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
76188         detection.
76190 2010-09-20  Andreas Schwab  <schwab@redhat.com>
76192         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
76193         fanotify_mark.
76194         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76196 2010-09-14  Andreas Schwab  <schwab@redhat.com>
76198         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
76199         variables after CHECK_SP call.
76200         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
76202 2010-09-13  Andreas Schwab  <schwab@redhat.com>
76203             Ulrich Drepper  <drepper@redhat.com>
76205         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
76206         re-relocationg ld.so.
76207         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
76208         _dl_init_paths call.
76209         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
76210         here anymore.
76212 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
76214         * resolv/res_init.c (__res_vinit): Count the default server we added.
76216 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
76217             Ulrich Drepper  <drepper@redhat.com>
76219         [BZ #11968]
76220         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76221         (____longjmp_chk): Use %ebx for saving value across system call.
76222         Add unwind info.
76224 2010-09-06  Andreas Schwab  <schwab@redhat.com>
76226         * manual/Makefile: Don't mix pattern rules with normal rules.
76228 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76230         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
76231         operation.
76232         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
76233         * libio/iofopncook.c (_IO_cookie_init): Likewise.
76234         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
76235         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
76236         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76237         Likewise.
76239 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
76241         [BZ #11979]
76242         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
76243         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
76245 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
76247         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
76248         * sysdeps/x86_64/addmul_1.S: Likewise.
76249         * sysdeps/x86_64/lshift.S: Likewise.
76250         * sysdeps/x86_64/mul_1.S: Likewise.
76251         * sysdeps/x86_64/rshift.S: Likewise.
76252         * sysdeps/x86_64/sub_n.S: Likewise.
76253         * sysdeps/x86_64/submul_1.S: Likewise.
76255 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76257         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
76258         Define __sched_param instead of SCHED_* and sched_param when
76259         <bits/sched.h> is included with __need_schedparam defined.
76260         * bits/sched.h [__need_schedparam]
76261         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
76262         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
76263         (__defined_schedparam): Define to 1.
76264         (__sched_param): New structure, identical to sched_param.
76265         (__need_schedparam): Undefine.
76267 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
76269         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
76270         (epoll_create1): Declare.
76272         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
76274 2010-08-31  Andreas Schwab  <schwab@redhat.com>
76276         [BZ #7066]
76277         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
76278         shifting retval into place.
76280 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
76282         * nis/rpcsvc/nis.h: Update copyright notice.
76283         * nis/rpcsvc/nis.x: Likewise.
76284         * nis/rpcsvc/nis_callback.h: Likewise.
76285         * nis/rpcsvc/nis_callback.x: Likewise.
76286         * nis/rpcsvc/nis_object.x: Likewise.
76287         * nis/rpcsvc/nis_tags.h: Likewise.
76288         * nis/rpcsvc/yp.h: Likewise.
76289         * nis/rpcsvc/yp.x: Likewise.
76290         * nis/rpcsvc/ypupd.h: Likewise.
76291         * nis/yp_xdr.c: Likewise.
76292         * nis/ypupdate_xdr.c: Likewise.
76294         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
76295         mainly the body of pmap_getport.  Add parameters to specify timeouts.
76296         (pmap_getport): Use __libc_rpc_getport.
76297         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
76298         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
76299         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
76301 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
76303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
76304         fanotify_mark.
76306 2010-08-27  Roland McGrath  <roland@redhat.com>
76308         * sysdeps/i386/i686/multiarch/Makefile
76309         (CFLAGS-varshift.c): New variable.
76311 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
76313         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
76314         * sysdeps/i386/i686/multiarch/varshift.c: New file.
76316         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
76318         * sysdeps/x86_64/strlen.S: Minimal code improvement.
76320 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
76322         * sysdeps/x86_64/strlen.S: Unroll the loop.
76323         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76324         strlen-sse2 strlen-sse2-bsf.
76325         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
76326         __strlen_no_bsf if bit_Slow_BSF is set.
76327         (__strlen_sse42): Removed.
76328         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
76329         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
76331 2010-08-25  Roland McGrath  <roland@redhat.com>
76333         * sysdeps/x86_64/multiarch/varshift.S: File removed.
76334         * sysdeps/x86_64/multiarch/varshift.c: New file.
76335         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
76336         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
76337         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
76338         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76340 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
76342         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76343         strlen-sse2 strlen-sse2-bsf.
76344         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
76345         __strlen_sse2_bsf if bit_Slow_BSF is unset.
76346         (__strlen_sse2): Removed.
76347         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
76348         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
76349         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
76350         bit_Slow_BSF for Atom.
76351         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
76352         (index_Slow_BSF): Define.
76353         (HAS_SLOW_BSF): Define.
76355 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
76357         [BZ #10851]
76358         * resolv/res_init.c (__res_vinit): When no server address at all
76359         is given default to loopback.
76361 2010-08-24  Roland McGrath  <roland@redhat.com>
76363         * configure.in: Remove config-name.h generation.
76364         * configure: Regenerated.
76365         * config-name.in: File removed.
76366         * scripts/config-uname.sh: New file.
76367         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
76368         ($(objdir)config-name.h): New target.
76370         * sunrpc/rpc_parse.h: Avoid nested comment.
76372 2010-08-24  Richard Henderson  <rth@redhat.com>
76373             Ulrich Drepper  <drepper@redhat.com>
76374             H.J. Lu  <hongjiu.lu@intel.com>
76376         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
76377         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
76378         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
76379         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
76380         _mm_alignr_epi8 with _mm_loadu_si128.
76381         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
76382         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
76383         (__m128i_shift_right): Removed.
76384         * sysdeps/i386/i686/multiarch/varshift.h: New file.
76385         * sysdeps/i386/i686/multiarch/varshift.S: New file.
76386         * sysdeps/x86_64/multiarch/varshift.h: New file.
76387         * sysdeps/x86_64/multiarch/varshift.S: New file.
76389 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
76391         * configure.in: Move assembler checks to before sysdep dir checking.
76393 2010-08-20  Petr Baudis  <pasky@suse.cz>
76395         * LICENSES: Sync the sunrpc license.
76397 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
76399         * sunrpc/auth_des.c: Update copyright notice once again.
76400         * sunrpc/auth_none.c: Likewise.
76401         * sunrpc/auth_unix.c: Likewise.
76402         * sunrpc/authdes_prot.c: Likewise.
76403         * sunrpc/authuxprot.c: Likewise.
76404         * sunrpc/bindrsvprt.c: Likewise.
76405         * sunrpc/clnt_gen.c: Likewise.
76406         * sunrpc/clnt_perr.c: Likewise.
76407         * sunrpc/clnt_raw.c: Likewise.
76408         * sunrpc/clnt_simp.c: Likewise.
76409         * sunrpc/clnt_tcp.c: Likewise.
76410         * sunrpc/clnt_udp.c: Likewise.
76411         * sunrpc/clnt_unix.c: Likewise.
76412         * sunrpc/des_crypt.c: Likewise.
76413         * sunrpc/des_soft.c: Likewise.
76414         * sunrpc/get_myaddr.c: Likewise.
76415         * sunrpc/getrpcport.c: Likewise.
76416         * sunrpc/key_call.c: Likewise.
76417         * sunrpc/key_prot.c: Likewise.
76418         * sunrpc/openchild.c: Likewise.
76419         * sunrpc/pm_getmaps.c: Likewise.
76420         * sunrpc/pm_getport.c: Likewise.
76421         * sunrpc/pmap_clnt.c: Likewise.
76422         * sunrpc/pmap_prot.c: Likewise.
76423         * sunrpc/pmap_prot2.c: Likewise.
76424         * sunrpc/pmap_rmt.c: Likewise.
76425         * sunrpc/rpc/auth.h: Likewise.
76426         * sunrpc/rpc/auth_unix.h: Likewise.
76427         * sunrpc/rpc/clnt.h: Likewise.
76428         * sunrpc/rpc/des_crypt.h: Likewise.
76429         * sunrpc/rpc/key_prot.h: Likewise.
76430         * sunrpc/rpc/netdb.h: Likewise.
76431         * sunrpc/rpc/pmap_clnt.h: Likewise.
76432         * sunrpc/rpc/pmap_prot.h: Likewise.
76433         * sunrpc/rpc/pmap_rmt.h: Likewise.
76434         * sunrpc/rpc/rpc.h: Likewise.
76435         * sunrpc/rpc/rpc_des.h: Likewise.
76436         * sunrpc/rpc/rpc_msg.h: Likewise.
76437         * sunrpc/rpc/svc.h: Likewise.
76438         * sunrpc/rpc/svc_auth.h: Likewise.
76439         * sunrpc/rpc/types.h: Likewise.
76440         * sunrpc/rpc/xdr.h: Likewise.
76441         * sunrpc/rpc_clntout.c: Likewise.
76442         * sunrpc/rpc_cmsg.c: Likewise.
76443         * sunrpc/rpc_common.c: Likewise.
76444         * sunrpc/rpc_cout.c: Likewise.
76445         * sunrpc/rpc_dtable.c: Likewise.
76446         * sunrpc/rpc_hout.c: Likewise.
76447         * sunrpc/rpc_main.c: Likewise.
76448         * sunrpc/rpc_parse.c: Likewise.
76449         * sunrpc/rpc_parse.h: Likewise.
76450         * sunrpc/rpc_prot.c: Likewise.
76451         * sunrpc/rpc_sample.c: Likewise.
76452         * sunrpc/rpc_scan.c: Likewise.
76453         * sunrpc/rpc_scan.h: Likewise.
76454         * sunrpc/rpc_svcout.c: Likewise.
76455         * sunrpc/rpc_tblout.c: Likewise.
76456         * sunrpc/rpc_util.c: Likewise.
76457         * sunrpc/rpc_util.h: Likewise.
76458         * sunrpc/rpcinfo.c: Likewise.
76459         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
76460         * sunrpc/rpcsvc/key_prot.x: Likewise.
76461         * sunrpc/rpcsvc/klm_prot.x: Likewise.
76462         * sunrpc/rpcsvc/mount.x: Likewise.
76463         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
76464         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
76465         * sunrpc/rpcsvc/rex.x: Likewise.
76466         * sunrpc/rpcsvc/rstat.x: Likewise.
76467         * sunrpc/rpcsvc/rusers.x: Likewise.
76468         * sunrpc/rpcsvc/sm_inter.x: Likewise.
76469         * sunrpc/rpcsvc/spray.x: Likewise.
76470         * sunrpc/rpcsvc/yppasswd.x: Likewise.
76471         * sunrpc/rtime.c: Likewise.
76472         * sunrpc/svc.c: Likewise.
76473         * sunrpc/svc_auth.c: Likewise.
76474         * sunrpc/svc_authux.c: Likewise.
76475         * sunrpc/svc_raw.c: Likewise.
76476         * sunrpc/svc_run.c: Likewise.
76477         * sunrpc/svc_simple.c: Likewise.
76478         * sunrpc/svc_tcp.c: Likewise.
76479         * sunrpc/svc_udp.c: Likewise.
76480         * sunrpc/svc_unix.c: Likewise.
76481         * sunrpc/svcauth_des.c: Likewise.
76482         * sunrpc/xcrypt.c: Likewise.
76483         * sunrpc/xdr.c: Likewise.
76484         * sunrpc/xdr_array.c: Likewise.
76485         * sunrpc/xdr_float.c: Likewise.
76486         * sunrpc/xdr_mem.c: Likewise.
76487         * sunrpc/xdr_rec.c: Likewise.
76488         * sunrpc/xdr_ref.c: Likewise.
76489         * sunrpc/xdr_sizeof.c: Likewise.
76490         * sunrpc/xdr_stdio.c: Likewise.
76492         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
76493         handling.
76495 2010-08-19  Andreas Schwab  <schwab@redhat.com>
76497         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
76499 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
76501         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
76502         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
76503         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
76504         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
76505         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
76506         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
76507         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
76508         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
76509         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
76510         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
76511         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
76512         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
76513         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
76514         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
76516 2010-07-26  Anton Blanchard  <anton@samba.org>
76518         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
76519         * malloc/arena.c (heap_trim): Likewise.
76521 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
76523         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
76524         here.  Not...
76525         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
76526         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
76528 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
76530         * sysdeps/i386/elf/Makefile: New file.
76532 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76534         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
76535         from fanotify_init.
76536         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
76537         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76539 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
76541         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
76542         of strncasecmp_l.
76543         * sysdeps/multiarch/strcmp.S: Likewise.
76545 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
76547         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76548         strncase_l-nonascii.
76549         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76550         Add strncase_l-ssse3.
76551         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
76552         * sysdeps/x86_64/strcmp.S: Likewise.
76553         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
76554         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
76555         * sysdeps/x86_64/strncase.S: New file.
76556         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
76557         * sysdeps/x86_64/strncase_l.S: New file.
76558         * string/Makefile (strop-tests): Add strncasecmp.
76559         * string/test-strncasecmp.c: New file.
76561         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
76562         warning.
76564         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
76565         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
76567 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76569         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
76571 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
76573         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
76574         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
76575         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
76577 2010-05-01  Alan Modra  <amodra@gmail.com>
76579         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
76580         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
76581         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
76582         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
76583         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
76584         tidying.  Don't tail-call __sigjmp_save for static lib.
76585         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
76586         save location.
76587         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
76588         (CALL_MCOUNT): Add eh info, and nop after bl.
76589         (TAIL_CALL_SYSCALL_ERROR): New macro.
76590         (PSEUDO_RET): Use it.
76591         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
76592         Correct save location of integer regs and cr.
76593         (_dl_profile_resolve): Correct cr save location.  Delete nops
76594         after bl when SHARED.  Reduce cfi size a little by better
76595         placement of cfi directives.
76596         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
76597         make a stack frame.  Instead use parm save area as a temp.
76598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
76599         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
76600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
76601         Don't make a stack frame for parent, use parm save area.
76602         Increase child stack frame to 112 bytes.  Don't save unused reg,
76603         and adjust reg usage.  Set up cfi on error recovery and
76604         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
76605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76606         (__makecontext): Add dummy nop after jump to exit.
76607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
76608         Use correct parm save area and cr save, reduce stack frame.
76609         Correct cfi for possible PSEUDO_RET frame setup.
76610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
76611         Branch to local label emitted by PSEUDO_RET rather than
76612         __syscall_error.
76614 2010-08-12  Andreas Schwab  <schwab@redhat.com>
76616         [BZ #11904]
76617         * locale/programs/locale.c (print_assignment): New function.
76618         (show_locale_vars): Use it.
76620 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
76622         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
76623         field.
76624         (struct statfs64): Likewise.
76625         (_STATFS_F_FLAGS): Define.
76626         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
76627         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76628         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
76629         (ST_VALID): Define locally.
76630         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
76631         __statvfs_getflags, use the provided value.
76632         * sysdeps/unix/sysv/linux/kernel-features.h: Define
76633         __ASSUME_STATFS_F_FLAGS.
76635         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
76637         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
76638         Add sys/fanotify.h.
76639         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
76640         fanotify_mask for GLIBC_2.13.
76641         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
76642         fanotify_init and fanotify_mark.
76643         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76644         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
76646         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
76647         Add prlimit.
76648         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
76649         prlimit64 for GLIBC_2.13.
76650         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
76651         prlimit64.
76652         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
76653         syscall.
76654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
76655         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76656         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
76657         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
76658         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
76659         add prlimit alias.
76660         * sysdeps/unix/sysv/linux/prlimit.c: New file.
76662         [BZ #11903]
76663         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
76664         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
76666         * nss/Makefile: Add rules to build and run tst-nss-test1.
76667         * shlib-versions: Add entry for libnss_test1.
76668         * nss/nss_test1.c: New file.
76669         * nss/tst-nss-test1.c: New file.
76671         * nss/nsswitch.c (__nss_database_custom): Define new variable.
76672         (__nss_configure_lookup): Set appropriate entry in
76673         __nss_configure_lookup to true.
76674         * nss/nsswitch.h: Define enum with indeces of databases in
76675         databases and __nss_database_custom arrays.  Declare
76676         __nss_database_custom.
76677         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
76678         to avoid using nscd when custom rules are installed.
76679         * nss/getXXbyYY_r.c: Likewise.
76680         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
76682         * nss/nss_files/files-parse.c: Whitespace fixes.
76684 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
76686         [BZ #11883]
76687         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
76688         * posix/fnmatch_loop.c: Likewise.
76690 2010-07-17  Andi Kleen  <ak@linux.intel.com>
76692         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
76693         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
76694         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
76695         * Versions.def [GLIBC_2.13]: Add.
76697 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
76699         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76700         Also fail if tpwd after pwuid call is NULL.
76702 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76704         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
76705         when converting to ms.
76707 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76709         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
76710         EOPNOTSUPP errors with ENOTTY.
76711         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
76712         EOPNOTSUPP errors with ENOTTY.
76714 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
76716         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76717         Add strcasecmp_l-ssse3.
76718         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
76719         strcasecmp.
76720         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
76721         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
76722         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
76724 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
76726         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
76728         * string/Makefile (strop-tests): Add strcasecmp.
76729         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76730         strcasecmp_l-nonascii.
76731         (gen-as-const-headers): Add locale-defines.sym.
76732         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
76733         * sysdeps/x86_64/strcasecmp.S: New file.
76734         * sysdeps/x86_64/strcasecmp_l.S: New file.
76735         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
76736         * sysdeps/x86_64/locale-defines.sym: New file.
76737         * string/test-strcasecmp.c: New file.
76739         * string/test-strcasestr.c: Test both ends of the range of characters.
76740         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
76742 2010-07-29  Roland McGrath  <roland@redhat.com>
76744         [BZ #11856]
76745         * manual/locale.texi (Yes-or-No Questions): Fix example code.
76747 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
76749         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
76750         for ld.so.
76752 2010-07-27  Andreas Schwab  <schwab@redhat.com>
76754         * manual/memory.texi (Malloc Tunable Parameters): Document
76755         M_PERTURB.
76757 2010-07-26  Roland McGrath  <roland@redhat.com>
76759         [BZ #11840]
76760         * configure.in (-fgnu89-inline check): Set and substitute
76761         gnu89_inline, not libc_cv_gnu89_inline.
76762         * configure: Regenerated.
76763         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
76765 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
76767         * string/test-strnlen.c: New file.
76768         * string/Makefile (strop-tests): Add strnlen.
76769         * string/tester.c (test_strnlen): Add a few more test cases.
76770         * string/tst-strlen.c: Better error reporting.
76772         * sysdeps/x86_64/strnlen.S: New file.
76774 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
76776         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
76777         lower-latency instructions.
76779 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
76781         * string/test-strcasestr.c: New file.
76782         * string/test-strstr.c: New file.
76783         * string/Makefile (strop-tests): Add strstr and strcasestr.
76784         * string/str-two-way.h: Don't undefine MAX.
76785         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
76787 2010-07-21  Andreas Schwab  <schwab@redhat.com>
76789         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76790         strcasestr-nonascii.
76791         (CFLAGS-strcasestr-nonascii.c): Define.
76792         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
76793         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
76794         Remove unused attribute.
76796 2010-07-20  Roland McGrath  <roland@redhat.com>
76798         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
76799         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
76800         ld.so.cache was broken.  With it, there is no way to disable dsocaps
76801         like LD_HWCAP_MASK can disable hwcaps.
76803 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
76805         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
76807 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
76809         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
76810         call in strcasestr.
76811         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
76812         __strcasestr_sse42_nonascii.
76813         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
76814         strcasestr-nonascii.c.
76815         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
76817 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
76819         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
76820         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
76821         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
76822         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
76824 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
76826         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
76827         fcntl.
76829 2010-07-06  Andreas Schwab  <schwab@redhat.com>
76831         [BZ #11577]
76832         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
76833         dl_signal_cerror.
76835 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
76837         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
76838         _PC_PIPE_BUF using F_GETPIPE_SZ.
76840 2010-07-05  Roland McGrath  <roland@redhat.com>
76842         * manual/arith.texi (Rounding Functions): Fix rint description
76843         implicit in round description.
76845 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
76847         * elf/Makefile: Fix linking for a few tests to make recent linker
76848         happy.
76850 2010-06-30  Andreas Schwab  <schwab@redhat.com>
76852         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76853         $(common-objpfx)libc_nonshared.a.
76855 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
76857         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
76858         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
76859         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76860         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76861         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
76862         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
76863         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76864         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
76866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
76867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
76868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
76870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
76872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
76873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
76874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
76875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
76877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
76879         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
76880         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
76881         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
76882         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
76883         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
76884         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
76885         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
76886         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
76887         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
76888         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
76889         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
76890         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
76891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
76892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
76893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
76894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
76895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
76896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
76897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
76898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
76899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
76900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
76901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
76902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
76903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
76904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
76906 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
76908         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
76909         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
76910         * string/memmove.c (memmove): Renamed to ...
76911         (MEMMOVE): ...this.  Default to memmove.
76912         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
76913         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
76914         (END_CHK): Define.
76915         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76916         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
76917         mempcpy-ssse3-back memmove-ssse3-back.
76918         * sysdeps/x86_64/multiarch/bcopy.S: New file .
76919         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
76920         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
76921         * sysdeps/x86_64/multiarch/memcpy.S: New file.
76922         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
76923         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
76924         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
76925         * sysdeps/x86_64/multiarch/memmove.c: New file.
76926         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
76927         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
76928         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
76929         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
76930         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
76931         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
76932         Define.
76933         (index_Fast_Copy_Backward): Define.
76934         (HAS_ARCH_FEATURE): Define.
76935         (HAS_FAST_REP_STRING): Define.
76936         (HAS_FAST_COPY_BACKWARD): Define.
76938 2010-06-21  Andreas Schwab  <schwab@redhat.com>
76940         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76941         Restore proper fallback handling.
76943 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
76945         [BZ #11701]
76946         * posix/group_member.c (__group_member): Correct checking loop.
76948         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
76949         OOM in getpwuid_r correctly.  Return error number when the caller
76950         should return, otherwise -1.
76951         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
76952         call returning > 0 value.
76953         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
76955 2010-06-07  Andreas Schwab  <schwab@redhat.com>
76957         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
76958         libc_nonshared.a from targets in modules-names.
76960 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
76962         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
76963         requires it.
76965 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
76967         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
76968         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
76969         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
76970         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
76972 2010-06-02  Andreas Schwab  <schwab@redhat.com>
76974         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
76976 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
76978         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
76979         and F_GETPIPE_SZ.
76980         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76981         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76982         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76983         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76984         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76985         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76987 2010-06-14  Roland McGrath  <roland@redhat.com>
76989         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
76991 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
76993         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
76994         __REDIRECT followed by __THROW.
76995         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
76996         * posix/getopt.h (getopt): Likewise.
76998 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77000         * hurd/lookup-at.c (__file_name_lookup_at): Accept
77001         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
77002         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
77003         in AT_FLAGS.
77004         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
77005         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
77007 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
77009         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
77011 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
77013         [BZ #11640]
77014         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77015         Properly check family and model.
77017 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
77019         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
77021 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
77023         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
77025 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
77027         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
77028         symbol reference.
77030 2010-05-19  Andreas Schwab  <schwab@redhat.com>
77032         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
77033         symbol reference.
77035 2010-05-21  Andreas Schwab  <schwab@redhat.com>
77037         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
77038         and internal_recvmmsg.
77039         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
77040         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
77041         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
77042         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
77044         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
77045         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
77046         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
77048 2010-05-20  Andreas Schwab  <schwab@redhat.com>
77050         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
77052 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
77054         POWER7 optimizations.
77055         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
77056         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
77058 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
77060         * version.h: Update for 2.13 development version.
77062 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
77064         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
77065         exceptions.  Return 0.
77067 2010-05-07  Roland McGrath  <roland@redhat.com>
77069         * elf/ldconfig.c (main): Add a const.
77071 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
77073         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
77074         (args_options): Add no-idn option.
77075         (ahosts_keys_int): Add idn_flags to ai_flags.
77076         (parse_option): Handle 'i' option to clear idn_flags.
77078         * malloc/malloc.c (_int_free): Possible race in the most recently
77079         added check.  Only act on the data if no current modification
77080         happened.
77082 See ChangeLog.17 for earlier changes.